added button default styling [ci skip]

This commit is contained in:
Tobias Hagemann
2019-08-07 00:47:16 +02:00
parent 012c7cede9
commit ca72c7a51f
2 changed files with 30 additions and 0 deletions
@@ -14,6 +14,8 @@
CONTROL_BORDER_FOCUSED: #9E9E9E;
CONTROL_BG_NORMAL: #222;
CONTROL_BG_ARMED: #515151;
CONTROL_PRIMARY_BG_NORMAL: #598016;
CONTROL_PRIMARY_BG_ARMED: #70A11B;
CONTROL_WHITE_BG_ARMED: #E1E1E1;
SCROLL_BAR_THUMB_NORMAL: #626262;
SCROLL_BAR_THUMB_HOVER: #7E7E7E;
@@ -291,6 +293,19 @@
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
}
.button:default {
-fx-text-fill: white;
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_PRIMARY_BG_NORMAL;
}
.button:default:focused {
-fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_PRIMARY_BG_NORMAL;
}
.button:default:armed {
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_PRIMARY_BG_ARMED;
}
/*******************************************************************************
* *
* Checkbox *
@@ -14,6 +14,8 @@
CONTROL_BORDER_FOCUSED: #9E9E9E;
CONTROL_BG_NORMAL: #FFF;
CONTROL_BG_ARMED: #E1E1E1;
CONTROL_PRIMARY_BG_NORMAL: #70A11B;
CONTROL_PRIMARY_BG_ARMED: #598016;
CONTROL_WHITE_BG_ARMED: #E1E1E1;
SCROLL_BAR_THUMB_NORMAL: #CFCFCF;
SCROLL_BAR_THUMB_HOVER: #B1B1B1;
@@ -291,6 +293,19 @@
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_BG_ARMED;
}
.button:default {
-fx-text-fill: white;
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_PRIMARY_BG_NORMAL;
}
.button:default:focused {
-fx-background-color: CONTROL_BORDER_FOCUSED, CONTROL_PRIMARY_BG_NORMAL;
}
.button:default:armed {
-fx-background-color: CONTROL_BORDER_NORMAL, CONTROL_PRIMARY_BG_ARMED;
}
/*******************************************************************************
* *
* Checkbox *