From 74ebd158f2b1bd70cb3775ecf34739969ff68b56 Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Sat, 1 Aug 2020 10:00:34 +0200 Subject: [PATCH] Made the contact search area appealing for the eye and relocated buttons --- client/src/main/resources/css/base.css | 2 +- client/src/main/resources/css/dark.css | 14 +++++- client/src/main/resources/fxml/ChatScene.fxml | 50 ++++++++++++++----- 3 files changed, 50 insertions(+), 16 deletions(-) diff --git a/client/src/main/resources/css/base.css b/client/src/main/resources/css/base.css index 9ffe4ff..9a106c0 100644 --- a/client/src/main/resources/css/base.css +++ b/client/src/main/resources/css/base.css @@ -8,7 +8,7 @@ -fx-background-color: transparent; } -#messageEnterContainer { +#textEnterContainer, #contact-search-enter-container { -fx-background-radius: 5.0em; } diff --git a/client/src/main/resources/css/dark.css b/client/src/main/resources/css/dark.css index 603b64c..37bfae5 100644 --- a/client/src/main/resources/css/dark.css +++ b/client/src/main/resources/css/dark.css @@ -46,14 +46,24 @@ -fx-background-color: rgb(25, 25, 25); } -#chatList, #topBar { +#chatList, #topBar, #search-panel { -fx-background-color: #303030; } -#messageEnterContainer { +#textEnterContainer { -fx-background-color: #363636; } +#contact-search-enter-container { + -fx-background-color: #202020; +} + +#underline { + -fx-border: solid; + -fx-border-width: 0.0 0.0 1.0 0.0; + -fx-border-color: #202020; +} + .groupMemberNames { -fx-text-fill: rgb(105.0,0.0,153.0); -fx-font-weight: bold; diff --git a/client/src/main/resources/fxml/ChatScene.fxml b/client/src/main/resources/fxml/ChatScene.fxml index 714b469..8fb2fe2 100644 --- a/client/src/main/resources/fxml/ChatScene.fxml +++ b/client/src/main/resources/fxml/ChatScene.fxml @@ -35,16 +35,45 @@ - + - + - + - + + + + + + + + + + + + + @@ -90,11 +119,6 @@ - @@ -118,7 +142,7 @@ -