mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-16 14:47:14 +03:00
71 lines
1.4 KiB
CSS
71 lines
1.4 KiB
CSS
/*
|
|
* Style tweaks
|
|
* -------
|
|
|
|
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
|
|
|
|
{% callout info %}
|
|
**Bootstrap Reference Documentation**
|
|
This is reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
|
|
It is being rendered with Material Design for Bootstrap to demonstrate default styling.
|
|
See addons(TODO: add link) for additional Material Design elements.
|
|
{% endcallout %}
|
|
|
|
-------------------------------------------
|
|
*/
|
|
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 */
|
|
}
|
|
}
|