mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Smartened the button toggle logic. Could be smarter, though.
This commit is contained in:
@@ -372,6 +372,11 @@ nav.ol-panel> :last-child {
|
||||
}
|
||||
|
||||
|
||||
.ol-panel .ol-group-button-toggle button.off::before {
|
||||
background-image: url("/images/icons/square-regular.svg");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.highlight-primary {
|
||||
@@ -626,12 +631,6 @@ body[data-hide-naval] #unit-visibility-control-naval {
|
||||
}
|
||||
|
||||
|
||||
[data-hide-blue] #coalition-visibility-control #coalition-visibility-control-blue::before,
|
||||
[data-hide-red] #coalition-visibility-control #coalition-visibility-control-red::before,
|
||||
[data-hide-neutral] #coalition-visibility-control #coalition-visibility-control-neutral::before {
|
||||
background-image: url("/images/icons/square-regular.svg");
|
||||
}
|
||||
|
||||
.toggle {
|
||||
--width: 40px;
|
||||
--height: calc(var(--width) / 2);
|
||||
|
||||
Reference in New Issue
Block a user