Toggle style fixes

This commit is contained in:
crschnick 2024-09-09 14:09:42 +00:00
parent db6349201f
commit ac9b0ea467
2 changed files with 16 additions and 12 deletions

View file

@ -67,18 +67,6 @@
-fx-border-radius: 0 6 0 0; -fx-border-radius: 0 6 0 0;
} }
.toggle-switch-comp:has-graphic .label {
-fx-font-size: 1.7em;
}
.toggle-switch-comp:has-graphic {
-fx-font-size: 0.75em;
}
.toggle-switch-comp .label-container {
-fx-padding: -0.2em 0 0 0;
}
.store-layout .split-pane-divider { .store-layout .split-pane-divider {
-fx-background-color: transparent; -fx-background-color: transparent;
} }

View file

@ -1,3 +1,19 @@
.toggle-switch-comp:hover > .thumb-area, .root:key-navigation .toggle-switch-comp:focused > .thumb-area { .toggle-switch-comp:hover > .thumb-area, .root:key-navigation .toggle-switch-comp:focused > .thumb-area {
-fx-background-color: -color-neutral-emphasis; -fx-background-color: -color-neutral-emphasis;
}
.toggle-switch-comp:has-graphic .label {
-fx-font-size: 1.7em;
}
.toggle-switch-comp:has-graphic {
-fx-font-size: 0.75em;
}
.toggle-switch-comp .label-container {
-fx-padding: -0.2em 0 0 0;
}
.root:linux .toggle-switch-comp .label-container {
-fx-padding: -0.05em 0 0 0;
} }