mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-28 05:58:48 +01:00
web/SidebarTab: show border only when active
& also brighten when active on mobile
This commit is contained in:
parent
78db8d5eef
commit
36de546fe2
1 changed files with 8 additions and 1 deletions
|
@ -112,6 +112,10 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sidebar-tab:active:not(.active) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@keyframes pressButton {
|
||||
0% {
|
||||
transform: scale(0.9);
|
||||
|
@ -134,7 +138,10 @@
|
|||
background-color: var(--button-press-transparent);
|
||||
}
|
||||
|
||||
.sidebar-tab:hover:not(.active),
|
||||
.sidebar-tab:hover:not(.active) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.sidebar-tab:active:not(.active),
|
||||
.sidebar-tab:focus:hover:not(.active) {
|
||||
opacity: 1;
|
||||
|
|
Loading…
Reference in a new issue