diff options
author | amzrk2 | 2020-04-22 19:12:46 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-22 19:12:46 +0800 |
commit | f2b712d0b0922d3b0fd116611589dc25719e2bf8 (patch) | |
tree | cf89d0f2ce270d120edf78f17bfbb36562f2ad85 | |
parent | 2c15f4495668f953709489133073ab2e7fa2efa8 (diff) | |
download | hugo-theme-fuji-f2b712d0b0922d3b0fd116611589dc25719e2bf8.tar.gz hugo-theme-fuji-f2b712d0b0922d3b0fd116611589dc25719e2bf8.tar.bz2 hugo-theme-fuji-f2b712d0b0922d3b0fd116611589dc25719e2bf8.zip |
Adjust progressbar style
-rw-r--r-- | assets/sass/_sidebar.scss | 4 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/assets/sass/_sidebar.scss b/assets/sass/_sidebar.scss index 9010af5..ed4bee3 100644 --- a/assets/sass/_sidebar.scss +++ b/assets/sass/_sidebar.scss @@ -43,7 +43,7 @@ #container-progress { cursor: pointer; position: fixed; - width: 3em; + width: 2.5em; right: 1em; bottom: 1em; color: $color-primary; @@ -54,7 +54,7 @@ .progressbar-text { svg { - width: 24px; + width: 1em; vertical-align: middle; } diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 79befb5..c47a474 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -45,12 +45,11 @@ $(function () { var bar = new ProgressBar.Circle("#progress", { color: "#8AA2D3", - strokeWidth: 12, + strokeWidth: 10, trailColor: "#E5E2E4", - trailWidth: 12, + trailWidth: 10, text: { value: '{{ partial "fas/fa-angle-up" . }}', - autoStyleContainer: false, style: null }, fill: "#E5E2E4" |