enhance(ui): fade bgc of overlay from left sidebar

pull/3566/head
charlie 2021-12-23 13:45:53 +08:00 committed by Tienson Qin
parent 7624b39a59
commit 86e4db9e01
1 changed files with 10 additions and 2 deletions

View File

@ -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;
@ -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 {