summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/book/progress.less
diff options
context:
space:
mode:
authorHerman Starikov <hermanya@me.com>2014-04-19 13:46:14 -0400
committerHerman Starikov <hermanya@me.com>2014-04-19 13:46:14 -0400
commit2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96 (patch)
tree3c5570516f393c141c94535d29bd48c42dfab976 /theme/stylesheets/book/progress.less
parenta0ae34a3b7d5da3ba8302022cb66a975efdba7ab (diff)
downloadgitbook-2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96.zip
gitbook-2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96.tar.gz
gitbook-2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96.tar.bz2
Font settings, closes #102
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