1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/examples/offcanvas/offcanvas.css

48 lines
844 B
CSS
Raw Normal View History

/*
* 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;
-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 {
2013-08-16 17:12:18 -04:00
right: -50%; /* 6 columns */
}
.row-offcanvas-left
.sidebar-offcanvas {
2013-08-16 17:12:18 -04:00
left: -50%; /* 6 columns */
}
.row-offcanvas-right.active {
2013-08-16 17:12:18 -04:00
right: 50%; /* 6 columns */
}
.row-offcanvas-left.active {
2013-08-16 17:12:18 -04:00
left: 50%; /* 6 columns */
}
.sidebar-offcanvas {
position: absolute;
2013-08-16 17:12:18 -04:00
top: 0;
width: 50%; /* 6 columns */
}
}