mirror of
https://github.com/fmhy/edit.git
synced 2026-01-13 15:31:07 +11:00
Improve toggle contrast in monochrome mode
This commit is contained in:
parent
ad14fc0dd6
commit
87f17bcf61
4 changed files with 113 additions and 34 deletions
|
|
@ -88,6 +88,26 @@
|
|||
img:not(.VPImage) {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
|
||||
.switch,
|
||||
.switch * {
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.switch .thumb {
|
||||
background-color: #000 !important;
|
||||
}
|
||||
|
||||
/* Keep sidebar toggles legible in monochrome mode */
|
||||
.switch,
|
||||
.switch * {
|
||||
filter: none;
|
||||
}
|
||||
|
||||
/* Ensure toggle thumb stays black in grayscale */
|
||||
.switch .thumb {
|
||||
background-color: #000 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.vp-doc a {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue