-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
57 lines (50 loc) · 962 Bytes
/
index.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
body {
margin: 0;
}
.top-pane {
background-color: hsl(225, 6%, 16%);
}
.pane {
height: 50vh;
display: flex;
}
.editor-container {
flex-grow: 1;
flex-basis: 0;
display: flex;
flex-direction: column;
padding: 0.5rem;
background-color: hsl(225, 6%, 16%);
}
.editor-title {
display: flex;
justify-content: space-between;
background-color: hsl(225, 6%, 5%);
color: white;
padding: 0.5rem 0.5rem 0.5rem 1rem;
border-top-right-radius: 0.5rem;
border-top-left-radius: 0.5rem;
}
.code-mirror-wrapper {
flex-grow: 1;
border-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
overflow: hidden;
}
.CodeMirror {
height: 100% !important;
}
.editor-container.collapsed {
flex-grow: 0;
}
.editor-container.collapsed .CodeMirror-scroll {
position: absolute;
overflow: hidden !important;
}
.expand-collapsed-btn {
margin-left: 0.5rem;
background: none;
border: none;
color: white;
cursor: pointer;
}