1
|
* {
|
2
|
padding:0;
|
3
|
margin:0;
|
4
|
}
|
5
|
|
6
|
body {
|
7
|
overflow:hidden;
|
8
|
}
|
9
|
|
10
|
#mon-canvas {
|
11
|
background-color:#44F;
|
12
|
margin:auto;
|
13
|
display:block;
|
14
|
}
|
15
|
|
16
|
#info {
|
17
|
display:none;
|
18
|
background-color:#FF0;
|
19
|
border:1px red solid;
|
20
|
position:absolute;
|
21
|
margin:1em;
|
22
|
padding:0.2em 0.5em;
|
23
|
border-radius:0.5em;
|
24
|
}
|
25
|
|
26
|
#insert {
|
27
|
display:none;
|
28
|
background-color:#F88;
|
29
|
border:1px red solid;
|
30
|
position:absolute;
|
31
|
}
|
32
|
|
33
|
label {
|
34
|
display:block;
|
35
|
clear:both;
|
36
|
}
|
37
|
|
38
|
legend {
|
39
|
opacity:1;
|
40
|
background-color:#F88;
|
41
|
border:solid #F00 1px;
|
42
|
border-radius:0.5em;
|
43
|
padding:0 1em;
|
44
|
text-shadow:2px 2px 2px #000, -2px -2px 2px #000;
|
45
|
}
|
46
|
|
47
|
legend:hover {
|
48
|
color:#FF0;
|
49
|
cursor:default;
|
50
|
}
|
51
|
|
52
|
fieldset#control {
|
53
|
text-shadow:2px 2px 2px #000, -2px -2px 2px #000;
|
54
|
color:#FFF;
|
55
|
float:left;
|
56
|
position:absolute;
|
57
|
top:1em;
|
58
|
left:2em;
|
59
|
background-color:rgba(128,128,128,0.5);
|
60
|
border:solid #F00 1px;
|
61
|
border-radius:0.5em;
|
62
|
padding:0.2em 0.5em;
|
63
|
}
|
64
|
|
65
|
input {
|
66
|
vertical-align:middle;
|
67
|
}
|
68
|
|
69
|
|
70
|
input[type="number"] {
|
71
|
border-radius:1em;
|
72
|
display:block;
|
73
|
float:right;
|
74
|
}
|
75
|
|
76
|
#locadraw input[type="number"] {
|
77
|
width:10ex;
|
78
|
}
|
79
|
|
80
|
#res>:not(ul), #control, #params, #info ,#addParams ,#adding, #loca{
|
81
|
user-select:none;
|
82
|
-khtml-user-select:none;
|
83
|
-o-user-select:none;
|
84
|
-moz-user-select:-moz-none;
|
85
|
-webkit-user-select:none;
|
86
|
}
|
87
|
|
88
|
div#params {
|
89
|
padding:0.2em 1.3em;
|
90
|
border-radius:0.5em;
|
91
|
background-color:rgba(128,128,128,0.5);
|
92
|
border:solid #00F 1px;
|
93
|
position:absolute;
|
94
|
top:1em;
|
95
|
right:2em;
|
96
|
float:right;
|
97
|
}
|
98
|
|
99
|
div#params em {
|
100
|
|
101
|
display:block;
|
102
|
float:right;
|
103
|
background-color:#88F;
|
104
|
border-radius:0.5em;
|
105
|
padding:0 0.5em;
|
106
|
color:#FFF;
|
107
|
}
|
108
|
|
109
|
div#params em:nth-child[2] {
|
110
|
display:inline;
|
111
|
}
|
112
|
|
113
|
span#loca{
|
114
|
text-shadow:2px 2px 2px #000, -2px -2px 2px #000;
|
115
|
color:#FFF;
|
116
|
float:left;
|
117
|
position:absolute;
|
118
|
bottom:1em;
|
119
|
left:1em;
|
120
|
cursor:pointer;
|
121
|
padding:0.2em 0.5em;
|
122
|
padding:0 1em;
|
123
|
}
|
124
|
|
125
|
|
126
|
div#addParams {
|
127
|
text-shadow:2px 2px 2px #000, -2px -2px 2px #000;
|
128
|
color:#FFF;
|
129
|
float:left;
|
130
|
position:absolute;
|
131
|
top:1em;
|
132
|
right:2em;
|
133
|
|
134
|
border:solid #F00 1px;
|
135
|
border-radius:0.5em;
|
136
|
padding:0.2em 0.5em;
|
137
|
background-color:#F88;
|
138
|
padding:0 1em;
|
139
|
|
140
|
}
|
141
|
|
142
|
div#addParams label {
|
143
|
|
144
|
border-radius:0.5em;
|
145
|
padding:0 1em;
|
146
|
}
|
147
|
|
148
|
div#addParams label:hover {
|
149
|
color: #FF0;
|
150
|
|
151
|
}
|
152
|
|
153
|
fieldset#locadraw {
|
154
|
|
155
|
color:#FFF;
|
156
|
float:left;
|
157
|
position:absolute;
|
158
|
bottom:1em;
|
159
|
left:1em;
|
160
|
background-color:rgba(128,128,128,0.5);
|
161
|
border:solid #F00 1px;
|
162
|
border-radius:0.5em;
|
163
|
padding:0 1em;
|
164
|
visibility:hidden;
|
165
|
}
|
166
|
|
167
|
fieldset#adding {
|
168
|
|
169
|
color:#FFF;
|
170
|
float:left;
|
171
|
position:absolute;
|
172
|
top:1em;
|
173
|
right:2em;
|
174
|
background-color:rgba(128,128,128,0.5);
|
175
|
border:solid #F00 1px;
|
176
|
border-radius:0.5em;
|
177
|
padding:0 1em;
|
178
|
visibility: hidden;
|
179
|
}
|
180
|
|
181
|
|
182
|
|
183
|
form#form_param label {
|
184
|
|
185
|
margin-right: 15px;
|
186
|
width: 0.5em;
|
187
|
padding:0.3em 0.5em;
|
188
|
min-height: 1px;
|
189
|
text-align: left;
|
190
|
text-shadow:2px 2px 2px #000, -2px -2px 2px #000;
|
191
|
}
|
192
|
|
193
|
|
194
|
input:focus {
|
195
|
border-color: rgba(82, 168, 236, 0.75);
|
196
|
-moz-box-shadow: 0 0 8px rgba(82, 168, 236, 0.5);
|
197
|
-webkit-box-shadow: 0 0 8px rgba(82, 168, 236, 0.5);
|
198
|
box-shadow: 0 0 8px rgba(82, 168, 236, 0.5);
|
199
|
}
|
200
|
|
201
|
.correct {
|
202
|
border-color: rgba(68, 191, 68, 0.75);
|
203
|
}
|
204
|
|
205
|
.correct:focus {
|
206
|
border-color: rgba(68, 191, 68, 0.75);
|
207
|
-moz-box-shadow: 0 0 8px rgba(68, 191, 68, 0.5);
|
208
|
-webkit-box-shadow: 0 0 8px rgba(68, 191, 68, 0.5);
|
209
|
box-shadow: 0 0 8px rgba(68, 191, 68, 0.5);
|
210
|
}
|
211
|
|
212
|
.incorrect {
|
213
|
border-color: rgba(191, 68, 68, 0.75);
|
214
|
}
|
215
|
|
216
|
.incorrect:focus {
|
217
|
border-color: rgba(191, 68, 68, 0.75);
|
218
|
-moz-box-shadow: 0 0 8px rgba(191, 68, 68, 0.5);
|
219
|
-webkit-box-shadow: 0 0 8px rgba(191, 68, 68, 0.5);
|
220
|
box-shadow: 0 0 8px rgba(191, 68, 68, 0.5);
|
221
|
}
|
222
|
|
223
|
|
224
|
|
225
|
|
226
|
|
227
|
|
228
|
|
229
|
|
230
|
|
231
|
|
232
|
.answer {
|
233
|
margin:0.2em 0;
|
234
|
display:block;
|
235
|
}
|
236
|
|
237
|
.answer input {
|
238
|
border-radius:0.5rem;
|
239
|
padding:0.2em 0.7em;
|
240
|
}
|
241
|
|
242
|
.form_button {
|
243
|
background-color:rgba(128,128,128,0.9);
|
244
|
|
245
|
display:inline-block;
|
246
|
}
|
247
|
|
248
|
.validators {
|
249
|
text-align:center;
|
250
|
background-color:#CCC;
|
251
|
border:solid 1px #F55;
|
252
|
border-width:0 0 1px 0;
|
253
|
display:none;
|
254
|
}
|
255
|
|
256
|
#res {
|
257
|
padding:0.2em 0.4em;
|
258
|
color:#FF8;
|
259
|
position:absolute;
|
260
|
bottom:1em;
|
261
|
right:2em;
|
262
|
background-color:rgba(0,0,0,0.3);
|
263
|
border:solid #FFF 1px;
|
264
|
}
|
265
|
|
266
|
#res:empty {padding:0;}
|
267
|
|
268
|
#res li {
|
269
|
list-style-type: none;
|
270
|
color:#FFF;
|
271
|
background-color:rgba(100,0,0,0.5);
|
272
|
|
273
|
}
|