summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/book/progress.less
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets/book/progress.less')
-rwxr-xr-xtheme/stylesheets/book/progress.less33
1 files changed, 32 insertions, 1 deletions
diff --git a/theme/stylesheets/book/progress.less b/theme/stylesheets/book/progress.less
index 1cfb3d6..51e13e7 100755
--- a/theme/stylesheets/book/progress.less
+++ b/theme/stylesheets/book/progress.less
@@ -17,7 +17,6 @@
position: relative;
background: #fff;
margin-bottom: 20px;
- z-index: 10;
.bar {
height: @bar-height;
@@ -81,4 +80,36 @@
}
}
}
+}
+.book.color-theme-1 .book-body {
+ .book-progress {
+ .bar {
+ background: @bar-background-1;
+ .inner {
+ background: @bar-progress-background-1;
+ }
+ }
+ }
+ .chapters .chapter{
+ background: @bar-background-1;
+ &.done{
+ background: @bar-progress-background-1;
+ }
+ }
+}
+.book.color-theme-2 .book-body {
+ .book-progress {
+ .bar {
+ background: @bar-background-2;
+ .inner {
+ background: @bar-progress-background-2;
+ }
+ }
+ }
+ .chapters .chapter{
+ background: @bar-background-2;
+ &.done{
+ background: @bar-progress-background-2;
+ }
+ }
} \ No newline at end of file