forked from rooklift/nibbler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nibbler.css
210 lines (177 loc) · 3.26 KB
/
nibbler.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
html {
height: 100%;
}
body {
background-color: #080808;
border: 0;
color: #eeeeee;
cursor: default;
height: calc(100% - 32px);
margin: 16px;
overflow: hidden;
padding: 0;
pointer-events: none; /* These must be overriden for things that need pointer / select */
user-select: none; /* These must be overriden for things that need pointer / select */
}
::-webkit-scrollbar {
pointer-events: auto;
background-color: #181818;
}
::-webkit-scrollbar-thumb {
pointer-events: auto;
background-color: #444444;
}
.flexible_column {
display: flex;
flex-direction: column;
height: 100%;
}
.flexible_row {
display: flex;
flex-direction: row;
width: 100%;
}
.full_growth {
flex-grow: 100; /* The actual number only matters if compared to other flex-grow havers */
}
#boardsquares {
border-collapse: collapse;
margin-bottom: 1em;
margin-right: 1em;
table-layout: fixed;
z-index: 1;
}
#canvas {
outline-offset: 6px;
position: fixed;
z-index: 2;
}
#boardfriends {
border-collapse: collapse;
pointer-events: auto;
position: fixed;
table-layout: fixed;
z-index: 3;
}
#promotiontable {
border-collapse: collapse;
display: none;
pointer-events: auto;
position: fixed;
table-layout: fixed;
z-index: 4;
}
#pgnchooser {
background-color: #080808;
display: none; /* better than visibility: hidden - never intercepts inputs */
font-family: monospace, monospace;
font-size: 100%;
height: 100%;
left: 0;
overflow-y: auto;
pointer-events: auto;
position: fixed;
top: 0;
width: 100%;
z-index: 6;
}
td {
border: 0;
margin: 0;
padding: 0;
}
#statusbox {
border: none;
display: block;
font-family: monospace, monospace;
margin-bottom: 1em;
width: 100%;
}
#fenbox {
background-color: #080808;
border: none;
caret-color: white;
color: #6cccee;
display: block;
float: bottom;
font-family: monospace, monospace;
font-size: 100%;
pointer-events: auto;
user-select: auto;
width: 100%;
}
input[type=text]:focus {
outline: 2px dashed gray;
outline-offset: 4px;
}
#infobox {
color: #cccccc; /* only used for Lc0 stderr output at startup */
font-family: monospace, monospace;
margin-bottom: 10px;
overflow-x: hidden;
overflow-y: auto;
padding-right: 10px; /* so the text doesn't get so near the scroll bar */
pointer-events: auto;
white-space: pre-wrap;
}
#movelist {
font-family: monospace, monospace;
margin-top: 1em;
overflow-x: hidden;
overflow-y: auto;
padding-right: 10px; /* so the text doesn't get so near the scroll bar */
pointer-events: auto;
white-space: pre-wrap;
}
#graphbox {
pointer-events: auto;
}
#graph {
pointer-events: auto;
width: 100%;
}
a { /* is this even used anywhere? */
color: inherit;
text-decoration: inherit;
}
ul {
list-style: none;
}
span.pink {
color: #ffaaaa;
}
span.white {
color: #eeeeee;
}
span.gray {
color: #999999;
}
span.red {
color: #ff6666;
}
span.yellow {
color: #ffff00;
}
span.blue {
color: #6cccee;
}
.infoline {
margin-bottom: 1em;
}
.ocm_highlight {
background-color: #770000;
}
.hover_highlight {
background-color: #222244;
}
span.movelist_highlight_blue {
background-color: #222244;
color: #6cccee;
}
span.movelist_highlight_yellow {
background-color: #444422;
color: #ffff00;
}
span.nobr {
white-space: nowrap; /* Used for O-O and O-O-O moves */
}