forked from folio-org/stripes-components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPane.css
More file actions
60 lines (49 loc) · 863 Bytes
/
Copy pathPane.css
File metadata and controls
60 lines (49 loc) · 863 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
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
@import '../variables.css';
.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;
}
[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;
&.hasPadding {
padding: var(--gutter-static);
}
&.noOverflow {
overflow: hidden;
}
}
.container {
max-width: var(--container-max-width);
margin: auto;
}
@media (--medium-up) {
.pane {
position: relative;
}
}