sidebar
This commit is contained in:
parent
3aabeff065
commit
7166bcd83e
|
@ -42,7 +42,19 @@
|
||||||
line-height: 1.2
|
line-height: 1.2
|
||||||
border-radius: 4px
|
border-radius: 4px
|
||||||
position: relative
|
position: relative
|
||||||
|
&:before
|
||||||
|
content: ''
|
||||||
|
position: absolute
|
||||||
|
left: -6px
|
||||||
|
top: 'calc(50% - %s)' % 6px
|
||||||
|
bottom: 'calc(50% - %s)' % 6px
|
||||||
|
width: 2px
|
||||||
|
border-radius: 2px
|
||||||
|
background: $color-theme
|
||||||
|
visibility: hidden
|
||||||
&:hover
|
&:hover
|
||||||
background: var(--block-hover)
|
background: var(--block-hover)
|
||||||
&.active
|
&.active
|
||||||
color: var(--theme-highlight) !important
|
color: var(--theme-highlight) !important
|
||||||
|
&:before
|
||||||
|
visibility: visible
|
||||||
|
|
|
@ -36,10 +36,12 @@
|
||||||
&:hover
|
&:hover
|
||||||
background: var(--block-hover)
|
background: var(--block-hover)
|
||||||
&:after
|
&:after
|
||||||
content: ''
|
content: none
|
||||||
|
|
||||||
>.toc
|
>.toc
|
||||||
padding: 4px
|
padding: 4px
|
||||||
background: var(--card)
|
background: var(--card)
|
||||||
|
a.toc-link:before
|
||||||
|
left: -2px
|
||||||
|
width: 4px
|
||||||
a.toc-link:hover
|
a.toc-link:hover
|
||||||
background: var(--block)
|
background: var(--block)
|
||||||
|
|
Loading…
Reference in New Issue