From 598fc9bbc8e27c4306d8185d1b9392a7849b333f Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 12 Mar 2025 10:00:34 +0100 Subject: [PATCH] complete themes --- src/main/resources/css/dark_theme.css | 49 +++++++++++++++++++++ src/main/resources/css/light_theme.css | 61 ++++++++++++++------------ 2 files changed, 83 insertions(+), 27 deletions(-) diff --git a/src/main/resources/css/dark_theme.css b/src/main/resources/css/dark_theme.css index 4d3db3968..7eaf07e0f 100644 --- a/src/main/resources/css/dark_theme.css +++ b/src/main/resources/css/dark_theme.css @@ -330,6 +330,42 @@ -fx-fill: transparent; } +/******************************************************************************* + * * + * Event List * + * * + ******************************************************************************/ + +.event-window .button-bar { + -fx-min-height:42px; + -fx-max-height:42px; + -fx-background-color: MAIN_BG; + -fx-border-color: transparent transparent CONTROL_BORDER_NORMAL transparent; + -fx-border-width: 0 0 1px 0; +} + +.event-window .button-bar .button-right { + -fx-border-color: transparent transparent transparent CONTROL_BORDER_NORMAL; + -fx-border-width: 0 0 0 1px; + -fx-background-color: MAIN_BG; + -fx-background-radius: 0px; + -fx-min-height: 42px; + -fx-max-height: 42px; +} + +.event-window .button-bar .button-right:armed { + -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED; +} + +.event-window .list-view .list-cell:hover { + -fx-background-color: CONTROL_BG_SELECTED; +} + +.event-window .list-view .list-cell:selected { + -fx-background-color: PRIMARY, CONTROL_BG_SELECTED; + -fx-background-insets: 0, 0 0 0 3px; +} + /******************************************************************************* * * * NotificationBar * @@ -599,6 +635,19 @@ -fx-graphic-text-gap: 9px; } +/******************************************************************************* + * * + * Update indicator + * * + ******************************************************************************/ + +.update-indicator { + -fx-background-color: white, RED_5; + -fx-background-insets: 1px, 2px; + -fx-background-radius: 6px, 5px; + -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.8), 2, 0, 0, 0); +} + /******************************************************************************* * * * Hyperlinks * diff --git a/src/main/resources/css/light_theme.css b/src/main/resources/css/light_theme.css index abddd5505..5f8df2c72 100644 --- a/src/main/resources/css/light_theme.css +++ b/src/main/resources/css/light_theme.css @@ -215,33 +215,6 @@ -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED; } -.update-indicator { - -fx-background-color: white, RED_5; - -fx-background-insets: 1px, 2px; - -fx-background-radius: 6px, 5px; - -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.8), 2, 0, 0, 0); -} - -.event-window .button-bar { - -fx-min-height:42px; - -fx-max-height:42px; - -fx-background-color: MAIN_BG; - -fx-border-color: transparent transparent CONTROL_BORDER_NORMAL transparent; - -fx-border-width: 0 0 1px 0; -} - -.event-window .button-bar .button-right { - -fx-border-color: transparent transparent transparent CONTROL_BORDER_NORMAL; - -fx-border-width: 0 0 0 1px; - -fx-background-color: MAIN_BG; - -fx-background-radius: 0px; - -fx-min-height: 42px; - -fx-max-height: 42px; -} - -.event-window .button-bar .button-right:armed { - -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED; -} /******************************************************************************* * * * TabPane * @@ -366,6 +339,27 @@ * * ******************************************************************************/ +.event-window .button-bar { + -fx-min-height:42px; + -fx-max-height:42px; + -fx-background-color: MAIN_BG; + -fx-border-color: transparent transparent CONTROL_BORDER_NORMAL transparent; + -fx-border-width: 0 0 1px 0; +} + +.event-window .button-bar .button-right { + -fx-border-color: transparent transparent transparent CONTROL_BORDER_NORMAL; + -fx-border-width: 0 0 0 1px; + -fx-background-color: MAIN_BG; + -fx-background-radius: 0px; + -fx-min-height: 42px; + -fx-max-height: 42px; +} + +.event-window .button-bar .button-right:armed { + -fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED; +} + .event-window .list-view .list-cell:hover { -fx-background-color: CONTROL_BG_SELECTED; } @@ -644,6 +638,19 @@ -fx-graphic-text-gap: 9px; } +/******************************************************************************* + * * + * Update indicator + * * + ******************************************************************************/ + +.update-indicator { + -fx-background-color: white, RED_5; + -fx-background-insets: 1px, 2px; + -fx-background-radius: 6px, 5px; + -fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.8), 2, 0, 0, 0); +} + /******************************************************************************* * * * Hyperlinks *