summaryrefslogtreecommitdiffstats
path: root/assets/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-03-31 22:35:59 -0700
committerSamy Pessé <samypesse@gmail.com>2014-03-31 22:35:59 -0700
commit0f0128fa493ca6227498b5db529753ab632b2e5a (patch)
tree066210fc4a16ad921ae8aeaa38d9e4baede7ca66 /assets/stylesheets
parent8edd5e4b3bcef7c84bf0b557a80e3e93e8f47e23 (diff)
downloadgitbook-0f0128fa493ca6227498b5db529753ab632b2e5a.zip
gitbook-0f0128fa493ca6227498b5db529753ab632b2e5a.tar.gz
gitbook-0f0128fa493ca6227498b5db529753ab632b2e5a.tar.bz2
Show level in summary page
Diffstat (limited to 'assets/stylesheets')
-rw-r--r--assets/stylesheets/book/summary.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/stylesheets/book/summary.less b/assets/stylesheets/book/summary.less
index b3075fa..41410f1 100644
--- a/assets/stylesheets/book/summary.less
+++ b/assets/stylesheets/book/summary.less
@@ -31,6 +31,9 @@
i.fa-check {
display: none;
+ position: absolute;
+ left: 7px;
+ top: 14px;
}
&.done {
@@ -53,12 +56,18 @@
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
+ position: relative;
+ padding-left: 26px;
}
&.active > a, a:hover {
background: #242628;
text-decoration: none;
}
+
+ ul {
+ padding-left: 35px;
+ }
}
}