From 7e3bd6657131a8b128642a62df633b5ce3919af8 Mon Sep 17 00:00:00 2001 From: Alex Rechtin Date: Mon, 13 Dec 2021 12:46:01 +0100 Subject: [PATCH] Improvement of the main-view.fxml and main-view.css --- .../app/src/main/resources/main/main-view.css | 54 +++++++++---------- .../src/main/resources/main/main-view.fxml | 21 ++++---- 2 files changed, 38 insertions(+), 37 deletions(-) diff --git a/client/app/src/main/resources/main/main-view.css b/client/app/src/main/resources/main/main-view.css index af0f292..f6a436d 100644 --- a/client/app/src/main/resources/main/main-view.css +++ b/client/app/src/main/resources/main/main-view.css @@ -1,70 +1,68 @@ * { - -fx-base-background-color: #2B2D42; - -fx-base1-background-color: #525E74; + -fx-dark-background-color: #525E74; + -fx-darkest-background-color: #2B2D42; + + -fx-bright-background-color: #77859E; + -fx-brighter-background-color: #52567E; + -fx-brightest-background-color: #ffffff; + + -fx-bright-border-color: #B0B0B0; + -fx-brighter-text-color: #ffffff; - -fx-main-border-color: #B0B0B0; - -fx-main-text-color: #ffffff; } - -GridPane{ - -fx-background-color: -fx-base-background-color; +.mainGrid{ + -fx-background-color: -fx-darkest-background-color; } -.main-panel{ - -fx-background-color: #282C34; -} - -.vbox-main{ - -fx-background-color: #333333; - -fx-alignment: top-center; - +.mainVbox{ + -fx-background-color: -fx-dark-background-color; } .gridCalendar Line{ - -fx-stroke: -fx-main-border-color; + -fx-stroke: -fx-bright-border-color; } .gridCalender{ - -fx-background-color: -fx-base-background-color; + -fx-background-color: -fx-darkest-background-color; -fx-min-height: 80px; -fx-max-height: 80px; } .labelMonth{ -fx-padding: 0 0 0 20; - -fx-background-color: #77859E; + -fx-background-color: -fx-bright-background-color; -fx-font-size: 35px; -fx-font-weight: bold; } .scrollDays{ - -fx-background-color: -fx-base-background-color; - -fx-border-color: -fx-main-border-color; + -fx-background-color: -fx-darkest-background-color; + -fx-border-color: -fx-bright-border-color; } .vBoxDays{ - -fx-background-color: -fx-base-background-color; + -fx-background-color: -fx-darkest-background-color; } .labelDays{ -fx-alignment: center; - -fx-background-color: -fx-base1-background-color; + -fx-background-color: -fx-dark-background-color; -fx-font-size: 25px; - -fx-border-color: -fx-main-border-color; + -fx-border-color: -fx-bright-border-color; } Label{ - -fx-text-fill: -fx-main-text-color; + -fx-text-fill: -fx-brighter-text-color; } .event{ - -fx-background-color: -fx-base1-background-color; + -fx-background-color: -fx-dark-background-color; } -.main-btn{ - -fx-background-color: #ffffff; - -fx-text-fill: -fx-main-text-color; +.mainBtn{ + -fx-background-color: -fx-brightest-background-color; + -fx-text-fill: -fx-brighter-text-color; -fx-background-radius: 5em; -fx-min-width: 40px; -fx-min-height: 40px; diff --git a/client/app/src/main/resources/main/main-view.fxml b/client/app/src/main/resources/main/main-view.fxml index b5bf7e2..f7b211a 100644 --- a/client/app/src/main/resources/main/main-view.fxml +++ b/client/app/src/main/resources/main/main-view.fxml @@ -5,7 +5,8 @@ - + @@ -13,17 +14,17 @@ - + - - - @@ -36,16 +37,19 @@ -