mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-01-03 23:42:28 +03:00
Added use of the prefers-contrast media query
Used upon areas we usually fade-out to provide a focused user experience. If the user desires more contrasted we prevent this behaviour using the prefers-contrast media query. Related to #2634
This commit is contained in:
@@ -262,6 +262,9 @@ header .search-box {
|
||||
&:hover, &:focus-within {
|
||||
opacity: 1;
|
||||
}
|
||||
@media (prefers-contrast: more) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@include smaller-than($l) {
|
||||
|
||||
Reference in New Issue
Block a user