-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathPane.css
81 lines (65 loc) · 1.16 KB
/
Pane.css
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.pane {
background: var(--bg);
border-right: 1px solid var(--color-border);
height: 100%;
max-height: calc(100vh - 44px);
display: flex;
flex-direction: column;
top: 0;
left: 0;
width: 100%;
/* transition: all .25s ease-in-out; */
overflow: hidden;
position: absolute;
will-change: transform;
@media print {
display: none;
}
&:nth-last-of-type(1) {
@media print {
overflow: visible;
display: block;
flex: 0 0 100vw !important;
}
}
}
.focusIndicator {
composes: focusWithinIndicator from "../sharedStyles/focusWithinIndicator.css";
}
[dir="ltr"] .pane:last-child {
border-right: none;
}
[dir="rtl"] .pane:first-child {
border-right: none;
}
[dir="rtl"] .pane:last-child {
border-left: none;
}
/**
* Pane Content
*/
.paneContent {
height: 100%;
width: 100%;
overflow: auto;
outline: 0;
position: relative;
&.hasPadding {
padding: var(--gutter-static);
}
&.noOverflow {
overflow: hidden;
}
@media print {
overflow: visible;
}
}
.container {
max-width: var(--container-max-width);
margin: auto;
}
@media (--medium-up) {
.pane {
position: relative;
}
}