From b4f268f5519494672f2cedc1994516fa12d6e5dc Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 21 May 2021 13:15:51 +0200 Subject: [PATCH] more ui & clean up --- .../ui/health/ResultListCellController.java | 2 - .../ui/src/main/resources/css/light_theme.css | 48 ------------------- .../resources/fxml/health_check_details.fxml | 5 +- .../resources/fxml/health_check_list.fxml | 2 +- .../main/resources/i18n/strings.properties | 1 + 5 files changed, 5 insertions(+), 53 deletions(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/health/ResultListCellController.java b/main/ui/src/main/java/org/cryptomator/ui/health/ResultListCellController.java index 61bf1366e..0051265dd 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/health/ResultListCellController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/health/ResultListCellController.java @@ -7,9 +7,7 @@ import org.cryptomator.ui.controls.FontAwesome5IconView; import javax.inject.Inject; import javafx.beans.binding.Binding; -import javafx.beans.property.BooleanProperty; import javafx.beans.property.ObjectProperty; -import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.beans.value.ObservableValue; import javafx.fxml.FXML; diff --git a/main/ui/src/main/resources/css/light_theme.css b/main/ui/src/main/resources/css/light_theme.css index 34b388c3f..b0ba8ac8c 100644 --- a/main/ui/src/main/resources/css/light_theme.css +++ b/main/ui/src/main/resources/css/light_theme.css @@ -947,51 +947,3 @@ -fx-fill: linear-gradient(to bottom, PRIMARY, transparent); -fx-stroke: transparent; } - -/***** - Sanitizer Results - TODO: make it pretty and copy it to dark theme -****/ - -.table-view{ - -fx-background-color: transparent; -} - -.table-view:focused{ - -fx-background-color: transparent; -} - -.table-view .column-header-background{ - -fx-background-color: linear-gradient(#131313 0%, #424141 100%); -} - -.table-view .column-header-background .label{ - -fx-background-color: transparent; - -fx-text-fill: white; -} - -.table-view .column-header { - -fx-background-color: transparent; -} - -.table-view .table-cell{ - -fx-text-fill: white; -} - -.table-row-cell{ - -fx-background-color: #616161; - -fx-background-insets: 0, 0 0 1 0; - -fx-padding: 0.0em; -} - -.table-row-cell:odd{ - -fx-background-color: #424242; - -fx-background-insets: 0, 0 0 1 0; - -fx-padding: 0.0em; -} - -.table-row-cell:selected { - -fx-background-color: #005797; - -fx-background-insets: 0; - -fx-background-radius: 1; -} diff --git a/main/ui/src/main/resources/fxml/health_check_details.fxml b/main/ui/src/main/resources/fxml/health_check_details.fxml index 7e553d7a4..d93b47212 100644 --- a/main/ui/src/main/resources/fxml/health_check_details.fxml +++ b/main/ui/src/main/resources/fxml/health_check_details.fxml @@ -4,11 +4,12 @@ + - \ No newline at end of file diff --git a/main/ui/src/main/resources/fxml/health_check_list.fxml b/main/ui/src/main/resources/fxml/health_check_list.fxml index 2e2cd5ff6..c3261626c 100644 --- a/main/ui/src/main/resources/fxml/health_check_list.fxml +++ b/main/ui/src/main/resources/fxml/health_check_list.fxml @@ -22,7 +22,7 @@ - +