add: options layer

This commit is contained in:
ramollia
2025-10-04 19:26:30 +02:00
parent db6231c6d0
commit e7d606f08e
3 changed files with 136 additions and 33 deletions

View File

@@ -14,7 +14,7 @@
}
.text, .button, .toggle {
-fx-padding: 10;
-fx-padding: 5 10 5 10;
-fx-fill: white;
-fx-text-fill: white;
@@ -75,6 +75,38 @@
-fx-background-color: linear-gradient(to bottom right, orange, indigo), #1d1d1d;
}
.choicebox {
-fx-alignment: center;
-fx-background-color: linear-gradient(to bottom right, orange, indigo), #1d1d1d;
-fx-background-insets: 0, 2;
-fx-background-radius: 8;
-fx-border-color: transparent;
}
.choicebox .label {
-fx-text-fill: white;
-fx-alignment: center;
-fx-padding: 5 10 5 10;
}
.choicebox .arrow {
-fx-background-color: transparent;
}
.choicebox .context-menu {
-fx-background-color: linear-gradient(to bottom right, orange, indigo), #1d1d1d;
-fx-background-insets: 0, 2;
-fx-background-radius: 5;
}
.choicebox .menu-item:hover {
-fx-cursor: hand;
-fx-background-color: #ffffff11;
}
.separator {
-fx-background-color: linear-gradient(to bottom right, orange, indigo), #1d1d1d;
}