-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (104 loc) · 2.54 KB
/
style.css
File metadata and controls
120 lines (104 loc) · 2.54 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
html {
margin: 0;
padding: 0;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
height: 100vh;
width: 100vw;
display: flex;
}
#editor-pane {
height: 100vh;
width: 25%;
min-width: 80px;
flex-shrink: 0;
display: flex;
flex-direction: column;
}
#editor-topbar {
height: 50px;
flex-shrink: 0;
background: #1a1a1a;
border-bottom: 1px solid #333;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 8px;
gap: 8px;
font-family: monospace;
font-size: 11px;
}
#save-status {
color: #888;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#save-status.saving {
color: #f0a500;
}
#save-status.saved {
color: #6a9f6a;
}
#editor-actions {
display: flex;
gap: 4px;
flex-shrink: 0;
}
#editor-actions button {
background: #2a2a2a;
color: #aaa;
border: 1px solid #444;
border-radius: 3px;
padding: 5px 10px;
font-size: 11px;
font-family: monospace;
cursor: pointer;
display: flex;
align-items: center;
gap: 7px;
margin: 2px;
}
#editor-actions button:hover {
background: #383838;
color: #ddd;
}
#editor {
flex: 1;
margin: 0;
padding: 0;
overflow: hidden;
}
#divider {
width: 5px;
height: 100vh;
flex-shrink: 0;
cursor: col-resize;
background: #2a2a2a;
}
#divider:hover, #divider.dragging {
background: #555;
}
#drawio {
height: 100vh;
flex: 1;
margin: 0;
padding: 0;
min-width: 0;
}
#drag-overlay {
display: none;
position: fixed;
inset: 0;
z-index: 9999;
cursor: col-resize;
}
.cm-editor {
height: 100%;
}
.CodeMirror {
height: 100% !important;
}