From c99d0fdb1ef35099dc53515f2f332e99a568eb1c Mon Sep 17 00:00:00 2001 From: Christoph Atteneder Date: Tue, 24 Jul 2018 14:46:28 +0200 Subject: [PATCH] Adapt CheckBox style to match design guide --- desktop/src/main/java/bisq/desktop/bisq.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/desktop/src/main/java/bisq/desktop/bisq.css b/desktop/src/main/java/bisq/desktop/bisq.css index 2acde0b9d9..6a89afe69a 100644 --- a/desktop/src/main/java/bisq/desktop/bisq.css +++ b/desktop/src/main/java/bisq/desktop/bisq.css @@ -211,6 +211,22 @@ bg color of non edit textFields: fafafa .jfx-checkbox { -jfx-checked-color: -bs-green; + -fx-font-size: 0.692em; +} + +.jfx-check-box .box, +.jfx-check-box:indeterminate .box, +.jfx-check-box:indeterminate:selected .box { + -fx-border-radius: 0; + -fx-border-width: 1; + -fx-pref-width: 12; + -fx-pref-height: 12; +} + +.jfx-check-box .mark , +.jfx-check-box .indeterminate-mark { + -fx-border-radius: 0; + -fx-border-width: 1; } /* Behavior */