From 8ab9e909453ed8fe3cf1e10851179deed544062a Mon Sep 17 00:00:00 2001 From: tobias <tobias@thecodedev.de> Date: Tue, 3 Sep 2019 20:43:31 +0200 Subject: [PATCH] Fix list view hover color --- PlayWall/src/main/resources/view/dialog/PlayoutLogDialog.fxml | 2 +- PlayWall/src/main/sass/components/list.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PlayWall/src/main/resources/view/dialog/PlayoutLogDialog.fxml b/PlayWall/src/main/resources/view/dialog/PlayoutLogDialog.fxml index 018321ac..4b47ced2 100644 --- a/PlayWall/src/main/resources/view/dialog/PlayoutLogDialog.fxml +++ b/PlayWall/src/main/resources/view/dialog/PlayoutLogDialog.fxml @@ -19,7 +19,7 @@ <HBox maxWidth="1.7976931348623157E308" spacing="14.0" VBox.vgrow="ALWAYS"> <children> <ListView fx:id="logList" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="300.0" - HBox.hgrow="ALWAYS"/> + HBox.hgrow="ALWAYS" styleClass="dark-list"/> <VBox maxWidth="1.7976931348623157E308" spacing="14.0" HBox.hgrow="ALWAYS"> <children> <Button fx:id="exportButton" maxWidth="1.7976931348623157E308" mnemonicParsing="false" diff --git a/PlayWall/src/main/sass/components/list.scss b/PlayWall/src/main/sass/components/list.scss index 12d0b758..1ea1f4bc 100644 --- a/PlayWall/src/main/sass/components/list.scss +++ b/PlayWall/src/main/sass/components/list.scss @@ -65,14 +65,14 @@ .list-cell:filled:hover { -fx-background-color: -fx-hover-base; - -fx-text-fill: -fx-text-inner-color; + -fx-text-fill: $component-text-color; } .list-view:focused .list-cell:filled:focused:hover { -fx-background-color: derive(-fx-hover-base, -50%); -fx-background-insets: 0, 1, 2; - -fx-text-fill: -fx-text-inner-color; + -fx-text-fill: $component-text-color; } .list-view:horizontal .list-cell:filled:selected, .list-view:horizontal .list-cell:filled:selected:hover { -- GitLab