summaryrefslogtreecommitdiffstats
path: root/assets/sass/_sidebar.scss
diff options
context:
space:
mode:
authoramzrk22020-04-23 11:50:45 +0800
committeramzrk22020-04-23 11:50:45 +0800
commit77ec19755260ec2e65ef284a63d28129c42d70dc (patch)
tree09dd25613d6b65d1dd83abbde3d69d7b0cf6ed11 /assets/sass/_sidebar.scss
parent7376c7f9e511b59638271861600305dd821c559a (diff)
downloadhugo-theme-fuji-77ec19755260ec2e65ef284a63d28129c42d70dc.tar.gz
hugo-theme-fuji-77ec19755260ec2e65ef284a63d28129c42d70dc.tar.bz2
hugo-theme-fuji-77ec19755260ec2e65ef284a63d28129c42d70dc.zip
Switch progressbar.js to fa
Diffstat (limited to 'assets/sass/_sidebar.scss')
-rw-r--r--assets/sass/_sidebar.scss22
1 files changed, 11 insertions, 11 deletions
diff --git a/assets/sass/_sidebar.scss b/assets/sass/_sidebar.scss
index ed4bee3..9fa49e7 100644
--- a/assets/sass/_sidebar.scss
+++ b/assets/sass/_sidebar.scss
@@ -40,27 +40,27 @@
}
}
-#container-progress {
+#scroll-top {
cursor: pointer;
position: fixed;
width: 2.5em;
+ height: 2.5em;
right: 1em;
bottom: 1em;
color: $color-primary;
+ background-color: $color-spliter;
+ border-radius: 100%;
+ line-height: 2.5em;
+ text-align: center;
+ vertical-align: middle;
+ display: inline-block;
&:hover {
color: $color-secondary;
}
- .progressbar-text {
- svg {
- width: 1em;
- vertical-align: middle;
- }
-
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
+ i {
+ font-size: 1.5em;
+ line-height: inherit;
}
} \ No newline at end of file