From 194f69527da3c250ed5a8bfdb16df0e22ebd49a2 Mon Sep 17 00:00:00 2001 From: DieGurke <55625494+DieGurke@users.noreply.github.com> Date: Sat, 1 Aug 2020 10:30:12 +0200 Subject: [PATCH] redesigned the vertical scroll bar --- client/src/main/resources/css/dark.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/client/src/main/resources/css/dark.css b/client/src/main/resources/css/dark.css index 37bfae5..0550a51 100644 --- a/client/src/main/resources/css/dark.css +++ b/client/src/main/resources/css/dark.css @@ -68,3 +68,18 @@ -fx-text-fill: rgb(105.0,0.0,153.0); -fx-font-weight: bold; } + +.scroll-bar:vertical, .scroll-bar:vertical .track, .scroll-bar:vertical .increment-button , .scroll-bar:vertical .decrement-button { + -fx-background-color: transparent; +} + +.scroll-bar:vertical .increment-arrow, .scroll-bar:vertical .decrement-arrow { + -fx-background-color: transparent; +} + +.scroll-bar:vertical .thumb { + -fx-background-color: #707070; + -fx-background-insets : 4.0, 0.0, 0.0; + -fx-background-radius : 2.0em; +} +