Hover effects for colored buttons

This commit is contained in:
2020-07-21 12:26:38 +02:00
parent 3d67a79eeb
commit 0c5249ae93

View File

@@ -1,12 +1,18 @@
Button.green { Button.green {
-fx-background-color: #56893b; -fx-background-color: #56893b;
} }
Button.green:hover {
-fx-background-color: #72a157;
}
Button.green:pressed { Button.green:pressed {
-fx-background-color: #457229; -fx-background-color: #457229;
} }
Button.red { Button.red {
-fx-background-color: #ff4848; -fx-background-color: #ff4848;
} }
Button.red:hover {
-fx-background-color: #ff5e5e;
}
Button.red:pressed { Button.red:pressed {
-fx-background-color: #9c2121; -fx-background-color: #9c2121;
} }