diff options
| author | Mark Otto <[email protected]> | 2013-08-15 16:38:12 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-15 16:38:12 -0700 |
| commit | 54670ab64a2565fd35071eb17fc7eef3480eb724 (patch) | |
| tree | e92b56ba1a2a748d4b27e519fc61b6894e9791ab /offcanvas/offcanvas.css | |
| parent | 7cd35f0cb6d17d6117264f71f175a9e5b0b09580 (diff) | |
| parent | cfab4b1e9e3777bb146a8ef13c1df3ea5dcb5d31 (diff) | |
| download | bootstrap-54670ab64a2565fd35071eb17fc7eef3480eb724.tar.xz bootstrap-54670ab64a2565fd35071eb17fc7eef3480eb724.zip | |
Merge branch 'bs-ex' into bs3_restore_examples
Conflicts:
.editorconfig
.gitignore
Diffstat (limited to 'offcanvas/offcanvas.css')
| -rw-r--r-- | offcanvas/offcanvas.css | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/offcanvas/offcanvas.css b/offcanvas/offcanvas.css new file mode 100644 index 000000000..27a075d76 --- /dev/null +++ b/offcanvas/offcanvas.css @@ -0,0 +1,48 @@ +/* + * Style twaks + * -------------------------------------------------- + */ +body { + padding-top: 70px; +} +footer { + padding-left: 15px; + padding-right: 15px; +} + +/* + * Off Canvas + * -------------------------------------------------- + */ +@media screen and (max-width: 768px) { + .row-offcanvas { + position: relative; + overflow: hidden // Needed for Internet Explorer + -webkit-transition: all 0.25s ease-out; + -moz-transition: all 0.25s ease-out; + transition: all 0.25s ease-out; + } + + .row-offcanvas-right + .sidebar-offcanvas { + right: -58.333333333333336%; // 6 columns + } + + .row-offcanvas-left + .sidebar-offcanvas { + left: -58.333333333333336%; // 6 columns + } + + .row-offcanvas-right.active { + right: 58.333333333333336%; // 6 columns + } + + .row-offcanvas-left.active { + left: 58.333333333333336%; // 6 columns + } + + .sidebar-offcanvas { + position: absolute; + width: 58.333333333333336%; // 6 columns + } +}
\ No newline at end of file |
