From 136ead454da73c3425a9bc92e98287708ac8ad7e Mon Sep 17 00:00:00 2001 From: Alex Rechtin Date: Mon, 7 Feb 2022 12:34:24 +0100 Subject: [PATCH] Refactor the create-event.css --- .../src/main/resources/main/create-event.css | 35 +++++++++++++------ 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/client/app/src/main/resources/main/create-event.css b/client/app/src/main/resources/main/create-event.css index 2918a45..3e91667 100644 --- a/client/app/src/main/resources/main/create-event.css +++ b/client/app/src/main/resources/main/create-event.css @@ -1,25 +1,38 @@ /*Marco Kühn*/ +* { + -fx-dark-background-color: #3E415F; + + -fx-darkest-background-color: #2B2D42; + + -fx-bright-background-color: #8D99AE; + -fx-brighter-background-color: #ff5555; + -fx-brightest-background-color: #ffffff; + + -fx-bright-border-color: #B0B0B0; + -fx-brighter-text-color: #ffffff; +} + GridPane{ - -fx-background-color: #3E415F; + -fx-background-color: -fx-dark-background-color; -fx-padding: 20px; -fx-font-size: 20px; -fx-font-family: Segoe UI; -fx-border-insets: 1; - -fx-border-color: #B0B0B0; + -fx-border-color: -fx-bright-border-color; -fx-border-style: solid; -fx-border-width: 2; -fx-effect: dropshadow(three-pass-box, rgba(100, 100, 100, 1), 24, 0.5, 0, 0); } Label{ - -fx-text-fill: white; + -fx-text-fill: -fx-brighter-text-color; -fx-max-width: 150px; -fx-min-width: 150px; } .mainLabel{ - -fx-background-color: #8D99AE; + -fx-background-color: -fx-bright-background-color; -fx-padding: 10px; -fx-max-width: 200px; -fx-min-width: 200px; @@ -29,22 +42,22 @@ Label{ .inputField{ -fx-padding: 10px; - -fx-background-color: white; + -fx-background-color: -fx-brightest-background-color; } .mainButton{ -fx-font-weight: bold; - -fx-background-color: white; + -fx-background-color: -fx-brightest-background-color; } JFXButton{ - -fx-background-color: white; + -fx-background-color: -fx-brightest-background-color; } #labelError{ -fx-font-weight: bold; -fx-max-width: 1000px; - -fx-text-fill: #ff5555; + -fx-text-fill: -fx-brighter-background-color; -fx-padding: 16px; -fx-min-height: 140px; -fx-max-height: 400px; @@ -53,15 +66,15 @@ JFXButton{ } .inputDate{ - -fx-background-color: white; + -fx-background-color: -fx-brightest-background-color; } .comboBox{ - -fx-background-color: white; + -fx-background-color: -fx-brightest-background-color; } .timePicker{ - -fx-background-color: white; + -fx-background-color: -fx-brightest-background-color; } .jfx-time-picker .date-picker-popup{