@materializecss/materialize 1.2.0 → 1.2.2

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 (82) hide show
  1. package/Gruntfile.js +722 -712
  2. package/LICENSE +21 -21
  3. package/README.md +91 -91
  4. package/dist/css/materialize.css +78 -137
  5. package/dist/css/materialize.min.css +12 -12
  6. package/dist/js/materialize.js +1502 -1378
  7. package/dist/js/materialize.min.js +6 -6
  8. package/extras/noUiSlider/nouislider.css +403 -403
  9. package/extras/noUiSlider/nouislider.js +2147 -2147
  10. package/js/anime.min.js +34 -34
  11. package/js/autocomplete.js +479 -479
  12. package/js/buttons.js +354 -354
  13. package/js/cards.js +40 -40
  14. package/js/carousel.js +732 -732
  15. package/js/cash.js +960 -960
  16. package/js/characterCounter.js +136 -136
  17. package/js/chips.js +486 -486
  18. package/js/collapsible.js +275 -275
  19. package/js/component.js +44 -44
  20. package/js/datepicker.js +983 -983
  21. package/js/dropdown.js +669 -669
  22. package/js/forms.js +285 -285
  23. package/js/global.js +428 -428
  24. package/js/materialbox.js +453 -453
  25. package/js/modal.js +382 -382
  26. package/js/parallax.js +138 -138
  27. package/js/pushpin.js +148 -148
  28. package/js/range.js +263 -263
  29. package/js/scrollspy.js +295 -295
  30. package/js/select.js +391 -391
  31. package/js/sidenav.js +583 -583
  32. package/js/slider.js +497 -359
  33. package/js/tabs.js +402 -402
  34. package/js/tapTarget.js +315 -315
  35. package/js/timepicker.js +712 -712
  36. package/js/toasts.js +325 -325
  37. package/js/tooltip.js +320 -320
  38. package/js/waves.js +614 -614
  39. package/package.json +87 -84
  40. package/sass/components/_badges.scss +55 -55
  41. package/sass/components/_buttons.scss +322 -322
  42. package/sass/components/_cards.scss +195 -195
  43. package/sass/components/_carousel.scss +90 -90
  44. package/sass/components/_chips.scss +96 -96
  45. package/sass/components/_collapsible.scss +91 -91
  46. package/sass/components/_collection.scss +106 -106
  47. package/sass/components/_color-classes.scss +32 -32
  48. package/sass/components/_color-variables.scss +370 -370
  49. package/sass/components/_datepicker.scss +191 -191
  50. package/sass/components/_dropdown.scss +84 -84
  51. package/sass/components/_global.scss +646 -646
  52. package/sass/components/_grid.scss +158 -158
  53. package/sass/components/_icons-material-design.scss +5 -5
  54. package/sass/components/_materialbox.scss +42 -42
  55. package/sass/components/_modal.scss +97 -97
  56. package/sass/components/_navbar.scss +208 -208
  57. package/sass/components/_normalize.scss +447 -447
  58. package/sass/components/_preloader.scss +334 -334
  59. package/sass/components/_pulse.scss +34 -34
  60. package/sass/components/_sidenav.scss +214 -214
  61. package/sass/components/_slider.scss +100 -91
  62. package/sass/components/_table_of_contents.scss +33 -33
  63. package/sass/components/_tabs.scss +99 -99
  64. package/sass/components/_tapTarget.scss +103 -103
  65. package/sass/components/_timepicker.scss +199 -199
  66. package/sass/components/_toast.scss +58 -58
  67. package/sass/components/_tooltip.scss +32 -32
  68. package/sass/components/_transitions.scss +12 -12
  69. package/sass/components/_typography.scss +62 -62
  70. package/sass/components/_variables.scss +352 -352
  71. package/sass/components/_waves.scss +187 -187
  72. package/sass/components/forms/_checkboxes.scss +200 -200
  73. package/sass/components/forms/_file-input.scss +44 -44
  74. package/sass/components/forms/_forms.scss +22 -22
  75. package/sass/components/forms/_input-fields.scss +388 -388
  76. package/sass/components/forms/_radio-buttons.scss +115 -115
  77. package/sass/components/forms/_range.scss +161 -161
  78. package/sass/components/forms/_select.scss +199 -199
  79. package/sass/components/forms/_switches.scss +91 -91
  80. package/sass/materialize.scss +42 -42
  81. package/sass/_style.scss +0 -929
  82. package/sass/ghpages-materialize.scss +0 -7
