datepicker_508 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/datepicker_508.iml +13 -0
- data/.idea/encodings.xml +6 -0
- data/.idea/misc.xml +72 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +75 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/datepicker_508.gemspec +26 -0
- data/lib/datepicker_508/version.rb +3 -0
- data/lib/datepicker_508.rb +6 -0
- data/vendor/assets/javascripts/datepicker.js +2937 -0
- data/vendor/assets/javascripts/jquery.mask.js +536 -0
- data/vendor/assets/stylesheets/datepicker.css +607 -0
- metadata +91 -0
@@ -0,0 +1,607 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
a.datepicker-button {
|
4
|
+
cursor: pointer;
|
5
|
+
}
|
6
|
+
div.datepicker-calendar {
|
7
|
+
margin: 0 10px 10px 0;
|
8
|
+
font-size: .9em;
|
9
|
+
padding: 2px;
|
10
|
+
position: absolute;
|
11
|
+
width: 261px;
|
12
|
+
border: 1px solid #ccc;
|
13
|
+
-webkit-border-radius: 4px;
|
14
|
+
-moz-border-radius: 4px;
|
15
|
+
border-radius: 4px;
|
16
|
+
z-index: 50;
|
17
|
+
}
|
18
|
+
div.datepicker-calendar div.datepicker-month-wrap {
|
19
|
+
margin: 0;
|
20
|
+
padding-top: 1px;
|
21
|
+
text-align: center;
|
22
|
+
height: 30px;
|
23
|
+
}
|
24
|
+
div.datepicker-calendar div.datepicker-month-fast-prev.disabled,
|
25
|
+
div.datepicker-calendar div.datepicker-month-fast-next.disabled ,
|
26
|
+
div.datepicker-calendar div.datepicker-month-prev.disabled,
|
27
|
+
div.datepicker-calendar div.datepicker-month-next.disabled {
|
28
|
+
border: none;
|
29
|
+
cursor: default;
|
30
|
+
}
|
31
|
+
div.datepicker-calendar div.datepicker-month-fast-prev,
|
32
|
+
div.datepicker-calendar div.datepicker-month-fast-next,
|
33
|
+
div.datepicker-calendar div.datepicker-month-prev,
|
34
|
+
div.datepicker-calendar div.datepicker-month-next {
|
35
|
+
cursor: pointer;
|
36
|
+
margin: 3px;
|
37
|
+
width: 24px;
|
38
|
+
height: 24px;
|
39
|
+
padding-top: 3px;
|
40
|
+
}
|
41
|
+
div.datepicker-calendar div.datepicker-month-fast-prev {
|
42
|
+
padding-right: 2px;
|
43
|
+
}
|
44
|
+
div.datepicker-calendar div.datepicker-month-fast-next {
|
45
|
+
padding-left: 2px;
|
46
|
+
}
|
47
|
+
div.datepicker-calendar div.datepicker-month-fast-prev.enabled:hover,
|
48
|
+
div.datepicker-calendar div.datepicker-month-fast-prev.enabled:focus,
|
49
|
+
div.datepicker-calendar div.datepicker-month-fast-next.enabled:hover,
|
50
|
+
div.datepicker-calendar div.datepicker-month-fast-next.enabled:focus,
|
51
|
+
div.datepicker-calendar div.datepicker-month-prev.enabled:hover,
|
52
|
+
div.datepicker-calendar div.datepicker-month-prev.enabled:focus,
|
53
|
+
div.datepicker-calendar div.datepicker-month-next.enabled:hover,
|
54
|
+
div.datepicker-calendar div.datepicker-month-next.enabled:focus {
|
55
|
+
margin-top: 2px;
|
56
|
+
border: 1px solid #800;
|
57
|
+
-webkit-border-radius: 4px;
|
58
|
+
-moz-border-radius: 4px;
|
59
|
+
border-radius: 4px;
|
60
|
+
}
|
61
|
+
div.datepicker-calendar div.datepicker-month {
|
62
|
+
margin: 3px 56px 2px 56px;
|
63
|
+
height: 24px;
|
64
|
+
text-align: center;
|
65
|
+
font-weight: bold;
|
66
|
+
font-size: 1.2em;
|
67
|
+
cursor: pointer;
|
68
|
+
padding-top: 1px;
|
69
|
+
}
|
70
|
+
div.datepicker-calendar div.datepicker-month:after {
|
71
|
+
font-family: 'Glyphicons Halflings';
|
72
|
+
font-size: 0.6em;
|
73
|
+
display: inline-block;
|
74
|
+
content: "\e252";
|
75
|
+
}
|
76
|
+
div.datepicker-calendar div.datepicker-month:hover,
|
77
|
+
div.datepicker-calendar div.datepicker-month:focus {
|
78
|
+
padding-top: 0;
|
79
|
+
border: 1px solid #800;
|
80
|
+
-webkit-border-radius: 4px;
|
81
|
+
-moz-border-radius: 4px;
|
82
|
+
border-radius: 4px;
|
83
|
+
}
|
84
|
+
div.datepicker-calendar table.datepicker-grid {
|
85
|
+
width: 100%;
|
86
|
+
font-size: 1.2em;
|
87
|
+
text-align: center;
|
88
|
+
}
|
89
|
+
div.datepicker-calendar table.datepicker-grid.rtl {
|
90
|
+
direction: rtl;
|
91
|
+
}
|
92
|
+
div.datepicker-calendar table.datepicker-grid:focus {
|
93
|
+
outline: none;
|
94
|
+
}
|
95
|
+
div.datepicker-calendar table.datepicker-weekdays {
|
96
|
+
}
|
97
|
+
div.datepicker-calendar table.datepicker-grid th,
|
98
|
+
div.datepicker-calendar table.datepicker-grid td{
|
99
|
+
text-align: center;
|
100
|
+
padding: 0;
|
101
|
+
}
|
102
|
+
div.datepicker-calendar table.datepicker-grid th abbr{
|
103
|
+
border: none;
|
104
|
+
}
|
105
|
+
div.datepicker-calendar table.datepicker-grid td {
|
106
|
+
border: 1px solid #999;
|
107
|
+
cursor: pointer;
|
108
|
+
}
|
109
|
+
div.datepicker-calendar table.datepicker-grid td.unselectable {
|
110
|
+
cursor: default;
|
111
|
+
}
|
112
|
+
div.datepicker-calendar table.datepicker-grid th,
|
113
|
+
div.datepicker-calendar table.datepicker-grid td.day {
|
114
|
+
height: 30px;
|
115
|
+
}
|
116
|
+
div.datepicker-calendar table.datepicker-grid td.month {
|
117
|
+
height: 60px;
|
118
|
+
}
|
119
|
+
div.datepicker-calendar table.datepicker-grid td.year {
|
120
|
+
height: 45px;
|
121
|
+
}
|
122
|
+
div.datepicker-calendar table.datepicker-grid td.curDay,
|
123
|
+
div.datepicker-calendar table.datepicker-grid td.curMonth,
|
124
|
+
div.datepicker-calendar table.datepicker-grid td.curYear {
|
125
|
+
border: 1px solid #999;
|
126
|
+
}
|
127
|
+
div.datepicker-calendar table.datepicker-grid td.empty {
|
128
|
+
border: 1px solid #999;
|
129
|
+
cursor: default;
|
130
|
+
}
|
131
|
+
div.datepicker-calendar .offscreen {
|
132
|
+
position: absolute;
|
133
|
+
left: -200em;
|
134
|
+
top: -100em;
|
135
|
+
}
|
136
|
+
.datepicker-overlay {
|
137
|
+
background: #777;
|
138
|
+
display: none;
|
139
|
+
position: fixed;
|
140
|
+
top: 0;
|
141
|
+
right: 0;
|
142
|
+
bottom: 0;
|
143
|
+
left: 0;
|
144
|
+
opacity: 0.5;
|
145
|
+
height: 100%;
|
146
|
+
min-height: 100%;
|
147
|
+
z-index: 40;
|
148
|
+
}
|
149
|
+
div.datepicker-calendar button.datepicker-close {
|
150
|
+
height: 30px;
|
151
|
+
width: 100%;
|
152
|
+
font-weight: bold;
|
153
|
+
margin-top: 1px;
|
154
|
+
border: 1px solid #eee;
|
155
|
+
-webkit-border-radius: 2px;
|
156
|
+
-moz-border-radius: 2px;
|
157
|
+
border-radius: 2px;
|
158
|
+
}
|
159
|
+
|
160
|
+
/****************************
|
161
|
+
* colors
|
162
|
+
***************************/
|
163
|
+
|
164
|
+
/****************************
|
165
|
+
* default theme colors
|
166
|
+
***************************/
|
167
|
+
a.datepicker-button.default {
|
168
|
+
}
|
169
|
+
a.datepicker-button.default:hover,
|
170
|
+
a.datepicker-button.default:focus {
|
171
|
+
background-color: #DDD;
|
172
|
+
}
|
173
|
+
div.datepicker-calendar.default {
|
174
|
+
background-color: #FFF;
|
175
|
+
}
|
176
|
+
div.datepicker-calendar.default div.datepicker-month-wrap {
|
177
|
+
}
|
178
|
+
div.datepicker-calendar.default div.datepicker-month-fast-prev.disabled,
|
179
|
+
div.datepicker-calendar.default div.datepicker-month-fast-next.disabled ,
|
180
|
+
div.datepicker-calendar.default div.datepicker-month-prev.disabled,
|
181
|
+
div.datepicker-calendar.default div.datepicker-month-next.disabled {
|
182
|
+
color: #999;
|
183
|
+
}
|
184
|
+
div.datepicker-calendar.default div.datepicker-month-fast-prev.enabled:hover,
|
185
|
+
div.datepicker-calendar.default div.datepicker-month-fast-prev.enabled:focus,
|
186
|
+
div.datepicker-calendar.default div.datepicker-month-fast-next.enabled:hover,
|
187
|
+
div.datepicker-calendar.default div.datepicker-month-fast-next.enabled:focus,
|
188
|
+
div.datepicker-calendar.default div.datepicker-month-prev.enabled:hover,
|
189
|
+
div.datepicker-calendar.default div.datepicker-month-prev.enabled:focus,
|
190
|
+
div.datepicker-calendar.default div.datepicker-month-next.enabled:hover,
|
191
|
+
div.datepicker-calendar.default div.datepicker-month-next.enabled:focus,
|
192
|
+
div.datepicker-calendar.default div.datepicker-month:hover,
|
193
|
+
div.datepicker-calendar.default div.datepicker-month:focus,
|
194
|
+
div.datepicker-calendar.default button.datepicker-close:hover,
|
195
|
+
div.datepicker-calendar.default button.datepicker-close:focus {
|
196
|
+
background-color: #EEE;
|
197
|
+
border-color: #999;
|
198
|
+
}
|
199
|
+
div.datepicker-calendar.default table.datepicker-grid:focus {
|
200
|
+
outline: 1px dotted #999;
|
201
|
+
}
|
202
|
+
div.datepicker-calendar.default tr.datepicker-weekdays {
|
203
|
+
border-top: 1px solid #999;
|
204
|
+
border-bottom: 1px solid #999;
|
205
|
+
}
|
206
|
+
div.datepicker-calendar.default table.datepicker-grid th {
|
207
|
+
background-color: #EEE;
|
208
|
+
border: none;
|
209
|
+
}
|
210
|
+
div.datepicker-calendar.default table.datepicker-grid td {
|
211
|
+
border: none;
|
212
|
+
color: #000;
|
213
|
+
}
|
214
|
+
div.datepicker-calendar.default table.datepicker-grid td.unselectable {
|
215
|
+
color: #999;
|
216
|
+
}
|
217
|
+
div.datepicker-calendar.default table.datepicker-grid td.curDay,
|
218
|
+
div.datepicker-calendar.default table.datepicker-grid td.curMonth,
|
219
|
+
div.datepicker-calendar.default table.datepicker-grid td.curYear {
|
220
|
+
background-color: #FFF0C4;
|
221
|
+
}
|
222
|
+
div.datepicker-calendar.default table.datepicker-grid td.empty {
|
223
|
+
border: none;
|
224
|
+
color: #CCC;
|
225
|
+
}
|
226
|
+
div.datepicker-calendar.default table.datepicker-grid td.selectable:hover,
|
227
|
+
div.datepicker-calendar.default table.datepicker-grid td.selectable.focus {
|
228
|
+
background-color: #DDD;
|
229
|
+
}
|
230
|
+
div.datepicker-calendar.default table.datepicker-grid td.empty:hover {
|
231
|
+
background-color: #F9F9F9;
|
232
|
+
}
|
233
|
+
div.datepicker-calendar.default button.datepicker-close {
|
234
|
+
background-color: #DDD;
|
235
|
+
border-color: #999;
|
236
|
+
color: #000;
|
237
|
+
}
|
238
|
+
|
239
|
+
/****************************
|
240
|
+
* bootstrap theme colors
|
241
|
+
***************************/
|
242
|
+
a.datepicker-button.bootstrap {
|
243
|
+
}
|
244
|
+
a.datepicker-button.bootstrap:hover,
|
245
|
+
a.datepicker-button.bootstrap:focus {
|
246
|
+
background-color: #DDD;
|
247
|
+
}
|
248
|
+
div.datepicker-calendar.bootstrap {
|
249
|
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
|
250
|
+
width: 80%;
|
251
|
+
min-width: 160px;
|
252
|
+
font-size: .8em;
|
253
|
+
background-clip: padding-box;
|
254
|
+
background-color: #FFF;
|
255
|
+
border-radius: 4px;
|
256
|
+
line-height: 20px;
|
257
|
+
}
|
258
|
+
div.datepicker-calendar.bootstrap.below {
|
259
|
+
margin-top: 2px;
|
260
|
+
}
|
261
|
+
div.datepicker-calendar.bootstrap.above {
|
262
|
+
margin-top: -2px;
|
263
|
+
}
|
264
|
+
div.datepicker-calendar.bootstrap:before {
|
265
|
+
content: '';
|
266
|
+
display: inline-block;
|
267
|
+
border-left: 7px solid transparent;
|
268
|
+
border-right: 7px solid transparent;
|
269
|
+
border-bottom: 7px solid #ccc;
|
270
|
+
border-top: 0;
|
271
|
+
border-bottom-color: rgba(0, 0, 0, 0.2);
|
272
|
+
position: absolute;
|
273
|
+
left: 7px;
|
274
|
+
}
|
275
|
+
div.datepicker-calendar.bootstrap:after {
|
276
|
+
content: '';
|
277
|
+
display: inline-block;
|
278
|
+
border-left: 6px solid transparent;
|
279
|
+
border-right: 6px solid transparent;
|
280
|
+
border-bottom: 6px solid #ffffff;
|
281
|
+
border-top: 0;
|
282
|
+
position: absolute;
|
283
|
+
left: 6px;
|
284
|
+
}
|
285
|
+
div.datepicker-calendar.bootstrap.below:before {
|
286
|
+
top: -7px;
|
287
|
+
}
|
288
|
+
div.datepicker-calendar.bootstrap.below:after {
|
289
|
+
top: -6px;
|
290
|
+
}
|
291
|
+
div.datepicker-calendar.bootstrap.above:before {
|
292
|
+
bottom: -7px;
|
293
|
+
border-bottom: 0;
|
294
|
+
border-top: 7px solid #999;
|
295
|
+
}
|
296
|
+
div.datepicker-calendar.bootstrap.above:after {
|
297
|
+
bottom: -6px;
|
298
|
+
border-bottom: 0;
|
299
|
+
border-top: 6px solid #ffffff;
|
300
|
+
}
|
301
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-wrap {
|
302
|
+
}
|
303
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-fast-prev.disabled,
|
304
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-fast-next.disabled ,
|
305
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-prev.disabled,
|
306
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-next.disabled {
|
307
|
+
color: #999;
|
308
|
+
}
|
309
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-fast-prev.enabled:hover,
|
310
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-fast-prev.enabled:focus,
|
311
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-fast-next.enabled:hover,
|
312
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-fast-next.enabled:focus,
|
313
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-prev.enabled:hover,
|
314
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-prev.enabled:focus,
|
315
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-next.enabled:hover,
|
316
|
+
div.datepicker-calendar.bootstrap div.datepicker-month-next.enabled:focus,
|
317
|
+
div.datepicker-calendar.bootstrap div.datepicker-month:hover,
|
318
|
+
div.datepicker-calendar.bootstrap div.datepicker-month:focus,
|
319
|
+
div.datepicker-calendar.bootstrap button.datepicker-close:hover,
|
320
|
+
div.datepicker-calendar.bootstrap button.datepicker-close:focus {
|
321
|
+
background-color: #EEE;
|
322
|
+
border-color: #999;
|
323
|
+
}
|
324
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid:focus {
|
325
|
+
outline: none;
|
326
|
+
}
|
327
|
+
div.datepicker-calendar.bootstrap tr.datepicker-weekdays {
|
328
|
+
border: none;
|
329
|
+
}
|
330
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid th {
|
331
|
+
}
|
332
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid th abbr{
|
333
|
+
text-decoration: none;
|
334
|
+
cursor: default;
|
335
|
+
}
|
336
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td {
|
337
|
+
border: none;
|
338
|
+
color: #000;
|
339
|
+
}
|
340
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.unselectable {
|
341
|
+
color: #999;
|
342
|
+
}
|
343
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.curDay,
|
344
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.curMonth,
|
345
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.curYear {
|
346
|
+
background-color: #FFF0C4;
|
347
|
+
}
|
348
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.empty {
|
349
|
+
border: none;
|
350
|
+
color: #CCC;
|
351
|
+
}
|
352
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.selectable:hover,
|
353
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.selectable.focus {
|
354
|
+
background-color: #DDD;
|
355
|
+
}
|
356
|
+
div.datepicker-calendar.bootstrap table.datepicker-grid td.empty:hover {
|
357
|
+
background-color: #F9F9F9;
|
358
|
+
}
|
359
|
+
div.datepicker-calendar.bootstrap button.datepicker-close {
|
360
|
+
background-color: #DDD;
|
361
|
+
border-color: #999;
|
362
|
+
color: #000;
|
363
|
+
}
|
364
|
+
|
365
|
+
/****************************
|
366
|
+
* maroon theme colors
|
367
|
+
***************************/
|
368
|
+
a.datepicker-button.maroon {
|
369
|
+
color: #FFF;
|
370
|
+
background-color: #A63950;
|
371
|
+
}
|
372
|
+
a.datepicker-button.maroon:hover,
|
373
|
+
a.datepicker-button.maroon:focus {
|
374
|
+
color: #FFF;
|
375
|
+
background-color: #802C3E;
|
376
|
+
}
|
377
|
+
div.datepicker-calendar.maroon {
|
378
|
+
background-color: #FFF;
|
379
|
+
border-color: #CCC;
|
380
|
+
}
|
381
|
+
div.datepicker-calendar.maroon div.datepicker-month-wrap {
|
382
|
+
background-color: #522A3F;
|
383
|
+
color: #FFF;
|
384
|
+
}
|
385
|
+
div.datepicker-calendar.maroon div.datepicker-month-fast-prev.disabled,
|
386
|
+
div.datepicker-calendar.maroon div.datepicker-month-fast-next.disabled ,
|
387
|
+
div.datepicker-calendar.maroon div.datepicker-month-prev.disabled,
|
388
|
+
div.datepicker-calendar.maroon div.datepicker-month-next.disabled {
|
389
|
+
color: #999;
|
390
|
+
}
|
391
|
+
div.datepicker-calendar.maroon div.datepicker-month-fast-prev.enabled:hover,
|
392
|
+
div.datepicker-calendar.maroon div.datepicker-month-fast-prev.enabled:focus,
|
393
|
+
div.datepicker-calendar.maroon div.datepicker-month-fast-next.enabled:hover,
|
394
|
+
div.datepicker-calendar.maroon div.datepicker-month-fast-next.enabled:focus,
|
395
|
+
div.datepicker-calendar.maroon div.datepicker-month-prev.enabled:hover,
|
396
|
+
div.datepicker-calendar.maroon div.datepicker-month-prev.enabled:focus,
|
397
|
+
div.datepicker-calendar.maroon div.datepicker-month-next.enabled:hover,
|
398
|
+
div.datepicker-calendar.maroon div.datepicker-month-next.enabled:focus,
|
399
|
+
div.datepicker-calendar.maroon div.datepicker-month:hover,
|
400
|
+
div.datepicker-calendar.maroon div.datepicker-month:focus,
|
401
|
+
div.datepicker-calendar.maroon button.datepicker-close:hover,
|
402
|
+
div.datepicker-calendar.maroon button.datepicker-close:focus {
|
403
|
+
background-color: #A63950;
|
404
|
+
border-color: #800;
|
405
|
+
}
|
406
|
+
div.datepicker-calendar.maroon table.datepicker-grid:focus {
|
407
|
+
outline: 1px dotted #A63950;
|
408
|
+
}
|
409
|
+
div.datepicker-calendar.maroon tr.datepicker-weekdays {
|
410
|
+
}
|
411
|
+
div.datepicker-calendar.maroon table.datepicker-grid th {
|
412
|
+
background-color: #A63950;
|
413
|
+
color: #FFF;
|
414
|
+
}
|
415
|
+
div.datepicker-calendar.maroon table.datepicker-grid td {
|
416
|
+
background-color: #EEE;
|
417
|
+
border-color: #999;
|
418
|
+
}
|
419
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.unselectable {
|
420
|
+
color: #999;
|
421
|
+
}
|
422
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.curDay,
|
423
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.curMonth,
|
424
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.curYear {
|
425
|
+
background-color: #FFF0C4;
|
426
|
+
}
|
427
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.empty {
|
428
|
+
background-color: #F9F9F9;
|
429
|
+
color: #AAA;
|
430
|
+
}
|
431
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.selectable:hover,
|
432
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.selectable.focus {
|
433
|
+
background-color: #B55A6E;
|
434
|
+
color: #FFF;
|
435
|
+
border-color: #800;
|
436
|
+
}
|
437
|
+
div.datepicker-calendar.maroon table.datepicker-grid td.empty:hover {
|
438
|
+
background-color: #F9F9F9;
|
439
|
+
border-color: #999;
|
440
|
+
}
|
441
|
+
div.datepicker-calendar.maroon button.datepicker-close {
|
442
|
+
background-color: #522A3F;
|
443
|
+
color: #FFF;
|
444
|
+
border-color: #EEE;
|
445
|
+
}
|
446
|
+
|
447
|
+
/****************************
|
448
|
+
* blue theme colors
|
449
|
+
***************************/
|
450
|
+
a.datepicker-button.blue {
|
451
|
+
color: #FFF;
|
452
|
+
background-color: #063A5B;
|
453
|
+
}
|
454
|
+
a.datepicker-button.blue:hover,
|
455
|
+
a.datepicker-button.blue:focus {
|
456
|
+
background-color: #262A33;
|
457
|
+
}
|
458
|
+
div.datepicker-calendar.blue {
|
459
|
+
background-color: #FFF;
|
460
|
+
border-color: #CCC;
|
461
|
+
}
|
462
|
+
div.datepicker-calendar.blue div.datepicker-month-wrap {
|
463
|
+
background-color: #063A5B;
|
464
|
+
color: #FFF;
|
465
|
+
}
|
466
|
+
div.datepicker-calendar.blue div.datepicker-month-fast-prev.disabled,
|
467
|
+
div.datepicker-calendar.blue div.datepicker-month-fast-next.disabled ,
|
468
|
+
div.datepicker-calendar.blue div.datepicker-month-prev.disabled,
|
469
|
+
div.datepicker-calendar.blue div.datepicker-month-next.disabled {
|
470
|
+
color: #999;
|
471
|
+
}
|
472
|
+
div.datepicker-calendar.blue div.datepicker-month-fast-prev.enabled:hover,
|
473
|
+
div.datepicker-calendar.blue div.datepicker-month-fast-prev.enabled:focus,
|
474
|
+
div.datepicker-calendar.blue div.datepicker-month-fast-next.enabled:hover,
|
475
|
+
div.datepicker-calendar.blue div.datepicker-month-fast-next.enabled:focus,
|
476
|
+
div.datepicker-calendar.blue div.datepicker-month-prev.enabled:hover,
|
477
|
+
div.datepicker-calendar.blue div.datepicker-month-prev.enabled:focus,
|
478
|
+
div.datepicker-calendar.blue div.datepicker-month-next.enabled:hover,
|
479
|
+
div.datepicker-calendar.blue div.datepicker-month-next.enabled:focus,
|
480
|
+
div.datepicker-calendar.blue div.datepicker-month:hover,
|
481
|
+
div.datepicker-calendar.blue div.datepicker-month:focus,
|
482
|
+
div.datepicker-calendar.blue button.datepicker-close:hover,
|
483
|
+
div.datepicker-calendar.blue button.datepicker-close:focus {
|
484
|
+
background-color: #0B6BA8;
|
485
|
+
border-color: #3484B7;
|
486
|
+
}
|
487
|
+
div.datepicker-calendar.blue table.datepicker-grid:focus {
|
488
|
+
outline: 1px dotted #0B6BA8;
|
489
|
+
}
|
490
|
+
div.datepicker-calendar.blue tr.datepicker-weekdays {
|
491
|
+
}
|
492
|
+
div.datepicker-calendar.blue table.datepicker-grid th {
|
493
|
+
background-color: #0B6BA8;
|
494
|
+
color: #FFF;
|
495
|
+
}
|
496
|
+
div.datepicker-calendar.blue table.datepicker-grid td {
|
497
|
+
background-color: #EEE;
|
498
|
+
border-color: #999;
|
499
|
+
}
|
500
|
+
div.datepicker-calendar.blue table.datepicker-grid td.unselectable {
|
501
|
+
color: #999;
|
502
|
+
}
|
503
|
+
div.datepicker-calendar.blue table.datepicker-grid td.curDay,
|
504
|
+
div.datepicker-calendar.blue table.datepicker-grid td.curMonth,
|
505
|
+
div.datepicker-calendar.blue table.datepicker-grid td.curYear {
|
506
|
+
background-color: #FFF0C4;
|
507
|
+
}
|
508
|
+
div.datepicker-calendar.blue table.datepicker-grid td.empty {
|
509
|
+
background-color: #F9F9F9;
|
510
|
+
color: #AAA;
|
511
|
+
}
|
512
|
+
div.datepicker-calendar.blue table.datepicker-grid td.selectable:hover,
|
513
|
+
div.datepicker-calendar.blue table.datepicker-grid td.selectable.focus {
|
514
|
+
background-color: #0B6BA8;
|
515
|
+
color: #FFF;
|
516
|
+
border-color: #3484B7;
|
517
|
+
}
|
518
|
+
div.datepicker-calendar.blue table.datepicker-grid td.empty:hover {
|
519
|
+
background-color: #F9F9F9;
|
520
|
+
border-color: #999;
|
521
|
+
}
|
522
|
+
div.datepicker-calendar.blue button.datepicker-close {
|
523
|
+
background-color: #063A5B;
|
524
|
+
color: #FFF;
|
525
|
+
border-color: #EEE;
|
526
|
+
}
|
527
|
+
|
528
|
+
/****************************
|
529
|
+
* green theme colors
|
530
|
+
***************************/
|
531
|
+
a.datepicker-button.green {
|
532
|
+
color: #FFF;
|
533
|
+
background-color: #0C5E2F;
|
534
|
+
}
|
535
|
+
a.datepicker-button.green:hover,
|
536
|
+
a.datepicker-button.green:focus {
|
537
|
+
background-color: #262A33;
|
538
|
+
}
|
539
|
+
div.datepicker-calendar.green {
|
540
|
+
background-color: #FFF;
|
541
|
+
border-color: #CCC;
|
542
|
+
}
|
543
|
+
div.datepicker-calendar.green div.datepicker-month-wrap {
|
544
|
+
background-color: #0C5E2F;
|
545
|
+
color: #FFF;
|
546
|
+
}
|
547
|
+
div.datepicker-calendar.green div.datepicker-month-fast-prev.disabled,
|
548
|
+
div.datepicker-calendar.green div.datepicker-month-fast-next.disabled ,
|
549
|
+
div.datepicker-calendar.green div.datepicker-month-prev.disabled,
|
550
|
+
div.datepicker-calendar.green div.datepicker-month-next.disabled {
|
551
|
+
color: #999;
|
552
|
+
}
|
553
|
+
div.datepicker-calendar.green div.datepicker-month-fast-prev.enabled:hover,
|
554
|
+
div.datepicker-calendar.green div.datepicker-month-fast-prev.enabled:focus,
|
555
|
+
div.datepicker-calendar.green div.datepicker-month-fast-next.enabled:hover,
|
556
|
+
div.datepicker-calendar.green div.datepicker-month-fast-next.enabled:focus,
|
557
|
+
div.datepicker-calendar.green div.datepicker-month-prev.enabled:hover,
|
558
|
+
div.datepicker-calendar.green div.datepicker-month-prev.enabled:focus,
|
559
|
+
div.datepicker-calendar.green div.datepicker-month-next.enabled:hover,
|
560
|
+
div.datepicker-calendar.green div.datepicker-month-next.enabled:focus,
|
561
|
+
div.datepicker-calendar.green div.datepicker-month:hover,
|
562
|
+
div.datepicker-calendar.green div.datepicker-month:focus,
|
563
|
+
div.datepicker-calendar.green button.datepicker-close:hover,
|
564
|
+
div.datepicker-calendar.green button.datepicker-close:focus {
|
565
|
+
background-color: #0D803B;
|
566
|
+
border-color: #36955C;
|
567
|
+
}
|
568
|
+
div.datepicker-calendar.green table.datepicker-grid:focus {
|
569
|
+
outline: 1px dotted #0D803B;
|
570
|
+
}
|
571
|
+
div.datepicker-calendar.green tr.datepicker-weekdays {
|
572
|
+
}
|
573
|
+
div.datepicker-calendar.green table.datepicker-grid th {
|
574
|
+
background-color: #0D803B;
|
575
|
+
color: #FFF;
|
576
|
+
}
|
577
|
+
div.datepicker-calendar.green table.datepicker-grid td {
|
578
|
+
background-color: #EEE;
|
579
|
+
border-color: #999;
|
580
|
+
}
|
581
|
+
div.datepicker-calendar.green table.datepicker-grid td.unselectable {
|
582
|
+
color: #999;
|
583
|
+
}
|
584
|
+
div.datepicker-calendar.green table.datepicker-grid td.curDay,
|
585
|
+
div.datepicker-calendar.green table.datepicker-grid td.curMonth,
|
586
|
+
div.datepicker-calendar.green table.datepicker-grid td.curYear {
|
587
|
+
background-color: #FFF0C4;
|
588
|
+
}
|
589
|
+
div.datepicker-calendar.green table.datepicker-grid td.empty {
|
590
|
+
background-color: #F9F9F9;
|
591
|
+
color: #AAA;
|
592
|
+
}
|
593
|
+
div.datepicker-calendar.green table.datepicker-grid td.selectable:hover,
|
594
|
+
div.datepicker-calendar.green table.datepicker-grid td.selectable.focus {
|
595
|
+
background-color: #0D803B;
|
596
|
+
color: #FFF;
|
597
|
+
border-color: #36955C;
|
598
|
+
}
|
599
|
+
div.datepicker-calendar.green table.datepicker-grid td.empty:hover {
|
600
|
+
background-color: #F9F9F9;
|
601
|
+
border-color: #999;
|
602
|
+
}
|
603
|
+
div.datepicker-calendar.green button.datepicker-close {
|
604
|
+
background-color: #0C5E2F;
|
605
|
+
color: #FFF;
|
606
|
+
border-color: #EEE;
|
607
|
+
}
|
metadata
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: datepicker_508
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adam Freemer
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- adam@freemer.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- ".idea/.rakeTasks"
|
50
|
+
- ".idea/datepicker_508.iml"
|
51
|
+
- ".idea/encodings.xml"
|
52
|
+
- ".idea/misc.xml"
|
53
|
+
- ".idea/modules.xml"
|
54
|
+
- ".idea/vcs.xml"
|
55
|
+
- Gemfile
|
56
|
+
- LICENSE.txt
|
57
|
+
- README.md
|
58
|
+
- Rakefile
|
59
|
+
- bin/console
|
60
|
+
- bin/setup
|
61
|
+
- datepicker_508.gemspec
|
62
|
+
- lib/datepicker_508.rb
|
63
|
+
- lib/datepicker_508/version.rb
|
64
|
+
- vendor/assets/javascripts/datepicker.js
|
65
|
+
- vendor/assets/javascripts/jquery.mask.js
|
66
|
+
- vendor/assets/stylesheets/datepicker.css
|
67
|
+
homepage: http://rubygems.org/gems/datepicker_508
|
68
|
+
licenses:
|
69
|
+
- MIT
|
70
|
+
metadata: {}
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options: []
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
requirements: []
|
86
|
+
rubyforge_project:
|
87
|
+
rubygems_version: 2.6.12
|
88
|
+
signing_key:
|
89
|
+
specification_version: 4
|
90
|
+
summary: A 508 compliant datepicker
|
91
|
+
test_files: []
|