web: use hover effects only when supported
This commit is contained in:
@@ -63,10 +63,6 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sidebar-tab:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sidebar-tab:focus-visible {
|
||||
box-shadow: 0 0 0 3px var(--blue) inset;
|
||||
outline: none;
|
||||
@@ -78,6 +74,12 @@
|
||||
color: var(--sidebar-highlight);
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
.sidebar-tab:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 535px) {
|
||||
.sidebar-tab {
|
||||
padding: 5px var(--padding);
|
||||
|
||||
Reference in New Issue
Block a user