summaryrefslogtreecommitdiffstats
path: root/public/stylesheets/book/summary.less
diff options
context:
space:
mode:
Diffstat (limited to 'public/stylesheets/book/summary.less')
-rw-r--r--public/stylesheets/book/summary.less60
1 files changed, 60 insertions, 0 deletions
diff --git a/public/stylesheets/book/summary.less b/public/stylesheets/book/summary.less
new file mode 100644
index 0000000..9ed73a8
--- /dev/null
+++ b/public/stylesheets/book/summary.less
@@ -0,0 +1,60 @@
+.book {
+ .book-summary {
+ @width: 250px;
+
+ position: fixed;
+ top: 40px;
+ left: -@width;
+ bottom: 0px;
+ z-index: 1;
+
+ overflow-y: auto;
+
+ width: @width;
+ background: #2e3133;
+ color: #e2edf2;
+
+ .transition(all 0.5s ease);
+
+ ul.summary {
+ list-style: none;
+ margin: 0px;
+ padding: 0px;
+
+ li {
+ &.divider {
+ height: 1px;
+ margin: 7px 0;
+ overflow: hidden;
+ background: #35393b;
+ }
+
+ a {
+ display: block;
+ height: 40px;
+ padding: 11px 15px;
+ border-bottom: none;
+ text-transform: uppercase;
+ color: #e2edf2;
+
+ &:hover {
+ background: #242628;
+ text-decoration: none;
+ }
+ }
+ }
+ }
+
+ @media (max-width: 600px) {
+ width: 100%;
+ bottom: 0px;
+ left: -100%;
+ }
+ }
+
+ &.with-summary {
+ .book-summary {
+ left: 0px;
+ }
+ }
+}