Skip to content

Commit

Permalink
enhance(ui): fade bgc of overlay from left sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Dec 24, 2021
1 parent 7624b39 commit 86e4db9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/main/frontend/components/sidebar.css
Expand Up @@ -193,6 +193,10 @@
z-index: 9;
transition: width 1.2s;

a {
color: var(--ls-primary-text-color);
}

> .shade-mask {
background-color: rgba(0, 0, 0, .5);
position: absolute;
Expand Down Expand Up @@ -262,8 +266,12 @@
}
}

.white-theme #left-sidebar a {
color: var(--ls-primary-text-color);
html[data-theme='dark'] {
#left-sidebar {
> .shade-mask {
background-color: rgba(0, 0, 0, .15);
}
}
}

.settings-modal {
Expand Down

0 comments on commit 86e4db9

Please sign in to comment.