@@ -1,646 +1,646 @@
1
- //Default styles
2
-
3
- html {
4
- box-sizing: border-box;
5
- }
6
- *, *:before, *:after {
7
- box-sizing: inherit;
8
- }
9
-
10
- button,
11
- input,
12
- optgroup,
13
- select,
14
- textarea {
15
- font-family: $font-stack;
16
- }
17
-
18
- ul {
19
- &:not(.browser-default) {
20
- padding-left: 0;
21
- list-style-type: none;
22
-
23
- & > li {
24
- list-style-type: none;
25
- }
26
- }
27
- }
28
-
29
- a {
30
- color: $link-color;
31
- text-decoration: none;
32
-
33
- // Gets rid of tap active state
34
- -webkit-tap-highlight-color: transparent;
35
- }
36
-
37
-
38
- // Positioning
39
- .valign-wrapper {
40
- display: flex;
41
- align-items: center;
42
- }
43
-
44
-
45
- // classic clearfix
46
- .clearfix {
47
- clear: both;
48
- }
49
-
50
-
51
- // Z-levels
52
- .z-depth-0 {
53
- box-shadow: none !important;
54
- }
55
-
56
- /* 2dp elevation modified*/
57
- .z-depth-1 {
58
- box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),
59
- 0 3px 1px -2px rgba(0,0,0,0.12),
60
- 0 1px 5px 0 rgba(0,0,0,0.2);
61
- }
62
- .z-depth-1-half {
63
- box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
64
- }
65
-
66
- /* 6dp elevation modified*/
67
- .z-depth-2 {
68
- box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),
69
- 0 1px 10px 0 rgba(0,0,0,0.12),
70
- 0 2px 4px -1px rgba(0,0,0,0.3);
71
- }
72
-
73
- /* 12dp elevation modified*/
74
- .z-depth-3 {
75
- box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14),
76
- 0 3px 14px 2px rgba(0,0,0,0.12),
77
- 0 5px 5px -3px rgba(0, 0, 0, 0.2);
78
- }
79
-
80
- /* 16dp elevation */
81
- .z-depth-4 {
82
- box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),
83
- 0 6px 30px 5px rgba(0,0,0,0.12),
84
- 0 8px 10px -7px rgba(0,0,0,0.2);
85
- }
86
-
87
- /* 24dp elevation */
88
- .z-depth-5 {
89
- box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14),
90
- 0 9px 46px 8px rgba(0,0,0,0.12),
91
- 0 11px 15px -7px rgba(0,0,0,0.2);
92
- }
93
-
94
- .hoverable {
95
- transition: box-shadow .25s;
96
-
97
- &:hover {
98
- box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
99
- }
100
- }
101
-
102
- // Dividers
103
-
104
- .divider {
105
- height: 1px;
106
- overflow: hidden;
107
- background-color: color("grey", "lighten-2");
108
- }
109
-
110
-
111
- // Blockquote
112
-
113
- blockquote {
114
- margin: 20px 0;
115
- padding-left: 1.5rem;
116
- border-left: 5px solid $primary-color;
117
- }
118
-
119
- // Icon Styles
120
-
121
- i {
122
- line-height: inherit;
123
-
124
- &.left {
125
- float: left;
126
- margin-right: 15px;
127
- }
128
- &.right {
129
- float: right;
130
- margin-left: 15px;
131
- }
132
- &.tiny {
133
- font-size: 1rem;
134
- }
135
- &.small {
136
- font-size: 2rem;
137
- }
138
- &.medium {
139
- font-size: 4rem;
140
- }
141
- &.large {
142
- font-size: 6rem;
143
- }
144
- }
145
-
146
- // Images
147
- img.responsive-img,
148
- video.responsive-video {
149
- max-width: 100%;
150
- height: auto;
151
- }
152
-
153
-
154
- // Pagination
155
-
156
- .pagination {
157
-
158
- li {
159
- display: inline-block;
160
- border-radius: 2px;
161
- text-align: center;
162
- vertical-align: top;
163
- height: 30px;
164
-
165
- a {
166
- color: #444;
167
- display: inline-block;
168
- font-size: 1.2rem;
169
- padding: 0 10px;
170
- line-height: 30px;
171
- }
172
-
173
- &.active a { color: #fff; }
174
-
175
- &.active { background-color: $primary-color; }
176
-
177
- &.disabled a {
178
- cursor: default;
179
- color: #999;
180
- }
181
-
182
- i {
183
- font-size: 2rem;
184
- }
185
- }
186
-
187
-
188
- li.pages ul li {
189
- display: inline-block;
190
- float: none;
191
- }
192
- }
193
- @media #{$medium-and-down} {
194
- .pagination {
195
- width: 100%;
196
-
197
- li.prev,
198
- li.next {
199
- width: 10%;
200
- }
201
-
202
- li.pages {
203
- width: 80%;
204
- overflow: hidden;
205
- white-space: nowrap;
206
- }
207
- }
208
- }
209
-
210
- // Breadcrumbs
211
- .breadcrumb {
212
- display: inline-block;
213
- font-size: 18px;
214
- color: rgba(255,255,255, .7);
215
-
216
- i,
217
- [class^="mdi-"], [class*="mdi-"],
218
- i.material-icons {
219
- display: inline-block;
220
- float: left;
221
- font-size: 24px;
222
- }
223
-
224
- &:before {
225
- content: '\E5CC';
226
- color: rgba(255,255,255, .7);
227
- vertical-align: top;
228
- display: inline-block;
229
- font-family: 'Material Icons';
230
- font-weight: normal;
231
- font-style: normal;
232
- font-size: 25px;
233
- margin: 0 10px 0 8px;
234
- -webkit-font-smoothing: antialiased;
235
- float: left;
236
- }
237
-
238
- &:first-child:before {
239
- display: none;
240
- }
241
-
242
- &:last-child {
243
- color: #fff;
244
- }
245
- }
246
-
247
- // Parallax
248
- .parallax-container {
249
- position: relative;
250
- overflow: hidden;
251
- height: 500px;
252
-
253
- .parallax {
254
- position: absolute;
255
- top: 0;
256
- left: 0;
257
- right: 0;
258
- bottom: 0;
259
- z-index: -1;
260
-
261
- img {
262
- opacity: 0;
263
- position: absolute;
264
- left: 50%;
265
- bottom: 0;
266
- min-width: 100%;
267
- min-height: 100%;
268
- transform: translate3d(0,0,0);
269
- transform: translateX(-50%);
270
- }
271
- }
272
- }
273
-
274
- // Pushpin
275
- .pin-top, .pin-bottom {
276
- position: relative;
277
- }
278
- .pinned {
279
- position: fixed !important;
280
- }
281
-
282
- /*********************
283
- Transition Classes
284
- **********************/
285
-
286
- ul.staggered-list li {
287
- opacity: 0;
288
- }
289
-
290
- .fade-in {
291
- opacity: 0;
292
- transform-origin: 0 50%;
293
- }
294
-
295
-
296
- /*********************
297
- Media Query Classes
298
- **********************/
299
- .hide-on-small-only, .hide-on-small-and-down {
300
- @media #{$small-and-down} {
301
- display: none !important;
302
- }
303
- }
304
- .hide-on-med-and-down {
305
- @media #{$medium-and-down} {
306
- display: none !important;
307
- }
308
- }
309
- .hide-on-med-and-up {
310
- @media #{$medium-and-up} {
311
- display: none !important;
312
- }
313
- }
314
- .hide-on-med-only {
315
- @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
316
- display: none !important;
317
- }
318
- }
319
- .hide-on-large-only {
320
- @media #{$large-and-up} {
321
- display: none !important;
322
- }
323
- }
324
- .hide-on-extra-large-only {
325
- @media #{$extra-large-and-up} {
326
- display: none !important;
327
- }
328
- }
329
- .show-on-extra-large {
330
- @media #{$extra-large-and-up} {
331
- display: block !important;
332
- }
333
- }
334
- .show-on-large {
335
- @media #{$large-and-up} {
336
- display: block !important;
337
- }
338
- }
339
- .show-on-medium {
340
- @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
341
- display: block !important;
342
- }
343
- }
344
- .show-on-small {
345
- @media #{$small-and-down} {
346
- display: block !important;
347
- }
348
- }
349
- .show-on-medium-and-up {
350
- @media #{$medium-and-up} {
351
- display: block !important;
352
- }
353
- }
354
- .show-on-medium-and-down {
355
- @media #{$medium-and-down} {
356
- display: block !important;
357
- }
358
- }
359
-
360
-
361
- // Center text on mobile
362
- .center-on-small-only {
363
- @media #{$small-and-down} {
364
- text-align: center;
365
- }
366
- }
367
-
368
- // Footer
369
- .page-footer {
370
- padding-top: 20px;
371
- color: $footer-font-color;
372
- background-color: $footer-bg-color;
373
-
374
- .footer-copyright {
375
- overflow: hidden;
376
- min-height: 50px;
377
- display: flex;
378
- align-items: center;
379
- justify-content: space-between;
380
- padding: 10px 0px;
381
- color: $footer-copyright-font-color;
382
- background-color: $footer-copyright-bg-color;
383
- }
384
- }
385
-
386
- // Tables
387
- table, th, td {
388
- border: none;
389
- }
390
-
391
- table {
392
- width:100%;
393
- display: table;
394
- border-collapse: collapse;
395
- border-spacing: 0;
396
-
397
- &.striped {
398
- tr {
399
- border-bottom: none;
400
- }
401
-
402
- > tbody > tr:nth-child(odd) {
403
- background-color: $table-striped-color;
404
- }
405
- }
406
-
407
- &.highlight > tbody > tr {
408
- transition: background-color .25s ease;
409
- &:hover {
410
- background-color: $table-striped-color;
411
- }
412
- }
413
-
414
- &.centered {
415
- thead tr th, tbody tr td {
416
- text-align: center;
417
- }
418
- }
419
- }
420
-
421
- tr {
422
- border-bottom: 1px solid $table-border-color;
423
- }
424
-
425
- td, th{
426
- padding: 15px 5px;
427
- display: table-cell;
428
- text-align: left;
429
- vertical-align: middle;
430
- border-radius: 0;
431
- }
432
-
433
- // Responsive Table
434
- @media #{$medium-and-down} {
435
-
436
- table.responsive-table {
437
- width: 100%;
438
- border-collapse: collapse;
439
- border-spacing: 0;
440
- display: block;
441
- position: relative;
442
-
443
- td:empty:before {
444
- content: '\00a0';
445
- }
446
-
447
- th,
448
- td {
449
- margin: 0;
450
- vertical-align: top;
451
- }
452
-
453
- th { text-align: left; }
454
- thead {
455
- display: block;
456
- float: left;
457
-
458
- tr {
459
- display: block;
460
- padding: 0 10px 0 0;
461
-
462
- th::before {
463
- content: "\00a0";
464
- }
465
- }
466
- }
467
- tbody {
468
- display: block;
469
- width: auto;
470
- position: relative;
471
- overflow-x: auto;
472
- white-space: nowrap;
473
-
474
- tr {
475
- display: inline-block;
476
- vertical-align: top;
477
- }
478
- }
479
- th {
480
- display: block;
481
- text-align: right;
482
- }
483
- td {
484
- display: block;
485
- min-height: 1.25em;
486
- text-align: left;
487
- }
488
- tr {
489
- border-bottom: none;
490
- padding: 0 10px;
491
- }
492
-
493
- /* sort out borders */
494
- thead {
495
- border: 0;
496
- border-right: 1px solid $table-border-color;
497
- }
498
- }
499
-
500
- }
501
-
502
-
503
- // Responsive Videos
504
- .video-container {
505
- position: relative;
506
- padding-bottom: 56.25%;
507
- height: 0;
508
- overflow: hidden;
509
-
510
- iframe, object, embed {
511
- position: absolute;
512
- top: 0;
513
- left: 0;
514
- width: 100%;
515
- height: 100%;
516
- }
517
- }
518
-
519
- // Progress Bar
520
- .progress {
521
- position: relative;
522
- height: 4px;
523
- display: block;
524
- width: 100%;
525
- background-color: lighten($progress-bar-color, 40%);
526
- border-radius: 2px;
527
- margin: $element-top-margin 0 $element-bottom-margin 0;
528
- overflow: hidden;
529
- .determinate {
530
- position: absolute;
531
- top: 0;
532
- left: 0;
533
- bottom: 0;
534
- background-color: $progress-bar-color;
535
- transition: width .3s linear;
536
- }
537
- .indeterminate {
538
- background-color: $progress-bar-color;
539
- &:before {
540
- content: '';
541
- position: absolute;
542
- background-color: inherit;
543
- top: 0;
544
- left:0;
545
- bottom: 0;
546
- will-change: left, right;
547
- // Custom bezier
548
- animation: indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite;
549
-
550
- }
551
- &:after {
552
- content: '';
553
- position: absolute;
554
- background-color: inherit;
555
- top: 0;
556
- left:0;
557
- bottom: 0;
558
- will-change: left, right;
559
- // Custom bezier
560
- animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite;
561
- animation-delay: 1.15s;
562
- }
563
- }
564
- }
565
- @keyframes indeterminate {
566
- 0% {
567
- left: -35%;
568
- right:100%;
569
- }
570
- 60% {
571
- left: 100%;
572
- right: -90%;
573
- }
574
- 100% {
575
- left: 100%;
576
- right: -90%;
577
- }
578
- }
579
-
580
- @keyframes indeterminate-short {
581
- 0% {
582
- left: -200%;
583
- right: 100%;
584
- }
585
- 60% {
586
- left: 107%;
587
- right: -8%;
588
- }
589
- 100% {
590
- left: 107%;
591
- right: -8%;
592
- }
593
- }
594
-
595
-
596
- /*******************
597
- Utility Classes
598
- *******************/
599
-
600
- .hide {
601
- display: none !important;
602
- }
603
-
604
- // Text Align
605
- .left-align {
606
- text-align: left;
607
- }
608
- .right-align {
609
- text-align: right
610
- }
611
- .center, .center-align {
612
- text-align: center;
613
- }
614
-
615
- .left {
616
- float: left !important;
617
- }
618
- .right {
619
- float: right !important;
620
- }
621
-
622
- // No Text Select
623
- .no-select {
624
- user-select: none;
625
- }
626
-
627
- .circle {
628
- border-radius: 50%;
629
- }
630
-
631
- .center-block {
632
- display: block;
633
- margin-left: auto;
634
- margin-right: auto;
635
- }
636
-
637
- .truncate {
638
- display: block;
639
- white-space: nowrap;
640
- overflow: hidden;
641
- text-overflow: ellipsis;
642
- }
643
-
644
- .no-padding {
645
- padding: 0 !important;
646
- }
1
+ //Default styles
2
+
3
+ html {
4
+ box-sizing: border-box;
5
+ }
6
+ *, *:before, *:after {
7
+ box-sizing: inherit;
8
+ }
9
+
10
+ button,
11
+ input,
12
+ optgroup,
13
+ select,
14
+ textarea {
15
+ font-family: $font-stack;
16
+ }
17
+
18
+ ul {
19
+ &:not(.browser-default) {
20
+ padding-left: 0;
21
+ list-style-type: none;
22
+
23
+ & > li {
24
+ list-style-type: none;
25
+ }
26
+ }
27
+ }
28
+
29
+ a {
30
+ color: $link-color;
31
+ text-decoration: none;
32
+
33
+ // Gets rid of tap active state
34
+ -webkit-tap-highlight-color: transparent;
35
+ }
36
+
37
+
38
+ // Positioning
39
+ .valign-wrapper {
40
+ display: flex;
41
+ align-items: center;
42
+ }
43
+
44
+
45
+ // classic clearfix
46
+ .clearfix {
47
+ clear: both;
48
+ }
49
+
50
+
51
+ // Z-levels
52
+ .z-depth-0 {
53
+ box-shadow: none !important;
54
+ }
55
+
56
+ /* 2dp elevation modified*/
57
+ .z-depth-1 {
58
+ box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),
59
+ 0 3px 1px -2px rgba(0,0,0,0.12),
60
+ 0 1px 5px 0 rgba(0,0,0,0.2);
61
+ }
62
+ .z-depth-1-half {
63
+ box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
64
+ }
65
+
66
+ /* 6dp elevation modified*/
67
+ .z-depth-2 {
68
+ box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14),
69
+ 0 1px 10px 0 rgba(0,0,0,0.12),
70
+ 0 2px 4px -1px rgba(0,0,0,0.3);
71
+ }
72
+
73
+ /* 12dp elevation modified*/
74
+ .z-depth-3 {
75
+ box-shadow: 0 8px 17px 2px rgba(0,0,0,0.14),
76
+ 0 3px 14px 2px rgba(0,0,0,0.12),
77
+ 0 5px 5px -3px rgba(0, 0, 0, 0.2);
78
+ }
79
+
80
+ /* 16dp elevation */
81
+ .z-depth-4 {
82
+ box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14),
83
+ 0 6px 30px 5px rgba(0,0,0,0.12),
84
+ 0 8px 10px -7px rgba(0,0,0,0.2);
85
+ }
86
+
87
+ /* 24dp elevation */
88
+ .z-depth-5 {
89
+ box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14),
90
+ 0 9px 46px 8px rgba(0,0,0,0.12),
91
+ 0 11px 15px -7px rgba(0,0,0,0.2);
92
+ }
93
+
94
+ .hoverable {
95
+ transition: box-shadow .25s;
96
+
97
+ &:hover {
98
+ box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
99
+ }
100
+ }
101
+
102
+ // Dividers
103
+
104
+ .divider {
105
+ height: 1px;
106
+ overflow: hidden;
107
+ background-color: color("grey", "lighten-2");
108
+ }
109
+
110
+
111
+ // Blockquote
112
+
113
+ blockquote {
114
+ margin: 20px 0;
115
+ padding-left: 1.5rem;
116
+ border-left: 5px solid $primary-color;
117
+ }
118
+
119
+ // Icon Styles
120
+
121
+ i {
122
+ line-height: inherit;
123
+
124
+ &.left {
125
+ float: left;
126
+ margin-right: 15px;
127
+ }
128
+ &.right {
129
+ float: right;
130
+ margin-left: 15px;
131
+ }
132
+ &.tiny {
133
+ font-size: 1rem;
134
+ }
135
+ &.small {
136
+ font-size: 2rem;
137
+ }
138
+ &.medium {
139
+ font-size: 4rem;
140
+ }
141
+ &.large {
142
+ font-size: 6rem;
143
+ }
144
+ }
145
+
146
+ // Images
147
+ img.responsive-img,
148
+ video.responsive-video {
149
+ max-width: 100%;
150
+ height: auto;
151
+ }
152
+
153
+
154
+ // Pagination
155
+
156
+ .pagination {
157
+
158
+ li {
159
+ display: inline-block;
160
+ border-radius: 2px;
161
+ text-align: center;
162
+ vertical-align: top;
163
+ height: 30px;
164
+
165
+ a {
166
+ color: #444;
167
+ display: inline-block;
168
+ font-size: 1.2rem;
169
+ padding: 0 10px;
170
+ line-height: 30px;
171
+ }
172
+
173
+ &.active a { color: #fff; }
174
+
175
+ &.active { background-color: $primary-color; }
176
+
177
+ &.disabled a {
178
+ cursor: default;
179
+ color: #999;
180
+ }
181
+
182
+ i {
183
+ font-size: 2rem;
184
+ }
185
+ }
186
+
187
+
188
+ li.pages ul li {
189
+ display: inline-block;
190
+ float: none;
191
+ }
192
+ }
193
+ @media #{$medium-and-down} {
194
+ .pagination {
195
+ width: 100%;
196
+
197
+ li.prev,
198
+ li.next {
199
+ width: 10%;
200
+ }
201
+
202
+ li.pages {
203
+ width: 80%;
204
+ overflow: hidden;
205
+ white-space: nowrap;
206
+ }
207
+ }
208
+ }
209
+
210
+ // Breadcrumbs
211
+ .breadcrumb {
212
+ display: inline-block;
213
+ font-size: 18px;
214
+ color: rgba(255,255,255, .7);
215
+
216
+ i,
217
+ [class^="mdi-"], [class*="mdi-"],
218
+ i.material-icons {
219
+ display: inline-block;
220
+ float: left;
221
+ font-size: 24px;
222
+ }
223
+
224
+ &:before {
225
+ content: '\E5CC';
226
+ color: rgba(255,255,255, .7);
227
+ vertical-align: top;
228
+ display: inline-block;
229
+ font-family: 'Material Icons';
230
+ font-weight: normal;
231
+ font-style: normal;
232
+ font-size: 25px;
233
+ margin: 0 10px 0 8px;
234
+ -webkit-font-smoothing: antialiased;
235
+ float: left;
236
+ }
237
+
238
+ &:first-child:before {
239
+ display: none;
240
+ }
241
+
242
+ &:last-child {
243
+ color: #fff;
244
+ }
245
+ }
246
+
247
+ // Parallax
248
+ .parallax-container {
249
+ position: relative;
250
+ overflow: hidden;
251
+ height: 500px;
252
+
253
+ .parallax {
254
+ position: absolute;
255
+ top: 0;
256
+ left: 0;
257
+ right: 0;
258
+ bottom: 0;
259
+ z-index: -1;
260
+
261
+ img {
262
+ opacity: 0;
263
+ position: absolute;
264
+ left: 50%;
265
+ bottom: 0;
266
+ min-width: 100%;
267
+ min-height: 100%;
268
+ transform: translate3d(0,0,0);
269
+ transform: translateX(-50%);
270
+ }
271
+ }
272
+ }
273
+
274
+ // Pushpin
275
+ .pin-top, .pin-bottom {
276
+ position: relative;
277
+ }
278
+ .pinned {
279
+ position: fixed !important;
280
+ }
281
+
282
+ /*********************
283
+ Transition Classes
284
+ **********************/
285
+
286
+ ul.staggered-list li {
287
+ opacity: 0;
288
+ }
289
+
290
+ .fade-in {
291
+ opacity: 0;
292
+ transform-origin: 0 50%;
293
+ }
294
+
295
+
296
+ /*********************
297
+ Media Query Classes
298
+ **********************/
299
+ .hide-on-small-only, .hide-on-small-and-down {
300
+ @media #{$small-and-down} {
301
+ display: none !important;
302
+ }
303
+ }
304
+ .hide-on-med-and-down {
305
+ @media #{$medium-and-down} {
306
+ display: none !important;
307
+ }
308
+ }
309
+ .hide-on-med-and-up {
310
+ @media #{$medium-and-up} {
311
+ display: none !important;
312
+ }
313
+ }
314
+ .hide-on-med-only {
315
+ @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
316
+ display: none !important;
317
+ }
318
+ }
319
+ .hide-on-large-only {
320
+ @media #{$large-and-up} {
321
+ display: none !important;
322
+ }
323
+ }
324
+ .hide-on-extra-large-only {
325
+ @media #{$extra-large-and-up} {
326
+ display: none !important;
327
+ }
328
+ }
329
+ .show-on-extra-large {
330
+ @media #{$extra-large-and-up} {
331
+ display: block !important;
332
+ }
333
+ }
334
+ .show-on-large {
335
+ @media #{$large-and-up} {
336
+ display: block !important;
337
+ }
338
+ }
339
+ .show-on-medium {
340
+ @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
341
+ display: block !important;
342
+ }
343
+ }
344
+ .show-on-small {
345
+ @media #{$small-and-down} {
346
+ display: block !important;
347
+ }
348
+ }
349
+ .show-on-medium-and-up {
350
+ @media #{$medium-and-up} {
351
+ display: block !important;
352
+ }
353
+ }
354
+ .show-on-medium-and-down {
355
+ @media #{$medium-and-down} {
356
+ display: block !important;
357
+ }
358
+ }
359
+
360
+
361
+ // Center text on mobile
362
+ .center-on-small-only {
363
+ @media #{$small-and-down} {
364
+ text-align: center;
365
+ }
366
+ }
367
+
368
+ // Footer
369
+ .page-footer {
370
+ padding-top: 20px;
371
+ color: $footer-font-color;
372
+ background-color: $footer-bg-color;
373
+
374
+ .footer-copyright {
375
+ overflow: hidden;
376
+ min-height: 50px;
377
+ display: flex;
378
+ align-items: center;
379
+ justify-content: space-between;
380
+ padding: 10px 0px;
381
+ color: $footer-copyright-font-color;
382
+ background-color: $footer-copyright-bg-color;
383
+ }
384
+ }
385
+
386
+ // Tables
387
+ table, th, td {
388
+ border: none;
389
+ }
390
+
391
+ table {
392
+ width:100%;
393
+ display: table;
394
+ border-collapse: collapse;
395
+ border-spacing: 0;
396
+
397
+ &.striped {
398
+ tr {
399
+ border-bottom: none;
400
+ }
401
+
402
+ > tbody > tr:nth-child(odd) {
403
+ background-color: $table-striped-color;
404
+ }
405
+ }
406
+
407
+ &.highlight > tbody > tr {
408
+ transition: background-color .25s ease;
409
+ &:hover {
410
+ background-color: $table-striped-color;
411
+ }
412
+ }
413
+
414
+ &.centered {
415
+ thead tr th, tbody tr td {
416
+ text-align: center;
417
+ }
418
+ }
419
+ }
420
+
421
+ tr {
422
+ border-bottom: 1px solid $table-border-color;
423
+ }
424
+
425
+ td, th{
426
+ padding: 15px 5px;
427
+ display: table-cell;
428
+ text-align: left;
429
+ vertical-align: middle;
430
+ border-radius: 0;
431
+ }
432
+
433
+ // Responsive Table
434
+ @media #{$medium-and-down} {
435
+
436
+ table.responsive-table {
437
+ width: 100%;
438
+ border-collapse: collapse;
439
+ border-spacing: 0;
440
+ display: block;
441
+ position: relative;
442
+
443
+ td:empty:before {
444
+ content: '\00a0';
445
+ }
446
+
447
+ th,
448
+ td {
449
+ margin: 0;
450
+ vertical-align: top;
451
+ }
452
+
453
+ th { text-align: left; }
454
+ thead {
455
+ display: block;
456
+ float: left;
457
+
458
+ tr {
459
+ display: block;
460
+ padding: 0 10px 0 0;
461
+
462
+ th::before {
463
+ content: "\00a0";
464
+ }
465
+ }
466
+ }
467
+ tbody {
468
+ display: block;
469
+ width: auto;
470
+ position: relative;
471
+ overflow-x: auto;
472
+ white-space: nowrap;
473
+
474
+ tr {
475
+ display: inline-block;
476
+ vertical-align: top;
477
+ }
478
+ }
479
+ th {
480
+ display: block;
481
+ text-align: right;
482
+ }
483
+ td {
484
+ display: block;
485
+ min-height: 1.25em;
486
+ text-align: left;
487
+ }
488
+ tr {
489
+ border-bottom: none;
490
+ padding: 0 10px;
491
+ }
492
+
493
+ /* sort out borders */
494
+ thead {
495
+ border: 0;
496
+ border-right: 1px solid $table-border-color;
497
+ }
498
+ }
499
+
500
+ }
501
+
502
+
503
+ // Responsive Videos
504
+ .video-container {
505
+ position: relative;
506
+ padding-bottom: 56.25%;
507
+ height: 0;
508
+ overflow: hidden;
509
+
510
+ iframe, object, embed {
511
+ position: absolute;
512
+ top: 0;
513
+ left: 0;
514
+ width: 100%;
515
+ height: 100%;
516
+ }
517
+ }
518
+
519
+ // Progress Bar
520
+ .progress {
521
+ position: relative;
522
+ height: 4px;
523
+ display: block;
524
+ width: 100%;
525
+ background-color: lighten($progress-bar-color, 40%);
526
+ border-radius: 2px;
527
+ margin: $element-top-margin 0 $element-bottom-margin 0;
528
+ overflow: hidden;
529
+ .determinate {
530
+ position: absolute;
531
+ top: 0;
532
+ left: 0;
533
+ bottom: 0;
534
+ background-color: $progress-bar-color;
535
+ transition: width .3s linear;
536
+ }
537
+ .indeterminate {
538
+ background-color: $progress-bar-color;
539
+ &:before {
540
+ content: '';
541
+ position: absolute;
542
+ background-color: inherit;
543
+ top: 0;
544
+ left:0;
545
+ bottom: 0;
546
+ will-change: left, right;
547
+ // Custom bezier
548
+ animation: indeterminate 2.1s cubic-bezier(0.650, 0.815, 0.735, 0.395) infinite;
549
+
550
+ }
551
+ &:after {
552
+ content: '';
553
+ position: absolute;
554
+ background-color: inherit;
555
+ top: 0;
556
+ left:0;
557
+ bottom: 0;
558
+ will-change: left, right;
559
+ // Custom bezier
560
+ animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.840, 0.440, 1.000) infinite;
561
+ animation-delay: 1.15s;
562
+ }
563
+ }
564
+ }
565
+ @keyframes indeterminate {
566
+ 0% {
567
+ left: -35%;
568
+ right:100%;
569
+ }
570
+ 60% {
571
+ left: 100%;
572
+ right: -90%;
573
+ }
574
+ 100% {
575
+ left: 100%;
576
+ right: -90%;
577
+ }
578
+ }
579
+
580
+ @keyframes indeterminate-short {
581
+ 0% {
582
+ left: -200%;
583
+ right: 100%;
584
+ }
585
+ 60% {
586
+ left: 107%;
587
+ right: -8%;
588
+ }
589
+ 100% {
590
+ left: 107%;
591
+ right: -8%;
592
+ }
593
+ }
594
+
595
+
596
+ /*******************
597
+ Utility Classes
598
+ *******************/
599
+
600
+ .hide {
601
+ display: none !important;
602
+ }
603
+
604
+ // Text Align
605
+ .left-align {
606
+ text-align: left;
607
+ }
608
+ .right-align {
609
+ text-align: right
610
+ }
611
+ .center, .center-align {
612
+ text-align: center;
613
+ }
614
+
615
+ .left {
616
+ float: left !important;
617
+ }
618
+ .right {
619
+ float: right !important;
620
+ }
621
+
622
+ // No Text Select
623
+ .no-select {
624
+ user-select: none;
625
+ }
626
+
627
+ .circle {
628
+ border-radius: 50%;
629
+ }
630
+
631
+ .center-block {
632
+ display: block;
633
+ margin-left: auto;
634
+ margin-right: auto;
635
+ }
636
+
637
+ .truncate {
638
+ display: block;
639
+ white-space: nowrap;
640
+ overflow: hidden;
641
+ text-overflow: ellipsis;
642
+ }
643
+
644
+ .no-padding {
645
+ padding: 0 !important;
646
+ }