materialize-sass 0.95.1

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.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +50 -0
  6. data/Rakefile +1 -0
  7. data/app/assets/fonts/material-design-icons/LICENSE.txt +428 -0
  8. data/app/assets/fonts/material-design-icons/Material-Design-Icons.eot +0 -0
  9. data/app/assets/fonts/material-design-icons/Material-Design-Icons.svg +751 -0
  10. data/app/assets/fonts/material-design-icons/Material-Design-Icons.ttf +0 -0
  11. data/app/assets/fonts/material-design-icons/Material-Design-Icons.woff +0 -0
  12. data/app/assets/fonts/roboto/Roboto-Bold.ttf +0 -0
  13. data/app/assets/fonts/roboto/Roboto-Light.ttf +0 -0
  14. data/app/assets/fonts/roboto/Roboto-Medium.ttf +0 -0
  15. data/app/assets/fonts/roboto/Roboto-Regular.ttf +0 -0
  16. data/app/assets/fonts/roboto/Roboto-Thin.ttf +0 -0
  17. data/app/assets/javascripts/materialize-sprokets.js +21 -0
  18. data/app/assets/javascripts/materialize.js +5327 -0
  19. data/app/assets/javascripts/materialize/cards.js +19 -0
  20. data/app/assets/javascripts/materialize/collapsible.js +87 -0
  21. data/app/assets/javascripts/materialize/date_picker/picker.date.js +1427 -0
  22. data/app/assets/javascripts/materialize/date_picker/picker.js +1123 -0
  23. data/app/assets/javascripts/materialize/dropdown.js +168 -0
  24. data/app/assets/javascripts/materialize/forms.js +245 -0
  25. data/app/assets/javascripts/materialize/hammer.min.js +1 -0
  26. data/app/assets/javascripts/materialize/init.js +152 -0
  27. data/app/assets/javascripts/materialize/jquery.easing.1.3.js +205 -0
  28. data/app/assets/javascripts/materialize/jquery.hammer.js +33 -0
  29. data/app/assets/javascripts/materialize/jquery.timeago.min.js +1 -0
  30. data/app/assets/javascripts/materialize/leanModal.js +96 -0
  31. data/app/assets/javascripts/materialize/materialbox.js +237 -0
  32. data/app/assets/javascripts/materialize/parallax.js +50 -0
  33. data/app/assets/javascripts/materialize/prism.js +8 -0
  34. data/app/assets/javascripts/materialize/pushpin.js +87 -0
  35. data/app/assets/javascripts/materialize/scrollspy.js +287 -0
  36. data/app/assets/javascripts/materialize/sideNav.js +278 -0
  37. data/app/assets/javascripts/materialize/slider.js +257 -0
  38. data/app/assets/javascripts/materialize/tabs.js +130 -0
  39. data/app/assets/javascripts/materialize/toasts.js +100 -0
  40. data/app/assets/javascripts/materialize/tooltip.js +167 -0
  41. data/app/assets/javascripts/materialize/velocity.min.js +4 -0
  42. data/app/assets/javascripts/materialize/waves.js +335 -0
  43. data/app/assets/stylesheets/components/_buttons.scss +111 -0
  44. data/app/assets/stylesheets/components/_cards.scss +121 -0
  45. data/app/assets/stylesheets/components/_collapsible.scss +78 -0
  46. data/app/assets/stylesheets/components/_color.scss +411 -0
  47. data/app/assets/stylesheets/components/_dropdown.scss +31 -0
  48. data/app/assets/stylesheets/components/_form.scss +641 -0
  49. data/app/assets/stylesheets/components/_global.scss +582 -0
  50. data/app/assets/stylesheets/components/_grid.scss +119 -0
  51. data/app/assets/stylesheets/components/_icons-material-design.scss +2247 -0
  52. data/app/assets/stylesheets/components/_materialbox.scss +42 -0
  53. data/app/assets/stylesheets/components/_mixins.scss +5 -0
  54. data/app/assets/stylesheets/components/_modal.scss +50 -0
  55. data/app/assets/stylesheets/components/_navbar.scss +129 -0
  56. data/app/assets/stylesheets/components/_normalize.scss +427 -0
  57. data/app/assets/stylesheets/components/_prefixer.scss +417 -0
  58. data/app/assets/stylesheets/components/_preloader.scss +320 -0
  59. data/app/assets/stylesheets/components/_roboto.scss +28 -0
  60. data/app/assets/stylesheets/components/_sideNav.scss +143 -0
  61. data/app/assets/stylesheets/components/_slider.scss +87 -0
  62. data/app/assets/stylesheets/components/_table_of_contents.scss +33 -0
  63. data/app/assets/stylesheets/components/_tabs.scss +43 -0
  64. data/app/assets/stylesheets/components/_toast.scss +64 -0
  65. data/app/assets/stylesheets/components/_tooltip.scss +34 -0
  66. data/app/assets/stylesheets/components/_typography.scss +55 -0
  67. data/app/assets/stylesheets/components/_variables.scss +128 -0
  68. data/app/assets/stylesheets/components/_waves.scss +167 -0
  69. data/app/assets/stylesheets/components/date_picker/_default.date.scss +431 -0
  70. data/app/assets/stylesheets/components/date_picker/_default.scss +201 -0
  71. data/app/assets/stylesheets/components/date_picker/_default.time.scss +125 -0
  72. data/app/assets/stylesheets/materialize.scss +38 -0
  73. data/lib/materialize-sass.rb +8 -0
  74. data/lib/materialize-sass/version.rb +6 -0
  75. data/materialize-sass.gemspec +23 -0
  76. metadata +146 -0
