diff options
author | Herman Starikov <hermanya@me.com> | 2014-04-19 13:46:14 -0400 |
---|---|---|
committer | Herman Starikov <hermanya@me.com> | 2014-04-19 13:46:14 -0400 |
commit | 2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96 (patch) | |
tree | 3c5570516f393c141c94535d29bd48c42dfab976 /theme/stylesheets/book/progress.less | |
parent | a0ae34a3b7d5da3ba8302022cb66a975efdba7ab (diff) | |
download | gitbook-2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96.zip gitbook-2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96.tar.gz gitbook-2a38d33d8a190c0b4eeca98a66f4ec5b8cfb2a96.tar.bz2 |
Font settings, closes #102
Diffstat (limited to 'theme/stylesheets/book/progress.less')
-rwxr-xr-x | theme/stylesheets/book/progress.less | 33 |
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 |