From 93266eb4294e28f7ed7666ec8ced48005a2c84bb Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Wed, 2 Dec 2020 10:52:01 +0100 Subject: [PATCH] feat: update theme --- .../fr/insa/clavardator/ui/styles.css | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/src/main/resources/fr/insa/clavardator/ui/styles.css b/src/main/resources/fr/insa/clavardator/ui/styles.css index c40491c..7aab716 100644 --- a/src/main/resources/fr/insa/clavardator/ui/styles.css +++ b/src/main/resources/fr/insa/clavardator/ui/styles.css @@ -1,4 +1,4 @@ -.label, .button { +.label, .button, .jfx-text-field { -fx-text-fill: #EAEAEA; -fx-font-size: 20; } @@ -15,10 +15,30 @@ -fx-background-color: #36383E; } +.jfx-button { + -fx-background-color: #32338F; +} + +.active-user-item { + -fx-background-color: #3e4046; +} + +.inactive-user-item { + -fx-background-color: #36383E; +} + +.selected-user-item { + -fx-background-color: #32338F; +} + .active-user-dot { -fx-fill: #32b612; } +.inactive-user-dot { + -fx-fill: #5b5b5b; +} + .message-self, .message-other { -fx-font-size: 18; } @@ -42,8 +62,16 @@ .list-view { -fx-padding: 0; + -fx-background-color: #36383E; } +.list-cell:empty { + -fx-background-color: #36383E; +} + +.jfx-text-field { + -jfx-focus-color: #32338F; +} /******************************************************** SCROLLBARS