-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.css
114 lines (97 loc) · 1.65 KB
/
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
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
body, html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: row;
}
#screen-container {
flex: 1;
position: relative;
overflow: auto;
}
#screen {
position: absolute;
top: calc(50% - 250px);
left: calc(50% - 250px);
border: 1px solid blue;
}
#status {
height: 100%;
border-left: 3px solid black;
padding: 1em;
box-sizing: border-box;
overflow-y: auto;
width: 300px;
}
.template {
display: none;
}
#list {
display: table;
padding: 1em;
}
.row {
display: table-row;
}
.row>div {
display: table-cell;
padding: 0.2em;
}
.color {
width: 1em;
height: 1em;
}
.name {
max-width: 130px;
overflow: hidden;
text-overflow: ellipsis;
}
#input {
background: white;
border: 1px solid black;
position: fixed;
z-index: 9999;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
padding: 1em;
display: none;
min-width: 50%;
min-height: 50%;
max-width: 95%;
max-height: 95%;
box-sizing: border-box;
flex-direction: column;
}
#input.active {
display: flex;
}
#input #code-container {
flex: 1;
overflow-y: auto;
}
#input #code-container-inner {
display: flex;
flex-direction: row;
}
#input #bot-code, #input #line-numbers {
font-family: monospace;
font-size: 10pt;
align-self: stretch;
}
#input #line-numbers {
border-top: 1px solid transparent;
padding-bottom: 1em;
padding-top: 0.2em;
}
#input #bot-code {
flex: 1;
overflow-y: hidden;
overflow-x: auto;
word-wrap: normal;
resize: horizontal;
}