🔧 🚩 🚧 Finished all variables replace content.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
@if hexo-config('back2top.enable') {
|
||||
@if $back2top_enable {
|
||||
.back-to-top {
|
||||
font-size: $b2t-font-size;
|
||||
|
||||
@if not hexo-config('back2top.scrollpercent') {
|
||||
@if not $back2top_scrollpercent {
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@if hexo-config('back2top.sidebar') {
|
||||
@if $back2top_sidebar {
|
||||
margin: 20px - $sidebar-offset -10px -20px;
|
||||
opacity: 0;
|
||||
transition: opacity $transition-ease;
|
||||
@@ -29,7 +29,7 @@
|
||||
transition: bottom $transition-ease;
|
||||
@include sidebar-toggle();
|
||||
|
||||
@if not hexo-config('back2top.scrollpercent') {
|
||||
@if not $back2top_scrollpercent {
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user