mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 00:06:09 +01:00
This commit is contained in:
parent
5f968d35fa
commit
2a61ded770
1 changed files with 14 additions and 10 deletions
|
|
@ -1,6 +1,8 @@
|
|||
.layout {
|
||||
&__wnd--active .layout-tab-bar .item--focus {
|
||||
box-shadow: inset 0 -2px 0 0 var(--b3-theme-primary);
|
||||
&:after {
|
||||
background-color: var(--b3-theme-primary);
|
||||
}
|
||||
|
||||
& > .item__text {
|
||||
color: var(--b3-theme-on-background);
|
||||
|
|
@ -126,13 +128,10 @@
|
|||
transition: var(--b3-transition);
|
||||
flex: 1;
|
||||
min-height: 42px;
|
||||
position: relative;
|
||||
|
||||
&:hover:not(.item--focus):not(.item--readonly) {
|
||||
background-color: var(--b3-list-hover);
|
||||
|
||||
.item__text::after {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0.001), var(--b3-list-hover));
|
||||
}
|
||||
&:hover:not(.item--focus):not(.item--readonly) .item__text {
|
||||
color: var(--b3-theme-on-background);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
|
|
@ -170,9 +169,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
&--focus {
|
||||
background-color: var(--b3-theme-background);
|
||||
box-shadow: inset 0 -2px 0 0 var(--b3-theme-background-light);
|
||||
&--focus:after {
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
border-radius: 6px;
|
||||
bottom: 0;
|
||||
position: absolute;
|
||||
background-color: var(--b3-theme-background-light);
|
||||
}
|
||||
|
||||
&--unupdate {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue