mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
refactoring to use the new .markdownIt-TOC-wrapper div
This commit is contained in:
@@ -447,9 +447,8 @@ pre.fence
|
|||||||
color $ui-text-color
|
color $ui-text-color
|
||||||
background-color $ui-tag-backgroundColor
|
background-color $ui-tag-backgroundColor
|
||||||
|
|
||||||
.markdownIt-TOC
|
.markdownIt-TOC-wrapper
|
||||||
list-style none
|
list-style none
|
||||||
padding 15px
|
|
||||||
position fixed
|
position fixed
|
||||||
right 0
|
right 0
|
||||||
top 0
|
top 0
|
||||||
@@ -458,6 +457,13 @@ pre.fence
|
|||||||
transition transform .2s ease-in-out
|
transition transform .2s ease-in-out
|
||||||
transform translateX(100%)
|
transform translateX(100%)
|
||||||
|
|
||||||
|
.markdownIt-TOC
|
||||||
|
display block
|
||||||
|
max-height 90vh
|
||||||
|
overflow-y auto
|
||||||
|
padding 25px
|
||||||
|
padding-left 38px
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&:before
|
&:before
|
||||||
background-color $ui-dark-backgroundColor
|
background-color $ui-dark-backgroundColor
|
||||||
@@ -472,7 +478,7 @@ pre.fence
|
|||||||
width 60px
|
width 60px
|
||||||
height 30px
|
height 30px
|
||||||
top 60px
|
top 60px
|
||||||
left -30px
|
left -29px
|
||||||
display flex
|
display flex
|
||||||
align-items center
|
align-items center
|
||||||
justify-content center
|
justify-content center
|
||||||
@@ -546,7 +552,7 @@ body[data-theme="dark"]
|
|||||||
color $ui-dark-text-color
|
color $ui-dark-text-color
|
||||||
background-color $ui-dark-tag-backgroundColor
|
background-color $ui-dark-tag-backgroundColor
|
||||||
|
|
||||||
.markdownIt-TOC
|
.markdownIt-TOC-wrapper
|
||||||
&,
|
&,
|
||||||
&:before
|
&:before
|
||||||
background-color darken(themeDarkBackground, 5%)
|
background-color darken(themeDarkBackground, 5%)
|
||||||
@@ -597,7 +603,7 @@ body[data-theme="solarized-dark"]
|
|||||||
color $ui-solarized-dark-button--active-color
|
color $ui-solarized-dark-button--active-color
|
||||||
background-color $ui-solarized-dark-button-backgroundColor
|
background-color $ui-solarized-dark-button-backgroundColor
|
||||||
|
|
||||||
.markdownIt-TOC
|
.markdownIt-TOC-wrapper
|
||||||
&,
|
&,
|
||||||
&:before
|
&:before
|
||||||
background-color darken(themeSolarizedDarkBackground, 15%)
|
background-color darken(themeSolarizedDarkBackground, 15%)
|
||||||
@@ -650,7 +656,7 @@ body[data-theme="monokai"]
|
|||||||
color $ui-monokai-button--active-color
|
color $ui-monokai-button--active-color
|
||||||
background-color $ui-monokai-button-backgroundColor
|
background-color $ui-monokai-button-backgroundColor
|
||||||
|
|
||||||
.markdownIt-TOC
|
.markdownIt-TOC-wrapper
|
||||||
&,
|
&,
|
||||||
&:before
|
&:before
|
||||||
background-color darken(themeMonokaiBackground, 15%)
|
background-color darken(themeMonokaiBackground, 15%)
|
||||||
@@ -703,7 +709,7 @@ body[data-theme="dracula"]
|
|||||||
color $ui-dracula-button--active-color
|
color $ui-dracula-button--active-color
|
||||||
background-color $ui-dracula-button-backgroundColor
|
background-color $ui-dracula-button-backgroundColor
|
||||||
|
|
||||||
.markdownIt-TOC
|
.markdownIt-TOC-wrapper
|
||||||
&,
|
&,
|
||||||
&:before
|
&:before
|
||||||
background-color darken(themeDraculaBackground, 15%)
|
background-color darken(themeDraculaBackground, 15%)
|
||||||
|
|||||||
Reference in New Issue
Block a user