forked from ionic-team/ionic-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroot.css
More file actions
35 lines (29 loc) · 632 Bytes
/
Copy pathroot.css
File metadata and controls
35 lines (29 loc) · 632 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.Layout {
display: flex;
overflow-x: hidden;
}
.Layout > stencil-route {
width: 100%;
}
.Layout.is-menu-toggled {
--menu-transform: translateX(calc(-1 * var(--menu-width)));
--page-margin-left: 0;
}
@media (max-width: 768px) {
.Layout {
--menu-transform: translateX(calc(-1 * var(--menu-width)));
--page-padding: 1.5rem;
--page-margin-left: 0;
}
.Layout.is-menu-toggled {
--menu-transform: none;
--page-transform: translateX(var(--menu-width));
}
.Layout.is-menu-toggled docs-page > * {
opacity: 0.2;
pointer-events: none;
}
body.scroll-lock {
overflow-y: hidden;
}
}