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