fix(ui): incorrect nav items color from the left sidebar

pull/10897/head
charlie 2024-01-31 17:04:33 +08:00
parent 177c5b18a7
commit bc825a0e34
1 changed files with 3 additions and 7 deletions

View File

@ -267,9 +267,8 @@
} }
&:hover { &:hover {
background-color: or(--ls-recessed-nav-item-hover, --lx-gray-04, --ls-quaternary-background-color); background-color: var(--lx-gray-04, var(--ls-quaternary-background-color, var(--rx-gray-04)));
opacity: 1; opacity: 1;
background-color: var(--ls-quaternary-background-color);
} }
} }
} }
@ -368,18 +367,15 @@
} }
.cp__sidebar-left-layout { .cp__sidebar-left-layout {
position: fixed; @apply fixed top-0 left-0 w-[10px];
top: 0;
left: 0;
z-index: var(--ls-z-index-level-5); z-index: var(--ls-z-index-level-5);
width: 10px;
a { a {
@apply opacity-90 hover:opacity-100; @apply opacity-90 hover:opacity-100;
transition: all 120ms ease-out; transition: all 120ms ease-out;
color: or(--ls-left-sidebar-text-color, --ls-header-button-background); color: var(--ls-left-sidebar-text-color, var(--ls-header-button-background));
} }
> .left-sidebar-inner { > .left-sidebar-inner {