aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/net/sowgro/npehero/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/net/sowgro/npehero/style.css')
-rwxr-xr-xsrc/main/resources/net/sowgro/npehero/style.css24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/main/resources/net/sowgro/npehero/style.css b/src/main/resources/net/sowgro/npehero/style.css
index 6e8a7a3..950be11 100755
--- a/src/main/resources/net/sowgro/npehero/style.css
+++ b/src/main/resources/net/sowgro/npehero/style.css
@@ -7,9 +7,8 @@
-fx-font-size: 20;
}
-/* button */
-
-.button {
+/* buttons */
+Button, TextField, RadioButton, ToggleButton, ColorPicker {
-fx-background-color: rgba(0, 0, 0, 0.5);
-fx-text-fill: white;
-fx-border-color: transparent;
@@ -19,27 +18,31 @@
-fx-background-radius: 5;
}
-.button:hover {
+Button:hover, TextField:hover, RadioButton:hover, ToggleButton:hover, ColorPicker:hover {
-fx-background-color: rgb(50, 50, 50, 0.5);
}
-.button:focused {
+Button:focused, TextField:focused, RadioButton:focused, ToggleButton:focused, ColorPicker:focused {
-fx-background-color: rgb(50, 50, 50, 0.5);
-fx-border-color: rgb(255, 255, 255);
}
-.button:selected {
+Button:selected, TextField:selected, RadioButton:selected, ToggleButton:selected, ColorPicker:selected {
-fx-background-color: rgb(255, 255, 255);
-fx-text-fill: rgb(0, 0, 0);
}
-.button:pressed{
+Button:pressed, TextField:pressed, RadioButton:pressed, ToggleButton:pressed, ColorPicker:pressed {
-fx-background-color: rgb(231, 231, 231);
-fx-border-color: transparent;
-fx-text-fill: rgb(0, 0, 0);
}
+ColorPicker {
+ -fx-color-label-visible: false
+}
+
/* table */
TableView {
@@ -105,6 +108,7 @@ TableView:focused .list-cell:focused {
.table-row-cell:pressed {
-fx-background-color: rgb(231, 231, 231);
+ -fx-text-background-color: rgb(0, 0, 0);
/* -fx-border-color: transparent; */
}
@@ -161,7 +165,7 @@ Slider:focused .thumb{
.scroll-bar:horizontal ,
.scroll-bar:vertical{
- -fx-font-size: 5px;
+ -fx-font-size: 10px;
-fx-background-color :transparent;
-fx-border-color :transparent;
-fx-background-radius : 0.0em;
@@ -225,6 +229,10 @@ Slider:focused .thumb{
-fx-text-fill: white;
}
+.box Label {
+ -fx-text-fill: white;
+}
+
/* debug */
.debug {