added disabled checkbox styling [ci skip]

This commit is contained in:
Tobias Hagemann
2019-09-03 15:06:07 +02:00
parent bd0ece8020
commit b36c5fa60f
2 changed files with 16 additions and 0 deletions

View File

@@ -549,6 +549,10 @@
-fx-padding: 4px 0 4px 0;
}
.check-box:disabled {
-fx-text-fill: TEXT_FILL_SECONDARY;
}
.check-box > .box {
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
-fx-background-insets: 0, 1px;
@@ -560,6 +564,10 @@
-fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
}
.check-box:disabled > .box {
-fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
}
.check-box > .box > .mark {
-fx-background-color: transparent;
-fx-padding: 0.4em;

View File

@@ -549,6 +549,10 @@
-fx-padding: 4px 0 4px 0;
}
.check-box:disabled {
-fx-text-fill: TEXT_FILL_SECONDARY;
}
.check-box > .box {
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_NORMAL;
-fx-background-insets: 0, 1px;
@@ -560,6 +564,10 @@
-fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_BG_NORMAL;
}
.check-box:disabled > .box {
-fx-background-color: CONTROL_BORDER_DISABLED, CONTROL_BG_DISABLED;
}
.check-box > .box > .mark {
-fx-background-color: transparent;
-fx-padding: 0.4em;