Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / spectre-exp.css
diff options
context:
space:
mode:
Commitb8de0381be6ad405ed5488d08031d4eee1a4d2ee (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-09-20 21:54:34 -0500
Committer
 GitHub <noreply@github.com>
2017-09-20 21:54:34 -0500
Filesc1a9f0596e50f5324eb721dffab8c1f50686dbad /docs/dist/spectre-exp.css
Spectre-Dark-Gruvbox-0.4.2.tar
Spectre-Dark-Gruvbox-0.4.2.tar.gz
Spectre-Dark-Gruvbox-0.4.2.zip
Parent388fcd4107498400f05ccfe1dde682f6b09c0546 (diff)
Parent0ffeef8db4eeaa529a90836f8687e79ec90aa113 (diff)
Merge pull request #287 from picturepan2/0.4.2 v0.4.2
0.4.2
1 files changed, 78 insertions, 0 deletions
-rw-r--r--docs/dist/spectre-exp.css78
diff --git a/docs/dist/spectre-exp.css b/docs/dist/spectre-exp.css
index 8af3a78..dca3b47 100644
--- a/docs/dist/spectre-exp.css
+++ b/docs/dist/spectre-exp.css
@@ -537,6 +537,84 @@
background: #e85600;
}
+.off-canvas {
+ display: flex;
+ display: -ms-flexbox;
+ height: 100%;
+ left: 0;
+ overflow: hidden;
+ position: fixed;
+ top: 0;
+ width: 100%;
+}
+
+.off-canvas .off-canvas-sidebar {
+ background: #f8f9fa;
+ height: 100%;
+ left: 0;
+ padding: .8rem;
+ position: absolute;
+ top: 0;
+ transform: translateX(-100%);
+ transition: transform .25s ease;
+ width: 10rem;
+ z-index: 300;
+}
+
+.off-canvas .off-canvas-content {
+ -ms-flex: 1 1 auto;
+ flex: 1 1 auto;
+ overflow-y: auto;
+ padding: .8rem .8rem .8rem 4rem;
+}
+
+.off-canvas .off-canvas-checkbox:checked ~ .off-canvas-sidebar {
+ transform: translateX(0);
+}
+
+.off-canvas .off-canvas-checkbox:checked ~ .off-canvas-toggle {
+ background: rgba(69, 77, 93, .1);
+ border-color: transparent;
+ border-radius: 0;
+ bottom: 0;
+ height: 100%;
+ left: 0;
+ right: 0;
+ top: 0;
+ width: 100%;
+}
+
+.off-canvas .off-canvas-checkbox:checked ~ .off-canvas-toggle .icon {
+ display: none;
+}
+
+.off-canvas .off-canvas-toggle {
+ display: block;
+ left: .8rem;
+ padding-left: 0;
+ padding-right: 0;
+ position: absolute;
+ top: .8rem;
+ transition: none;
+ width: 2rem;
+ z-index: 200;
+}
+
+@media (min-width: 960px) {
+ .off-canvas .off-canvas-sidebar {
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+ position: static;
+ transform: translateX(0);
+ }
+ .off-canvas .off-canvas-content {
+ padding-left: .8rem;
+ }
+ .off-canvas .off-canvas-toggle {
+ display: none;
+ }
+}
+
.parallax {
display: block;
height: auto;