@materializecss/materialize 1.1.0 → 1.2.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 (83) hide show
  1. package/Gruntfile.js +38 -24
  2. package/LICENSE +21 -21
  3. package/README.md +91 -97
  4. package/dist/css/materialize.css +8608 -8631
  5. package/dist/css/materialize.min.css +12 -12
  6. package/dist/js/materialize.js +12816 -12669
  7. package/dist/js/materialize.min.js +6 -6
  8. package/extras/noUiSlider/nouislider.css +404 -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 -732
  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 -983
  22. package/js/dropdown.js +669 -669
  23. package/js/forms.js +285 -275
  24. package/js/global.js +428 -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 +391 -310
  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 +712 -648
  37. package/js/toasts.js +325 -322
  38. package/js/tooltip.js +320 -320
  39. package/js/waves.js +614 -614
  40. package/package.json +87 -82
  41. package/sass/_style.scss +929 -929
  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 +106 -106
  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 +646 -642
  54. package/sass/components/_grid.scss +158 -158
  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 +199 -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 -62
  72. package/sass/components/_variables.scss +352 -352
  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 +388 -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 -7
  83. package/sass/materialize.scss +42 -42
@@ -1,642 +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
-
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
- }
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
+ }