You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

105 lines
1.8 KiB

html, body {
font-family: sans-serif;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
body > .content > .page,
body > .content {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: auto;
height: auto;
z-index: 2;
-webkit-overflow-scrolling: touch;
-webkit-transition:
all 0.2s ease
;
-moz-transition:
all 0.2s ease
;
-o-transition:
all 0.2s ease
;
-ms-transition:
all 0.2s ease
;
transition:
all 0.2s ease
;
backface-visibility:hidden;
-webkit-backface-visibility:hidden; /* Chrome and Safari */
-moz-backface-visibility:hidden; /* Firefox */
-ms-backface-visibility:hidden; /* Internet Explorer 10+ */
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
body > .content > .page {
overflow: auto;
}
body > .content.drag {
-webkit-transition: none;
-moz-transition: none;
-o-transition: none;
-ms-transition: none;
transition: none;
}
.drawers {
position: absolute;
background-color: #2D2D2D;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: auto;
height: auto;
}
.drawer {
position: absolute;
top: 0;
right: auto;
bottom: 0;
left: auto;
width: 275px;
height: auto;
overflow: auto;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-overflow-scrolling: touch;
-webkit-transition: width 0.3s ease;
-moz-transition: width 0.3s ease;
-ms-transition: width 0.3s ease;
-o-transition: width 0.3s ease;
transition: width 0.3s ease;
}
.drawer.left {
left: 0;
z-index: 1;
}
.drawer.right {
right: 0;
z-index: 1;
}