materialize-sass 0.95.2 → 0.95.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/javascripts/materialize.js +5692 -5641
- data/app/assets/stylesheets/materialize/components/_cards.scss +151 -150
- data/app/assets/stylesheets/materialize/components/_form.scss +700 -698
- data/app/assets/stylesheets/materialize/components/_global.scss +707 -632
- data/app/assets/stylesheets/materialize/components/_grid.scss +119 -119
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +2247 -2247
- data/app/assets/stylesheets/materialize/components/_navbar.scss +154 -134
- data/app/assets/stylesheets/materialize/components/_preloader.scss +338 -320
- data/app/assets/stylesheets/materialize/components/_slider.scss +92 -91
- data/app/assets/stylesheets/materialize/components/_variables.scss +135 -132
- data/app/assets/stylesheets/materialize/components/_waves.scss +168 -167
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +462 -431
- data/lib/materialize-sass/version.rb +6 -6
- data/materialize-sass.gemspec +27 -27
- metadata +9 -17
@@ -1,431 +1,462 @@
|
|
1
|
-
/* ==========================================================================
|
2
|
-
$BASE-DATE-PICKER
|
3
|
-
========================================================================== */
|
4
|
-
/**
|
5
|
-
* The picker box.
|
6
|
-
*/
|
7
|
-
.picker__box {
|
8
|
-
padding: 0 1em;
|
9
|
-
}
|
10
|
-
/**
|
11
|
-
* The header containing the month and year stuff.
|
12
|
-
*/
|
13
|
-
.picker__header {
|
14
|
-
text-align: center;
|
15
|
-
position: relative;
|
16
|
-
margin-top: .75em;
|
17
|
-
}
|
18
|
-
/**
|
19
|
-
* The month and year labels.
|
20
|
-
*/
|
21
|
-
.picker__month,
|
22
|
-
.picker__year {
|
23
|
-
// font-weight: 500;
|
24
|
-
display: inline-block;
|
25
|
-
margin-left: .25em;
|
26
|
-
margin-right: .25em;
|
27
|
-
}
|
28
|
-
/**
|
29
|
-
* The month and year selectors.
|
30
|
-
*/
|
31
|
-
.picker__select--month,
|
32
|
-
.picker__select--year {
|
33
|
-
|
34
|
-
|
35
|
-
// border: 1px solid #b7b7b7;
|
36
|
-
|
37
|
-
height: 2em;
|
38
|
-
padding: .5em;
|
39
|
-
margin-left: .25em;
|
40
|
-
margin-right: .25em;
|
41
|
-
}
|
42
|
-
@media (min-width: 24.5em) {
|
43
|
-
.picker__select--month,
|
44
|
-
.picker__select--year {
|
45
|
-
margin-top: -0.5em;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
width:
|
53
|
-
}
|
54
|
-
|
55
|
-
.picker__select--year
|
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
|
-
right:
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
//
|
91
|
-
//
|
92
|
-
//
|
93
|
-
|
94
|
-
|
95
|
-
.
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
}
|
101
|
-
|
102
|
-
|
103
|
-
.picker__nav--
|
104
|
-
.picker__nav--
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
.
|
114
|
-
|
115
|
-
|
116
|
-
border-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
.picker__table td {
|
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
|
-
.picker__day--
|
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
|
-
.picker__button--
|
271
|
-
.picker__button--
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
.picker__button--
|
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
|
-
.picker__button--
|
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
|
-
font-
|
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
|
-
color:
|
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
|
-
|
1
|
+
/* ==========================================================================
|
2
|
+
$BASE-DATE-PICKER
|
3
|
+
========================================================================== */
|
4
|
+
/**
|
5
|
+
* The picker box.
|
6
|
+
*/
|
7
|
+
.picker__box {
|
8
|
+
padding: 0 1em;
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* The header containing the month and year stuff.
|
12
|
+
*/
|
13
|
+
.picker__header {
|
14
|
+
text-align: center;
|
15
|
+
position: relative;
|
16
|
+
margin-top: .75em;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* The month and year labels.
|
20
|
+
*/
|
21
|
+
.picker__month,
|
22
|
+
.picker__year {
|
23
|
+
// font-weight: 500;
|
24
|
+
display: inline-block;
|
25
|
+
margin-left: .25em;
|
26
|
+
margin-right: .25em;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* The month and year selectors.
|
30
|
+
*/
|
31
|
+
.picker__select--month,
|
32
|
+
.picker__select--year {
|
33
|
+
|
34
|
+
|
35
|
+
// border: 1px solid #b7b7b7;
|
36
|
+
|
37
|
+
height: 2em;
|
38
|
+
padding: .5em;
|
39
|
+
margin-left: .25em;
|
40
|
+
margin-right: .25em;
|
41
|
+
}
|
42
|
+
@media (min-width: 24.5em) {
|
43
|
+
.picker__select--month,
|
44
|
+
.picker__select--year {
|
45
|
+
margin-top: -0.5em;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
.picker__select--month.browser-default {
|
50
|
+
display: inline;
|
51
|
+
background-color: #FFFFFF;
|
52
|
+
width: 40%;
|
53
|
+
}
|
54
|
+
|
55
|
+
.picker__select--year.browser-default {
|
56
|
+
display: inline;
|
57
|
+
background-color: #FFFFFF;
|
58
|
+
width: 25%;
|
59
|
+
}
|
60
|
+
|
61
|
+
.picker__select--month:focus,
|
62
|
+
.picker__select--year:focus {
|
63
|
+
// border-color: #0089ec;
|
64
|
+
border-color: rgba(0, 0, 0, 0.05);
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* The month navigation buttons.
|
68
|
+
*/
|
69
|
+
.picker__nav--prev,
|
70
|
+
.picker__nav--next {
|
71
|
+
position: absolute;
|
72
|
+
padding: .5em 1.25em;
|
73
|
+
width: 1em;
|
74
|
+
height: 1em;
|
75
|
+
box-sizing: content-box;
|
76
|
+
top: -0.25em;
|
77
|
+
}
|
78
|
+
//@media (min-width: 24.5em) {
|
79
|
+
// .picker__nav--prev,
|
80
|
+
// .picker__nav--next {
|
81
|
+
// top: -0.33em;
|
82
|
+
// }
|
83
|
+
//}
|
84
|
+
.picker__nav--prev {
|
85
|
+
left: -1em;
|
86
|
+
padding-right: 1.25em;
|
87
|
+
}
|
88
|
+
//@media (min-width: 24.5em) {
|
89
|
+
// .picker__nav--prev {
|
90
|
+
// padding-right: 1.5em;
|
91
|
+
// }
|
92
|
+
//}
|
93
|
+
.picker__nav--next {
|
94
|
+
right: -1em;
|
95
|
+
padding-left: 1.25em;
|
96
|
+
}
|
97
|
+
//@media (min-width: 24.5em) {
|
98
|
+
// .picker__nav--next {
|
99
|
+
// padding-left: 1.5em;
|
100
|
+
// }
|
101
|
+
//}
|
102
|
+
|
103
|
+
// .picker__nav--prev:hover,
|
104
|
+
// .picker__nav--next:hover {
|
105
|
+
// cursor: pointer;
|
106
|
+
// color: #000000;
|
107
|
+
// background: #b1dcfb;
|
108
|
+
// }
|
109
|
+
|
110
|
+
.picker__nav--disabled,
|
111
|
+
.picker__nav--disabled:hover,
|
112
|
+
.picker__nav--disabled:before,
|
113
|
+
.picker__nav--disabled:before:hover {
|
114
|
+
cursor: default;
|
115
|
+
background: none;
|
116
|
+
border-right-color: #f5f5f5;
|
117
|
+
border-left-color: #f5f5f5;
|
118
|
+
}
|
119
|
+
/**
|
120
|
+
* The calendar table of dates
|
121
|
+
*/
|
122
|
+
.picker__table {
|
123
|
+
text-align: center;
|
124
|
+
border-collapse: collapse;
|
125
|
+
border-spacing: 0;
|
126
|
+
table-layout: fixed;
|
127
|
+
font-size: 1rem;
|
128
|
+
width: 100%;
|
129
|
+
margin-top: .75em;
|
130
|
+
margin-bottom: .5em;
|
131
|
+
}
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
.picker__table th, .picker__table td {
|
136
|
+
text-align: center;
|
137
|
+
}
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
.picker__table td {
|
145
|
+
margin: 0;
|
146
|
+
padding: 0;
|
147
|
+
}
|
148
|
+
/**
|
149
|
+
* The weekday labels
|
150
|
+
*/
|
151
|
+
.picker__weekday {
|
152
|
+
width: 14.285714286%;
|
153
|
+
font-size: .75em;
|
154
|
+
padding-bottom: .25em;
|
155
|
+
color: #999999;
|
156
|
+
font-weight: 500;
|
157
|
+
/* Increase the spacing a tad */
|
158
|
+
}
|
159
|
+
@media (min-height: 33.875em) {
|
160
|
+
.picker__weekday {
|
161
|
+
padding-bottom: .5em;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
/**
|
165
|
+
* The days on the calendar
|
166
|
+
*/
|
167
|
+
|
168
|
+
.picker__day--today {
|
169
|
+
position: relative;
|
170
|
+
color: #595959;
|
171
|
+
letter-spacing: -.3;
|
172
|
+
padding: .75rem 0;
|
173
|
+
font-weight: 400;
|
174
|
+
border: 1px solid transparent;
|
175
|
+
|
176
|
+
}
|
177
|
+
|
178
|
+
//.picker__day--today:before {
|
179
|
+
// content: " ";
|
180
|
+
// position: absolute;
|
181
|
+
// top: 2px;
|
182
|
+
// right: 2px;
|
183
|
+
// width: 0;
|
184
|
+
// height: 0;
|
185
|
+
// border-top: 0.5em solid #0059bc;
|
186
|
+
// border-left: .5em solid transparent;
|
187
|
+
//}
|
188
|
+
.picker__day--disabled:before {
|
189
|
+
border-top-color: #aaaaaa;
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
.picker__day--infocus:hover{
|
195
|
+
cursor: pointer;
|
196
|
+
color: #000;
|
197
|
+
font-weight: 500;
|
198
|
+
}
|
199
|
+
|
200
|
+
.picker__day--outfocus {
|
201
|
+
|
202
|
+
padding: .75rem 0;
|
203
|
+
color: #fff;
|
204
|
+
|
205
|
+
}
|
206
|
+
.picker__day--outfocus:hover {
|
207
|
+
cursor: pointer;
|
208
|
+
color: #dddddd;
|
209
|
+
// background: #b1dcfb;
|
210
|
+
font-weight: 500;
|
211
|
+
}
|
212
|
+
|
213
|
+
|
214
|
+
.picker__day--highlighted {
|
215
|
+
// border-color: #0089ec;
|
216
|
+
}
|
217
|
+
.picker__day--highlighted:hover,
|
218
|
+
.picker--focused .picker__day--highlighted {
|
219
|
+
cursor: pointer;
|
220
|
+
// color: #000000;
|
221
|
+
// background: #b1dcfb;
|
222
|
+
// font-weight: 500;
|
223
|
+
}
|
224
|
+
.picker__day--selected,
|
225
|
+
.picker__day--selected:hover,
|
226
|
+
.picker--focused .picker__day--selected {
|
227
|
+
|
228
|
+
|
229
|
+
// Circle background
|
230
|
+
border-radius: 50%;
|
231
|
+
@include transform(scale(.75));
|
232
|
+
|
233
|
+
|
234
|
+
background: #0089ec;
|
235
|
+
color: #ffffff;
|
236
|
+
}
|
237
|
+
.picker__day--disabled,
|
238
|
+
.picker__day--disabled:hover,
|
239
|
+
.picker--focused .picker__day--disabled {
|
240
|
+
background: #f5f5f5;
|
241
|
+
border-color: #f5f5f5;
|
242
|
+
color: #dddddd;
|
243
|
+
cursor: default;
|
244
|
+
}
|
245
|
+
.picker__day--highlighted.picker__day--disabled,
|
246
|
+
.picker__day--highlighted.picker__day--disabled:hover {
|
247
|
+
background: #bbbbbb;
|
248
|
+
}
|
249
|
+
/**
|
250
|
+
* The footer containing the "today", "clear", and "close" buttons.
|
251
|
+
*/
|
252
|
+
.picker__footer {
|
253
|
+
text-align: center;
|
254
|
+
display: flex;
|
255
|
+
align-items: center;
|
256
|
+
justify-content: space-between;
|
257
|
+
}
|
258
|
+
.picker__button--today,
|
259
|
+
.picker__button--clear,
|
260
|
+
.picker__button--close {
|
261
|
+
border: 1px solid #ffffff;
|
262
|
+
background: #ffffff;
|
263
|
+
font-size: .8em;
|
264
|
+
padding: .66em 0;
|
265
|
+
font-weight: bold;
|
266
|
+
width: 33%;
|
267
|
+
display: inline-block;
|
268
|
+
vertical-align: bottom;
|
269
|
+
}
|
270
|
+
.picker__button--today:hover,
|
271
|
+
.picker__button--clear:hover,
|
272
|
+
.picker__button--close:hover {
|
273
|
+
cursor: pointer;
|
274
|
+
color: #000000;
|
275
|
+
background: #b1dcfb;
|
276
|
+
border-bottom-color: #b1dcfb;
|
277
|
+
}
|
278
|
+
.picker__button--today:focus,
|
279
|
+
.picker__button--clear:focus,
|
280
|
+
.picker__button--close:focus {
|
281
|
+
background: #b1dcfb;
|
282
|
+
border-color: rgba(0, 0, 0, 0.05);
|
283
|
+
outline: none;
|
284
|
+
}
|
285
|
+
.picker__button--today:before,
|
286
|
+
.picker__button--clear:before,
|
287
|
+
.picker__button--close:before {
|
288
|
+
position: relative;
|
289
|
+
display: inline-block;
|
290
|
+
height: 0;
|
291
|
+
}
|
292
|
+
.picker__button--today:before,
|
293
|
+
.picker__button--clear:before {
|
294
|
+
content: " ";
|
295
|
+
margin-right: .45em;
|
296
|
+
}
|
297
|
+
.picker__button--today:before {
|
298
|
+
top: -0.05em;
|
299
|
+
width: 0;
|
300
|
+
border-top: 0.66em solid #0059bc;
|
301
|
+
border-left: .66em solid transparent;
|
302
|
+
}
|
303
|
+
.picker__button--clear:before {
|
304
|
+
top: -0.25em;
|
305
|
+
width: .66em;
|
306
|
+
border-top: 3px solid #ee2200;
|
307
|
+
}
|
308
|
+
.picker__button--close:before {
|
309
|
+
content: "\D7";
|
310
|
+
top: -0.1em;
|
311
|
+
vertical-align: top;
|
312
|
+
font-size: 1.1em;
|
313
|
+
margin-right: .35em;
|
314
|
+
color: #777777;
|
315
|
+
}
|
316
|
+
.picker__button--today[disabled],
|
317
|
+
.picker__button--today[disabled]:hover {
|
318
|
+
background: #f5f5f5;
|
319
|
+
border-color: #f5f5f5;
|
320
|
+
color: #dddddd;
|
321
|
+
cursor: default;
|
322
|
+
}
|
323
|
+
.picker__button--today[disabled]:before {
|
324
|
+
border-top-color: #aaaaaa;
|
325
|
+
}
|
326
|
+
|
327
|
+
/* ==========================================================================
|
328
|
+
CUSTOM MATERIALIZE STYLES
|
329
|
+
========================================================================== */
|
330
|
+
.picker__box {
|
331
|
+
border-radius: 2px;
|
332
|
+
overflow: hidden;
|
333
|
+
}
|
334
|
+
|
335
|
+
.picker__date-display {
|
336
|
+
text-align: center;
|
337
|
+
background-color: color("teal", "lighten-1");
|
338
|
+
color: #fff;
|
339
|
+
padding-bottom: 15px;
|
340
|
+
font-weight: 300;
|
341
|
+
}
|
342
|
+
|
343
|
+
.picker__nav--prev:hover, .picker__nav--next:hover {
|
344
|
+
cursor: pointer;
|
345
|
+
color: #000000;
|
346
|
+
background: #a1ded8;
|
347
|
+
}
|
348
|
+
|
349
|
+
.picker__weekday-display {
|
350
|
+
// background-color: color("teal", "darken-1");
|
351
|
+
background-color: #1f897f;
|
352
|
+
padding: 10px;
|
353
|
+
font-weight: 200;
|
354
|
+
letter-spacing: .5;
|
355
|
+
font-size: 1rem;
|
356
|
+
margin-bottom: 15px;
|
357
|
+
}
|
358
|
+
|
359
|
+
.picker__month-display {
|
360
|
+
text-transform: uppercase;
|
361
|
+
font-size: 2rem;
|
362
|
+
}
|
363
|
+
.picker__day-display {
|
364
|
+
|
365
|
+
font-size: 4.5rem;
|
366
|
+
font-weight: 400;
|
367
|
+
}
|
368
|
+
.picker__year-display {
|
369
|
+
font-size: 1.8rem;
|
370
|
+
// color: color("teal", "lighten-3");
|
371
|
+
color: rgba(255, 255, 255, 0.4);
|
372
|
+
}
|
373
|
+
|
374
|
+
.picker__box {
|
375
|
+
padding: 0;
|
376
|
+
}
|
377
|
+
.picker__calendar-container {
|
378
|
+
padding: 0 1rem;
|
379
|
+
|
380
|
+
thead {
|
381
|
+
border: none;
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
// Calendar
|
386
|
+
.picker__table {
|
387
|
+
margin-top: 0;
|
388
|
+
margin-bottom: .5em;
|
389
|
+
}
|
390
|
+
|
391
|
+
.picker__day--infocus {
|
392
|
+
color: #595959;
|
393
|
+
letter-spacing: -.3;
|
394
|
+
padding: .75rem 0;
|
395
|
+
font-weight: 400;
|
396
|
+
border: 1px solid transparent;
|
397
|
+
}
|
398
|
+
|
399
|
+
//Today style
|
400
|
+
.picker__day.picker__day--today {
|
401
|
+
color: color("teal", "lighten-1");
|
402
|
+
}
|
403
|
+
|
404
|
+
.picker__day.picker__day--today.picker__day--selected {
|
405
|
+
color: #fff;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Table Header
|
409
|
+
.picker__weekday {
|
410
|
+
font-size: .9rem;
|
411
|
+
}
|
412
|
+
|
413
|
+
|
414
|
+
.picker__day--selected, .picker__day--selected:hover,
|
415
|
+
.picker--focused .picker__day--selected {
|
416
|
+
// Circle background
|
417
|
+
border-radius: 50%;
|
418
|
+
@include transform(scale(.9));
|
419
|
+
// background-color: color("teal", "base");
|
420
|
+
background-color: #26a69a;
|
421
|
+
&.picker__day--outfocus,
|
422
|
+
&:hover.picker__day--outfocus,
|
423
|
+
&.picker__day--outfocus {
|
424
|
+
background-color: #a1ded8;
|
425
|
+
}
|
426
|
+
color: #ffffff;
|
427
|
+
}
|
428
|
+
|
429
|
+
.picker__footer {
|
430
|
+
text-align: right;
|
431
|
+
padding: 5px 10px;
|
432
|
+
}
|
433
|
+
|
434
|
+
// Materialize modified
|
435
|
+
.picker__close, .picker__today {
|
436
|
+
font-size: 1.1rem;
|
437
|
+
padding: 0 1rem;
|
438
|
+
color: color("teal", "lighten-1");
|
439
|
+
}
|
440
|
+
|
441
|
+
//month nav buttons
|
442
|
+
.picker__nav--prev:before,
|
443
|
+
.picker__nav--next:before {
|
444
|
+
content: " ";
|
445
|
+
border-top: .5em solid transparent;
|
446
|
+
border-bottom: .5em solid transparent;
|
447
|
+
border-right: 0.75em solid #676767;
|
448
|
+
width: 0;
|
449
|
+
height: 0;
|
450
|
+
display: block;
|
451
|
+
margin: 0 auto;
|
452
|
+
}
|
453
|
+
.picker__nav--next:before {
|
454
|
+
border-right: 0;
|
455
|
+
border-left: 0.75em solid #676767;
|
456
|
+
}
|
457
|
+
|
458
|
+
button.picker__today:focus,
|
459
|
+
button.picker__clear:focus,
|
460
|
+
button.picker__close:focus {
|
461
|
+
background-color: #a1ded8;
|
462
|
+
}
|