@@ -0,0 +1,31 @@
1
+ .dropdown-content {
2
+ display:none;
3
+ @extend .z-depth-1;
4
+ position: absolute;
5
+ background-color: #FFFFFF;
6
+ margin: 0px;
7
+ min-width: 100px;
8
+ z-index: 1000;
9
+ max-height: 70%;
10
+ opacity: 0;
11
+ overflow-y: hidden;
12
+
13
+ will-change: width, height;
14
+
15
+ li {
16
+ cursor: pointer;
17
+ font-size: 1.2rem;
18
+ color: $off-black;
19
+ line-height: 1.5rem;
20
+
21
+ &:hover {
22
+ background-color: rgba(0,0,0, .06);
23
+ }
24
+
25
+ & > a, & > span {
26
+ display: block;
27
+ padding: 1rem 1rem;
28
+ color: $dropdown-color;
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,641 @@
1
+ /* Remove Focus Boxes */
2
+ select:focus {
3
+ outline: 1px solid color("materialize-red", "lighten-4");
4
+ }
5
+ button:focus {
6
+ outline: none;
7
+ background-color: lighten($button-color, 10%);
8
+ }
9
+
10
+ label {
11
+ font-size: $label-font-size;
12
+ color: $input-border-color;
13
+ }
14
+
15
+ /***************************
16
+ Text Inputs + Textarea
17
+ ****************************/
18
+
19
+ .input-field {
20
+ position: relative;
21
+ margin-top: 1rem;
22
+
23
+ label {
24
+ color: $input-border-color;
25
+ position: absolute;
26
+ top: 0.8rem;
27
+ left: $gutter-width / 2;
28
+ font-size: 1rem;
29
+ cursor: text;
30
+ @include transition(.2s ease-out);
31
+ }
32
+ label.active {
33
+ font-size: $label-font-size;
34
+ @include transform(translateY(-130%));
35
+ }
36
+
37
+ input[type=text]:focus + label,
38
+ input[type=password]:focus + label,
39
+ input[type=email]:focus + label,
40
+ input[type=url]:focus + label,
41
+ input[type=date]:focus + label,
42
+ input[type=tel]:focus + label,
43
+ input[type=number]:focus + label,
44
+ input[type=search]:focus + label,
45
+ textarea:focus.materialize-textarea + label {
46
+ color: $input-focus-color;
47
+ }
48
+
49
+ input[type=text].valid,
50
+ input[type=password].valid,
51
+ input[type=email].valid,
52
+ input[type=url].valid,
53
+ input[type=date].valid,
54
+ input[type=tel].valid,
55
+ input[type=number].valid,
56
+ input[type=search].valid,
57
+ textarea.materialize-textarea.valid {
58
+ border-bottom: 1px solid $input-success-color;
59
+ @include box-shadow(0 1px 0 0 $input-success-color);
60
+ }
61
+
62
+ input[type=text].invalid,
63
+ input[type=password].invalid,
64
+ input[type=email].invalid,
65
+ input[type=url].invalid,
66
+ input[type=date].invalid,
67
+ input[type=tel].invalid,
68
+ input[type=number].invalid,
69
+ input[type=search].invalid,
70
+ textarea.materialize-textarea.invalid {
71
+ border-bottom: 1px solid $input-error-color;
72
+ @include box-shadow(0 1px 0 0 $input-error-color);
73
+ }
74
+
75
+ // Prefix Icons
76
+ .prefix {
77
+ position: absolute;
78
+ width: 3rem;
79
+ font-size: 2rem;
80
+ @include transition(color .2s);
81
+
82
+ &.active { color: $input-focus-color; }
83
+ }
84
+ .prefix ~ input,
85
+ .prefix ~ textarea {
86
+ margin-left: 3rem;
87
+ width: 92%;
88
+ width: calc(100% - 3rem);
89
+ }
90
+ .prefix ~ textarea { padding-top: .8rem; }
91
+ .prefix ~ label { margin-left: 3rem; }
92
+
93
+ @media #{$medium-and-down} {
94
+ .prefix ~ input {
95
+ width: 86%;
96
+ width: calc(100% - 3rem);
97
+ }
98
+ }
99
+ @media #{$small-and-down} {
100
+ .prefix ~ input {
101
+ width: 80%;
102
+ width: calc(100% - 3rem);
103
+ }
104
+ }
105
+
106
+ }
107
+
108
+ // Default textarea
109
+ textarea {
110
+ width: 100%;
111
+ height: 3rem;
112
+ background-color: transparent;
113
+ }
114
+
115
+ input[type=text],
116
+ input[type=password],
117
+ input[type=email],
118
+ input[type=url],
119
+ input[type=date],
120
+ input[type=tel],
121
+ input[type=number],
122
+ input[type=search],
123
+ textarea.materialize-textarea {
124
+ background-color: transparent;
125
+ border: none;
126
+ border-bottom: 1px solid $input-border-color;
127
+ outline: none;
128
+ height: 3rem;
129
+ width: 100%;
130
+
131
+ font-size: 1rem;
132
+ margin: 0 0 15px 0;
133
+ padding: 0;
134
+ @include box-shadow(none);
135
+ @include box-sizing(content-box);
136
+ @include transition(.3s);
137
+ }
138
+
139
+ input[type=text]:focus,
140
+ input[type=password]:focus,
141
+ input[type=email]:focus,
142
+ input[type=url]:focus,
143
+ input[type=date]:focus,
144
+ input[type=tel]:focus,
145
+ input[type=number]:focus,
146
+ input[type=search]:focus,
147
+ textarea:focus.materialize-textarea {
148
+ border-bottom: 1px solid $input-focus-color;
149
+ @include box-shadow(0 1px 0 0 $input-focus-color);
150
+ }
151
+
152
+ textarea.materialize-textarea {
153
+ overflow-y: hidden; /* prevents scroll bar flash */
154
+ padding: 1.6rem 0; /* prevents text jump on Enter keypress */
155
+ resize: none;
156
+ }
157
+
158
+ // For textarea autoresize
159
+ .hiddendiv {
160
+ display: none;
161
+ white-space: pre-wrap;
162
+ word-wrap: break-word;
163
+ overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */
164
+ padding-top: 1.2rem; /* prevents text jump on Enter keypress */
165
+ }
166
+
167
+
168
+ /***************
169
+ Radio Buttons
170
+ ***************/
171
+
172
+ /* Remove default Radio Buttons */
173
+ [type="radio"]:not(:checked),
174
+ [type="radio"]:checked {
175
+ position: absolute;
176
+ left: -9999px;
177
+ }
178
+
179
+ [type="radio"]:not(:checked) + label,
180
+ [type="radio"]:checked + label {
181
+ position: relative;
182
+ padding-left: 35px;
183
+ cursor: pointer;
184
+ display: inline-block;
185
+ height: 25px;
186
+ line-height: 25px;
187
+ font-size: 1rem;
188
+ @include transition(.28s ease);
189
+
190
+ -webkit-user-select: none; /* webkit (safari, chrome) browsers */
191
+ -moz-user-select: none; /* mozilla browsers */
192
+ -khtml-user-select: none; /* webkit (konqueror) browsers */
193
+ -ms-user-select: none; /* IE10+ */
194
+ }
195
+
196
+ [type="radio"] + label:before,
197
+ [type="radio"] + label:after {
198
+ content: '';
199
+ position: absolute;
200
+ left: 0px;
201
+ top: 0px;
202
+ margin: 4px;
203
+ width: 16px;
204
+ height: 16px;
205
+ z-index: 0;
206
+ @include transition(.28s ease);
207
+ }
208
+
209
+
210
+ /* Unchecked styles */
211
+ [type="radio"]:not(:checked) + label:before {
212
+ border-radius: 50%;
213
+ border: 2px solid $radio-empty-color;
214
+ }
215
+ [type="radio"]:not(:checked) + label:after {
216
+ border-radius: 50%;
217
+ border: 2px solid $radio-empty-color;
218
+ z-index: -1;
219
+
220
+ @include transform(scale(0));
221
+ }
222
+
223
+ /* Checked styles */
224
+ [type="radio"]:checked + label:before {
225
+ border-radius: 50%;
226
+ border: 2px solid transparent;
227
+ }
228
+ [type="radio"]:checked + label:after {
229
+ border-radius: 50%;
230
+ border: 2px solid $radio-fill-color;
231
+ background-color: $radio-fill-color;
232
+ z-index: 0;
233
+ @include transform(scale(1.02));
234
+ }
235
+
236
+ /* Radio With gap */
237
+ [type="radio"].with-gap:checked + label:before {
238
+ border-radius: 50%;
239
+ border: 2px solid $radio-fill-color;
240
+ }
241
+ [type="radio"].with-gap:checked + label:after {
242
+ border-radius: 50%;
243
+ border: 2px solid $radio-fill-color;
244
+ background-color: $radio-fill-color;
245
+ z-index: 0;
246
+ @include transform(scale(.5));
247
+ }
248
+
249
+ /* Disabled style */
250
+ [type="radio"]:disabled:not(:checked) + label:before,
251
+ [type="radio"]:disabled:checked + label:before {
252
+ background-color: transparent;
253
+ border-color: $input-disabled-color;
254
+ }
255
+ [type="radio"]:disabled + label {
256
+ color: $input-disabled-color;
257
+ }
258
+ [type="radio"]:disabled:not(:checked) + label:hover:before {
259
+ border-color: $input-disabled-color;
260
+ }
261
+
262
+
263
+ /***************
264
+ Checkboxes
265
+ ***************/
266
+
267
+ /* CUSTOM CSS CHECKBOXES */
268
+ form p {
269
+ margin-bottom: 10px;
270
+ text-align: left;
271
+ }
272
+ form p:last-child {
273
+ margin-bottom: 0px;
274
+ }
275
+
276
+ /* Remove default checkbox */
277
+ [type="checkbox"]:not(:checked),
278
+ [type="checkbox"]:checked {
279
+ position: absolute;
280
+ left: -9999px;
281
+ }
282
+ [type="checkbox"]:not(:checked) + label,
283
+ [type="checkbox"]:checked + label {
284
+ position: relative;
285
+ padding-left: 35px;
286
+ cursor: pointer;
287
+ display: inline-block;
288
+ height: 25px;
289
+ line-height: 25px;
290
+ font-size: 1rem;
291
+
292
+ -webkit-user-select: none; /* webkit (safari, chrome) browsers */
293
+ -moz-user-select: none; /* mozilla browsers */
294
+ -khtml-user-select: none; /* webkit (konqueror) browsers */
295
+ -ms-user-select: none; /* IE10+ */
296
+ }
297
+
298
+ /* checkbox aspect */
299
+ [type="checkbox"] + label:before {
300
+ content: '';
301
+ position: absolute;
302
+ margin-top: 2px;
303
+ left: 0;
304
+ z-index: 0;
305
+ @include border-radius(1px);
306
+ @include transition(.2s);
307
+ }
308
+ /* Unchecked styles */
309
+ [type="checkbox"]:not(:checked) + label:before {
310
+ top: 0px;
311
+ width: 18px; height: 18px;
312
+ border: 2px solid $radio-empty-color;
313
+ }
314
+
315
+ /* Checked styles */
316
+ [type="checkbox"]:checked + label:before {
317
+ left: -3px;
318
+ top: -4px;
319
+ width: 12px; height: 22px;
320
+ border-top: 2px solid transparent;
321
+ border-left: 2px solid transparent;
322
+ border-right: 2px solid $radio-fill-color;
323
+ border-bottom: 2px solid $radio-fill-color;
324
+ @include transform(rotateZ(40deg));
325
+ -webkit-backface-visibility: hidden;
326
+
327
+ @include transform-origin(100% 100%);
328
+ }
329
+
330
+ /* disabled checkbox */
331
+ [type="checkbox"]:disabled:not(:checked) + label:before {
332
+ top: 0;
333
+ left: 0;
334
+ box-shadow: none;
335
+ background-color: $input-disabled-color;
336
+ width: 18px; height: 18px;
337
+ border: 2px solid $input-disabled-color;
338
+ @include transform(rotateZ(0deg));
339
+ }
340
+
341
+ [type="checkbox"]:disabled:checked + label:before {
342
+ left: -3px;
343
+ top: -4px;
344
+ width: 12px; height: 22px;
345
+ border-top: 2px solid transparent;
346
+ border-left: 2px solid transparent;
347
+ border-right: 2px solid $input-disabled-color;
348
+ border-bottom: 2px solid $input-disabled-color;
349
+ @include transform(rotateZ(40deg));
350
+ -webkit-backface-visibility: hidden;
351
+
352
+ @include transform-origin(100% 100%);
353
+ }
354
+ [type="checkbox"]:disabled:checked + label {
355
+ color: $input-disabled-color;
356
+ }
357
+ [type="checkbox"]:disabled:not(:checked) + label:hover:before {
358
+ border-color: $input-disabled-color;
359
+ }
360
+
361
+
362
+ // Switch
363
+ .switch,
364
+ .switch * {
365
+ -webkit-user-select: none;
366
+ -moz-user-select: none;
367
+ -ms-user-select: none;
368
+ }
369
+ .switch label {
370
+ cursor: pointer;
371
+ }
372
+ .switch label input[type=checkbox]:first-child {
373
+ opacity: 0;
374
+ width: 0;
375
+ height: 0;
376
+ }
377
+ .switch label input[type=checkbox]:first-child:checked + .lever {
378
+ background-color: #7bc5be;
379
+ }
380
+ .switch label input[type=checkbox]:first-child:checked + .lever:after {
381
+ background-color: #009587;
382
+ }
383
+ .switch label .lever,
384
+ .switch label input[type=checkbox][disabled]:first-child + .lever {
385
+ content: "";
386
+ display: inline-block;
387
+ width: 45px;
388
+ height: 15px;
389
+ background-color: #818181;
390
+ border-radius: 15px;
391
+ margin-right: 10px;
392
+ transition: background 0.3s ease;
393
+ vertical-align: middle;
394
+ margin-left: 5px;
395
+ }
396
+ .switch label .lever:after {
397
+ content: "";
398
+ display: inline-block;
399
+ width: 20px;
400
+ height: 20px;
401
+ background-color: #F1F1F1;
402
+ border-radius: 20px;
403
+ position: relative;
404
+ box-shadow: 0 1px 3px 1px rgba(0,0,0,0.4);
405
+ left: -5px;
406
+ top: -2px;
407
+ transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease;
408
+ }
409
+ .switch label input[type=checkbox][disabled]:first-child + .lever:after,
410
+ .switch label input[type=checkbox][disabled]:checked:first-child + .lever:after {
411
+ background-color: #BDBDBD;
412
+ }
413
+ input[type=checkbox]:first-child:checked ~ .lever:active:after {
414
+ box-shadow: 0 1px 3px 1px rgba(0,0,0,0.4), 0 0 0 15px rgba(0, 149, 135, 0.1);
415
+ }
416
+ input[type=checkbox]:first-child ~ .lever:active:after,
417
+ input[type=checkbox][disabled]:first-child ~ .lever:active:after {
418
+ box-shadow: 0 1px 3px 1px rgba(0,0,0,0.4), 0 0 0 15px rgba(0, 0, 0, 0.1);
419
+ }
420
+ .switch label input[type=checkbox]:first-child:checked + .lever:after {
421
+ left: 30px;
422
+ }
423
+
424
+
425
+ /***************
426
+ Select Field
427
+ ***************/
428
+
429
+ .select-wrapper span.select-dropdown {
430
+ position: relative;
431
+ cursor: pointer;
432
+ color: #444;
433
+ background-color: transparent;
434
+ border: none;
435
+ border-bottom: 1px solid $input-border-color;
436
+ outline: none;
437
+ height: 3rem;
438
+ line-height: 3rem;
439
+ width: 100%;
440
+ font-size: 1rem;
441
+ margin: 0 0 15px 0;
442
+ padding: 0;
443
+ display: block;
444
+ position: relative;
445
+
446
+ &:after {
447
+ position: absolute;
448
+ right: 0;
449
+ font-size: 23px;
450
+ @extend [class^="mdi-"];
451
+ @extend .mdi-navigation-arrow-drop-down:before;
452
+ }
453
+ }
454
+
455
+ select { display: none; }
456
+ select.browser-default { display: block; }
457
+
458
+
459
+ // Disabled styles
460
+ select:disabled {
461
+ color: rgba(0,0,0,.3);
462
+ }
463
+ .select-wrapper span.select-dropdown.disabled {
464
+ color: rgba(0,0,0,.3);
465
+ }
466
+ .select-dropdown li.disabled {
467
+ color: rgba(0,0,0,.3);
468
+
469
+ &:hover { background-color: transparent; }
470
+ }
471
+
472
+
473
+ /***************
474
+ Range
475
+ ***************/
476
+
477
+ .range-field {
478
+ position: relative;
479
+ }
480
+
481
+ input[type=range], input[type=range] + .thumb {
482
+ @extend .no-select;
483
+ cursor: pointer;
484
+ }
485
+
486
+ input[type=range] {
487
+ position: relative;
488
+ background-color: transparent;
489
+ border: none;
490
+ outline: none;
491
+ width: 100%;
492
+ margin: 15px 0px;
493
+ padding: 0;
494
+ }
495
+ input[type=range] + .thumb {
496
+ position: absolute;
497
+ border: none;
498
+ height: 0;
499
+ width: 0;
500
+ border-radius: 50%;
501
+ background-color: $radio-fill-color;
502
+ top: 10px;
503
+ margin-left: -6px;
504
+
505
+ @include transform-origin(50% 50%);
506
+ @include transform(rotate(-45deg));
507
+
508
+ .value {
509
+ display: block;
510
+ width: 30px;
511
+ text-align: center;
512
+ color: $radio-fill-color;
513
+ font-size: 0px;
514
+ @include transform(rotate(45deg));
515
+ }
516
+
517
+ &.active {
518
+ border-radius: 50% 50% 50% 0;
519
+
520
+ .value {
521
+ color: #fff;
522
+ margin-left: -1px;
523
+ margin-top: 8px;
524
+ font-size: 10px;
525
+ }
526
+ }
527
+ }
528
+
529
+
530
+ input[type=range]:focus {
531
+ outline: none;
532
+ }
533
+
534
+
535
+
536
+ // WebKit
537
+ input[type=range]{
538
+ -webkit-appearance: none;
539
+ }
540
+
541
+ input[type=range]::-webkit-slider-runnable-track {
542
+ height: 3px;
543
+ background: #c2c0c2;
544
+ border: none;
545
+ }
546
+
547
+ input[type=range]::-webkit-slider-thumb {
548
+ -webkit-appearance: none;
549
+ border: none;
550
+ height: 14px;
551
+ width: 14px;
552
+ border-radius: 50%;
553
+ background-color: $radio-fill-color;
554
+ transform-origin: 50% 50%;
555
+ margin: -5px 0 0 0;
556
+ @include transition(.3s);
557
+ }
558
+
559
+ input[type=range]:focus::-webkit-slider-runnable-track {
560
+ background: #ccc;
561
+ }
562
+
563
+ // FireFox
564
+ input[type=range]{
565
+ /* fix for FF unable to apply focus style bug */
566
+ border: 1px solid white;
567
+
568
+ /*required for proper track sizing in FF*/
569
+ }
570
+
571
+ input[type=range]::-moz-range-track {
572
+ height: 3px;
573
+ background: #ddd;
574
+ border: none;
575
+ }
576
+
577
+ input[type=range]::-moz-range-thumb {
578
+ border: none;
579
+ height: 14px;
580
+ width: 14px;
581
+ border-radius: 50%;
582
+ background: $radio-fill-color;
583
+ margin-top: -5px;
584
+ }
585
+
586
+ /*hide the outline behind the border*/
587
+ input[type=range]:-moz-focusring{
588
+ outline: 1px solid white;
589
+ outline-offset: -1px;
590
+ }
591
+
592
+ input[type=range]:focus::-moz-range-track {
593
+ background: #ccc;
594
+ }
595
+
596
+ // IE 10+
597
+ input[type=range]::-ms-track {
598
+ height: 3px;
599
+
600
+ /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
601
+ background: transparent;
602
+
603
+ /*leave room for the larger thumb to overflow with a transparent border */
604
+ border-color: transparent;
605
+ border-width: 6px 0;
606
+
607
+ /*remove default tick marks*/
608
+ color: transparent;
609
+ }
610
+ input[type=range]::-ms-fill-lower {
611
+ background: #777;
612
+ }
613
+ input[type=range]::-ms-fill-upper {
614
+ background: #ddd;
615
+ }
616
+ input[type=range]::-ms-thumb {
617
+ border: none;
618
+ height: 14px;
619
+ width: 14px;
620
+ border-radius: 50%;
621
+ background: $radio-fill-color;
622
+ }
623
+ input[type=range]:focus::-ms-fill-lower {
624
+ background: #888;
625
+ }
626
+ input[type=range]:focus::-ms-fill-upper {
627
+ background: #ccc;
628
+ }
629
+
630
+ /***************************
631
+ Text Inputs + Textarea
632
+ ****************************/
633
+
634
+ select {
635
+ background-color: #fffafa;
636
+ width: 100%;
637
+ padding: 5px;
638
+ border: 1px solid #f2f2f2;
639
+ border-radius: 2px;
640
+ height: 3rem;
641
+ }