-
Notifications
You must be signed in to change notification settings - Fork 0
/
split.css
78 lines (65 loc) · 1.36 KB
/
split.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
body, html {
width: 100%;
height: 100%;
padding: 0px;
margin: 0px;
}
/*
Contains styling for the horizontal and vertical split panes
Author: Brad Triebwasser
*/
.split-pane-vertical {
width: 100%;
height: 100%;
max-height: 100%;
display: flex;
height: 100%;
}
.split-pane-vertical >.split-handle {
width: 6px;
height: 100%;
background: #C9C9C9;
display: flex;
cursor: ew-resize;
border-left: 1px solid #A6A6A6;
border-right: 1px solid #A6A6A6;
}
.split-pane-vertical > .split-component-1 {
height: 100%;
background: white;
display: flex;
overflow-y: auto;
vertical-align: top;
}
.split-pane-vertical > .split-component-2 {
height: 100%;
background: white;
display: flex;
overflow: auto;
vertical-align: top;
flex: 1;
}
.split-pane-horizontal {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.split-pane-horizontal > .split-handle {
height: 6px;
width: 100%;
background: #C9C9C9;
display: flex;
flex-direction: column;
cursor: ns-resize;
border-top: 1px solid #A6A6A6;
border-bottom: 1px solid #A6A6A6;
}
.split-pane-horizontal > .split-component-1 {
background: white;
height: 50%;
}
.split-pane-horizontal > .split-component-2 {
flex: 1;
background: white;
}