anytime-js-rails 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,777 @@
1
+ /*****************************************************************************
2
+ * FILE: anytime.css - The Any+Time(TM) JavaScript Library (stylesheet)
3
+ *
4
+ * VERSION: 4.1112L
5
+ *
6
+ * Copyright 2008-2012 Andrew M. Andrews III (www.AMA3.com). Some Rights
7
+ * Reserved. This work licensed under the Creative Commons Attribution-
8
+ * Noncommercial-Share Alike 3.0 Unported License except in jurisdicitons
9
+ * for which the license has been ported by Creative Commons International,
10
+ * where the work is licensed under the applicable ported license instead.
11
+ * For a copy of the unported license, visit
12
+ * http://creativecommons.org/licenses/by-nc-sa/3.0/
13
+ * or send a letter to Creative Commons, 171 Second Street, Suite 300,
14
+ * San Francisco, California, 94105, USA. For ported versions of the
15
+ * license, visit http://creativecommons.org/international/
16
+ *
17
+ * Alternative licensing arrangements may be made by contacting the
18
+ * author at http://www.AMA3.com/contact/
19
+ *
20
+ * This file provides default styling for the Any+Time JavaScript Library's
21
+ * calendar widget. The styles within can be overridden to customize the
22
+ * picker's appearance for a particular platform. jQuery UI styles (such
23
+ * as those created by jQuery ThemeRoller) will override the styles in this
24
+ * stylesheet.
25
+ *
26
+ * These styles have been tested (but not extensively) on Windows Vista in
27
+ * Internet Explorer 8.0, Firefox 3.0, Opera 10.10 and Safari 4.0. Minor
28
+ * variations in IE older versions of IE are to be expected, due to its
29
+ * broken box model. Please report any other problems to the author via
30
+ * the URL above.
31
+ *
32
+ * Any+Time is a trademark of Andrew M. Andrews III.
33
+ ****************************************************************************/
34
+
35
+ /*
36
+ * The following styles ascertain that the types of elements used by
37
+ * our picker have reasonable styles, especially font, font-size,
38
+ * list-style-type, margin and padding.
39
+ */
40
+
41
+ .AnyTime-pkr *
42
+ {
43
+ border:0;
44
+ font: inherit;
45
+ font-size: x-small;
46
+ font-style:normal;
47
+ font-weight:normal;
48
+ list-style-type:none;
49
+ margin:0;
50
+ padding:0;
51
+ white-space: nowrap;
52
+ }
53
+
54
+ /*
55
+ * .AnyTime-win simulates a "window" that might be a popup or inline.
56
+ * Styles should include background-color and border. A window should
57
+ * be sized according to its contents; therefore, width and height
58
+ * should NOT be specified.
59
+ */
60
+
61
+ div.AnyTime-win
62
+ {
63
+ background-color:#F0F0F1;
64
+ border:3px solid #C0C0C0;
65
+ font:normal normal normal xx-small/normal sans-serif;
66
+ padding-bottom:0.2em;
67
+ -moz-border-radius:6px;
68
+ -webkit-border-radius:6px;
69
+ }
70
+
71
+ /*
72
+ * .AnyTime-pkr is the Date/Time picker, inserted into the page immediately
73
+ * after the input (text field) to which it corresponds. The picker
74
+ * attempts to size itself automatically based on its format fields;
75
+ * therefore, do NOT set width or height. This is empty by default,
76
+ * because .AnyTime-win styles provide consistent window appearance.
77
+ */
78
+
79
+ .AnyTime-pkr
80
+ {
81
+ }
82
+
83
+ /*
84
+ * .AnyTime-cloak covers an AnyTime-pkr whenever an AnyTime-yr-selector is placed over
85
+ * it. The picker cannot be accessed until the AnyTime-yr-selector has been
86
+ * dismissed (possibly by clicking the AnyTime-cloak). The style usually
87
+ * includes a background-color and opacity (and filter for MSIE opacity).
88
+ */
89
+
90
+ .AnyTime-pkr .AnyTime-cloak
91
+ {
92
+ background-color:#D7D7D7;
93
+ opacity:0.7;
94
+ filter:alpha(opacity=70);
95
+ }
96
+
97
+ /*
98
+ * .AnyTime-hdr is the title bar at the top of a "window." In addition to
99
+ * the title label, the title bar for popup (non-inline) pickers also
100
+ * contains .AnyTime-x-btn.
101
+ */
102
+
103
+ .AnyTime-pkr .AnyTime-hdr
104
+ {
105
+ background-color:#D0D0D1;
106
+ color:#606062;
107
+ font-family:Arial,Helvetica,sans-serif;
108
+ font-size:medium;
109
+ font-weight:normal;
110
+ height:1em;
111
+ margin:0;
112
+ padding:0 0 0.4em 0;
113
+ text-align:center;
114
+ -moz-border-radius:2px;
115
+ -webkit-border-radius:2px;
116
+ }
117
+
118
+ /*
119
+ * .AnyTime-x-btn is a pseudo-button that, when clicked, causes the entire
120
+ * picker to disappear (the picker also disappears if the user clicks
121
+ * almost anywhere off of it, or presses ESC). This is designed to have,
122
+ * at minumum, a border and float:right.
123
+ */
124
+
125
+ .AnyTime-pkr .AnyTime-x-btn
126
+ {
127
+ background-color:#FCFCFF;
128
+ border:1px solid #F99;
129
+ color:#FF9F9F;
130
+ cursor:default;
131
+ float:right;
132
+ margin:0.3em;
133
+ text-align:center;
134
+ width:1.5em;
135
+ -moz-border-radius:0.4em;
136
+ -webkit-border-radius:0.4em;
137
+ }
138
+
139
+ /*
140
+ * .AnyTime-btn is a pseudo-button for selection of a format field value.
141
+ * Both height and float:left should be specified, but width is usually
142
+ * left for different variations to specify (see classes .AnyTime-***-btn).
143
+ */
144
+
145
+ .AnyTime-pkr .AnyTime-btn
146
+ {
147
+ background-color:#FCFCFE;
148
+ border:1px solid #999;
149
+ color:#606062;
150
+ cursor:default;
151
+ float:left;
152
+ font-family:Arial,Helvetica,sans-serif;
153
+ height:1.5em;
154
+ margin-bottom:1px;
155
+ margin-right:1px;
156
+ padding-top:0.1em;
157
+ -moz-border-radius:0.4em;
158
+ -webkit-border-radius:0.4em;
159
+ }
160
+
161
+ /*
162
+ * .AnyTime-body contains everything in thee picker except the title bar.
163
+ * Because the picker attempts to size itself automatically based on
164
+ * its format fields, do not width or height.
165
+ */
166
+
167
+ .AnyTime-pkr .AnyTime-body
168
+ {
169
+ padding:0.5em;
170
+ }
171
+
172
+ /*
173
+ * .AnyTime-date contains all content (labels and pseudo-buttons) for selecting
174
+ * a date (or part thereof). It is designed to be float:left and should
175
+ * have a small amount of paddding.
176
+ */
177
+
178
+ .AnyTime-pkr .AnyTime-date
179
+ {
180
+ float:left;
181
+ padding:0 0.5em;
182
+ }
183
+
184
+ /*
185
+ * .AnyTime-lbl headings appear before each group of pseudo-buttons for a
186
+ * particular format field. Each specific label has a class, also.
187
+ * Styles clear:left and height should be specified here.
188
+ */
189
+
190
+ .AnyTime-pkr .AnyTime-lbl
191
+ {
192
+ clear:left;
193
+ color:#606063;
194
+ font-family:Arial,Helvetica,sans-serif;
195
+ font-size:100%;
196
+ font-weight:normal;
197
+ font-style:normal;
198
+ height:1.3em;
199
+ margin:0;
200
+ padding:0;
201
+ text-align:center;
202
+ }
203
+
204
+ .AnyTime-pkr .AnyTime-lbl-yr,
205
+ .AnyTime-pkr .AnyTime-lbl-mon,
206
+ .AnyTime-pkr .AnyTime-lbl-dom,
207
+ .AnyTime-pkr .AnyTime-lbl-hr,
208
+ .AnyTime-pkr .AnyTime-lbl-min,
209
+ .AnyTime-pkr .AnyTime-lbl-sec
210
+ {
211
+ }
212
+
213
+ /*
214
+ * .AnyTime-yrs contains the year-selection pseudo-buttons.
215
+ * A height and width should be specified.
216
+ */
217
+
218
+ .AnyTime-pkr .AnyTime-yrs
219
+ {
220
+ height:2.6em;
221
+ text-align:center;
222
+ width:18.6em;
223
+ }
224
+
225
+ /*
226
+ * Following are classes for the pseudo-buttons within .AnyTime-yrs
227
+ * A width should be specified for each.
228
+ */
229
+
230
+ .AnyTime-pkr .AnyTime-yrs-past-btn
231
+ {
232
+ width:2.7em;
233
+ }
234
+
235
+ .AnyTime-pkr .AnyTime-yr-prior-btn,
236
+ .AnyTime-pkr .AnyTime-yr-cur-btn,
237
+ .AnyTime-pkr .AnyTime-yr-next-btn
238
+ {
239
+ width:3.75em;
240
+ }
241
+
242
+ .AnyTime-pkr .AnyTime-yrs-ahead-btn
243
+ {
244
+ width:2.7em;
245
+ }
246
+
247
+ /*
248
+ * .AnyTime-mons
249
+ * .AnyTime-mons contains the month-selection pseudo-buttons.
250
+ * A height and width should be specified.
251
+ */
252
+
253
+ .AnyTime-pkr .AnyTime-mons
254
+ {
255
+ height:4.8em;
256
+ text-align:center;
257
+ width:18.8em;
258
+ }
259
+
260
+ /*
261
+ * .AnyTime-mon-btn is for the pseudo-buttons within .AnyTime-mons
262
+ * A width should be specified.
263
+ * Each pseudo-button also has a class of its own.
264
+ */
265
+
266
+ .AnyTime-pkr .AnyTime-mon-btn
267
+ {
268
+ width:2.75em;
269
+ }
270
+
271
+ .AnyTime-pkr .AnyTime-mon1-btn,
272
+ .AnyTime-pkr .AnyTime-mon2-btn,
273
+ .AnyTime-pkr .AnyTime-mon3-btn,
274
+ .AnyTime-pkr .AnyTime-mon4-btn,
275
+ .AnyTime-pkr .AnyTime-mon5-btn,
276
+ .AnyTime-pkr .AnyTime-mon6-btn,
277
+ .AnyTime-pkr .AnyTime-mon8-btn,
278
+ .AnyTime-pkr .AnyTime-mon9-btn,
279
+ .AnyTime-pkr .AnyTime-mon10-btn,
280
+ .AnyTime-pkr .AnyTime-mon11-btn,
281
+ .AnyTime-pkr .AnyTime-mon12-btn
282
+ {
283
+ }
284
+
285
+ .AnyTime-pkr .AnyTime-mon7-btn
286
+ {
287
+ clear:left;
288
+ }
289
+
290
+
291
+ /*
292
+ * .AnyTime-dom-table is the table containing days-of-the-month.
293
+ * .AnyTime-dom-head is the table heading, containing days-of-the-week labels.
294
+ * tr.AnyTime-dow is the row in the heading.
295
+ * td.AnyTime-dow is a column heading; each heading has its own class, also.
296
+ * .AnyTime-dom-body is the table heading, containing days-of-the-week labels.
297
+ * .AnyTime-wk is a table row, containing pseudo-buttons for days.
298
+ * Each week has its own class (.AnyTime-wk***), also.
299
+ */
300
+
301
+ .AnyTime-pkr .AnyTime-dom-table
302
+ {
303
+ background-color:#F0F0F1;
304
+ border:1px solid #E3E3E4;
305
+ border-spacing:1px;
306
+ width:18.6em;
307
+ }
308
+
309
+ .AnyTime-pkr .AnyTime-dom-head
310
+ {
311
+ }
312
+
313
+ .AnyTime-pkr tr.AnyTime-dow
314
+ {
315
+ }
316
+
317
+ .AnyTime-pkr th.AnyTime-dow
318
+ {
319
+ background-color:#C0C0C1;
320
+ color:white;
321
+ font-family:Arial,Helvetica,sans-serif;
322
+ font-size:95%;
323
+ font-weight:normal;
324
+ font-style:normal;
325
+ }
326
+
327
+ .AnyTime-pkr .AnyTime-dow1,
328
+ .AnyTime-pkr .AnyTime-dow2,
329
+ .AnyTime-pkr .AnyTime-dow3,
330
+ .AnyTime-pkr .AnyTime-dow4,
331
+ .AnyTime-pkr .AnyTime-dow5,
332
+ .AnyTime-pkr .AnyTime-dow6,
333
+ .AnyTime-pkr .AnyTime-dow7
334
+ {
335
+ }
336
+
337
+ .AnyTime-pkr .AnyTime-dom-body
338
+ {
339
+ }
340
+
341
+ .AnyTime-pkr .AnyTime-wk
342
+ {
343
+ }
344
+
345
+ .AnyTime-pkr .AnyTime-wk1,
346
+ .AnyTime-pkr .AnyTime-wk2,
347
+ .AnyTime-pkr .AnyTime-wk3,
348
+ .AnyTime-pkr .AnyTime-wk4,
349
+ .AnyTime-pkr .AnyTime-wk5,
350
+ .AnyTime-pkr .AnyTime-wk6
351
+ {
352
+ }
353
+
354
+ /*
355
+ * .AnyTime-dom-btn is a pseudo-button for a day-of-the-month.
356
+ * Styles width, text-align:right and float:none should be specified.
357
+ * .AnyTime-dom-btn-filled is a button containing a specific day-of-the-month.
358
+ * .AnyTime-dom-btn-empty is a button for an empty cell (no day-of-the-month).
359
+ * .AnyTime-dom-btn-empty-above-filled is an empty button above a filled button.
360
+ * .AnyTime-dom-btn-empty-before-filled is empty, left of a filled button.
361
+ * .AnyTime-dom-btn-empty-after-filled is empty, right of a filled button.
362
+ * .AnyTime-dom-btn-empty-below-filled is empty, below a filled button.
363
+ */
364
+
365
+ .AnyTime-pkr .AnyTime-dom-btn
366
+ {
367
+ float:none;
368
+ height:1.7em;
369
+ text-align:right;
370
+ padding:0 0.5em 0 0;
371
+ }
372
+
373
+ .AnyTime-pkr .AnyTime-dom-btn-filled
374
+ {
375
+ }
376
+
377
+ .AnyTime-pkr .AnyTime-dom-btn-empty
378
+ {
379
+ background-color:#F3F3F4;
380
+ border:1px solid #C0C0c1;
381
+ }
382
+
383
+ .AnyTime-pkr .AnyTime-dom-btn-empty-above-filled,
384
+ .AnyTime-pkr .AnyTime-dom-btn-empty-before-filled,
385
+ .AnyTime-pkr .AnyTime-dom-btn-empty-after-filled,
386
+ .AnyTime-pkr .AnyTime-dom-btn-empty-below-filled
387
+ {
388
+ }
389
+
390
+ /*
391
+ * .AnyTime-time contains all content (labels and pseudo-buttons) for selecting
392
+ * a time (or part thereof). It is designed to be float:left and should
393
+ * have a small amount of paddding.
394
+ */
395
+
396
+ .AnyTime-pkr .AnyTime-time
397
+ {
398
+ float:left;
399
+ padding:0 0 0 1em;
400
+ text-align:center;
401
+ }
402
+
403
+ /*
404
+ * .AnyTime-hrs contains two columns (.AnyTime-hrs-am and .AnyTime-hrs-pm) of
405
+ * pseudo-buttons for selecting hours. It is designed to be float:left, have
406
+ * a width and padding. The columns should each have width and float:left.
407
+ */
408
+
409
+ .AnyTime-pkr .AnyTime-hrs
410
+ {
411
+ float:left;
412
+ padding-left:0.5em;
413
+ padding-right:0.5em;
414
+ text-align:center;
415
+ width:7.2em;
416
+ }
417
+
418
+ .AnyTime-pkr .AnyTime-hrs-am,
419
+ .AnyTime-pkr .AnyTime-hrs-pm
420
+ {
421
+ float:left;
422
+ width:3.6em;
423
+ }
424
+
425
+ /*
426
+ * .AnyTime-hr-btn is a pseudo-button for selecting an hour.
427
+ * Style should include width.
428
+ * Each button also has a style of its own.
429
+ */
430
+
431
+ .AnyTime-pkr .AnyTime-hr-btn
432
+ {
433
+ text-align:right;
434
+ padding-right:0.25em;
435
+ width:3em;
436
+ }
437
+
438
+ .AnyTime-pkr .AnyTime-hr0-btn,
439
+ .AnyTime-pkr .AnyTime-hr1-btn,
440
+ .AnyTime-pkr .AnyTime-hr2-btn,
441
+ .AnyTime-pkr .AnyTime-hr3-btn,
442
+ .AnyTime-pkr .AnyTime-hr4-btn,
443
+ .AnyTime-pkr .AnyTime-hr5-btn,
444
+ .AnyTime-pkr .AnyTime-hr6-btn,
445
+ .AnyTime-pkr .AnyTime-hr7-btn,
446
+ .AnyTime-pkr .AnyTime-hr8-btn,
447
+ .AnyTime-pkr .AnyTime-hr9-btn,
448
+ .AnyTime-pkr .AnyTime-hr10-btn,
449
+ .AnyTime-pkr .AnyTime-hr11-btn,
450
+ .AnyTime-pkr .AnyTime-hr12-btn,
451
+ .AnyTime-pkr .AnyTime-hr13-btn,
452
+ .AnyTime-pkr .AnyTime-hr14-btn,
453
+ .AnyTime-pkr .AnyTime-hr15-btn,
454
+ .AnyTime-pkr .AnyTime-hr16-btn,
455
+ .AnyTime-pkr .AnyTime-hr17-btn,
456
+ .AnyTime-pkr .AnyTime-hr18-btn,
457
+ .AnyTime-pkr .AnyTime-hr19-btn,
458
+ .AnyTime-pkr .AnyTime-hr20-btn,
459
+ .AnyTime-pkr .AnyTime-hr21-btn,
460
+ .AnyTime-pkr .AnyTime-hr22-btn,
461
+ .AnyTime-pkr .AnyTime-hr23-btn
462
+ {
463
+ }
464
+
465
+ /*
466
+ * .AnyTime-mins contains two columns (.AnyTime-mins-tens and .AnyTime-mins-ones)
467
+ * of pseudo-buttons for selecting minutes.
468
+ * It is designed to be float:left, have a width and padding.
469
+ * The columns should each have width and float:left.
470
+ */
471
+
472
+ .AnyTime-pkr .AnyTime-mins
473
+ {
474
+ float:left;
475
+ padding-left:0.5em;
476
+ padding-right:0.5em;
477
+ text-align:center;
478
+ width:4.7em;
479
+ }
480
+
481
+ .AnyTime-pkr .AnyTime-mins-tens,
482
+ .AnyTime-pkr .AnyTime-mins-ones
483
+ {
484
+ float:left;
485
+ width:2.3em;
486
+ }
487
+
488
+ /*
489
+ * .AnyTime-min-ten-btn is a button in the .AnyTime-mins-tens column.
490
+ * .AnyTime-min-one-btn is a button in the .AnyTime-ones-tens column.
491
+ * A width should be specified.
492
+ * Each button also has its own style.
493
+ */
494
+
495
+ .AnyTime-pkr .AnyTime-min-ten-btn,
496
+ .AnyTime-pkr .AnyTime-min-one-btn
497
+ {
498
+ float:left;
499
+ text-align:center;
500
+ width:2em;
501
+ }
502
+
503
+ .AnyTime-pkr .AnyTime-min-ten-btn-empty,
504
+ .AnyTime-pkr .AnyTime-min-one-btn-empty
505
+ {
506
+ background-color:#F3F3F4;
507
+ border:1px solid #C0C0c1;
508
+ }
509
+
510
+ .AnyTime-pkr .AnyTime-min00-btn,
511
+ .AnyTime-pkr .AnyTime-min10-btn, /*etc*/
512
+ .AnyTime-pkr .AnyTime-min0-btn,
513
+ .AnyTime-pkr .AnyTime-min1-btn /*etc*/
514
+ {
515
+ }
516
+
517
+ /*
518
+ * .AnyTime-secs contains two columns (.AnyTime-secs-tens and .AnyTime-secs-ones)
519
+ * of pseudo-buttons for selecting seconds.
520
+ * It is designed to be float:left, have a width and padding.
521
+ * The columns should each have width and float:left.
522
+ */
523
+
524
+ .AnyTime-pkr .AnyTime-secs
525
+ {
526
+ float:left;
527
+ padding-left:0.5em;
528
+ padding-right:0.5em;
529
+ text-align:center;
530
+ width:4.7em;
531
+ }
532
+
533
+ .AnyTime-pkr .AnyTime-secs-tens,
534
+ .AnyTime-pkr .AnyTime-secs-ones
535
+ {
536
+ float:left;
537
+ width:2.3em;
538
+ }
539
+
540
+ /*
541
+ * .AnyTime-sec-ten-btn is a button in the .AnyTime-secs-tens column.
542
+ * .AnyTime-sec-one-btn is a button in the .AnyTime-ones-tens column.
543
+ * A width should be specified.
544
+ * Each button also has its own style.
545
+ */
546
+
547
+ .AnyTime-pkr .AnyTime-sec-ten-btn,
548
+ .AnyTime-pkr .AnyTime-sec-one-btn
549
+ {
550
+ float:left;
551
+ text-align:center;
552
+ width:2em;
553
+ }
554
+
555
+ .AnyTime-pkr .AnyTime-sec-ten-btn-empty,
556
+ .AnyTime-pkr .AnyTime-sec-one-btn-empty
557
+ {
558
+ background-color:#F3F3F4;
559
+ border:1px solid #C0C0c1;
560
+ }
561
+
562
+ .AnyTime-pkr .AnyTime-sec00-btn,
563
+ .AnyTime-pkr .AnyTime-sec10-btn, /*etc*/
564
+ .AnyTime-pkr .AnyTime-sec0-btn,
565
+ .AnyTime-pkr .AnyTime-sec1-btn /*etc*/
566
+ {
567
+ }
568
+
569
+
570
+
571
+ /*
572
+ * .AnyTime-offs contains the UTC offset (timezone) selection pseudo-buttons.
573
+ * The container is designed to have clear:left, float:left and padding.
574
+ * The two buttons have their own styles, and .AnyTime-off-select-btn should
575
+ * include a width.
576
+ * The width of the container and the .AnyTime-off-cur-btn should not be
577
+ * specified, as they are computed based on the width of the
578
+ * .AnyTime-off-select-btn and the .AnyTime-time container.
579
+ */
580
+
581
+ .AnyTime-pkr .AnyTime-offs
582
+ {
583
+ clear:left;
584
+ float:left;
585
+ padding-left:0.5em;
586
+ padding-top:0.5em;
587
+ text-align:center;
588
+ }
589
+
590
+ .AnyTime-pkr .AnyTime-off-btn,
591
+ .AnyTime-pkr .AnyTime-off-cur-btn
592
+ {
593
+ }
594
+
595
+ .AnyTime-pkr .AnyTime-off-select-btn
596
+ {
597
+ width:1.5em;
598
+ }
599
+
600
+ /*
601
+ * .AnyTime-yr-selector is an overlay (popup) for selecting a specific year.
602
+ * The picker attempts to size the overlay automatically, based on
603
+ * whether "era" buttons are displayed; therefore, do not set width.
604
+ * AnyTime-hdr-yr-selector is its title bar.
605
+ * AnyTime-body-yr-selector is its body.
606
+ */
607
+
608
+ .AnyTime-pkr .AnyTime-yr-selector
609
+ {
610
+ }
611
+
612
+ .AnyTime-pkr .AnyTime-hdr-yr-selector
613
+ {
614
+ }
615
+
616
+ .AnyTime-pkr .AnyTime-body-yr-selector
617
+ {
618
+ padding:1em;
619
+ }
620
+
621
+ /*
622
+ * .AnyTime-yr-mil is the column of millenium-selector pseudo-buttons.
623
+ * .AnyTime-yr-cent is the column of century-selector pseudo-buttons.
624
+ * .AnyTime-yr-dec is the column of decade-selector pseudo-buttons.
625
+ * .AnyTime-yr-yr is the column of year-selector pseudo-buttons.
626
+ * A width and float:left should be specified for each.
627
+ *
628
+ * .AnyTime-mil-btn is a millenium-selector button.
629
+ * .AnyTime-cent-btn is a century-selector button.
630
+ * .AnyTime-dec-btn is a decade-selector button.
631
+ * .AnyTime-yr-btn is a year-selector button.
632
+ * Each button has its own class, also.
633
+ */
634
+
635
+ .AnyTime-pkr .AnyTime-yr-mil,
636
+ .AnyTime-pkr .AnyTime-yr-cent,
637
+ .AnyTime-pkr .AnyTime-yr-dec,
638
+ .AnyTime-pkr .AnyTime-yr-yr
639
+ {
640
+ float:left;
641
+ width:2.5em;
642
+ }
643
+
644
+ .AnyTime-pkr .AnyTime-mil-btn,
645
+ .AnyTime-pkr .AnyTime-cent-btn,
646
+ .AnyTime-pkr .AnyTime-dec-btn,
647
+ .AnyTime-pkr .AnyTime-yr-btn
648
+ {
649
+ float:left;
650
+ text-align:center;
651
+ width:2em;
652
+ }
653
+
654
+ .AnyTime-pkr .AnyTime-mil0-btn,
655
+ .AnyTime-pkr .AnyTime-mil1-btn, /* etc */
656
+ .AnyTime-pkr .AnyTime-cent0-btn,
657
+ .AnyTime-pkr .AnyTime-cent1-btn, /* etc */
658
+ .AnyTime-pkr .AnyTime-dec0-btn,
659
+ .AnyTime-pkr .AnyTime-dec1-btn, /* etc */
660
+ .AnyTime-pkr .AnyTime-yr0-btn,
661
+ .AnyTime-pkr .AnyTime-yr1-btn /* etc */
662
+ {
663
+ }
664
+
665
+ /*
666
+ * .AnyTime-yr-era contains the column of era-selection pseudo-buttons.
667
+ * A width and float:left should be specified.
668
+ * Each era button has class .AnyTime-era-btn (with width) as well as
669
+ * its own class.
670
+ */
671
+
672
+ .AnyTime-pkr .AnyTime-yr-era
673
+ {
674
+ float:left;
675
+ padding-left:1em;
676
+ width:4.1em;
677
+ }
678
+
679
+ .AnyTime-pkr .AnyTime-era-btn
680
+ {
681
+ text-align:center;
682
+ width:3em;
683
+ }
684
+
685
+ .AnyTime-pkr .AnyTime-bce-btn,
686
+ .AnyTime-pkr .AnyTime-ce-btn
687
+ {
688
+ }
689
+
690
+
691
+ /*
692
+ * .AnyTime-off-selector is an overlay (popup) for selecting a specific year.
693
+ * The picker attempts to size the overlay automatically, based on
694
+ * its contents; therefore, do not set width.
695
+ * .AnyTime-hdr-off-selector is its title bar.
696
+ * .AnyTime-body-off-selector is its body.
697
+ * .AnyTime-off-off is the column of offset-selector pseudo-buttons.
698
+ * .AnyTime-off-off-btn is an offset-selector pseudo-button.
699
+ * .AnyTime-off-off-last-btn is the last offset-selector pseudo-button.
700
+ */
701
+
702
+ .AnyTime-pkr .AnyTime-off-selector
703
+ {
704
+ }
705
+
706
+ .AnyTime-pkr .AnyTime-hdr-off-selector
707
+ {
708
+ }
709
+
710
+ .AnyTime-pkr .AnyTime-body-off-selector
711
+ {
712
+ margin:0.5em;
713
+ }
714
+ .AnyTime-pkr .AnyTime-off-off
715
+ {
716
+ }
717
+
718
+ .AnyTime-pkr .AnyTime-off-off-btn
719
+ {
720
+ clear:left;
721
+ padding-left:1em;
722
+ padding-right:1em;
723
+ text-align:left;
724
+ }
725
+
726
+ .AnyTime-pkr .AnyTime-off-off-last-btn
727
+ {
728
+ }
729
+
730
+ /*
731
+ * .AnyTime-cur-btn is applied to every pseudo-button that represents
732
+ * a currently-selected value. They should stand out from the other
733
+ * buttons, using a different background-color, border, color, font,
734
+ * font-style and/or font-weight. Note that color alone is not
735
+ * sufficient for color-blind users to differentiate the buttons.
736
+ */
737
+
738
+ .AnyTime-pkr .AnyTime-cur-btn
739
+ {
740
+ border:1px solid #333334;
741
+ background-color:#C0C0C1;
742
+ color:#FCFCFE;
743
+ font-weight:bold;
744
+ }
745
+
746
+ /*
747
+ * .AnyTime-out-btn is applied to every pseudo-button that represents
748
+ * a value that should not be selected because it would make the value.
749
+ * out-of-range. Typically, this is to give it a "grayed-out" appearance.
750
+ * Note that color alone is not sufficient for color-blind users to
751
+ * differentiate the buttons, but since there's no harm in pressing these
752
+ * buttons, it's probably no big deal.
753
+ */
754
+
755
+ .AnyTime-pkr .AnyTime-out-btn
756
+ {
757
+ background-color:#F0F0F1;
758
+ border:1px solid #C0C0c1;
759
+ }
760
+
761
+ /*
762
+ * .AnyTime-focus-btn is applied to the single pseudo-button that appears to
763
+ * have keyboard focus. It should stand out from all other buttons,
764
+ * using a different background-color, border, color, font, font-style
765
+ * and/or font-weight. Note that color alone is not sufficient for
766
+ * color-blind users to differentiate the button. Because most UIs
767
+ * represent focus using a dashed or dotted border, this is recommended.
768
+ */
769
+
770
+ .AnyTime-pkr .AnyTime-focus-btn
771
+ {
772
+ border:1px dashed black;
773
+ }
774
+
775
+ /*
776
+ * END OF FILE
777
+ */