diff --git a/offcanvas.html b/offcanvas.html index cfc182ae4f..c93578e2bb 100644 --- a/offcanvas.html +++ b/offcanvas.html @@ -8,6 +8,10 @@ title: Static navbar template body { padding-top: 80px; } + footer { + padding-left: 15px; + padding-right: 15px; + } /* * Off canvas @@ -16,7 +20,9 @@ title: Static navbar template .row-offcanvas { position: relative; overflow: hidden; - .transition(all 0.25s ease-out); + -webkit-transition: all 0.25s ease-out; + -moz-transition: all 0.25s ease-out; + transition: all 0.25s ease-out; } .row-offcanvas.active { overflow: visible; @@ -48,7 +54,6 @@ title: Static navbar template } @media screen and (min-width: 320px) and (max-width: 480px) { - .row-offcanvas-right .sidebar-offcanvas { right: -270px; /* 60px * 4.5 = average iPhones and Android phones */ } @@ -64,13 +69,11 @@ title: Static navbar template .sidebar-offcanvas { width: 270px; /* 60px * 4.5 = average iPhones and Android phones */ } - } /* Landscape phone to tablets * -------------------------- */ @media screen and (min-width: 481px) and (max-width: 767px) { - .row-offcanvas-right .sidebar-offcanvas { right: -480px; /* 60px * 8 = Tablets and wider */ } @@ -86,25 +89,32 @@ title: Static navbar template .sidebar-offcanvas { width: 480px; /* 60px * 8 = Tablets and wider */ } - } /* Tablets & above * ---------------- */ @media screen and (min-width: 768px) { - .row-offcanvas { position: static; overflow: visible; } - .sidebar-offcanvas { position: static; } - + .btn-offcanvas { + display: none; + } } + +