sidebar
This commit is contained in:
parent
91991f9e1e
commit
237f756e30
|
@ -1,3 +1,3 @@
|
||||||
.l_left:not([layout='wiki']) .widget-wrap#toc
|
.widget-wrap#toc .doc-tree:only-child
|
||||||
.widget-body .doc-tree.active>.toc
|
&.active>.toc
|
||||||
border-left: 2px solid var(--block-hover)
|
border-left: 2px solid var(--block-hover)
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
.widget-body
|
.widget-body
|
||||||
margin-top: 0
|
margin-top: 0
|
||||||
|
|
||||||
// 未激活的分页链接
|
// 其它分页链接
|
||||||
.l_left[layout='wiki'] .widget-wrap#toc .doc-tree
|
.widget-wrap#toc .doc-tree:not(:only-child)
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
margin: 4px 0
|
margin: 4px 0
|
||||||
background: var(--block)
|
background: var(--block)
|
||||||
|
@ -29,10 +29,12 @@
|
||||||
|
|
||||||
|
|
||||||
// 当前分页链接
|
// 当前分页链接
|
||||||
.l_left[layout='wiki'] .widget-wrap#toc .doc-tree.active
|
.widget-wrap#toc .doc-tree.active:not(:only-child)
|
||||||
a.doc-tree-link
|
a.doc-tree-link
|
||||||
background: var(--block)
|
background: var(--block)
|
||||||
border-bottom: 1px solid var(--block-border)
|
font-weight: 700
|
||||||
|
&:not(:only-child)
|
||||||
|
border-bottom: 1px solid var(--block-border)
|
||||||
&:hover
|
&:hover
|
||||||
background: var(--block-hover)
|
background: var(--block-hover)
|
||||||
&:after
|
&:after
|
||||||
|
|
Loading…
Reference in New Issue