mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-12-04 23:43:45 +03:00
60 lines
3.1 KiB
CSS
60 lines
3.1 KiB
CSS
/*
|
|
* 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: -50%; /* 6 columns */
|
|
}
|
|
|
|
.row-offcanvas-left
|
|
.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 */
|
|
}
|
|
}
|
|
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm9mZmNhbnZhcy5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBQ0g7O0VBRUUsbUJBQW1CLENBQUMsc0NBQXNDO0NBQzNEO0FBQ0Q7RUFDRSxrQkFBa0I7Q0FDbkI7QUFDRDtFQUNFLGdCQUFnQjtDQUNqQjs7QUFFRDs7O0dBR0c7QUFDSDtFQUNFO0lBQ0UsbUJBQ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