mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 02:50:00 +00:00
fixed toggle switch appearance in windows high contrast mode - fixes #4165
This commit is contained in:
parent
e09a011c23
commit
485665d449
@ -162,3 +162,23 @@ ngb-typeahead-window {
|
|||||||
.list-group-item > button {
|
.list-group-item > button {
|
||||||
margin: -7px 0;
|
margin: -7px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Windows high contrast mode
|
||||||
|
@media screen and (forced-colors: active) {
|
||||||
|
.custom-switch .custom-control-label::before {
|
||||||
|
background: buttonface;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-label::after {
|
||||||
|
background: buttontext;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
|
||||||
|
background: activetext;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
|
||||||
|
background: canvas;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user