From 285ddac2199a26ccafa05f6cd2298b2ac6432fc7 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Thu, 4 Dec 2025 16:20:49 +0100 Subject: [PATCH] ai thoughts Signed-off-by: Armin Schrenk --- src/main/resources/css/light_theme.css | 90 ++++++++++++++++++++++- src/main/resources/fxml/notification.fxml | 77 +++++++++++-------- 2 files changed, 131 insertions(+), 36 deletions(-) diff --git a/src/main/resources/css/light_theme.css b/src/main/resources/css/light_theme.css index a2e88c29a..68d6dda03 100644 --- a/src/main/resources/css/light_theme.css +++ b/src/main/resources/css/light_theme.css @@ -1191,7 +1191,89 @@ Notification Window **/ .notification-window { - -fx-background-radius: 18 18 18 18; - -fx-border-radius: 18 18 18 18; - -fx-background-color: MAIN_BG; -} \ No newline at end of file + -fx-background-color: MAIN_BG; + -fx-background-radius: 22; + -fx-border-radius: 22; + -fx-background-insets: 0; + -fx-background-color: rgba(255, 255, 255, 0.92); + -fx-border-color: rgba(0, 0, 0, 0.1); + -fx-border-width: 1px; + -fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.2), 28, 0.35, 0, 6); +} + +.notification-window .dialog-header { + -fx-alignment: center-left; +} + +.notification-window .brand-title { + -fx-font-family: 'Open Sans SemiBold'; + -fx-font-size: 18px; +} + +.notification-window .close-button { + -fx-background-color: transparent; + -fx-border-color: transparent; + -fx-padding: 6 8 6 8; +} + +.notification-window .close-button:hover { + -fx-background-color: CONTROL_BG_HOVER; + -fx-background-radius: 8; +} + +.notification-window .close-button:pressed { + -fx-background-color: CONTROL_BG_ARMED; +} + +.notification-window .notification-title { + -fx-font-family: 'Open Sans Bold'; + -fx-font-size: 28px; + -fx-text-fill: TEXT_FILL; +} + +.notification-window .notification-description { + -fx-font-size: 20px; + -fx-text-fill: TEXT_FILL; + -fx-line-spacing: 6px; +} + +.notification-window .action-button { + -fx-background-color: CONTROL_BG_NORMAL; + -fx-border-color: CONTROL_BORDER_NORMAL; + -fx-border-width: 2px; + -fx-background-radius: 12; + -fx-border-radius: 12; + -fx-font-family: 'Open Sans SemiBold'; + -fx-font-size: 22px; + -fx-text-fill: TEXT_FILL; + -fx-padding: 10 28 12 28; +} + +.notification-window .action-button:hover { + -fx-background-color: CONTROL_BG_HOVER; + -fx-border-color: CONTROL_BORDER_FOCUSED; +} + +.notification-window .action-button:pressed { + -fx-background-color: CONTROL_BG_ARMED; +} + +.notification-window .nav-button { + -fx-background-color: transparent; + -fx-border-color: transparent; + -fx-padding: 6 8 6 8; +} + +.notification-window .nav-button:hover { + -fx-background-color: CONTROL_BG_HOVER; + -fx-background-radius: 8; +} + +.notification-window .nav-button:pressed { + -fx-background-color: CONTROL_BG_ARMED; +} + +.notification-window .page-indicator { + -fx-font-size: 14px; + -fx-text-fill: TEXT_FILL; +} diff --git a/src/main/resources/fxml/notification.fxml b/src/main/resources/fxml/notification.fxml index 5f24eb25b..fed6005aa 100644 --- a/src/main/resources/fxml/notification.fxml +++ b/src/main/resources/fxml/notification.fxml @@ -4,50 +4,63 @@ - - - - + + - + - - + + + - - - + + +
+ + +
+ + + + + + + + + +