-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (42 loc) · 846 Bytes
/
style.css
File metadata and controls
48 lines (42 loc) · 846 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
.container {
position: fixed;
width: 100%;
height: 100vh;
top: 0;
left: 0;
display: flex;
}
#editor,
#iframe-container {
height: 100%;
flex: 0 0 auto;
width: calc(50% - 3px);
min-width: 200px;
overflow: hidden;
}
.divider {
flex: 0 0 6px;
width: 6px;
background: linear-gradient(to bottom, #e5e7eb, #cbd5e1);
border-left: 1px solid #cbd5e1;
border-right: 1px solid #cbd5e1;
cursor: col-resize;
touch-action: none;
}
.divider:hover {
background: linear-gradient(to bottom, #dbeafe, #bfdbfe);
}
#iframe-container iframe {
width: 100%;
height: 100%;
border: 0;
display: block;
}
body.resizing #iframe-container iframe {
pointer-events: none;
}
body.resizing,
body.resizing * {
cursor: col-resize !important;
user-select: none !important;
}