-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
556 lines (512 loc) · 80.5 KB
/
index.html
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
<!DOCTYPE html>
<html lang="zh"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
/* Buttons */
/*! @license
*
* Buttons
* Copyright 2012-2014 Alex Wolfe and Rob Levin
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
.button{color:#666;background-color:#eee;font-weight:300;font-size:16px;font-family:"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;text-decoration:none;text-align:center;line-height:40px;height:40px;padding:0 40px;margin:0;display:inline-block;appearance:none;cursor:pointer;border:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:.3s;transition-duration:.3s}.button:visited{color:#666}.button:focus,.button:hover{background-color:#f6f6f6;text-decoration:none;outline:0}.button.active,.button.is-active,.button:active{text-shadow:0 1px 0 rgba(255,255,255,.3);text-decoration:none;background-color:#eee;border-color:#cfcfcf;color:#d4d4d4;-webkit-transition-duration:0s;transition-duration:0s;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.2)}.button.disabled,.button.is-disabled,.button:disabled{top:0!important;background:#EEE!important;border:1px solid #DDD!important;text-shadow:0 1px 1px #fff!important;color:#CCC!important;cursor:default!important;appearance:none!important}.button.disabled else,.button.is-disabled else,.button:disabled else{-webkit-box-shadow:none!important;box-shadow:none!important;opacity:.8!important}.button-uppercase{text-transform:uppercase}.button-lowercase{text-transform:lowercase}.button-capitalize{text-transform:capitalize}.button-small-caps{font-variant:small-caps}.button-icon-txt-large{font-size:36px!important}.button-width-small{padding:0 10px!important}.button-primary,.button-primary-flat{background-color:#71c9ce;border-color:#71c9ce;color:#fff}.button-primary-flat:visited,.button-primary:visited{color:#fff}.button-primary-flat:focus,.button-primary-flat:hover,.button-primary:focus,.button-primary:hover{background-color:#A2DFD0;border-color:#A2DFD0;color:#fff}.button-primary-flat.active,.button-primary-flat.is-active,.button-primary-flat:active,.button-primary.active,.button-primary.is-active,.button-primary:active{background-color:#4CE1C0;border-color:#4CE1C0;color:#0880d7}.button-plain,.button-plain-flat{background-color:#fff;border-color:#fff;color:#71c9ce}.button-plain-flat:visited,.button-plain:visited{color:#71c9ce}.button-plain-flat:focus,.button-plain-flat:hover,.button-plain:focus,.button-plain:hover{background-color:#fff;border-color:#fff;color:#71c9ce}.button-plain-flat.active,.button-plain-flat.is-active,.button-plain-flat:active,.button-plain.active,.button-plain.is-active,.button-plain:active{background-color:#fff;border-color:#fff;color:#e6e6e6}.button-inverse,.button-inverse-flat{background-color:#222;border-color:#222;color:#eee}.button-inverse-flat:visited,.button-inverse:visited{color:#eee}.button-inverse-flat:focus,.button-inverse-flat:hover,.button-inverse:focus,.button-inverse:hover{background-color:#3c3c3c;border-color:#3c3c3c;color:#eee}.button-inverse-flat.active,.button-inverse-flat.is-active,.button-inverse-flat:active,.button-inverse.active,.button-inverse.is-active,.button-inverse:active{background-color:#222;border-color:#222;color:#090909}.button-action,.button-action-flat{background-color:#a5de37;border-color:#a5de37;color:#fff}.button-action-flat:visited,.button-action:visited{color:#fff}.button-action-flat:focus,.button-action-flat:hover,.button-action:focus,.button-action:hover{background-color:#b9e563;border-color:#b9e563;color:#fff}.button-action-flat.active,.button-action-flat.is-active,.button-action-flat:active,.button-action.active,.button-action.is-active,.button-action:active{background-color:#a1d243;border-color:#a1d243;color:#8bc220}.button-highlight,.button-highlight-flat{background-color:#feae1b;border-color:#feae1b;color:#fff}.button-highlight-flat:visited,.button-highlight:visited{color:#fff}.button-highlight-flat:focus,.button-highlight-flat:hover,.button-highlight:focus,.button-highlight:hover{background-color:#fec04e;border-color:#fec04e;color:#fff}.button-highlight-flat.active,.button-highlight-flat.is-active,.button-highlight-flat:active,.button-highlight.active,.button-highlight.is-active,.button-highlight:active{background-color:#f3ab26;border-color:#f3ab26;color:#e59501}.button-caution,.button-caution-flat{background-color:#ff4351;border-color:#ff4351;color:#fff}.button-caution-flat:visited,.button-caution:visited{color:#fff}.button-caution-flat:focus,.button-caution-flat:hover,.button-caution:focus,.button-caution:hover{background-color:#ff7680;border-color:#ff7680;color:#fff}.button-caution-flat.active,.button-caution-flat.is-active,.button-caution-flat:active,.button-caution.active,.button-caution.is-active,.button-caution:active{background-color:#f64c59;border-color:#f64c59;color:#ff1022}.button-royal,.button-royal-flat{background-color:#7b72e9;border-color:#7b72e9;color:#fff}.button-royal-flat:visited,.button-royal:visited{color:#fff}.button-royal-flat:focus,.button-royal-flat:hover,.button-royal:focus,.button-royal:hover{background-color:#a49ef0;border-color:#a49ef0;color:#fff}.button-royal-flat.active,.button-royal-flat.is-active,.button-royal-flat:active,.button-royal.active,.button-royal.is-active,.button-royal:active{background-color:#827ae1;border-color:#827ae1;color:#5246e2}.button-block,.button-stacked{display:block}.button-square{border-radius:0}.button-box{border-radius:10px}.button-rounded{border-radius:4px}.button-pill{border-radius:200px}.button-circle{border-radius:100%}.button-box,.button-circle,.button-square{padding:0!important;width:40px}.button-box.button-giant,.button-circle.button-giant,.button-square.button-giant{width:70px}.button-box.button-jumbo,.button-circle.button-jumbo,.button-square.button-jumbo{width:60px}.button-box.button-large,.button-circle.button-large,.button-square.button-large{width:50px}.button-box.button-normal,.button-circle.button-normal,.button-square.button-normal{width:40px}.button-box.button-small,.button-circle.button-small,.button-square.button-small{width:30px}.button-box.button-tiny,.button-circle.button-tiny,.button-square.button-tiny{width:24px}.button-border,.button-border-thick,.button-border-thin{background:0 0;border-width:2px;border-style:solid;line-height:36px}.button-border-thick:hover,.button-border-thin:hover,.button-border:hover{background-color:rgba(255,255,255,.9)}.active.button-border-thick,.active.button-border-thin,.button-border-thick:active,.button-border-thin:active,.button-border.active,.button-border.is-active,.button-border:active,.is-active.button-border-thick,.is-active.button-border-thin{-webkit-box-shadow:none;box-shadow:none;text-shadow:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:.3s;transition-duration:.3s}.button-border-thin{border-width:1px}.button-border-thick{border-width:3px}.button-border-thick.button-primary,.button-border-thin.button-primary,.button-border.button-primary,.button-primary.button-border-thick,.button-primary.button-border-thin{color:#71c9ce}.button-border-thick.button-primary:focus,.button-border-thick.button-primary:hover,.button-border-thin.button-primary:focus,.button-border-thin.button-primary:hover,.button-border.button-primary:focus,.button-border.button-primary:hover,.button-primary.button-border-thick:focus,.button-primary.button-border-thick:hover,.button-primary.button-border-thin:focus,.button-primary.button-border-thin:hover{background-color:rgba(76,176,249,.9);color:rgba(255,255,255,.9)}.button-border-thick.button-primary.active,.button-border-thick.button-primary.is-active,.button-border-thick.button-primary:active,.button-border-thin.button-primary.active,.button-border-thin.button-primary.is-active,.button-border-thin.button-primary:active,.button-border.button-primary.active,.button-border.button-primary.is-active,.button-border.button-primary:active,.button-primary.active.button-border-thick,.button-primary.active.button-border-thin,.button-primary.button-border-thick:active,.button-primary.button-border-thin:active,.button-primary.is-active.button-border-thick,.button-primary.is-active.button-border-thin{background-color:rgba(39,152,235,.7);color:rgba(255,255,255,.5);opacity:.3}.button-border-thick.button-plain,.button-border-thin.button-plain,.button-border.button-plain,.button-plain.button-border-thick,.button-plain.button-border-thin{color:#fff}.button-border-thick.button-plain:focus,.button-border-thick.button-plain:hover,.button-border-thin.button-plain:focus,.button-border-thin.button-plain:hover,.button-border.button-plain:focus,.button-border.button-plain:hover,.button-plain.button-border-thick:focus,.button-plain.button-border-thick:hover,.button-plain.button-border-thin:focus,.button-plain.button-border-thin:hover{background-color:rgba(255,255,255,.9);color:rgba(27,154,247,.9)}.button-border-thick.button-plain.active,.button-border-thick.button-plain.is-active,.button-border-thick.button-plain:active,.button-border-thin.button-plain.active,.button-border-thin.button-plain.is-active,.button-border-thin.button-plain:active,.button-border.button-plain.active,.button-border.button-plain.is-active,.button-border.button-plain:active,.button-plain.active.button-border-thick,.button-plain.active.button-border-thin,.button-plain.button-border-thick:active,.button-plain.button-border-thin:active,.button-plain.is-active.button-border-thick,.button-plain.is-active.button-border-thin{background-color:rgba(255,255,255,.7);color:rgba(27,154,247,.5);opacity:.3}.button-border-thick.button-inverse,.button-border-thin.button-inverse,.button-border.button-inverse,.button-inverse.button-border-thick,.button-inverse.button-border-thin{color:#222}.button-border-thick.button-inverse:focus,.button-border-thick.button-inverse:hover,.button-border-thin.button-inverse:focus,.button-border-thin.button-inverse:hover,.button-border.button-inverse:focus,.button-border.button-inverse:hover,.button-inverse.button-border-thick:focus,.button-inverse.button-border-thick:hover,.button-inverse.button-border-thin:focus,.button-inverse.button-border-thin:hover{background-color:rgba(60,60,60,.9);color:rgba(238,238,238,.9)}.button-border-thick.button-inverse.active,.button-border-thick.button-inverse.is-active,.button-border-thick.button-inverse:active,.button-border-thin.button-inverse.active,.button-border-thin.button-inverse.is-active,.button-border-thin.button-inverse:active,.button-border.button-inverse.active,.button-border.button-inverse.is-active,.button-border.button-inverse:active,.button-inverse.active.button-border-thick,.button-inverse.active.button-border-thin,.button-inverse.button-border-thick:active,.button-inverse.button-border-thin:active,.button-inverse.is-active.button-border-thick,.button-inverse.is-active.button-border-thin{background-color:rgba(34,34,34,.7);color:rgba(238,238,238,.5);opacity:.3}.button-action.button-border-thick,.button-action.button-border-thin,.button-border-thick.button-action,.button-border-thin.button-action,.button-border.button-action{color:#a5de37}.button-action.button-border-thick:focus,.button-action.button-border-thick:hover,.button-action.button-border-thin:focus,.button-action.button-border-thin:hover,.button-border-thick.button-action:focus,.button-border-thick.button-action:hover,.button-border-thin.button-action:focus,.button-border-thin.button-action:hover,.button-border.button-action:focus,.button-border.button-action:hover{background-color:rgba(185,229,99,.9);color:rgba(255,255,255,.9)}.button-action.active.button-border-thick,.button-action.active.button-border-thin,.button-action.button-border-thick:active,.button-action.button-border-thin:active,.button-action.is-active.button-border-thick,.button-action.is-active.button-border-thin,.button-border-thick.button-action.active,.button-border-thick.button-action.is-active,.button-border-thick.button-action:active,.button-border-thin.button-action.active,.button-border-thin.button-action.is-active,.button-border-thin.button-action:active,.button-border.button-action.active,.button-border.button-action.is-active,.button-border.button-action:active{background-color:rgba(161,210,67,.7);color:rgba(255,255,255,.5);opacity:.3}.button-border-thick.button-highlight,.button-border-thin.button-highlight,.button-border.button-highlight,.button-highlight.button-border-thick,.button-highlight.button-border-thin{color:#feae1b}.button-border-thick.button-highlight:focus,.button-border-thick.button-highlight:hover,.button-border-thin.button-highlight:focus,.button-border-thin.button-highlight:hover,.button-border.button-highlight:focus,.button-border.button-highlight:hover,.button-highlight.button-border-thick:focus,.button-highlight.button-border-thick:hover,.button-highlight.button-border-thin:focus,.button-highlight.button-border-thin:hover{background-color:rgba(254,192,78,.9);color:rgba(255,255,255,.9)}.button-border-thick.button-highlight.active,.button-border-thick.button-highlight.is-active,.button-border-thick.button-highlight:active,.button-border-thin.button-highlight.active,.button-border-thin.button-highlight.is-active,.button-border-thin.button-highlight:active,.button-border.button-highlight.active,.button-border.button-highlight.is-active,.button-border.button-highlight:active,.button-highlight.active.button-border-thick,.button-highlight.active.button-border-thin,.button-highlight.button-border-thick:active,.button-highlight.button-border-thin:active,.button-highlight.is-active.button-border-thick,.button-highlight.is-active.button-border-thin{background-color:rgba(243,171,38,.7);color:rgba(255,255,255,.5);opacity:.3}.button-border-thick.button-caution,.button-border-thin.button-caution,.button-border.button-caution,.button-caution.button-border-thick,.button-caution.button-border-thin{color:#ff4351}.button-border-thick.button-caution:focus,.button-border-thick.button-caution:hover,.button-border-thin.button-caution:focus,.button-border-thin.button-caution:hover,.button-border.button-caution:focus,.button-border.button-caution:hover,.button-caution.button-border-thick:focus,.button-caution.button-border-thick:hover,.button-caution.button-border-thin:focus,.button-caution.button-border-thin:hover{background-color:rgba(255,118,128,.9);color:rgba(255,255,255,.9)}.button-border-thick.button-caution.active,.button-border-thick.button-caution.is-active,.button-border-thick.button-caution:active,.button-border-thin.button-caution.active,.button-border-thin.button-caution.is-active,.button-border-thin.button-caution:active,.button-border.button-caution.active,.button-border.button-caution.is-active,.button-border.button-caution:active,.button-caution.active.button-border-thick,.button-caution.active.button-border-thin,.button-caution.button-border-thick:active,.button-caution.button-border-thin:active,.button-caution.is-active.button-border-thick,.button-caution.is-active.button-border-thin{background-color:rgba(246,76,89,.7);color:rgba(255,255,255,.5);opacity:.3}.button-border-thick.button-royal,.button-border-thin.button-royal,.button-border.button-royal,.button-royal.button-border-thick,.button-royal.button-border-thin{color:#7b72e9}.button-border-thick.button-royal:focus,.button-border-thick.button-royal:hover,.button-border-thin.button-royal:focus,.button-border-thin.button-royal:hover,.button-border.button-royal:focus,.button-border.button-royal:hover,.button-royal.button-border-thick:focus,.button-royal.button-border-thick:hover,.button-royal.button-border-thin:focus,.button-royal.button-border-thin:hover{background-color:rgba(164,158,240,.9);color:rgba(255,255,255,.9)}.button-border-thick.button-royal.active,.button-border-thick.button-royal.is-active,.button-border-thick.button-royal:active,.button-border-thin.button-royal.active,.button-border-thin.button-royal.is-active,.button-border-thin.button-royal:active,.button-border.button-royal.active,.button-border.button-royal.is-active,.button-border.button-royal:active,.button-royal.active.button-border-thick,.button-royal.active.button-border-thin,.button-royal.button-border-thick:active,.button-royal.button-border-thin:active,.button-royal.is-active.button-border-thick,.button-royal.is-active.button-border-thin{background-color:rgba(130,122,225,.7);color:rgba(255,255,255,.5);opacity:.3}.button-border-thick.button-giant,.button-border-thin.button-giant,.button-border.button-giant,.button-giant.button-border-thick,.button-giant.button-border-thin{line-height:66px}.button-border-thick.button-jumbo,.button-border-thin.button-jumbo,.button-border.button-jumbo,.button-jumbo.button-border-thick,.button-jumbo.button-border-thin{line-height:56px}.button-border-thick.button-large,.button-border-thin.button-large,.button-border.button-large,.button-large.button-border-thick,.button-large.button-border-thin{line-height:46px}.button-border-thick.button-normal,.button-border-thin.button-normal,.button-border.button-normal,.button-normal.button-border-thick,.button-normal.button-border-thin{line-height:36px}.button-border-thick.button-small,.button-border-thin.button-small,.button-border.button-small,.button-small.button-border-thick,.button-small.button-border-thin{line-height:26px}.button-border-thick.button-tiny,.button-border-thin.button-tiny,.button-border.button-tiny,.button-tiny.button-border-thick,.button-tiny.button-border-thin{line-height:20px}.button-borderless{background:0 0;border:none;padding:0 8px!important;color:#eee;font-size:20.8px;font-weight:200}.button-borderless:focus,.button-borderless:hover{background:0 0}.button-borderless.active,.button-borderless.is-active,.button-borderless:active{-webkit-box-shadow:none;box-shadow:none;text-shadow:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:.3s;transition-duration:.3s;opacity:.3}.button-borderless.button-primary{color:#71c9ce}.button-borderless.button-plain{color:#fff}.button-borderless.button-inverse{color:#222}.button-borderless.button-action{color:#a5de37}.button-borderless.button-highlight{color:#feae1b}.button-borderless.button-caution{color:#ff4351}.button-borderless.button-royal{color:#7b72e9}.button-borderless.button-giant{font-size:36.4px;height:52.4px;line-height:52.4px}.button-borderless.button-jumbo{font-size:31.2px;height:47.2px;line-height:47.2px}.button-borderless.button-large{font-size:26px;height:42px;line-height:42px}.button-borderless.button-normal{font-size:20.8px;height:36.8px;line-height:36.8px}.button-borderless.button-small{font-size:15.6px;height:31.6px;line-height:31.6px}.button-borderless.button-tiny{font-size:12.48px;height:28.48px;line-height:28.48px}.button-raised{border-color:#e1e1e1;border-style:solid;border-width:1px;line-height:38px;background:-webkit-gradient(linear,left top,left bottom,from(#f6f6f6),to(#e1e1e1));background:linear-gradient(#f6f6f6,#e1e1e1);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 1px 2px rgba(0,0,0,.15)}.button-raised:focus,.button-raised:hover{background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#dcdcdc));background:linear-gradient(top,#fff,#dcdcdc)}.button-raised.active,.button-raised.is-active,.button-raised:active{background:#eee;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.2),0 1px 0 #fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.2),0 1px 0 #fff}.button-raised.button-primary{border-color:#088ef0;background:-webkit-gradient(linear,left top,left bottom,from(#34a5f8),to(#088ef0));background:linear-gradient(#34a5f8,#088ef0)}.button-raised.button-primary:focus,.button-raised.button-primary:hover{background:-webkit-gradient(linear,left top,left bottom,from(#42abf8),to(#0888e6));background:linear-gradient(top,#42abf8,#0888e6)}.button-raised.button-primary.active,.button-raised.button-primary.is-active,.button-raised.button-primary:active{border-color:#0880d7;background:#4CE1C0}.button-raised.button-plain{border-color:#f2f2f2;background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f2f2f2));background:linear-gradient(white,#f2f2f2)}.button-raised.button-plain:focus,.button-raised.button-plain:hover{background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#ededed));background:linear-gradient(top,#fff,#ededed)}.button-raised.button-plain.active,.button-raised.button-plain.is-active,.button-raised.button-plain:active{border-color:#e6e6e6;background:#fff}.button-raised.button-inverse{border-color:#151515;background:-webkit-gradient(linear,left top,left bottom,from(#2f2f2f),to(#151515));background:linear-gradient(#2f2f2f,#151515)}.button-raised.button-inverse:focus,.button-raised.button-inverse:hover{background:-webkit-gradient(linear,left top,left bottom,from(#363636),to(#101010));background:linear-gradient(top,#363636,#101010)}.button-raised.button-inverse.active,.button-raised.button-inverse.is-active,.button-raised.button-inverse:active{border-color:#090909;background:#222}.button-raised.button-action{border-color:#9ad824;background:-webkit-gradient(linear,left top,left bottom,from(#afe24d),to(#9ad824));background:linear-gradient(#afe24d,#9ad824)}.button-raised.button-action:focus,.button-raised.button-action:hover{background:-webkit-gradient(linear,left top,left bottom,from(#b5e45a),to(#94cf22));background:linear-gradient(top,#b5e45a,#94cf22)}.button-raised.button-action.active,.button-raised.button-action.is-active,.button-raised.button-action:active{border-color:#8bc220;background:#a1d243}.button-raised.button-highlight{border-color:#fea502;background:-webkit-gradient(linear,left top,left bottom,from(#feb734),to(#fea502));background:linear-gradient(#feb734,#fea502)}.button-raised.button-highlight:focus,.button-raised.button-highlight:hover{background:-webkit-gradient(linear,left top,left bottom,from(#febc44),to(#f49f01));background:linear-gradient(top,#febc44,#f49f01)}.button-raised.button-highlight.active,.button-raised.button-highlight.is-active,.button-raised.button-highlight:active{border-color:#e59501;background:#f3ab26}.button-raised.button-caution{border-color:#ff2939;background:-webkit-gradient(linear,left top,left bottom,from(#ff5c69),to(#ff2939));background:linear-gradient(#ff5c69,#ff2939)}.button-raised.button-caution:focus,.button-raised.button-caution:hover{background:-webkit-gradient(linear,left top,left bottom,from(#ff6c77),to(#ff1f30));background:linear-gradient(top,#ff6c77,#ff1f30)}.button-raised.button-caution.active,.button-raised.button-caution.is-active,.button-raised.button-caution:active{border-color:#ff1022;background:#f64c59}.button-raised.button-royal{border-color:#665ce6;background:-webkit-gradient(linear,left top,left bottom,from(#9088ec),to(#665ce6));background:linear-gradient(#9088ec,#665ce6)}.button-raised.button-royal:focus,.button-raised.button-royal:hover{background:-webkit-gradient(linear,left top,left bottom,from(#9c95ef),to(#5e53e4));background:linear-gradient(top,#9c95ef,#5e53e4)}.button-raised.button-royal.active,.button-raised.button-royal.is-active,.button-raised.button-royal:active{border-color:#5246e2;background:#827ae1}.button-3d{position:relative;top:0;-webkit-box-shadow:0 7px 0 #bbb,0 8px 3px rgba(0,0,0,.2);box-shadow:0 7px 0 #bbb,0 8px 3px rgba(0,0,0,.2)}.button-3d:focus,.button-3d:hover{-webkit-box-shadow:0 7px 0 #bbb,0 8px 3px rgba(0,0,0,.2);box-shadow:0 7px 0 #bbb,0 8px 3px rgba(0,0,0,.2)}.button-3d.active,.button-3d.is-active,.button-3d:active{top:5px;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:.15s;transition-duration:.15s;-webkit-box-shadow:0 2px 0 #bbb,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #bbb,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-primary{-webkit-box-shadow:0 7px 0 #0880d7,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #0880d7,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-primary:focus,.button-3d.button-primary:hover{-webkit-box-shadow:0 7px 0 #077ace,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #077ace,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-primary.active,.button-3d.button-primary.is-active,.button-3d.button-primary:active{-webkit-box-shadow:0 2px 0 #0662a6,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #0662a6,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-plain{-webkit-box-shadow:0 7px 0 #e6e6e6,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #e6e6e6,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-plain:focus,.button-3d.button-plain:hover{-webkit-box-shadow:0 7px 0 #e0e0e0,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #e0e0e0,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-plain.active,.button-3d.button-plain.is-active,.button-3d.button-plain:active{-webkit-box-shadow:0 2px 0 #ccc,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #ccc,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-inverse{-webkit-box-shadow:0 7px 0 #090909,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #090909,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-inverse:focus,.button-3d.button-inverse:hover{-webkit-box-shadow:0 7px 0 #030303,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #030303,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-inverse.active,.button-3d.button-inverse.is-active,.button-3d.button-inverse:active{-webkit-box-shadow:0 2px 0 black,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 black,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-action{-webkit-box-shadow:0 7px 0 #8bc220,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #8bc220,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-action:focus,.button-3d.button-action:hover{-webkit-box-shadow:0 7px 0 #84b91f,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #84b91f,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-action.active,.button-3d.button-action.is-active,.button-3d.button-action:active{-webkit-box-shadow:0 2px 0 #6b9619,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #6b9619,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-highlight{-webkit-box-shadow:0 7px 0 #e59501,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #e59501,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-highlight:focus,.button-3d.button-highlight:hover{-webkit-box-shadow:0 7px 0 #db8e01,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #db8e01,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-highlight.active,.button-3d.button-highlight.is-active,.button-3d.button-highlight:active{-webkit-box-shadow:0 2px 0 #b27401,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #b27401,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-caution{-webkit-box-shadow:0 7px 0 #ff1022,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #ff1022,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-caution:focus,.button-3d.button-caution:hover{-webkit-box-shadow:0 7px 0 #ff0618,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #ff0618,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-caution.active,.button-3d.button-caution.is-active,.button-3d.button-caution:active{-webkit-box-shadow:0 2px 0 #dc0010,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #dc0010,0 3px 3px rgba(0,0,0,.2)}.button-3d.button-royal{-webkit-box-shadow:0 7px 0 #5246e2,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #5246e2,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-royal:focus,.button-3d.button-royal:hover{-webkit-box-shadow:0 7px 0 #493de1,0 8px 3px rgba(0,0,0,.3);box-shadow:0 7px 0 #493de1,0 8px 3px rgba(0,0,0,.3)}.button-3d.button-royal.active,.button-3d.button-royal.is-active,.button-3d.button-royal:active{-webkit-box-shadow:0 2px 0 #2f21d4,0 3px 3px rgba(0,0,0,.2);box-shadow:0 2px 0 #2f21d4,0 3px 3px rgba(0,0,0,.2)}@-webkit-keyframes glowing{from{-webkit-box-shadow:0 0 0 rgba(44,154,219,.3);box-shadow:0 0 0 rgba(44,154,219,.3)}50%{-webkit-box-shadow:0 0 20px rgba(44,154,219,.8);box-shadow:0 0 20px rgba(44,154,219,.8)}to{-webkit-box-shadow:0 0 0 rgba(44,154,219,.3);box-shadow:0 0 0 rgba(44,154,219,.3)}}@keyframes glowing{from{-webkit-box-shadow:0 0 0 rgba(44,154,219,.3);box-shadow:0 0 0 rgba(44,154,219,.3)}50%{-webkit-box-shadow:0 0 20px rgba(44,154,219,.8);box-shadow:0 0 20px rgba(44,154,219,.8)}to{-webkit-box-shadow:0 0 0 rgba(44,154,219,.3);box-shadow:0 0 0 rgba(44,154,219,.3)}}@-webkit-keyframes glowing-primary{from{-webkit-box-shadow:0 0 0 rgba(27,154,247,.3);box-shadow:0 0 0 rgba(27,154,247,.3)}50%{-webkit-box-shadow:0 0 20px rgba(27,154,247,.8);box-shadow:0 0 20px rgba(27,154,247,.8)}to{-webkit-box-shadow:0 0 0 rgba(27,154,247,.3);box-shadow:0 0 0 rgba(27,154,247,.3)}}@keyframes glowing-primary{from{-webkit-box-shadow:0 0 0 rgba(27,154,247,.3);box-shadow:0 0 0 rgba(27,154,247,.3)}50%{-webkit-box-shadow:0 0 20px rgba(27,154,247,.8);box-shadow:0 0 20px rgba(27,154,247,.8)}to{-webkit-box-shadow:0 0 0 rgba(27,154,247,.3);box-shadow:0 0 0 rgba(27,154,247,.3)}}@-webkit-keyframes glowing-plain{from{-webkit-box-shadow:0 0 0 rgba(255,255,255,.3);box-shadow:0 0 0 rgba(255,255,255,.3)}50%{-webkit-box-shadow:0 0 20px rgba(255,255,255,.8);box-shadow:0 0 20px rgba(255,255,255,.8)}to{-webkit-box-shadow:0 0 0 rgba(255,255,255,.3);box-shadow:0 0 0 rgba(255,255,255,.3)}}@keyframes glowing-plain{from{-webkit-box-shadow:0 0 0 rgba(255,255,255,.3);box-shadow:0 0 0 rgba(255,255,255,.3)}50%{-webkit-box-shadow:0 0 20px rgba(255,255,255,.8);box-shadow:0 0 20px rgba(255,255,255,.8)}to{-webkit-box-shadow:0 0 0 rgba(255,255,255,.3);box-shadow:0 0 0 rgba(255,255,255,.3)}}@-webkit-keyframes glowing-inverse{from{-webkit-box-shadow:0 0 0 rgba(34,34,34,.3);box-shadow:0 0 0 rgba(34,34,34,.3)}50%{-webkit-box-shadow:0 0 20px rgba(34,34,34,.8);box-shadow:0 0 20px rgba(34,34,34,.8)}to{-webkit-box-shadow:0 0 0 rgba(34,34,34,.3);box-shadow:0 0 0 rgba(34,34,34,.3)}}@keyframes glowing-inverse{from{-webkit-box-shadow:0 0 0 rgba(34,34,34,.3);box-shadow:0 0 0 rgba(34,34,34,.3)}50%{-webkit-box-shadow:0 0 20px rgba(34,34,34,.8);box-shadow:0 0 20px rgba(34,34,34,.8)}to{-webkit-box-shadow:0 0 0 rgba(34,34,34,.3);box-shadow:0 0 0 rgba(34,34,34,.3)}}@-webkit-keyframes glowing-action{from{-webkit-box-shadow:0 0 0 rgba(165,222,55,.3);box-shadow:0 0 0 rgba(165,222,55,.3)}50%{-webkit-box-shadow:0 0 20px rgba(165,222,55,.8);box-shadow:0 0 20px rgba(165,222,55,.8)}to{-webkit-box-shadow:0 0 0 rgba(165,222,55,.3);box-shadow:0 0 0 rgba(165,222,55,.3)}}@keyframes glowing-action{from{-webkit-box-shadow:0 0 0 rgba(165,222,55,.3);box-shadow:0 0 0 rgba(165,222,55,.3)}50%{-webkit-box-shadow:0 0 20px rgba(165,222,55,.8);box-shadow:0 0 20px rgba(165,222,55,.8)}to{-webkit-box-shadow:0 0 0 rgba(165,222,55,.3);box-shadow:0 0 0 rgba(165,222,55,.3)}}@-webkit-keyframes glowing-highlight{from{-webkit-box-shadow:0 0 0 rgba(254,174,27,.3);box-shadow:0 0 0 rgba(254,174,27,.3)}50%{-webkit-box-shadow:0 0 20px rgba(254,174,27,.8);box-shadow:0 0 20px rgba(254,174,27,.8)}to{-webkit-box-shadow:0 0 0 rgba(254,174,27,.3);box-shadow:0 0 0 rgba(254,174,27,.3)}}@keyframes glowing-highlight{from{-webkit-box-shadow:0 0 0 rgba(254,174,27,.3);box-shadow:0 0 0 rgba(254,174,27,.3)}50%{-webkit-box-shadow:0 0 20px rgba(254,174,27,.8);box-shadow:0 0 20px rgba(254,174,27,.8)}to{-webkit-box-shadow:0 0 0 rgba(254,174,27,.3);box-shadow:0 0 0 rgba(254,174,27,.3)}}@-webkit-keyframes glowing-caution{from{-webkit-box-shadow:0 0 0 rgba(255,67,81,.3);box-shadow:0 0 0 rgba(255,67,81,.3)}50%{-webkit-box-shadow:0 0 20px rgba(255,67,81,.8);box-shadow:0 0 20px rgba(255,67,81,.8)}to{-webkit-box-shadow:0 0 0 rgba(255,67,81,.3);box-shadow:0 0 0 rgba(255,67,81,.3)}}@keyframes glowing-caution{from{-webkit-box-shadow:0 0 0 rgba(255,67,81,.3);box-shadow:0 0 0 rgba(255,67,81,.3)}50%{-webkit-box-shadow:0 0 20px rgba(255,67,81,.8);box-shadow:0 0 20px rgba(255,67,81,.8)}to{-webkit-box-shadow:0 0 0 rgba(255,67,81,.3);box-shadow:0 0 0 rgba(255,67,81,.3)}}@-webkit-keyframes glowing-royal{from{-webkit-box-shadow:0 0 0 rgba(123,114,233,.3);box-shadow:0 0 0 rgba(123,114,233,.3)}50%{-webkit-box-shadow:0 0 20px rgba(123,114,233,.8);box-shadow:0 0 20px rgba(123,114,233,.8)}to{-webkit-box-shadow:0 0 0 rgba(123,114,233,.3);box-shadow:0 0 0 rgba(123,114,233,.3)}}@keyframes glowing-royal{from{-webkit-box-shadow:0 0 0 rgba(123,114,233,.3);box-shadow:0 0 0 rgba(123,114,233,.3)}50%{-webkit-box-shadow:0 0 20px rgba(123,114,233,.8);box-shadow:0 0 20px rgba(123,114,233,.8)}to{-webkit-box-shadow:0 0 0 rgba(123,114,233,.3);box-shadow:0 0 0 rgba(123,114,233,.3)}}.button-glow{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:glowing;animation-name:glowing}.button-glow.active,.button-glow.is-active,.button-glow:active{-webkit-animation-name:none;animation-name:none}.button-glow.button-primary{-webkit-animation-name:glowing-primary;animation-name:glowing-primary}.button-glow.button-plain{-webkit-animation-name:glowing-plain;animation-name:glowing-plain}.button-glow.button-inverse{-webkit-animation-name:glowing-inverse;animation-name:glowing-inverse}.button-glow.button-action{-webkit-animation-name:glowing-action;animation-name:glowing-action}.button-glow.button-highlight{-webkit-animation-name:glowing-highlight;animation-name:glowing-highlight}.button-glow.button-caution{-webkit-animation-name:glowing-caution;animation-name:glowing-caution}.button-glow.button-royal{-webkit-animation-name:glowing-royal;animation-name:glowing-royal}.button-dropdown{position:relative;overflow:visible;display:inline-block}.button-dropdown-list{display:none;position:absolute;padding:0;margin:0;top:0;left:0;z-index:1000;min-width:100%;list-style-type:none;background:rgba(255,255,255,.95);border-style:solid;border-width:1px;border-color:#d4d4d4;font-family:"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;-webkit-box-shadow:0 2px 7px rgba(0,0,0,.2);box-shadow:0 2px 7px rgba(0,0,0,.2);border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.button-dropdown-list.is-below{top:100%;border-top:none;border-radius:0 0 3px 3px}.button-dropdown-list.is-above{bottom:100%;top:auto;border-bottom:none;border-radius:3px 3px 0 0;-webkit-box-shadow:0 -2px 7px rgba(0,0,0,.2);box-shadow:0 -2px 7px rgba(0,0,0,.2)}.button-dropdown-list>li{padding:0;margin:0;display:block}.button-dropdown-list>li>a{display:block;line-height:40px;font-size:12.8px;padding:5px 10px;float:none;color:#666;text-decoration:none}.button-dropdown-list>li>a:hover{color:#5e5e5e;background:#f6f6f6;text-decoration:none}.button-dropdown-divider{border-top:1px solid #e6e6e6}.button-dropdown.button-dropdown-primary .button-dropdown-list{background:rgba(27,154,247,.95);border-color:#0880d7}.button-dropdown.button-dropdown-primary .button-dropdown-list .button-dropdown-divider{border-color:#0888e6}.button-dropdown.button-dropdown-primary .button-dropdown-list>li>a{color:#fff}.button-dropdown.button-dropdown-primary .button-dropdown-list>li>a:hover{color:#f2f2f2;background:#088ef0}.button-dropdown.button-dropdown-plain .button-dropdown-list{background:rgba(255,255,255,.95);border-color:#e6e6e6}.button-dropdown.button-dropdown-plain .button-dropdown-list .button-dropdown-divider{border-color:#ededed}.button-dropdown.button-dropdown-plain .button-dropdown-list>li>a{color:#71c9ce}.button-dropdown.button-dropdown-plain .button-dropdown-list>li>a:hover{color:#088ef0;background:#f2f2f2}.button-dropdown.button-dropdown-inverse .button-dropdown-list{background:rgba(34,34,34,.95);border-color:#090909}.button-dropdown.button-dropdown-inverse .button-dropdown-list .button-dropdown-divider{border-color:#101010}.button-dropdown.button-dropdown-inverse .button-dropdown-list>li>a{color:#eee}.button-dropdown.button-dropdown-inverse .button-dropdown-list>li>a:hover{color:#e1e1e1;background:#151515}.button-dropdown.button-dropdown-action .button-dropdown-list{background:rgba(165,222,55,.95);border-color:#8bc220}.button-dropdown.button-dropdown-action .button-dropdown-list .button-dropdown-divider{border-color:#94cf22}.button-dropdown.button-dropdown-action .button-dropdown-list>li>a{color:#fff}.button-dropdown.button-dropdown-action .button-dropdown-list>li>a:hover{color:#f2f2f2;background:#9ad824}.button-dropdown.button-dropdown-highlight .button-dropdown-list{background:rgba(254,174,27,.95);border-color:#e59501}.button-dropdown.button-dropdown-highlight .button-dropdown-list .button-dropdown-divider{border-color:#f49f01}.button-dropdown.button-dropdown-highlight .button-dropdown-list>li>a{color:#fff}.button-dropdown.button-dropdown-highlight .button-dropdown-list>li>a:hover{color:#f2f2f2;background:#fea502}.button-dropdown.button-dropdown-caution .button-dropdown-list{background:rgba(255,67,81,.95);border-color:#ff1022}.button-dropdown.button-dropdown-caution .button-dropdown-list .button-dropdown-divider{border-color:#ff1f30}.button-dropdown.button-dropdown-caution .button-dropdown-list>li>a{color:#fff}.button-dropdown.button-dropdown-caution .button-dropdown-list>li>a:hover{color:#f2f2f2;background:#ff2939}.button-dropdown.button-dropdown-royal .button-dropdown-list{background:rgba(123,114,233,.95);border-color:#5246e2}.button-dropdown.button-dropdown-royal .button-dropdown-list .button-dropdown-divider{border-color:#5e53e4}.button-dropdown.button-dropdown-royal .button-dropdown-list>li>a{color:#fff}.button-dropdown.button-dropdown-royal .button-dropdown-list>li>a:hover{color:#f2f2f2;background:#665ce6}.button-group{position:relative;display:inline-block}.button-group:after,.button-group:before{content:'.';clear:both;display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.button-group .button,.button-group .button-dropdown{float:left}.button-group .button-dropdown:not(:first-child):not(:last-child),.button-group .button:not(:first-child):not(:last-child){border-radius:0;border-right:none}.button-group .button-dropdown:first-child,.button-group .button:first-child{border-top-right-radius:0;border-bottom-right-radius:0;border-right:none}.button-group .button-dropdown:last-child,.button-group .button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.button-wrap{border:1px solid #e3e3e3;display:inline-block;padding:9px;background:-webkit-gradient(linear,left top,left bottom,from(#f2f2f2),to(#fff));background:linear-gradient(#f2f2f2,#fff);border-radius:200px;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.04);box-shadow:inset 0 1px 3px rgba(0,0,0,.04)}.button-longshadow,.button-longshadow-right{overflow:hidden}.button-longshadow-right.button-primary,.button-longshadow.button-primary{text-shadow:0 0 #0880d7,1px 1px #0880d7,2px 2px #0880d7,3px 3px #0880d7,4px 4px #0880d7,5px 5px #0880d7,6px 6px #0880d7,7px 7px #0880d7,8px 8px #0880d7,9px 9px #0880d7,10px 10px #0880d7,11px 11px #0880d7,12px 12px #0880d7,13px 13px #0880d7,14px 14px #0880d7,15px 15px #0880d7,16px 16px #0880d7,17px 17px #0880d7,18px 18px #0880d7,19px 19px #0880d7,20px 20px #0880d7,21px 21px #0880d7,22px 22px #0880d7,23px 23px #0880d7,24px 24px #0880d7,25px 25px #0880d7,26px 26px #0880d7,27px 27px #0880d7,28px 28px #0880d7,29px 29px #0880d7,30px 30px #0880d7,31px 31px #0880d7,32px 32px #0880d7,33px 33px #0880d7,34px 34px #0880d7,35px 35px #0880d7,36px 36px #0880d7,37px 37px #0880d7,38px 38px #0880d7,39px 39px #0880d7,40px 40px #0880d7,41px 41px #0880d7,42px 42px #0880d7,43px 43px #0880d7,44px 44px #0880d7,45px 45px #0880d7,46px 46px #0880d7,47px 47px #0880d7,48px 48px #0880d7,49px 49px #0880d7,50px 50px #0880d7,51px 51px #0880d7,52px 52px #0880d7,53px 53px #0880d7,54px 54px #0880d7,55px 55px #0880d7,56px 56px #0880d7,57px 57px #0880d7,58px 58px #0880d7,59px 59px #0880d7,60px 60px #0880d7,61px 61px #0880d7,62px 62px #0880d7,63px 63px #0880d7,64px 64px #0880d7,65px 65px #0880d7,66px 66px #0880d7,67px 67px #0880d7,68px 68px #0880d7,69px 69px #0880d7,70px 70px #0880d7,71px 71px #0880d7,72px 72px #0880d7,73px 73px #0880d7,74px 74px #0880d7,75px 75px #0880d7,76px 76px #0880d7,77px 77px #0880d7,78px 78px #0880d7,79px 79px #0880d7,80px 80px #0880d7,81px 81px #0880d7,82px 82px #0880d7,83px 83px #0880d7,84px 84px #0880d7,85px 85px #0880d7}.button-longshadow-right.button-primary.active,.button-longshadow-right.button-primary.is-active,.button-longshadow-right.button-primary:active,.button-longshadow.button-primary.active,.button-longshadow.button-primary.is-active,.button-longshadow.button-primary:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-right.button-plain,.button-longshadow.button-plain{text-shadow:0 0 #e6e6e6,1px 1px #e6e6e6,2px 2px #e6e6e6,3px 3px #e6e6e6,4px 4px #e6e6e6,5px 5px #e6e6e6,6px 6px #e6e6e6,7px 7px #e6e6e6,8px 8px #e6e6e6,9px 9px #e6e6e6,10px 10px #e6e6e6,11px 11px #e6e6e6,12px 12px #e6e6e6,13px 13px #e6e6e6,14px 14px #e6e6e6,15px 15px #e6e6e6,16px 16px #e6e6e6,17px 17px #e6e6e6,18px 18px #e6e6e6,19px 19px #e6e6e6,20px 20px #e6e6e6,21px 21px #e6e6e6,22px 22px #e6e6e6,23px 23px #e6e6e6,24px 24px #e6e6e6,25px 25px #e6e6e6,26px 26px #e6e6e6,27px 27px #e6e6e6,28px 28px #e6e6e6,29px 29px #e6e6e6,30px 30px #e6e6e6,31px 31px #e6e6e6,32px 32px #e6e6e6,33px 33px #e6e6e6,34px 34px #e6e6e6,35px 35px #e6e6e6,36px 36px #e6e6e6,37px 37px #e6e6e6,38px 38px #e6e6e6,39px 39px #e6e6e6,40px 40px #e6e6e6,41px 41px #e6e6e6,42px 42px #e6e6e6,43px 43px #e6e6e6,44px 44px #e6e6e6,45px 45px #e6e6e6,46px 46px #e6e6e6,47px 47px #e6e6e6,48px 48px #e6e6e6,49px 49px #e6e6e6,50px 50px #e6e6e6,51px 51px #e6e6e6,52px 52px #e6e6e6,53px 53px #e6e6e6,54px 54px #e6e6e6,55px 55px #e6e6e6,56px 56px #e6e6e6,57px 57px #e6e6e6,58px 58px #e6e6e6,59px 59px #e6e6e6,60px 60px #e6e6e6,61px 61px #e6e6e6,62px 62px #e6e6e6,63px 63px #e6e6e6,64px 64px #e6e6e6,65px 65px #e6e6e6,66px 66px #e6e6e6,67px 67px #e6e6e6,68px 68px #e6e6e6,69px 69px #e6e6e6,70px 70px #e6e6e6,71px 71px #e6e6e6,72px 72px #e6e6e6,73px 73px #e6e6e6,74px 74px #e6e6e6,75px 75px #e6e6e6,76px 76px #e6e6e6,77px 77px #e6e6e6,78px 78px #e6e6e6,79px 79px #e6e6e6,80px 80px #e6e6e6,81px 81px #e6e6e6,82px 82px #e6e6e6,83px 83px #e6e6e6,84px 84px #e6e6e6,85px 85px #e6e6e6}.button-longshadow-right.button-plain.active,.button-longshadow-right.button-plain.is-active,.button-longshadow-right.button-plain:active,.button-longshadow.button-plain.active,.button-longshadow.button-plain.is-active,.button-longshadow.button-plain:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-right.button-inverse,.button-longshadow.button-inverse{text-shadow:0 0 #090909,1px 1px #090909,2px 2px #090909,3px 3px #090909,4px 4px #090909,5px 5px #090909,6px 6px #090909,7px 7px #090909,8px 8px #090909,9px 9px #090909,10px 10px #090909,11px 11px #090909,12px 12px #090909,13px 13px #090909,14px 14px #090909,15px 15px #090909,16px 16px #090909,17px 17px #090909,18px 18px #090909,19px 19px #090909,20px 20px #090909,21px 21px #090909,22px 22px #090909,23px 23px #090909,24px 24px #090909,25px 25px #090909,26px 26px #090909,27px 27px #090909,28px 28px #090909,29px 29px #090909,30px 30px #090909,31px 31px #090909,32px 32px #090909,33px 33px #090909,34px 34px #090909,35px 35px #090909,36px 36px #090909,37px 37px #090909,38px 38px #090909,39px 39px #090909,40px 40px #090909,41px 41px #090909,42px 42px #090909,43px 43px #090909,44px 44px #090909,45px 45px #090909,46px 46px #090909,47px 47px #090909,48px 48px #090909,49px 49px #090909,50px 50px #090909,51px 51px #090909,52px 52px #090909,53px 53px #090909,54px 54px #090909,55px 55px #090909,56px 56px #090909,57px 57px #090909,58px 58px #090909,59px 59px #090909,60px 60px #090909,61px 61px #090909,62px 62px #090909,63px 63px #090909,64px 64px #090909,65px 65px #090909,66px 66px #090909,67px 67px #090909,68px 68px #090909,69px 69px #090909,70px 70px #090909,71px 71px #090909,72px 72px #090909,73px 73px #090909,74px 74px #090909,75px 75px #090909,76px 76px #090909,77px 77px #090909,78px 78px #090909,79px 79px #090909,80px 80px #090909,81px 81px #090909,82px 82px #090909,83px 83px #090909,84px 84px #090909,85px 85px #090909}.button-longshadow-right.button-inverse.active,.button-longshadow-right.button-inverse.is-active,.button-longshadow-right.button-inverse:active,.button-longshadow.button-inverse.active,.button-longshadow.button-inverse.is-active,.button-longshadow.button-inverse:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-right.button-action,.button-longshadow.button-action{text-shadow:0 0 #8bc220,1px 1px #8bc220,2px 2px #8bc220,3px 3px #8bc220,4px 4px #8bc220,5px 5px #8bc220,6px 6px #8bc220,7px 7px #8bc220,8px 8px #8bc220,9px 9px #8bc220,10px 10px #8bc220,11px 11px #8bc220,12px 12px #8bc220,13px 13px #8bc220,14px 14px #8bc220,15px 15px #8bc220,16px 16px #8bc220,17px 17px #8bc220,18px 18px #8bc220,19px 19px #8bc220,20px 20px #8bc220,21px 21px #8bc220,22px 22px #8bc220,23px 23px #8bc220,24px 24px #8bc220,25px 25px #8bc220,26px 26px #8bc220,27px 27px #8bc220,28px 28px #8bc220,29px 29px #8bc220,30px 30px #8bc220,31px 31px #8bc220,32px 32px #8bc220,33px 33px #8bc220,34px 34px #8bc220,35px 35px #8bc220,36px 36px #8bc220,37px 37px #8bc220,38px 38px #8bc220,39px 39px #8bc220,40px 40px #8bc220,41px 41px #8bc220,42px 42px #8bc220,43px 43px #8bc220,44px 44px #8bc220,45px 45px #8bc220,46px 46px #8bc220,47px 47px #8bc220,48px 48px #8bc220,49px 49px #8bc220,50px 50px #8bc220,51px 51px #8bc220,52px 52px #8bc220,53px 53px #8bc220,54px 54px #8bc220,55px 55px #8bc220,56px 56px #8bc220,57px 57px #8bc220,58px 58px #8bc220,59px 59px #8bc220,60px 60px #8bc220,61px 61px #8bc220,62px 62px #8bc220,63px 63px #8bc220,64px 64px #8bc220,65px 65px #8bc220,66px 66px #8bc220,67px 67px #8bc220,68px 68px #8bc220,69px 69px #8bc220,70px 70px #8bc220,71px 71px #8bc220,72px 72px #8bc220,73px 73px #8bc220,74px 74px #8bc220,75px 75px #8bc220,76px 76px #8bc220,77px 77px #8bc220,78px 78px #8bc220,79px 79px #8bc220,80px 80px #8bc220,81px 81px #8bc220,82px 82px #8bc220,83px 83px #8bc220,84px 84px #8bc220,85px 85px #8bc220}.button-longshadow-right.button-action.active,.button-longshadow-right.button-action.is-active,.button-longshadow-right.button-action:active,.button-longshadow.button-action.active,.button-longshadow.button-action.is-active,.button-longshadow.button-action:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-right.button-highlight,.button-longshadow.button-highlight{text-shadow:0 0 #e59501,1px 1px #e59501,2px 2px #e59501,3px 3px #e59501,4px 4px #e59501,5px 5px #e59501,6px 6px #e59501,7px 7px #e59501,8px 8px #e59501,9px 9px #e59501,10px 10px #e59501,11px 11px #e59501,12px 12px #e59501,13px 13px #e59501,14px 14px #e59501,15px 15px #e59501,16px 16px #e59501,17px 17px #e59501,18px 18px #e59501,19px 19px #e59501,20px 20px #e59501,21px 21px #e59501,22px 22px #e59501,23px 23px #e59501,24px 24px #e59501,25px 25px #e59501,26px 26px #e59501,27px 27px #e59501,28px 28px #e59501,29px 29px #e59501,30px 30px #e59501,31px 31px #e59501,32px 32px #e59501,33px 33px #e59501,34px 34px #e59501,35px 35px #e59501,36px 36px #e59501,37px 37px #e59501,38px 38px #e59501,39px 39px #e59501,40px 40px #e59501,41px 41px #e59501,42px 42px #e59501,43px 43px #e59501,44px 44px #e59501,45px 45px #e59501,46px 46px #e59501,47px 47px #e59501,48px 48px #e59501,49px 49px #e59501,50px 50px #e59501,51px 51px #e59501,52px 52px #e59501,53px 53px #e59501,54px 54px #e59501,55px 55px #e59501,56px 56px #e59501,57px 57px #e59501,58px 58px #e59501,59px 59px #e59501,60px 60px #e59501,61px 61px #e59501,62px 62px #e59501,63px 63px #e59501,64px 64px #e59501,65px 65px #e59501,66px 66px #e59501,67px 67px #e59501,68px 68px #e59501,69px 69px #e59501,70px 70px #e59501,71px 71px #e59501,72px 72px #e59501,73px 73px #e59501,74px 74px #e59501,75px 75px #e59501,76px 76px #e59501,77px 77px #e59501,78px 78px #e59501,79px 79px #e59501,80px 80px #e59501,81px 81px #e59501,82px 82px #e59501,83px 83px #e59501,84px 84px #e59501,85px 85px #e59501}.button-longshadow-right.button-highlight.active,.button-longshadow-right.button-highlight.is-active,.button-longshadow-right.button-highlight:active,.button-longshadow.button-highlight.active,.button-longshadow.button-highlight.is-active,.button-longshadow.button-highlight:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-right.button-caution,.button-longshadow.button-caution{text-shadow:0 0 #ff1022,1px 1px #ff1022,2px 2px #ff1022,3px 3px #ff1022,4px 4px #ff1022,5px 5px #ff1022,6px 6px #ff1022,7px 7px #ff1022,8px 8px #ff1022,9px 9px #ff1022,10px 10px #ff1022,11px 11px #ff1022,12px 12px #ff1022,13px 13px #ff1022,14px 14px #ff1022,15px 15px #ff1022,16px 16px #ff1022,17px 17px #ff1022,18px 18px #ff1022,19px 19px #ff1022,20px 20px #ff1022,21px 21px #ff1022,22px 22px #ff1022,23px 23px #ff1022,24px 24px #ff1022,25px 25px #ff1022,26px 26px #ff1022,27px 27px #ff1022,28px 28px #ff1022,29px 29px #ff1022,30px 30px #ff1022,31px 31px #ff1022,32px 32px #ff1022,33px 33px #ff1022,34px 34px #ff1022,35px 35px #ff1022,36px 36px #ff1022,37px 37px #ff1022,38px 38px #ff1022,39px 39px #ff1022,40px 40px #ff1022,41px 41px #ff1022,42px 42px #ff1022,43px 43px #ff1022,44px 44px #ff1022,45px 45px #ff1022,46px 46px #ff1022,47px 47px #ff1022,48px 48px #ff1022,49px 49px #ff1022,50px 50px #ff1022,51px 51px #ff1022,52px 52px #ff1022,53px 53px #ff1022,54px 54px #ff1022,55px 55px #ff1022,56px 56px #ff1022,57px 57px #ff1022,58px 58px #ff1022,59px 59px #ff1022,60px 60px #ff1022,61px 61px #ff1022,62px 62px #ff1022,63px 63px #ff1022,64px 64px #ff1022,65px 65px #ff1022,66px 66px #ff1022,67px 67px #ff1022,68px 68px #ff1022,69px 69px #ff1022,70px 70px #ff1022,71px 71px #ff1022,72px 72px #ff1022,73px 73px #ff1022,74px 74px #ff1022,75px 75px #ff1022,76px 76px #ff1022,77px 77px #ff1022,78px 78px #ff1022,79px 79px #ff1022,80px 80px #ff1022,81px 81px #ff1022,82px 82px #ff1022,83px 83px #ff1022,84px 84px #ff1022,85px 85px #ff1022}.button-longshadow-right.button-caution.active,.button-longshadow-right.button-caution.is-active,.button-longshadow-right.button-caution:active,.button-longshadow.button-caution.active,.button-longshadow.button-caution.is-active,.button-longshadow.button-caution:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-right.button-royal,.button-longshadow.button-royal{text-shadow:0 0 #5246e2,1px 1px #5246e2,2px 2px #5246e2,3px 3px #5246e2,4px 4px #5246e2,5px 5px #5246e2,6px 6px #5246e2,7px 7px #5246e2,8px 8px #5246e2,9px 9px #5246e2,10px 10px #5246e2,11px 11px #5246e2,12px 12px #5246e2,13px 13px #5246e2,14px 14px #5246e2,15px 15px #5246e2,16px 16px #5246e2,17px 17px #5246e2,18px 18px #5246e2,19px 19px #5246e2,20px 20px #5246e2,21px 21px #5246e2,22px 22px #5246e2,23px 23px #5246e2,24px 24px #5246e2,25px 25px #5246e2,26px 26px #5246e2,27px 27px #5246e2,28px 28px #5246e2,29px 29px #5246e2,30px 30px #5246e2,31px 31px #5246e2,32px 32px #5246e2,33px 33px #5246e2,34px 34px #5246e2,35px 35px #5246e2,36px 36px #5246e2,37px 37px #5246e2,38px 38px #5246e2,39px 39px #5246e2,40px 40px #5246e2,41px 41px #5246e2,42px 42px #5246e2,43px 43px #5246e2,44px 44px #5246e2,45px 45px #5246e2,46px 46px #5246e2,47px 47px #5246e2,48px 48px #5246e2,49px 49px #5246e2,50px 50px #5246e2,51px 51px #5246e2,52px 52px #5246e2,53px 53px #5246e2,54px 54px #5246e2,55px 55px #5246e2,56px 56px #5246e2,57px 57px #5246e2,58px 58px #5246e2,59px 59px #5246e2,60px 60px #5246e2,61px 61px #5246e2,62px 62px #5246e2,63px 63px #5246e2,64px 64px #5246e2,65px 65px #5246e2,66px 66px #5246e2,67px 67px #5246e2,68px 68px #5246e2,69px 69px #5246e2,70px 70px #5246e2,71px 71px #5246e2,72px 72px #5246e2,73px 73px #5246e2,74px 74px #5246e2,75px 75px #5246e2,76px 76px #5246e2,77px 77px #5246e2,78px 78px #5246e2,79px 79px #5246e2,80px 80px #5246e2,81px 81px #5246e2,82px 82px #5246e2,83px 83px #5246e2,84px 84px #5246e2,85px 85px #5246e2}.button-longshadow-right.button-royal.active,.button-longshadow-right.button-royal.is-active,.button-longshadow-right.button-royal:active,.button-longshadow.button-royal.active,.button-longshadow.button-royal.is-active,.button-longshadow.button-royal:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left{overflow:hidden}.button-longshadow-left.button-primary{text-shadow:0 0 #0880d7,-1px 1px #0880d7,-2px 2px #0880d7,-3px 3px #0880d7,-4px 4px #0880d7,-5px 5px #0880d7,-6px 6px #0880d7,-7px 7px #0880d7,-8px 8px #0880d7,-9px 9px #0880d7,-10px 10px #0880d7,-11px 11px #0880d7,-12px 12px #0880d7,-13px 13px #0880d7,-14px 14px #0880d7,-15px 15px #0880d7,-16px 16px #0880d7,-17px 17px #0880d7,-18px 18px #0880d7,-19px 19px #0880d7,-20px 20px #0880d7,-21px 21px #0880d7,-22px 22px #0880d7,-23px 23px #0880d7,-24px 24px #0880d7,-25px 25px #0880d7,-26px 26px #0880d7,-27px 27px #0880d7,-28px 28px #0880d7,-29px 29px #0880d7,-30px 30px #0880d7,-31px 31px #0880d7,-32px 32px #0880d7,-33px 33px #0880d7,-34px 34px #0880d7,-35px 35px #0880d7,-36px 36px #0880d7,-37px 37px #0880d7,-38px 38px #0880d7,-39px 39px #0880d7,-40px 40px #0880d7,-41px 41px #0880d7,-42px 42px #0880d7,-43px 43px #0880d7,-44px 44px #0880d7,-45px 45px #0880d7,-46px 46px #0880d7,-47px 47px #0880d7,-48px 48px #0880d7,-49px 49px #0880d7,-50px 50px #0880d7,-51px 51px #0880d7,-52px 52px #0880d7,-53px 53px #0880d7,-54px 54px #0880d7,-55px 55px #0880d7,-56px 56px #0880d7,-57px 57px #0880d7,-58px 58px #0880d7,-59px 59px #0880d7,-60px 60px #0880d7,-61px 61px #0880d7,-62px 62px #0880d7,-63px 63px #0880d7,-64px 64px #0880d7,-65px 65px #0880d7,-66px 66px #0880d7,-67px 67px #0880d7,-68px 68px #0880d7,-69px 69px #0880d7,-70px 70px #0880d7,-71px 71px #0880d7,-72px 72px #0880d7,-73px 73px #0880d7,-74px 74px #0880d7,-75px 75px #0880d7,-76px 76px #0880d7,-77px 77px #0880d7,-78px 78px #0880d7,-79px 79px #0880d7,-80px 80px #0880d7,-81px 81px #0880d7,-82px 82px #0880d7,-83px 83px #0880d7,-84px 84px #0880d7,-85px 85px #0880d7}.button-longshadow-left.button-primary.active,.button-longshadow-left.button-primary.is-active,.button-longshadow-left.button-primary:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left.button-plain{text-shadow:0 0 #e6e6e6,-1px 1px #e6e6e6,-2px 2px #e6e6e6,-3px 3px #e6e6e6,-4px 4px #e6e6e6,-5px 5px #e6e6e6,-6px 6px #e6e6e6,-7px 7px #e6e6e6,-8px 8px #e6e6e6,-9px 9px #e6e6e6,-10px 10px #e6e6e6,-11px 11px #e6e6e6,-12px 12px #e6e6e6,-13px 13px #e6e6e6,-14px 14px #e6e6e6,-15px 15px #e6e6e6,-16px 16px #e6e6e6,-17px 17px #e6e6e6,-18px 18px #e6e6e6,-19px 19px #e6e6e6,-20px 20px #e6e6e6,-21px 21px #e6e6e6,-22px 22px #e6e6e6,-23px 23px #e6e6e6,-24px 24px #e6e6e6,-25px 25px #e6e6e6,-26px 26px #e6e6e6,-27px 27px #e6e6e6,-28px 28px #e6e6e6,-29px 29px #e6e6e6,-30px 30px #e6e6e6,-31px 31px #e6e6e6,-32px 32px #e6e6e6,-33px 33px #e6e6e6,-34px 34px #e6e6e6,-35px 35px #e6e6e6,-36px 36px #e6e6e6,-37px 37px #e6e6e6,-38px 38px #e6e6e6,-39px 39px #e6e6e6,-40px 40px #e6e6e6,-41px 41px #e6e6e6,-42px 42px #e6e6e6,-43px 43px #e6e6e6,-44px 44px #e6e6e6,-45px 45px #e6e6e6,-46px 46px #e6e6e6,-47px 47px #e6e6e6,-48px 48px #e6e6e6,-49px 49px #e6e6e6,-50px 50px #e6e6e6,-51px 51px #e6e6e6,-52px 52px #e6e6e6,-53px 53px #e6e6e6,-54px 54px #e6e6e6,-55px 55px #e6e6e6,-56px 56px #e6e6e6,-57px 57px #e6e6e6,-58px 58px #e6e6e6,-59px 59px #e6e6e6,-60px 60px #e6e6e6,-61px 61px #e6e6e6,-62px 62px #e6e6e6,-63px 63px #e6e6e6,-64px 64px #e6e6e6,-65px 65px #e6e6e6,-66px 66px #e6e6e6,-67px 67px #e6e6e6,-68px 68px #e6e6e6,-69px 69px #e6e6e6,-70px 70px #e6e6e6,-71px 71px #e6e6e6,-72px 72px #e6e6e6,-73px 73px #e6e6e6,-74px 74px #e6e6e6,-75px 75px #e6e6e6,-76px 76px #e6e6e6,-77px 77px #e6e6e6,-78px 78px #e6e6e6,-79px 79px #e6e6e6,-80px 80px #e6e6e6,-81px 81px #e6e6e6,-82px 82px #e6e6e6,-83px 83px #e6e6e6,-84px 84px #e6e6e6,-85px 85px #e6e6e6}.button-longshadow-left.button-plain.active,.button-longshadow-left.button-plain.is-active,.button-longshadow-left.button-plain:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left.button-inverse{text-shadow:0 0 #090909,-1px 1px #090909,-2px 2px #090909,-3px 3px #090909,-4px 4px #090909,-5px 5px #090909,-6px 6px #090909,-7px 7px #090909,-8px 8px #090909,-9px 9px #090909,-10px 10px #090909,-11px 11px #090909,-12px 12px #090909,-13px 13px #090909,-14px 14px #090909,-15px 15px #090909,-16px 16px #090909,-17px 17px #090909,-18px 18px #090909,-19px 19px #090909,-20px 20px #090909,-21px 21px #090909,-22px 22px #090909,-23px 23px #090909,-24px 24px #090909,-25px 25px #090909,-26px 26px #090909,-27px 27px #090909,-28px 28px #090909,-29px 29px #090909,-30px 30px #090909,-31px 31px #090909,-32px 32px #090909,-33px 33px #090909,-34px 34px #090909,-35px 35px #090909,-36px 36px #090909,-37px 37px #090909,-38px 38px #090909,-39px 39px #090909,-40px 40px #090909,-41px 41px #090909,-42px 42px #090909,-43px 43px #090909,-44px 44px #090909,-45px 45px #090909,-46px 46px #090909,-47px 47px #090909,-48px 48px #090909,-49px 49px #090909,-50px 50px #090909,-51px 51px #090909,-52px 52px #090909,-53px 53px #090909,-54px 54px #090909,-55px 55px #090909,-56px 56px #090909,-57px 57px #090909,-58px 58px #090909,-59px 59px #090909,-60px 60px #090909,-61px 61px #090909,-62px 62px #090909,-63px 63px #090909,-64px 64px #090909,-65px 65px #090909,-66px 66px #090909,-67px 67px #090909,-68px 68px #090909,-69px 69px #090909,-70px 70px #090909,-71px 71px #090909,-72px 72px #090909,-73px 73px #090909,-74px 74px #090909,-75px 75px #090909,-76px 76px #090909,-77px 77px #090909,-78px 78px #090909,-79px 79px #090909,-80px 80px #090909,-81px 81px #090909,-82px 82px #090909,-83px 83px #090909,-84px 84px #090909,-85px 85px #090909}.button-longshadow-left.button-inverse.active,.button-longshadow-left.button-inverse.is-active,.button-longshadow-left.button-inverse:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left.button-action{text-shadow:0 0 #8bc220,-1px 1px #8bc220,-2px 2px #8bc220,-3px 3px #8bc220,-4px 4px #8bc220,-5px 5px #8bc220,-6px 6px #8bc220,-7px 7px #8bc220,-8px 8px #8bc220,-9px 9px #8bc220,-10px 10px #8bc220,-11px 11px #8bc220,-12px 12px #8bc220,-13px 13px #8bc220,-14px 14px #8bc220,-15px 15px #8bc220,-16px 16px #8bc220,-17px 17px #8bc220,-18px 18px #8bc220,-19px 19px #8bc220,-20px 20px #8bc220,-21px 21px #8bc220,-22px 22px #8bc220,-23px 23px #8bc220,-24px 24px #8bc220,-25px 25px #8bc220,-26px 26px #8bc220,-27px 27px #8bc220,-28px 28px #8bc220,-29px 29px #8bc220,-30px 30px #8bc220,-31px 31px #8bc220,-32px 32px #8bc220,-33px 33px #8bc220,-34px 34px #8bc220,-35px 35px #8bc220,-36px 36px #8bc220,-37px 37px #8bc220,-38px 38px #8bc220,-39px 39px #8bc220,-40px 40px #8bc220,-41px 41px #8bc220,-42px 42px #8bc220,-43px 43px #8bc220,-44px 44px #8bc220,-45px 45px #8bc220,-46px 46px #8bc220,-47px 47px #8bc220,-48px 48px #8bc220,-49px 49px #8bc220,-50px 50px #8bc220,-51px 51px #8bc220,-52px 52px #8bc220,-53px 53px #8bc220,-54px 54px #8bc220,-55px 55px #8bc220,-56px 56px #8bc220,-57px 57px #8bc220,-58px 58px #8bc220,-59px 59px #8bc220,-60px 60px #8bc220,-61px 61px #8bc220,-62px 62px #8bc220,-63px 63px #8bc220,-64px 64px #8bc220,-65px 65px #8bc220,-66px 66px #8bc220,-67px 67px #8bc220,-68px 68px #8bc220,-69px 69px #8bc220,-70px 70px #8bc220,-71px 71px #8bc220,-72px 72px #8bc220,-73px 73px #8bc220,-74px 74px #8bc220,-75px 75px #8bc220,-76px 76px #8bc220,-77px 77px #8bc220,-78px 78px #8bc220,-79px 79px #8bc220,-80px 80px #8bc220,-81px 81px #8bc220,-82px 82px #8bc220,-83px 83px #8bc220,-84px 84px #8bc220,-85px 85px #8bc220}.button-longshadow-left.button-action.active,.button-longshadow-left.button-action.is-active,.button-longshadow-left.button-action:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left.button-highlight{text-shadow:0 0 #e59501,-1px 1px #e59501,-2px 2px #e59501,-3px 3px #e59501,-4px 4px #e59501,-5px 5px #e59501,-6px 6px #e59501,-7px 7px #e59501,-8px 8px #e59501,-9px 9px #e59501,-10px 10px #e59501,-11px 11px #e59501,-12px 12px #e59501,-13px 13px #e59501,-14px 14px #e59501,-15px 15px #e59501,-16px 16px #e59501,-17px 17px #e59501,-18px 18px #e59501,-19px 19px #e59501,-20px 20px #e59501,-21px 21px #e59501,-22px 22px #e59501,-23px 23px #e59501,-24px 24px #e59501,-25px 25px #e59501,-26px 26px #e59501,-27px 27px #e59501,-28px 28px #e59501,-29px 29px #e59501,-30px 30px #e59501,-31px 31px #e59501,-32px 32px #e59501,-33px 33px #e59501,-34px 34px #e59501,-35px 35px #e59501,-36px 36px #e59501,-37px 37px #e59501,-38px 38px #e59501,-39px 39px #e59501,-40px 40px #e59501,-41px 41px #e59501,-42px 42px #e59501,-43px 43px #e59501,-44px 44px #e59501,-45px 45px #e59501,-46px 46px #e59501,-47px 47px #e59501,-48px 48px #e59501,-49px 49px #e59501,-50px 50px #e59501,-51px 51px #e59501,-52px 52px #e59501,-53px 53px #e59501,-54px 54px #e59501,-55px 55px #e59501,-56px 56px #e59501,-57px 57px #e59501,-58px 58px #e59501,-59px 59px #e59501,-60px 60px #e59501,-61px 61px #e59501,-62px 62px #e59501,-63px 63px #e59501,-64px 64px #e59501,-65px 65px #e59501,-66px 66px #e59501,-67px 67px #e59501,-68px 68px #e59501,-69px 69px #e59501,-70px 70px #e59501,-71px 71px #e59501,-72px 72px #e59501,-73px 73px #e59501,-74px 74px #e59501,-75px 75px #e59501,-76px 76px #e59501,-77px 77px #e59501,-78px 78px #e59501,-79px 79px #e59501,-80px 80px #e59501,-81px 81px #e59501,-82px 82px #e59501,-83px 83px #e59501,-84px 84px #e59501,-85px 85px #e59501}.button-longshadow-left.button-highlight.active,.button-longshadow-left.button-highlight.is-active,.button-longshadow-left.button-highlight:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left.button-caution{text-shadow:0 0 #ff1022,-1px 1px #ff1022,-2px 2px #ff1022,-3px 3px #ff1022,-4px 4px #ff1022,-5px 5px #ff1022,-6px 6px #ff1022,-7px 7px #ff1022,-8px 8px #ff1022,-9px 9px #ff1022,-10px 10px #ff1022,-11px 11px #ff1022,-12px 12px #ff1022,-13px 13px #ff1022,-14px 14px #ff1022,-15px 15px #ff1022,-16px 16px #ff1022,-17px 17px #ff1022,-18px 18px #ff1022,-19px 19px #ff1022,-20px 20px #ff1022,-21px 21px #ff1022,-22px 22px #ff1022,-23px 23px #ff1022,-24px 24px #ff1022,-25px 25px #ff1022,-26px 26px #ff1022,-27px 27px #ff1022,-28px 28px #ff1022,-29px 29px #ff1022,-30px 30px #ff1022,-31px 31px #ff1022,-32px 32px #ff1022,-33px 33px #ff1022,-34px 34px #ff1022,-35px 35px #ff1022,-36px 36px #ff1022,-37px 37px #ff1022,-38px 38px #ff1022,-39px 39px #ff1022,-40px 40px #ff1022,-41px 41px #ff1022,-42px 42px #ff1022,-43px 43px #ff1022,-44px 44px #ff1022,-45px 45px #ff1022,-46px 46px #ff1022,-47px 47px #ff1022,-48px 48px #ff1022,-49px 49px #ff1022,-50px 50px #ff1022,-51px 51px #ff1022,-52px 52px #ff1022,-53px 53px #ff1022,-54px 54px #ff1022,-55px 55px #ff1022,-56px 56px #ff1022,-57px 57px #ff1022,-58px 58px #ff1022,-59px 59px #ff1022,-60px 60px #ff1022,-61px 61px #ff1022,-62px 62px #ff1022,-63px 63px #ff1022,-64px 64px #ff1022,-65px 65px #ff1022,-66px 66px #ff1022,-67px 67px #ff1022,-68px 68px #ff1022,-69px 69px #ff1022,-70px 70px #ff1022,-71px 71px #ff1022,-72px 72px #ff1022,-73px 73px #ff1022,-74px 74px #ff1022,-75px 75px #ff1022,-76px 76px #ff1022,-77px 77px #ff1022,-78px 78px #ff1022,-79px 79px #ff1022,-80px 80px #ff1022,-81px 81px #ff1022,-82px 82px #ff1022,-83px 83px #ff1022,-84px 84px #ff1022,-85px 85px #ff1022}.button-longshadow-left.button-caution.active,.button-longshadow-left.button-caution.is-active,.button-longshadow-left.button-caution:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-longshadow-left.button-royal{text-shadow:0 0 #5246e2,-1px 1px #5246e2,-2px 2px #5246e2,-3px 3px #5246e2,-4px 4px #5246e2,-5px 5px #5246e2,-6px 6px #5246e2,-7px 7px #5246e2,-8px 8px #5246e2,-9px 9px #5246e2,-10px 10px #5246e2,-11px 11px #5246e2,-12px 12px #5246e2,-13px 13px #5246e2,-14px 14px #5246e2,-15px 15px #5246e2,-16px 16px #5246e2,-17px 17px #5246e2,-18px 18px #5246e2,-19px 19px #5246e2,-20px 20px #5246e2,-21px 21px #5246e2,-22px 22px #5246e2,-23px 23px #5246e2,-24px 24px #5246e2,-25px 25px #5246e2,-26px 26px #5246e2,-27px 27px #5246e2,-28px 28px #5246e2,-29px 29px #5246e2,-30px 30px #5246e2,-31px 31px #5246e2,-32px 32px #5246e2,-33px 33px #5246e2,-34px 34px #5246e2,-35px 35px #5246e2,-36px 36px #5246e2,-37px 37px #5246e2,-38px 38px #5246e2,-39px 39px #5246e2,-40px 40px #5246e2,-41px 41px #5246e2,-42px 42px #5246e2,-43px 43px #5246e2,-44px 44px #5246e2,-45px 45px #5246e2,-46px 46px #5246e2,-47px 47px #5246e2,-48px 48px #5246e2,-49px 49px #5246e2,-50px 50px #5246e2,-51px 51px #5246e2,-52px 52px #5246e2,-53px 53px #5246e2,-54px 54px #5246e2,-55px 55px #5246e2,-56px 56px #5246e2,-57px 57px #5246e2,-58px 58px #5246e2,-59px 59px #5246e2,-60px 60px #5246e2,-61px 61px #5246e2,-62px 62px #5246e2,-63px 63px #5246e2,-64px 64px #5246e2,-65px 65px #5246e2,-66px 66px #5246e2,-67px 67px #5246e2,-68px 68px #5246e2,-69px 69px #5246e2,-70px 70px #5246e2,-71px 71px #5246e2,-72px 72px #5246e2,-73px 73px #5246e2,-74px 74px #5246e2,-75px 75px #5246e2,-76px 76px #5246e2,-77px 77px #5246e2,-78px 78px #5246e2,-79px 79px #5246e2,-80px 80px #5246e2,-81px 81px #5246e2,-82px 82px #5246e2,-83px 83px #5246e2,-84px 84px #5246e2,-85px 85px #5246e2}.button-longshadow-left.button-royal.active,.button-longshadow-left.button-royal.is-active,.button-longshadow-left.button-royal:active{text-shadow:0 1px 0 rgba(255,255,255,.4)}.button-giant{font-size:28px;height:70px;line-height:70px;padding:0 70px}.button-jumbo{font-size:24px;height:60px;line-height:60px;padding:0 60px}.button-large{font-size:20px;height:50px;line-height:50px;padding:0 50px}.button-normal{font-size:16px;height:40px;line-height:40px;padding:0 40px}.button-small{font-size:12px;height:30px;line-height:30px;padding:0 30px}.button-tiny{font-size:9.6px;height:24px;line-height:24px;padding:0 24px}
.exitok{background-color:#e74c3c;}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>倒计时</title>
<style>
body
{
background-color: #e3fdfd;
color: #71c9ce;
text-align: center;
}
#timer
{
font-size: 200px;
}
input[type="text"]
{
padding: 8px;
margin: 5px;
border: 1px solid #ccc;
border-radius: 5px;
}
#timer
{
font-size: 200px;
}
#modifyContainer
{
position: absolute;
top: 10px;
right: 10px;
text-align: right;
}
#modifyButton
{
font-family: 'Google Sans';
margin-left: 5px;
}
#startButton
{
font-family: 'Google Sans';
}
#stopButton
{
font-family: 'Google Sans';
}
#renewButton
{
font-family: 'Google Sans';
}
button[disabled]
{
background-color: #ccc;
cursor: not-allowed;
}
button[disabled] span
{
color: #666;
}
@font-face
{
font-family: 'Google Sans';
font-style: normal;
font-weight: 200;
src: url('./fonts/GoogleSans-Regular.ttf') format('truetype');
}
#normal-text
{
font-family: 'Google Sans', Arial;
line-height: 1.0;
}
#status
{
font-family: 'Google Sans', Arial;
}
input[type="text"]
{
padding: 5px;
margin: 5px;
border: 1px solid #ccc;
border-radius: 5px;
font-family: 'Google Sans', Arial;
font-size: 15px;
width: 160px;
height: 25px;
}
#language-switch {
font-family: 'Google Sans', Arial;
position: fixed;
top: 10px;
left: 10px;
}
/* Style for language options */
#language-options {
font-family: 'Google Sans', Arial;
display: none;
position: fixed;
top: 50px;
left: 10px;
background-color: #71c9ce;
border: 1px solid #A2DFD0;
border-radius: 5px;
padding: 5px;
width: 140px;
}
#language-options a {
display: block;
padding: 5px;
text-decoration: none;
color: #333;
}
#language-options a:hover {
background-color: #A2DFD0;
}
#title
{
font-family: 'Google Sans', Arial;
}
</style>
</head>
<body>
<h1 id="title">倒计时</h1>
<font face="Courier New"><h1 id="timer" style="color: rgb(113, 201, 206);">05:00.000</h1></font>
<div id="modifyContainer">
<input type="text" id="minuteInput" placeholder="分钟(默认 5)" oninput="validateInput2(event)">
<input type="text" id="secondInput" placeholder="秒(默认 0)" oninput="validateInput2(event)">
<input type="text" id="millisecondInput" placeholder="毫秒(默认 0)" oninput="validateInput3(event)">
<button id="modifyButton" onclick="modifyTimer()" class="button button-glow button-rounded button-primary">保存</button>
</div>
<button id="language-switch" class="button button-glow button-rounded button-primary">Language</button>
<!-- Language options -->
<div id="language-options">
<a href="#" id="english"><font color="white">English</font></a>
<a href="#" id="chinese"><font color="white">简体中文</font></a>
</div>
<h1 id="status" style="color: rgb(113, 201, 206);">未开始计时</h1>
<button id="renewButton" onclick="init()" class="button button-glow button-rounded button-primary">重置计时器</button>
<button id="startButton" onclick="go()" class="button button-glow button-rounded button-primary">开始计时</button>
<button id="stopButton" onclick="stop()" class="button button-glow button-rounded button-primary" disabled="">停止计时</button>
<h2 id="normal-text">Made by</h2>
<h3 id="normal-text">CodingOIer (<a href="mailto:wanghongtiancodingoier@outlook.com"><font color="#71c9ce">wanghongtiancodingoier@outlook.com</font></a>)</h3>
<h3 id="normal-text">nr0728 (<a href="mailto:oier0728@gmail.com"><font color="#71c9ce">oier0728@gmail.com</font></a>)</h3>
<h2 id="normal-text">Welcome to visit</h2>
<h3 id="normal-text"><a href="https://github.com/CodingOIer/5-Timer"><font color="#71c9ce">CodingOIer's GitHub repository</font></a> and <a href="https://github.com/nr0728/timer"><font color="#71c9ce">nr0728's GitHub repository</font></a></h3>
<h4 id="normal-text">有 bug?使用暂无发现 bug 的<a href="https://nr0728.github.io/timer/old.html"><font color="#71c9ce">旧版</font></a></h4>
<script>
let nowlang='en';
var langText = {
'en': {
'倒计时': 'Countdown Timer',
'未开始计时': 'Not Started',
'分钟(默认 5)': 'Minutes (Default 5)',
'秒(默认 0)': 'Seconds (Default 0)',
'毫秒(默认 0)': 'Milliseconds (Default 0)',
'有 bug?使用暂无发现 bug 的': 'Got a bug? Use a version with no bugs found yet: ',
'旧版': 'Click here',
'开始计时': 'Start Timing',
'重置计时器': 'Reset Timer',
'停止计时': 'Stop Timing',
'保存': 'Save',
'正在计时': 'Now Timing',
'超时': 'Time Out'
},
'zh': {
'Countdown Timer': '倒计时',
'Not Started': '未开始计时',
'Minutes (Default 5)': '分钟(默认 5)',
'Seconds (Default 0)': '秒(默认 0)',
'Milliseconds (Default 0)': '毫秒(默认 0)',
'Got a bug? Use a version with no bugs found yet: ': '有 bug?使用暂无发现 bug 的',
'Click here': '旧版',
'Start Timing': '开始计时',
'Reset Timer': '重置计时器',
'Stop Timing': '停止计时',
'Save': '保存',
'Now Timing': '正在计时',
'Time Out': '超时',
}
};
function translatePage(language) {
// 获取当前语言对应的文本对象
var currentLangText = langText[language];
// 递归函数,用于翻译节点中的文本
function translateNode(node) {
if (node.nodeType === Node.TEXT_NODE) {
// 如果是文本节点,检查文本内容是否包含关键字
Object.keys(currentLangText).forEach(function(key) {
if (node.textContent.includes(key)) {
node.textContent = node.textContent.replace(key, currentLangText[key]);
}
});
} else if (node.nodeType === Node.ELEMENT_NODE) {
// 如果是元素节点
if (node.tagName.toLowerCase() === 'input') {
// 如果是输入框,检查 placeholder 是否包含关键字
var placeholder = node.getAttribute('placeholder');
if (placeholder) {
Object.keys(currentLangText).forEach(function(key) {
if (placeholder.includes(key)) {
node.setAttribute('placeholder', placeholder.replace(key, currentLangText[key]));
}
});
}
} else if (node.childNodes && node.childNodes.length > 0) {
// 递归处理子节点
for (var i = 0; i < node.childNodes.length; i++) {
translateNode(node.childNodes[i]);
}
}
}
}
// 遍历页面中的所有节点
translateNode(document.body);
}
setInterval(function() {
translatePage(nowlang);
}, 10);
// JavaScript to handle language switching
document.addEventListener('DOMContentLoaded', function() {
var languageSwitch = document.getElementById('language-switch');
var languageOptions = document.getElementById('language-options');
var englishOption = document.getElementById('english');
var chineseOption = document.getElementById('chinese');
// Check user's browser language preference
var userLanguage = navigator.language || navigator.userLanguage;
var defaultLanguage = userLanguage.startsWith('zh') ? 'zh' : 'en';
// Set initial language
nowlang = defaultLanguage;
languageOptions.style.display = 'none';
// Toggle language options display
languageSwitch.addEventListener('click', function() {
if (languageOptions.style.display === 'none') {
languageOptions.style.display = 'block';
} else {
languageOptions.style.display = 'none';
}
});
// Handle language option clicks
englishOption.addEventListener('click', function(event) {
event.preventDefault();
nowlang = 'en';
languageOptions.style.display = 'none';
});
chineseOption.addEventListener('click', function(event) {
event.preventDefault();
nowlang = 'zh';
languageOptions.style.display = 'none';
});
});
let min=5;
let second=0;
let millisecond=0;
let totalMillisecond=300000;
let running=false;
let startTime=0;
let isSetStartTime=0;
let setStartTime=0;
let t1=[5,0,0];
let timeOuted=0;
function sleep(milliseconds)
{
return new Promise(resolve=>setTimeout(resolve,milliseconds));
}
async function dynamicUpdateDisplayIncreasing(now1,now2,now3,goto1,goto2,goto3)
{
let tt1=now1,tt2=now2,tt3=now3,cnt=0;
while(tt1!=goto1||tt2!=goto2||tt3!=goto3)
{
// console.log([tt1,tt2,tt3]);
++tt3;
if(tt3>999) tt3=0,++tt2;
if(tt2>59) tt2=0,++tt1;
++cnt;
}
let ocnt=cnt;
tt1=now1,tt2=now2,tt3=now3,cnt=Math.floor(cnt/4000)*200,cntt=0;
if(cnt<1e-5) cnt=Math.floor(ocnt/10);
while(tt1!=goto1||tt2!=goto2||tt3!=goto3)
{
++tt3;
if(tt3>999) tt3=0,++tt2;
if(tt2>59) tt2=0,++tt1;
++cntt;
// console.log([cnt,cntt]);
if(Math.abs(cntt-cnt)<1e-5)
{
cntt=0;
cntt=0;
await sleep(1);
updateInitDisplay(tt1,tt2,tt3);
}
}
await sleep(1);
updateInitDisplay(goto1,goto2,goto3);
}
async function dynamicUpdateDisplayDecreasing(now1,now2,now3,goto1,goto2,goto3)
{
let tt1=now1,tt2=now2,tt3=now3,cnt=0;
while(tt1!=goto1||tt2!=goto2||tt3!=goto3)
{
// console.log([tt1,tt2,tt3]);
--tt3;
if(tt3<0) tt3=999,--tt2;
if(tt2<0) tt2=59,--tt1;
++cnt;
}
let ocnt=cnt;
tt1=now1,tt2=now2,tt3=now3,cnt=Math.floor(cnt/4000)*200,cntt=0;
if(cnt<1e-5) cnt=Math.floor(ocnt/10);
while(tt1!=goto1||tt2!=goto2||tt3!=goto3)
{
--tt3;
if(tt3<0) tt3=999,--tt2;
if(tt2<0) tt2=59,--tt1;
++cntt;
// console.log([cnt,cntt]);
if(Math.abs(cntt-cnt)<1e-5)
{
cntt=0;
cntt=0;
await sleep(1);
updateInitDisplay(tt1,tt2,tt3);
}
}
await sleep(1);
updateInitDisplay(goto1,goto2,goto3);
}
async function setText(text)
{
await sleep(1);
document.getElementById('status').innerText=text;
}
async function init()
{
document.getElementById('startButton').disabled=true;
document.getElementById('stopButton').disabled=true;
document.getElementById('renewButton').disabled=true;
setText('未开始计时');
if(timeOuted)
{
dynamicUpdateDisplayIncreasing(0,0,0,min,second,millisecond);
}
else
{
dynamicUpdateDisplayIncreasing(t1[0],t1[1],t1[2],min,second,millisecond);
}
document.getElementById('modifyButton').disabled=false;
document.getElementById('minuteInput').disabled=false;
document.getElementById('secondInput').disabled=false;
document.getElementById('millisecondInput').disabled=false;
document.getElementById('timer').style.color='#71c9ce';
startTime=Number(new Date());
isSetStartTime=0;
document.getElementById('status').style.color='#71c9ce';
FirstDisplay();
document.getElementById('startButton').disabled=false;
stop();
}
function timeLower(now1,now2,now3,goto1,goto2,goto3)
{
if(now1<goto1) return 1;
if(now1>goto1) return 0;
if(now2<goto2) return 1;
if(now2>goto2) return 0;
if(now3<goto3) return 1;
return 0;
}
function modifyTimer()
{
let nmin=document.getElementById('minuteInput').value;
let nsecond=document.getElementById('secondInput').value;
let nmillisecond=document.getElementById('millisecondInput').value;
if(nmin=="") {nmin="5";}
if(nsecond=="") {nsecond="0";}
if(nmillisecond=="") {nmillisecond="0";}
nmin=parseInt(nmin);
nsecond=parseInt(nsecond);
nmillisecond=parseInt(nmillisecond);
if(nsecond<0||nsecond>59)
{
if(nowlang=='cn') alert('秒数只能介于 0 和 59 之间!');
else alert('Seconds can only be between 0 and 59!');
return;
}
min=nmin;
second=nsecond;
millisecond=nmillisecond;
totalMillisecond=min*60000+second*1000+millisecond;
let originalText=document.getElementById('status').innerText;
if(timeLower(t1[0],t1[1],t1[2],min,second,millisecond)) dynamicUpdateDisplayIncreasing(t1[0],t1[1],t1[2],min,second,millisecond);
else dynamicUpdateDisplayDecreasing(t1[0],t1[1],t1[2],min,second,millisecond);
t1=[min,second,millisecond];
document.getElementById('status').innerText=originalText;
// FirstDisplay();
}
function getTwo(x)
{
return x<10?'0'+x:x;
}
function FirstDisplay()
{
document.getElementById('timer').innerText=getTwo(min)+':'+getTwo(second)+'.'+millisecond.toString().padStart(3,'0');
}
function updateTimerDisplay()
{
let now=Number(new Date());
let elapsedMilliseconds=now-startTime;
if(elapsedMilliseconds>totalMillisecond)
{
timeOuted=1;
elapsedMilliseconds=totalMillisecond*2-elapsedMilliseconds;
if(document.getElementById('timer').style.color!=='#e74c3c'&&document.getElementById('timer').style.color!=='rgb(231, 76, 60)')
{
console.log(document.getElementById('timer').style.color);
document.getElementById('timer').style.color='#e74c3c';
document.getElementById('status').innerText='超时';
document.getElementById('status').style.color='#e74c3c';
}
}
else
{
timeOuted=0;
document.getElementById('timer').style.color='#71c9ce';
}
const remainingMilliseconds=totalMillisecond-elapsedMilliseconds;
const remainingMinutes=Math.floor(remainingMilliseconds/(60*1000));
const remainingSeconds=Math.floor((remainingMilliseconds%(60*1000))/1000);
const remainingMillisecondsToShow=remainingMilliseconds%1000;
console.log(remainingMinutes);
document.getElementById('timer').innerText=getTwo(remainingMinutes)+':'+getTwo(remainingSeconds)+'.'+remainingMillisecondsToShow.toString().padStart(3,'0');
return [remainingMinutes,remainingSeconds,remainingMillisecondsToShow];
}
function updateInitDisplay(remainingMinutes,remainingSeconds,remainingMillisecondsToShow)
{
document.getElementById('timer').innerText=getTwo(remainingMinutes)+':'+getTwo(remainingSeconds)+'.'+remainingMillisecondsToShow.toString().padStart(3,'0');
}
const go=()=>
{
document.getElementById('renewButton').disabled=true;
document.getElementById('stopButton').disabled=false;
running=true;
document.getElementById('startButton').disabled=true;
document.getElementById('modifyButton').disabled=true;
document.getElementById('status').innerText='正在计时';
document.getElementById('status').style.color='#71c9ce';
document.getElementById('minuteInput').disabled=true;
document.getElementById('secondInput').disabled=true;
document.getElementById('millisecondInput').disabled=true;
if(isSetStartTime)
{
startTime+=Number(new Date())-setStartTime;
}
else
{
startTime=Number(new Date());
}
const timerInterval=setInterval(()=>
{
if(!running)
{
clearInterval(timerInterval);
return;
}
updateTimerDisplay();
},5);
}
function stop()
{
running=false;
isSetStartTime=1;
setStartTime=Number(new Date());
t1=updateTimerDisplay();
document.getElementById('status').innerText='停止计时';
document.getElementById('status').style.color='#71c9ce';
document.getElementById('startButton').disabled=false;
document.getElementById('stopButton').disabled=true;
document.getElementById('renewButton').disabled=false;
}
document.getElementById('stopButton').disabled=true;
function validateInput2(event)
{
if(!/^\d{0,2}$/.test(event.target.value)) event.target.value=event.target.value.replace(/[^\d]/g,'').substring(0,2);
}
function validateInput3(event)
{
if(!/^\d{0,3}$/.test(event.target.value)) event.target.value=event.target.value.replace(/[^\d]/g,'').substring(0,3);
}
</script>
</body>
</html>