From 12929369043bd88b1177e4d1c3f5ecd80b926441 Mon Sep 17 00:00:00 2001 From: Jan-Peter Klein Date: Fri, 13 Sep 2024 11:49:05 +0200 Subject: [PATCH] clean up --- .../ui/removecert/RemoveCertController.java | 4 --- src/main/resources/css/dark_theme.css | 21 +-------------- src/main/resources/css/light_theme.css | 20 --------------- .../fxml/preferences_contribute.fxml | 24 +++++++++--------- src/main/resources/i18n/strings.properties | 3 +++ ...ert_stemp.png => supporter_cert_stamp.png} | Bin ...emp@2x.png => supporter_cert_stamp@2x.png} | Bin 7 files changed, 16 insertions(+), 56 deletions(-) rename src/main/resources/img/{supporter_cert_stemp.png => supporter_cert_stamp.png} (100%) rename src/main/resources/img/{supporter_cert_stemp@2x.png => supporter_cert_stamp@2x.png} (100%) diff --git a/src/main/java/org/cryptomator/ui/removecert/RemoveCertController.java b/src/main/java/org/cryptomator/ui/removecert/RemoveCertController.java index 283995813..2ac08a02d 100644 --- a/src/main/java/org/cryptomator/ui/removecert/RemoveCertController.java +++ b/src/main/java/org/cryptomator/ui/removecert/RemoveCertController.java @@ -2,8 +2,6 @@ package org.cryptomator.ui.removecert; import org.cryptomator.common.settings.Settings; import org.cryptomator.ui.common.FxController; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import javax.inject.Inject; import javafx.fxml.FXML; @@ -12,8 +10,6 @@ import javafx.stage.Stage; @RemoveCertScoped public class RemoveCertController implements FxController { - private static final Logger LOG = LoggerFactory.getLogger(org.cryptomator.ui.removecert.RemoveCertController.class); - private final Stage window; private final Settings settings; diff --git a/src/main/resources/css/dark_theme.css b/src/main/resources/css/dark_theme.css index c78de230e..14a5b34f0 100644 --- a/src/main/resources/css/dark_theme.css +++ b/src/main/resources/css/dark_theme.css @@ -100,6 +100,7 @@ .label-extra-large { -fx-font-family: 'Open Sans SemiBold'; + -fx-fill: TEXT_FILL; -fx-font-size: 1.5em; } @@ -266,26 +267,6 @@ -fx-background-insets: 0, 0 1 0 0; } -/******************************************************************************* - * * - * Alert-Dialogs * - * * - ******************************************************************************/ - -.dialog-pane { - -fx-padding: 12px; -} - -.dialog-pane .header-panel { - -fx-font-family: 'Open Sans SemiBold'; - -fx-font-size: 1.2em; -} - -.dialog-pane .content { - -fx-font-family: 'Open Sans'; - -fx-padding: 12 0 12 0; -} - /******************************************************************************* * * * Vault List * diff --git a/src/main/resources/css/light_theme.css b/src/main/resources/css/light_theme.css index 6ca831268..88cf6d970 100644 --- a/src/main/resources/css/light_theme.css +++ b/src/main/resources/css/light_theme.css @@ -265,26 +265,6 @@ -fx-background-insets: 0, 0 1 0 0; } -/******************************************************************************* - * * - * Alert-Dialogs * - * * - ******************************************************************************/ - -.dialog-pane { - -fx-padding: 12px; -} - -.dialog-pane .header-panel { - -fx-font-family: 'Open Sans SemiBold'; - -fx-font-size: 1.2em; -} - -.dialog-pane .content { - -fx-font-family: 'Open Sans'; - -fx-padding: 12 0 12 0; -} - /******************************************************************************* * * * Vault List * diff --git a/src/main/resources/fxml/preferences_contribute.fxml b/src/main/resources/fxml/preferences_contribute.fxml index c87731e6e..22fda34b4 100644 --- a/src/main/resources/fxml/preferences_contribute.fxml +++ b/src/main/resources/fxml/preferences_contribute.fxml @@ -3,18 +3,18 @@ + + + + - - - - - + - + - - -