[opt] folding
This commit is contained in:
parent
815c67d5c7
commit
0654b94f89
|
@ -3,7 +3,6 @@ details.folding
|
||||||
padding: 1rem
|
padding: 1rem
|
||||||
margin: 1rem 0
|
margin: 1rem 0
|
||||||
border-radius: $border-block
|
border-radius: $border-block
|
||||||
font-size: $fs-14
|
|
||||||
background: var(--theme-bg2)
|
background: var(--theme-bg2)
|
||||||
border: 1px solid var(--theme-border)
|
border: 1px solid var(--theme-border)
|
||||||
summary
|
summary
|
||||||
|
@ -12,6 +11,7 @@ details.folding
|
||||||
margin: -1rem
|
margin: -1rem
|
||||||
color: var(--text-p2)
|
color: var(--text-p2)
|
||||||
font-weight: 500
|
font-weight: 500
|
||||||
|
font-size: $fs-14
|
||||||
position: relative
|
position: relative
|
||||||
line-height: 1.2
|
line-height: 1.2
|
||||||
outline: none
|
outline: none
|
||||||
|
@ -43,7 +43,7 @@ details.folding[open]
|
||||||
>div.body
|
>div.body
|
||||||
padding: 0 1rem 1rem
|
padding: 0 1rem 1rem
|
||||||
margin: 0 -1rem -1rem
|
margin: 0 -1rem -1rem
|
||||||
font-size: $fs-15
|
color: var(--text-p1)
|
||||||
>:first-child
|
>:first-child
|
||||||
margin-top: 1rem
|
margin-top: 1rem
|
||||||
>:last-child
|
>:last-child
|
||||||
|
|
Loading…
Reference in New Issue