Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / spectre-exp.css
diff options
context:
space:
mode:
Commitdaa20985bb5c244f744b9ec8044f87d4bba5c2db (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-12-07 16:39:24 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-12-07 16:39:24 +0800
Files045a9e8c4de10c5104645a62db3698ab6b96be42 /docs/dist/spectre-exp.css
Spectre-Dark-Gruvbox-daa20985bb5c244f744b9ec8044f87d4bba5c2db.tar
Spectre-Dark-Gruvbox-daa20985bb5c244f744b9ec8044f87d4bba5c2db.tar.gz
Spectre-Dark-Gruvbox-daa20985bb5c244f744b9ec8044f87d4bba5c2db.zip
Parentffd611d72ae26ad41a9eaa2589993c846768b6e0 (diff)
Update Off-canvas default behavior and new option available #347
1 files changed, 13 insertions, 16 deletions
-rw-r--r--docs/dist/spectre-exp.css29
diff --git a/docs/dist/spectre-exp.css b/docs/dist/spectre-exp.css
index a3234e7..eb23ffe 100644
--- a/docs/dist/spectre-exp.css
+++ b/docs/dist/spectre-exp.css
@@ -556,6 +556,15 @@
width: 100%;
}
+.off-canvas .off-canvas-toggle {
+ display: block;
+ left: .4rem;
+ position: absolute;
+ top: .4rem;
+ transition: none;
+ z-index: 1;
+}
+
.off-canvas .off-canvas-sidebar {
background: #f8f9fa;
bottom: 0;
@@ -601,28 +610,16 @@
z-index: 200;
}
-.off-canvas .off-canvas-toggle {
- display: block;
- left: .4rem;
- position: absolute;
- top: .4rem;
- transition: none;
- z-index: 1;
-}
-
@media (min-width: 960px) {
- .off-canvas .off-canvas-sidebar {
+ .off-canvas.off-canvas-sidebar-show .off-canvas-toggle {
+ display: none;
+ }
+ .off-canvas.off-canvas-sidebar-show .off-canvas-sidebar {
-ms-flex: 0 0 auto;
flex: 0 0 auto;
position: relative;
transform: none;
}
- .off-canvas .off-canvas-content {
- padding-left: .8rem;
- }
- .off-canvas .off-canvas-toggle {
- display: none;
- }
}
.parallax {