From 66f5a4743f42e23a254ff40ff9341d80ac16f8b9 Mon Sep 17 00:00:00 2001 From: tobias <thinkdifferent055@gmail.com> Date: Sat, 9 Feb 2019 21:01:04 +0100 Subject: [PATCH] Redesign radio button --- .../src/main/resources/style/components/radiobutton.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PlayWall/src/main/resources/style/components/radiobutton.css b/PlayWall/src/main/resources/style/components/radiobutton.css index 84b24636..57bbbfe5 100644 --- a/PlayWall/src/main/resources/style/components/radiobutton.css +++ b/PlayWall/src/main/resources/style/components/radiobutton.css @@ -8,17 +8,17 @@ .radio-button .dot { -fx-background-color: transparent; - -fx-background-insets: 1 0 -1 0, 0; + -fx-background-insets: 0 0 0 0 0, 0; -fx-padding: 0.333333em; - -fx-shape: "M 0,0 Z"; + -fx-shape: "M-1,0a1,1 0 1,0 2,0a1,1 0 1,0 -2,0"; -fx-scale-x: 1.5; -fx-scale-y: 1.5; } .radio-button:selected .dot { - -fx-background-color: #3E4251; + -fx-background-color: #CCCCCC; } .radio-button:selected .radio { - -fx-background-color: #CCCCCC; + -fx-background-color: #3E4251; } -- GitLab