Hover effects for colored buttons
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user