summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-xtheme/stylesheets/book/progress.less124
-rwxr-xr-xtheme/stylesheets/variables.less2
2 files changed, 63 insertions, 63 deletions
diff --git a/theme/stylesheets/book/progress.less b/theme/stylesheets/book/progress.less
index 2f8e232..1cfb3d6 100755
--- a/theme/stylesheets/book/progress.less
+++ b/theme/stylesheets/book/progress.less
@@ -1,84 +1,84 @@
/* Chrome, Safari, Opera */
@-webkit-keyframes animate-loading {
- from {width: 0%;}
- to {}
+ from {width: 0%;}
+ to {}
}
/* Standard syntax */
@keyframes animate-loading {
- from {width: 0%;}
- to {}
+ from {width: 0%;}
+ to {}
}
.book .book-body {
- .book-progress {
- height: @progress-height;
- width: 100%;
- position: relative;
- background: #fff;
- margin-bottom: 20px;
- z-index: 10;
-
- .bar {
- height: @bar-height;
- position: @bar-position;
- right: @bar-right;
- left: @bar-left;
- top: @bar-top;
-
- background: @bar-background;
- border-radius: 5px;
- overflow: hidden;
-
- .inner {
- height: 100%;
- width: 0%;
-
- background: @bar-progress-background;
- -webkit-animation: animate-loading 1s; /* Chrome, Safari, Opera */
- animation: animate-loading 1s;
-
- .in-inner {
- height: 100%;
- width: 50%;
+ .book-progress {
+ height: @progress-height;
+ width: 100%;
+ position: relative;
+ background: #fff;
+ margin-bottom: 20px;
+ z-index: 10;
+
+ .bar {
+ height: @bar-height;
+ position: @bar-position;
+ right: @bar-right;
+ left: @bar-left;
+ top: @bar-top;
+
+ background: @bar-background;
+ border-radius: 5px;
+ overflow: hidden;
+
+ .inner {
+ height: 100%;
+ width: 0%;
+
+ background: @bar-progress-background;
+ -webkit-animation: animate-loading 1s; /* Chrome, Safari, Opera */
+ animation: animate-loading 1s;
+
+ .in-inner {
+ height: 100%;
+ width: 50%;
+ }
+ }
}
- }
- }
- .chapters {
- display: @chapter-display;
+ .chapters {
+ display: @chapter-display;
- position: absolute;
- right: 20px + @chapter-size;
- left: 20px;
- top: 7px;
+ position: absolute;
+ right: 20px + @chapter-size;
+ left: 20px;
+ top: 7px;
- .chapter {
- position: absolute;
- width: @chapter-size;
- height: @chapter-size;
- border-radius: @chapter-size;
+ .chapter {
+ position: absolute;
+ width: @chapter-size;
+ height: @chapter-size;
+ border-radius: @chapter-size;
- background: @bar-background;
- box-shadow: 0px 0px 1px #bbb;
+ background: @bar-background;
+ box-shadow: 0px 0px 1px #bbb;
- &.new-chapter {
+ &.new-chapter {
- }
+ }
- &.done {
- background: @bar-progress-background;
- box-shadow: none;
- }
+ &.done {
+ background: @bar-progress-background;
+ box-shadow: none;
+ }
- @media (max-width: 800px) {
- display: none;
+ @media (max-width: 800px) {
+ display: none;
- &.new-chapter {
- display: block;
- }
+ &.new-chapter {
+ display: block;
+ }
+ }
+ }
}
- }
}
- }
} \ No newline at end of file
diff --git a/theme/stylesheets/variables.less b/theme/stylesheets/variables.less
index f19e615..383575b 100755
--- a/theme/stylesheets/variables.less
+++ b/theme/stylesheets/variables.less
@@ -50,7 +50,7 @@
@bar-left: @sidebar-width;
@bar-right: 0;
@bar-top: 50px;
-@bar-position: fixed;
+@bar-position: static;
@bar-background: white;
@bar-progress-background: hsl(120, 60%, 50%);