added: toggle

This commit is contained in:
ramollia
2025-10-03 22:34:26 +02:00
parent ac6de04e68
commit fae5b8bcda
3 changed files with 48 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
-fx-font-size: 24px;
}
.button {
.button, .toggle {
-fx-padding: 10;
-fx-background-color: transparent;
@@ -29,7 +29,7 @@
-fx-transition: all 0.3s ease-in-out;
}
.button:hover {
.button:hover, .toggle:hover {
-fx-cursor: hand;
-fx-scale-x: 1.1;