diff options
| author | Mark Otto <[email protected]> | 2017-05-30 08:46:33 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-30 08:46:33 -0700 |
| commit | d4eb0d4e739477fc51421eed29906addfd998a04 (patch) | |
| tree | 5ffe09c63ac4e522890fc7b2b87c0a47b0f1a971 /docs/examples/offcanvas/offcanvas.css | |
| parent | 0c12ccbeb6fdf0dd3818f97260aa43c79108d377 (diff) | |
| parent | f95cbc5950bf31995f33023014c47a61665ffacc (diff) | |
| download | bootstrap-d4eb0d4e739477fc51421eed29906addfd998a04.tar.xz bootstrap-d4eb0d4e739477fc51421eed29906addfd998a04.zip | |
Merge branch 'v4-docs-streamlined' of https://github.com/twbs/bootstrap into v4-docs-streamlined
Diffstat (limited to 'docs/examples/offcanvas/offcanvas.css')
| -rw-r--r-- | docs/examples/offcanvas/offcanvas.css | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/docs/examples/offcanvas/offcanvas.css b/docs/examples/offcanvas/offcanvas.css deleted file mode 100644 index 6047cb304..000000000 --- a/docs/examples/offcanvas/offcanvas.css +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Style tweaks - * -------------------------------------------------- - */ -html, -body { - overflow-x: hidden; /* Prevent scroll on narrow devices */ -} -body { - padding-top: 70px; -} -footer { - padding: 30px 0; -} - -/* - * Off Canvas - * -------------------------------------------------- - */ -@media screen and (max-width: 767px) { - .row-offcanvas { - position: relative; - -webkit-transition: all .25s ease-out; - -o-transition: all .25s ease-out; - transition: all .25s ease-out; - } - - .row-offcanvas-right { - right: 0; - } - - .row-offcanvas-left { - left: 0; - } - - .row-offcanvas-right - .sidebar-offcanvas { - right: -100%; /* 12 columns */ - } - - .row-offcanvas-right.active - .sidebar-offcanvas { - right: -50%; /* 6 columns */ - } - - .row-offcanvas-left - .sidebar-offcanvas { - left: -100%; /* 12 columns */ - } - - .row-offcanvas-left.active - .sidebar-offcanvas { - left: -50%; /* 6 columns */ - } - - .row-offcanvas-right.active { - right: 50%; /* 6 columns */ - } - - .row-offcanvas-left.active { - left: 50%; /* 6 columns */ - } - - .sidebar-offcanvas { - position: absolute; - top: 0; - width: 50%; /* 6 columns */ - } -} |
