@materializecss/materialize 2.2.1 → 2.3.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 (57) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +94 -94
  3. package/dist/css/materialize.colors.min.css +6 -0
  4. package/dist/css/materialize.css +9624 -8820
  5. package/dist/css/materialize.min.css +6 -8
  6. package/dist/css/materialize.min.css.map +1 -1
  7. package/dist/js/materialize.cjs.js +8370 -7926
  8. package/dist/js/materialize.d.ts +2552 -2491
  9. package/dist/js/materialize.js +8375 -7931
  10. package/dist/js/materialize.min.js +6 -6
  11. package/dist/js/materialize.mjs +8342 -7898
  12. package/package.json +95 -79
  13. package/sass/{components/_color-variables.scss → _colors.scss} +403 -370
  14. package/sass/{components/_global.scss → _global.scss} +490 -558
  15. package/sass/{components/_grid.scss → _grid.scss} +172 -170
  16. package/sass/{components/_table_of_contents.scss → _table_of_contents.scss} +28 -32
  17. package/sass/{components/_tapTarget.scss → _tapTarget.scss} +102 -103
  18. package/sass/{components/_typography.scss → _typography.scss} +59 -62
  19. package/sass/{components/_variables.scss → _variables.scss} +57 -56
  20. package/sass/components/forms/_forms.scss +19 -24
  21. package/sass/materialize.scss +48 -47
  22. package/sass/mixins.module.scss +168 -0
  23. package/sass/components/_badges.scss +0 -75
  24. package/sass/components/_buttons.scss +0 -455
  25. package/sass/components/_cards.scss +0 -210
  26. package/sass/components/_carousel.scss +0 -95
  27. package/sass/components/_chips.scss +0 -148
  28. package/sass/components/_collapsible.scss +0 -80
  29. package/sass/components/_collection.scss +0 -115
  30. package/sass/components/_color-classes.scss +0 -32
  31. package/sass/components/_datepicker.scss +0 -216
  32. package/sass/components/_dropdown.scss +0 -78
  33. package/sass/components/_icons-material-design.scss +0 -6
  34. package/sass/components/_materialbox.scss +0 -43
  35. package/sass/components/_modal.scss +0 -68
  36. package/sass/components/_navbar.scss +0 -231
  37. package/sass/components/_normalize.scss +0 -349
  38. package/sass/components/_preloader.scss +0 -418
  39. package/sass/components/_pulse.scss +0 -35
  40. package/sass/components/_sidenav.scss +0 -249
  41. package/sass/components/_slider.scss +0 -121
  42. package/sass/components/_tabs.scss +0 -155
  43. package/sass/components/_timepicker.scss +0 -279
  44. package/sass/components/_toast.scss +0 -65
  45. package/sass/components/_tooltip.scss +0 -48
  46. package/sass/components/_transitions.scss +0 -13
  47. package/sass/components/colors.module.scss +0 -74
  48. package/sass/components/forms/_checkboxes.scss +0 -200
  49. package/sass/components/forms/_file-input.scss +0 -43
  50. package/sass/components/forms/_input-fields.scss +0 -350
  51. package/sass/components/forms/_radio-buttons.scss +0 -112
  52. package/sass/components/forms/_range.scss +0 -153
  53. package/sass/components/forms/_select.scss +0 -195
  54. package/sass/components/forms/_switches.scss +0 -122
  55. package/sass/components/theme.module.scss +0 -140
  56. package/sass/components/tokens.module.scss +0 -272
  57. package/sass/components/typography.module.scss +0 -150
@@ -1,558 +1,490 @@
1
- html {
2
- box-sizing: border-box;
3
- }
4
-
5
- *, *:before, *:after {
6
- box-sizing: inherit;
7
- }
8
-
9
- body {
10
- background-color: var(--md-sys-color-background);
11
- color: var(--md-sys-color-on-background);
12
- }
13
-
14
- button,
15
- input,
16
- optgroup,
17
- select,
18
- textarea {
19
- font-family: $font-stack;
20
- }
21
-
22
- a { color: $link-color; text-decoration: none;
23
- -webkit-tap-highlight-color: transparent; // Gets rid of tap active state
24
- }
25
-
26
- // Positioning
27
- .valign-wrapper { display: flex; align-items: center; }
28
-
29
- .clearfix { clear: both; }
30
-
31
- // Z-levels
32
- .z-depth-0 {
33
- box-shadow: none !important;
34
- }
35
-
36
- /* 2dp elevation modified*/
37
- .z-depth-1 {
38
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
39
- 0 3px 1px -2px rgba(0, 0, 0, 0.12),
40
- 0 1px 5px 0 rgba(0, 0, 0, 0.2);
41
- }
42
-
43
- .z-depth-1-half {
44
- 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);
45
- }
46
-
47
- /* 6dp elevation modified*/
48
- .z-depth-2 {
49
- box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
50
- 0 1px 10px 0 rgba(0, 0, 0, 0.12),
51
- 0 2px 4px -1px rgba(0, 0, 0, 0.3);
52
- }
53
-
54
- /* 12dp elevation modified*/
55
- .z-depth-3 {
56
- box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14),
57
- 0 3px 14px 2px rgba(0, 0, 0, 0.12),
58
- 0 5px 5px -3px rgba(0, 0, 0, 0.2);
59
- }
60
-
61
- /* 16dp elevation */
62
- .z-depth-4 {
63
- box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
64
- 0 6px 30px 5px rgba(0, 0, 0, 0.12),
65
- 0 8px 10px -7px rgba(0, 0, 0, 0.2);
66
- }
67
-
68
- /* 24dp elevation */
69
- .z-depth-5 {
70
- box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
71
- 0 9px 46px 8px rgba(0, 0, 0, 0.12),
72
- 0 11px 15px -7px rgba(0, 0, 0, 0.2);
73
- }
74
-
75
- .hoverable {
76
- transition: box-shadow .25s;
77
- &:hover {
78
- box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
79
- }
80
- }
81
-
82
- // Dividers
83
- .divider {
84
- height: 1px;
85
- overflow: hidden;
86
- background-color: var(--md-sys-color-outline-variant);
87
- }
88
-
89
- // Blockquote
90
- blockquote { margin: 20px 0; padding-left: 1.5rem; border-left: 5px solid var(--md-sys-color-primary); }
91
-
92
- // Icon Styles
93
- i {
94
- line-height: inherit;
95
- &.left {
96
- float: left;
97
- margin-left: -8px;
98
- // margin-right: 15px;
99
- }
100
- &.right {
101
- float: right;
102
- // margin-left: 15px;
103
- }
104
- &.tiny {
105
- font-size: 1rem;
106
- }
107
- &.small {
108
- font-size: 2rem;
109
- }
110
- &.medium {
111
- font-size: 4rem;
112
- }
113
- &.large {
114
- font-size: 6rem;
115
- }
116
- }
117
-
118
- // Modal
119
- html.noscroll {
120
- position: fixed;
121
- overflow-y: scroll;
122
- width: 100%;
123
- }
124
-
125
- // Images
126
- img.responsive-img,
127
- video.responsive-video {
128
- max-width: 100%;
129
- height: auto;
130
- }
131
-
132
- // Pagination
133
- .pagination {
134
-
135
- li {
136
- display: inline-block;
137
- border-radius: 2px;
138
- text-align: center;
139
- vertical-align: top;
140
- height: 30px;
141
-
142
- a {
143
- color: var(--md-sys-color-on-surface-variant);
144
- display: inline-block;
145
- font-size: 1.2rem;
146
- padding: 0 10px;
147
- line-height: 30px;
148
- }
149
-
150
- &:hover:not(.disabled) {
151
- background-color: rgba(var(--md-sys-color-primary-numeric), 0.06);
152
- }
153
-
154
- &.active a {
155
- color: var(--md-sys-color-on-primary);
156
- }
157
-
158
- &.active,
159
- &.active:hover {
160
- background-color: var(--md-sys-color-primary);
161
- }
162
-
163
- &.disabled a {
164
- cursor: default;
165
- color: var(--md-sys-color-on-surface);
166
- }
167
-
168
- i {
169
- font-size: 2rem;
170
- }
171
- }
172
-
173
-
174
- li.pages ul li {
175
- display: inline-block;
176
- float: none;
177
- }
178
- }
179
-
180
- @media #{$medium-and-down} {
181
- .pagination {
182
- width: 100%;
183
-
184
- li.prev,
185
- li.next {
186
- width: 10%;
187
- }
188
-
189
- li.pages {
190
- width: 80%;
191
- overflow: hidden;
192
- white-space: nowrap;
193
- }
194
- }
195
- }
196
-
197
- // Breadcrumbs
198
- .breadcrumb {
199
- display: inline-block;
200
- font-size: 18px;
201
- color: var(--font-on-primary-color-medium);
202
-
203
- i,
204
- [class^="mdi-"], [class*="mdi-"],
205
- i.material-icons, i.material-symbols-outlined,
206
- i.material-symbols-rounded, i.material-symbols-sharp {
207
- display: block;
208
- float: left;
209
- font-size: 24px;
210
- }
211
-
212
- &:before {
213
- content: '\E5CC';
214
- color: var(--font-on-primary-color-medium);
215
- vertical-align: top;
216
- display: inline-block;
217
- font-family: 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp', 'Material Icons';
218
- font-weight: normal;
219
- font-style: normal;
220
- font-size: 25px;
221
- margin: 0 10px 0 8px;
222
- -webkit-font-smoothing: antialiased;
223
- float: left;
224
- }
225
-
226
- &:first-child:before {
227
- display: none;
228
- }
229
-
230
- &:last-child {
231
- color: var(--md-sys-color-on-primary);
232
- }
233
- }
234
-
235
- // Parallax
236
- .parallax-container {
237
- position: relative;
238
- overflow: hidden;
239
- height: 500px;
240
-
241
- .parallax {
242
- position: absolute;
243
- top: 0;
244
- left: 0;
245
- right: 0;
246
- bottom: 0;
247
- z-index: -1;
248
-
249
- img {
250
- opacity: 0;
251
- position: absolute;
252
- left: 50%;
253
- bottom: 0;
254
- min-width: 100%;
255
- min-height: 100%;
256
- transform: translate3d(0, 0, 0);
257
- transform: translateX(-50%);
258
- }
259
- }
260
- }
261
-
262
- // Pushpin
263
- .pin-top, .pin-bottom {
264
- position: relative;
265
- }
266
-
267
- .pinned {
268
- position: fixed !important;
269
- }
270
-
271
- /*********************
272
- Transition Classes
273
- **********************/
274
-
275
- ul.staggered-list li { opacity: 0; }
276
- .fade-in { opacity: 0; transform-origin: 0 50%; }
277
-
278
- /*********************
279
- Media Query Classes
280
- **********************/
281
- .hide-on-small-only, .hide-on-small-and-down {
282
- @media #{$small-and-down} { display: none !important; }
283
- }
284
-
285
- .hide-on-med-and-down {
286
- @media #{$medium-and-down} { display: none !important; }
287
- }
288
-
289
- .hide-on-med-and-up {
290
- @media #{$medium-and-up} { display: none !important; }
291
- }
292
-
293
- .hide-on-med-only {
294
- @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
295
- display: none !important;
296
- }
297
- }
298
-
299
- .hide-on-large-only {
300
- @media #{$large-and-up} { display: none !important; }
301
- }
302
-
303
- .hide-on-extra-large-only {
304
- @media #{$extra-large-and-up} { display: none !important; }
305
- }
306
-
307
- .show-on-extra-large {
308
- @media #{$extra-large-and-up} { display: block !important; }
309
- }
310
-
311
- .show-on-large {
312
- @media #{$large-and-up} { display: block !important; }
313
- }
314
-
315
- .show-on-medium {
316
- @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
317
- display: block !important;
318
- }
319
- }
320
-
321
- .show-on-small {
322
- @media #{$small-and-down} { display: block !important; }
323
- }
324
-
325
- .show-on-medium-and-up {
326
- @media #{$medium-and-up} { display: block !important; }
327
- }
328
-
329
- .show-on-medium-and-down {
330
- @media #{$medium-and-down} { display: block !important; }
331
- }
332
-
333
-
334
- // Center text on mobile
335
- .center-on-small-only {
336
- @media #{$small-and-down} { text-align: center; }
337
- }
338
-
339
- // Footer
340
- .page-footer {
341
- margin-top: 5rem;
342
- padding-top: 3rem;
343
- border-top: 1px dashed var(--md-sys-color-outline-variant);
344
- p {
345
- color: var(--md-sys-color-outline-light);
346
- }
347
- a {
348
- color: var(--md-sys-color-primary);
349
- }
350
- .footer-copyright,
351
- .footer-copyright a {
352
- overflow: hidden;
353
- min-height: 50px;
354
- display: flex;
355
- align-items: center;
356
- justify-content: space-between;
357
- padding: 10px 0px;
358
- }
359
- }
360
- .page-footer ul {
361
- padding-left: 0;
362
- list-style-type: none;
363
- }
364
-
365
- // Tables
366
- table, th, td {
367
- border: none;
368
- }
369
-
370
- table {
371
- width: 100%;
372
- display: table;
373
- border-collapse: collapse;
374
- border-spacing: 0;
375
-
376
- &.striped {
377
- tr {
378
- border-bottom: none;
379
- }
380
- tbody > tr:nth-child(odd) {
381
- background-color: rgba(0, 0, 0, 0.08);
382
- }
383
- }
384
-
385
- &.highlight > tbody > tr {
386
- transition: background-color .25s ease;
387
-
388
- &:hover {
389
- background-color: rgba(0, 0, 0, 0.04);
390
- }
391
- }
392
-
393
- thead {
394
- color: var(--md-sys-color-on-surface-variant);
395
- }
396
-
397
- &.centered {
398
- thead tr th, tbody tr td {
399
- text-align: center;
400
- }
401
- }
402
- }
403
-
404
- tr {
405
- border-bottom: 1px solid var(--md-sys-color-outline-variant);
406
- }
407
-
408
- td, th {
409
- padding: 15px 5px;
410
- display: table-cell;
411
- text-align: left;
412
- vertical-align: middle;
413
- border-radius: 0;
414
- }
415
-
416
- // Responsive Table
417
- @media #{$medium-and-down} {
418
-
419
- table.responsive-table {
420
- width: 100%;
421
- border-collapse: collapse;
422
- border-spacing: 0;
423
- display: block;
424
- position: relative;
425
-
426
- td:empty:before {
427
- content: '\00a0';
428
- }
429
- th,
430
- td {
431
- margin: 0;
432
- vertical-align: top;
433
- }
434
- th {
435
- text-align: left;
436
- }
437
- thead {
438
- display: block;
439
- float: left;
440
-
441
- tr {
442
- display: block;
443
- padding: 0 10px 0 0;
444
-
445
- th::before {
446
- content: "\00a0";
447
- }
448
- }
449
- }
450
- tbody {
451
- display: block;
452
- width: auto;
453
- position: relative;
454
- overflow-x: auto;
455
- white-space: nowrap;
456
-
457
- tr {
458
- display: inline-block;
459
- vertical-align: top;
460
- }
461
- }
462
- th {
463
- display: block;
464
- text-align: right;
465
- }
466
- td {
467
- display: block;
468
- min-height: 1.25em;
469
- text-align: left;
470
- }
471
- tr {
472
- border-bottom: none;
473
- padding: 0 10px;
474
- }
475
- /* sort out borders */
476
- thead {
477
- border: 0;
478
- border-right: 1px solid var(--md-sys-color-outline-variant);
479
- }
480
- }
481
- }
482
-
483
- // Responsive Videos
484
- .video-container {
485
- position: relative;
486
- padding-bottom: 56.25%;
487
- height: 0;
488
- overflow: hidden;
489
-
490
- iframe, object, embed {
491
- position: absolute;
492
- top: 0;
493
- left: 0;
494
- width: 100%;
495
- height: 100%;
496
- }
497
- }
498
-
499
- /*******************
500
- Utility Classes
501
- *******************/
502
-
503
- .hide { display: none !important; }
504
-
505
- // Text Align
506
- .left-align { text-align: left; }
507
- .right-align { text-align: right }
508
- .center, .center-align { text-align: center; }
509
-
510
- // TODO: Remove this
511
- .left { float: left !important; }
512
- .right { float: right !important; }
513
-
514
- // No Text Select
515
- .no-select { user-select: none; }
516
- .circle { border-radius: 50%; }
517
- .center-block { display: block; margin-left: auto; margin-right: auto; }
518
- .truncate { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
519
- .no-padding { padding: 0 !important; }
520
-
521
- /**************************
522
- Utility Spacing Classes
523
- **************************/
524
-
525
- $spacing-shortcuts: ("margin": "m", "padding": "p") !default;
526
- $spacing-directions: ("top": "t", "right": "r", "bottom": "b", "left": "l") !default;
527
- $spacing-horizontal: "x" !default;
528
- $spacing-vertical: "y" !default;
529
- $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5": 1.5rem, "6": 3rem, "auto": auto) !default;
530
-
531
- @each $property, $shortcut in $spacing-shortcuts{
532
- @each $name, $value in $spacing-values{
533
- // All direction spacing
534
- .#{$shortcut}-#{$name}{
535
- #{$property}: $value !important;
536
- }
537
- // (t, b, r, l) spacing
538
- @each $direction, $suffix in $spacing-directions{
539
- .#{$shortcut}#{$suffix}-#{$name}{
540
- #{$property}-#{$direction}: $value !important
541
- }
542
- }
543
- // x spacing
544
- @if $spacing-horizontal != null{
545
- .#{$shortcut}#{$spacing-horizontal}-#{$name}{
546
- #{$property}-left: $value !important;
547
- #{$property}-right: $value !important;
548
- }
549
- }
550
- // y spacing
551
- @if $spacing-vertical != null{
552
- .#{$shortcut}#{$spacing-vertical}-#{$name}{
553
- #{$property}-top: $value !important;
554
- #{$property}-bottom: $value !important;
555
- }
556
- }
557
- }
558
- }
1
+ @use './_variables' as *;
2
+
3
+ html {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ *, *:before, *:after {
8
+ box-sizing: inherit;
9
+ }
10
+
11
+ body {
12
+ background-color: var(--md-sys-color-background);
13
+ color: var(--md-sys-color-on-background);
14
+ }
15
+
16
+ button,
17
+ input,
18
+ optgroup,
19
+ select,
20
+ textarea {
21
+ font-family: $font-stack;
22
+ }
23
+
24
+ a {
25
+ color: $link-color;
26
+ text-decoration: none;
27
+ -webkit-tap-highlight-color: transparent; // Gets rid of tap active state
28
+ }
29
+
30
+ // Positioning
31
+ .valign-wrapper { display: flex; align-items: center; }
32
+
33
+ .clearfix { clear: both; }
34
+
35
+ // Z-levels
36
+ .z-depth-0 {
37
+ box-shadow: none !important;
38
+ }
39
+
40
+ /* 2dp elevation modified*/
41
+ .z-depth-1 {
42
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
43
+ 0 3px 1px -2px rgba(0, 0, 0, 0.12),
44
+ 0 1px 5px 0 rgba(0, 0, 0, 0.2);
45
+ }
46
+
47
+ .z-depth-1-half {
48
+ 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);
49
+ }
50
+
51
+ /* 6dp elevation modified*/
52
+ .z-depth-2 {
53
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14),
54
+ 0 1px 10px 0 rgba(0, 0, 0, 0.12),
55
+ 0 2px 4px -1px rgba(0, 0, 0, 0.3);
56
+ }
57
+
58
+ /* 12dp elevation modified*/
59
+ .z-depth-3 {
60
+ box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14),
61
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12),
62
+ 0 5px 5px -3px rgba(0, 0, 0, 0.2);
63
+ }
64
+
65
+ /* 16dp elevation */
66
+ .z-depth-4 {
67
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
68
+ 0 6px 30px 5px rgba(0, 0, 0, 0.12),
69
+ 0 8px 10px -7px rgba(0, 0, 0, 0.2);
70
+ }
71
+
72
+ /* 24dp elevation */
73
+ .z-depth-5 {
74
+ box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14),
75
+ 0 9px 46px 8px rgba(0, 0, 0, 0.12),
76
+ 0 11px 15px -7px rgba(0, 0, 0, 0.2);
77
+ }
78
+
79
+ .hoverable {
80
+ transition: box-shadow .25s;
81
+ &:hover {
82
+ box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
83
+ }
84
+ }
85
+
86
+ // Dividers
87
+ .divider {
88
+ height: 1px;
89
+ overflow: hidden;
90
+ background-color: var(--md-sys-color-outline-variant);
91
+ }
92
+
93
+ // Blockquote
94
+ blockquote { margin: 20px 0; padding-left: 1.5rem; border-left: 5px solid var(--md-sys-color-primary); }
95
+
96
+ // Icon Styles
97
+ i {
98
+ line-height: inherit;
99
+ &.left {
100
+ float: left;
101
+ margin-left: -8px;
102
+ // margin-right: 15px;
103
+ }
104
+ &.right {
105
+ float: right;
106
+ // margin-left: 15px;
107
+ }
108
+ &.tiny {
109
+ font-size: 1rem;
110
+ }
111
+ &.small {
112
+ font-size: 2rem;
113
+ }
114
+ &.medium {
115
+ font-size: 4rem;
116
+ }
117
+ &.large {
118
+ font-size: 6rem;
119
+ }
120
+ }
121
+
122
+ // Modal
123
+ html.noscroll {
124
+ position: fixed;
125
+ overflow-y: scroll;
126
+ width: 100%;
127
+ }
128
+
129
+ // Images
130
+ img.responsive-img,
131
+ video.responsive-video {
132
+ max-width: 100%;
133
+ height: auto;
134
+ }
135
+
136
+ // Parallax
137
+ .parallax-container {
138
+ position: relative;
139
+ overflow: hidden;
140
+ height: 500px;
141
+
142
+ .parallax {
143
+ position: absolute;
144
+ top: 0;
145
+ left: 0;
146
+ right: 0;
147
+ bottom: 0;
148
+ z-index: -1;
149
+
150
+ img {
151
+ opacity: 0;
152
+ position: absolute;
153
+ left: 50%;
154
+ bottom: 0;
155
+ min-width: 100%;
156
+ min-height: 100%;
157
+ transform: translate3d(0, 0, 0);
158
+ transform: translateX(-50%);
159
+ }
160
+ }
161
+ }
162
+
163
+ // Pushpin
164
+ .pin-top, .pin-bottom {
165
+ position: relative;
166
+ }
167
+
168
+ .pinned {
169
+ position: fixed !important;
170
+ }
171
+
172
+ // Remove Focus Boxes
173
+ select:focus {
174
+ outline: 1px solid var(--md-ref-palette-primary80);
175
+ }
176
+
177
+ label {
178
+ font-size: .8rem;
179
+ color: var(--md-sys-color-on-surface-variant);
180
+ }
181
+
182
+
183
+ /*********************
184
+ Transition Classes
185
+ **********************/
186
+
187
+ ul.staggered-list li { opacity: 0; }
188
+ .fade-in { opacity: 0; transform-origin: 0 50%; }
189
+
190
+ /*********************
191
+ Media Query Classes
192
+ **********************/
193
+ .hide-on-small-only, .hide-on-small-and-down {
194
+ @media #{$small-and-down} { display: none !important; }
195
+ }
196
+
197
+ .hide-on-med-and-down {
198
+ @media #{$medium-and-down} { display: none !important; }
199
+ }
200
+
201
+ .hide-on-med-and-up {
202
+ @media #{$medium-and-up} { display: none !important; }
203
+ }
204
+
205
+ .hide-on-med-only {
206
+ @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
207
+ display: none !important;
208
+ }
209
+ }
210
+
211
+ .hide-on-large-only {
212
+ @media #{$large-and-up} { display: none !important; }
213
+ }
214
+
215
+ .hide-on-extra-large-only {
216
+ @media #{$extra-large-and-up} { display: none !important; }
217
+ }
218
+
219
+ .show-on-extra-large {
220
+ @media #{$extra-large-and-up} { display: block !important; }
221
+ }
222
+
223
+ .show-on-large {
224
+ @media #{$large-and-up} { display: block !important; }
225
+ }
226
+
227
+ .show-on-medium {
228
+ @media only screen and (min-width: $small-screen-up) and (max-width: $medium-screen) {
229
+ display: block !important;
230
+ }
231
+ }
232
+
233
+ .show-on-small {
234
+ @media #{$small-and-down} { display: block !important; }
235
+ }
236
+
237
+ .show-on-medium-and-up {
238
+ @media #{$medium-and-up} { display: block !important; }
239
+ }
240
+
241
+ .show-on-medium-and-down {
242
+ @media #{$medium-and-down} { display: block !important; }
243
+ }
244
+
245
+
246
+ // Center text on mobile
247
+ .center-on-small-only {
248
+ @media #{$small-and-down} { text-align: center; }
249
+ }
250
+
251
+ // Footer
252
+ .page-footer {
253
+ margin-top: 5rem;
254
+ padding-top: 3rem;
255
+ border-top: 1px dashed var(--md-sys-color-outline-variant);
256
+ p {
257
+ color: var(--md-sys-color-outline-light);
258
+ }
259
+ a {
260
+ color: var(--md-sys-color-primary);
261
+ }
262
+ .footer-copyright,
263
+ .footer-copyright a {
264
+ overflow: hidden;
265
+ min-height: 50px;
266
+ display: flex;
267
+ align-items: center;
268
+ justify-content: space-between;
269
+ padding: 10px 0px;
270
+ }
271
+ }
272
+
273
+ .page-footer ul {
274
+ padding-left: 0;
275
+ list-style-type: none;
276
+ }
277
+
278
+ // Tables
279
+ table, th, td {
280
+ border: none;
281
+ }
282
+
283
+ table {
284
+ width: 100%;
285
+ display: table;
286
+ border-collapse: collapse;
287
+ border-spacing: 0;
288
+
289
+ &.striped {
290
+ tr {
291
+ border-bottom: none;
292
+ }
293
+ tbody > tr:nth-child(odd) {
294
+ background-color: rgba(0, 0, 0, 0.08);
295
+ }
296
+ }
297
+
298
+ &.highlight > tbody > tr {
299
+ transition: background-color .25s ease;
300
+
301
+ &:hover {
302
+ background-color: rgba(0, 0, 0, 0.04);
303
+ }
304
+ }
305
+
306
+ thead {
307
+ color: var(--md-sys-color-on-surface-variant);
308
+ }
309
+
310
+ &.centered {
311
+ thead tr th, tbody tr td {
312
+ text-align: center;
313
+ }
314
+ }
315
+ }
316
+
317
+ tr {
318
+ border-bottom: 1px solid var(--md-sys-color-outline-variant);
319
+ }
320
+
321
+ td, th {
322
+ padding: 15px 5px;
323
+ display: table-cell;
324
+ text-align: left;
325
+ vertical-align: middle;
326
+ border-radius: 0;
327
+ }
328
+
329
+ // Responsive Table
330
+ @media #{$medium-and-down} {
331
+
332
+ table.responsive-table {
333
+ width: 100%;
334
+ border-collapse: collapse;
335
+ border-spacing: 0;
336
+ display: block;
337
+ position: relative;
338
+
339
+ td:empty:before {
340
+ content: '\00a0';
341
+ }
342
+ th,
343
+ td {
344
+ margin: 0;
345
+ vertical-align: top;
346
+ }
347
+ th {
348
+ text-align: left;
349
+ }
350
+ thead {
351
+ display: block;
352
+ float: left;
353
+
354
+ tr {
355
+ display: block;
356
+ padding: 0 10px 0 0;
357
+
358
+ th::before {
359
+ content: "\00a0";
360
+ }
361
+ }
362
+ }
363
+ tbody {
364
+ display: block;
365
+ width: auto;
366
+ position: relative;
367
+ overflow-x: auto;
368
+ white-space: nowrap;
369
+
370
+ tr {
371
+ display: inline-block;
372
+ vertical-align: top;
373
+ }
374
+ }
375
+ th {
376
+ display: block;
377
+ text-align: right;
378
+ }
379
+ td {
380
+ display: block;
381
+ min-height: 1.25em;
382
+ text-align: left;
383
+ }
384
+ tr {
385
+ border-bottom: none;
386
+ padding: 0 10px;
387
+ }
388
+ /* sort out borders */
389
+ thead {
390
+ border: 0;
391
+ border-right: 1px solid var(--md-sys-color-outline-variant);
392
+ }
393
+ }
394
+ }
395
+
396
+ // Responsive Videos
397
+ .video-container {
398
+ position: relative;
399
+ padding-bottom: 56.25%;
400
+ height: 0;
401
+ overflow: hidden;
402
+
403
+ iframe, object, embed {
404
+ position: absolute;
405
+ top: 0;
406
+ left: 0;
407
+ width: 100%;
408
+ height: 100%;
409
+ }
410
+ }
411
+
412
+ /*******************
413
+ Utility Classes
414
+ *******************/
415
+
416
+ .hide { display: none !important; }
417
+
418
+ // Text Align
419
+ .left-align { text-align: left; }
420
+ .right-align { text-align: right }
421
+ .center, .center-align { text-align: center; }
422
+
423
+ // TODO: Remove this
424
+ .left { float: left !important; }
425
+ .right { float: right !important; }
426
+
427
+ // No Text Select
428
+ .no-select { user-select: none; }
429
+ .circle { border-radius: 50%; }
430
+ .center-block { display: block; margin-left: auto; margin-right: auto; }
431
+ .truncate { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
432
+ .no-padding { padding: 0 !important; }
433
+
434
+ /**************************
435
+ Utility Spacing Classes
436
+ **************************/
437
+
438
+ $spacing-shortcuts: ("margin": "m", "padding": "p") !default;
439
+ $spacing-directions: ("top": "t", "right": "r", "bottom": "b", "left": "l") !default;
440
+ $spacing-horizontal: "x" !default;
441
+ $spacing-vertical: "y" !default;
442
+ $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5": 1.5rem, "6": 3rem, "auto": auto) !default;
443
+
444
+ @each $property, $shortcut in $spacing-shortcuts{
445
+ @each $name, $value in $spacing-values{
446
+ // All direction spacing
447
+ .#{$shortcut}-#{$name}{
448
+ #{$property}: $value !important;
449
+ }
450
+ // (t, b, r, l) spacing
451
+ @each $direction, $suffix in $spacing-directions{
452
+ .#{$shortcut}#{$suffix}-#{$name}{
453
+ #{$property}-#{$direction}: $value !important
454
+ }
455
+ }
456
+ // x spacing
457
+ @if $spacing-horizontal != null{
458
+ .#{$shortcut}#{$spacing-horizontal}-#{$name}{
459
+ #{$property}-left: $value !important;
460
+ #{$property}-right: $value !important;
461
+ }
462
+ }
463
+ // y spacing
464
+ @if $spacing-vertical != null{
465
+ .#{$shortcut}#{$spacing-vertical}-#{$name}{
466
+ #{$property}-top: $value !important;
467
+ #{$property}-bottom: $value !important;
468
+ }
469
+ }
470
+ }
471
+ }
472
+
473
+ // Docked display
474
+ .display-docked {
475
+ position: absolute;
476
+ opacity: 0;
477
+ z-index: 9999;
478
+ visibility: hidden;
479
+ }
480
+
481
+ .confirmation-btns {
482
+ margin-left: auto;
483
+ }
484
+
485
+ /* This is needed for some mobile phones to display the Google Icon font properly */
486
+ .material-icons, .material-symbols-outlined,
487
+ .material-symbols-rounded, .material-symbols-sharp {
488
+ text-rendering: optimizeLegibility;
489
+ font-feature-settings: 'liga';
490
+ }