mithril-materialized 2.0.0-beta.5 → 2.0.0-beta.6

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.
package/dist/forms.css ADDED
@@ -0,0 +1,2284 @@
1
+ @charset "UTF-8";
2
+ html {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ *, *:before, *:after {
7
+ box-sizing: inherit;
8
+ }
9
+
10
+ button,
11
+ input,
12
+ optgroup,
13
+ select,
14
+ textarea {
15
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
16
+ }
17
+
18
+ ul:not(.browser-default) {
19
+ padding-left: 0;
20
+ list-style-type: none;
21
+ }
22
+ ul:not(.browser-default) > li {
23
+ list-style-type: none;
24
+ }
25
+
26
+ a {
27
+ color: #039be5;
28
+ text-decoration: none;
29
+ -webkit-tap-highlight-color: transparent;
30
+ }
31
+
32
+ .valign-wrapper {
33
+ display: flex;
34
+ align-items: center;
35
+ }
36
+
37
+ .clearfix {
38
+ clear: both;
39
+ }
40
+
41
+ .z-depth-0 {
42
+ box-shadow: none !important;
43
+ }
44
+
45
+ /* 2dp elevation modified*/
46
+ .z-depth-1 {
47
+ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
48
+ }
49
+
50
+ .z-depth-1-half {
51
+ 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);
52
+ }
53
+
54
+ /* 6dp elevation modified*/
55
+ .z-depth-2 {
56
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
57
+ }
58
+
59
+ /* 12dp elevation modified*/
60
+ .z-depth-3 {
61
+ box-shadow: 0 8px 17px 2px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
62
+ }
63
+
64
+ /* 16dp elevation */
65
+ .z-depth-4 {
66
+ box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -7px rgba(0, 0, 0, 0.2);
67
+ }
68
+
69
+ /* 24dp elevation */
70
+ .z-depth-5 {
71
+ box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12), 0 11px 15px -7px rgba(0, 0, 0, 0.2);
72
+ }
73
+
74
+ .hoverable {
75
+ transition: box-shadow 0.25s;
76
+ }
77
+ .hoverable: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
+ .divider {
82
+ height: 1px;
83
+ overflow: hidden;
84
+ background-color: #e0e0e0;
85
+ }
86
+
87
+ blockquote {
88
+ margin: 20px 0;
89
+ padding-left: 1.5rem;
90
+ border-left: 5px solid #ee6e73;
91
+ }
92
+
93
+ i {
94
+ line-height: inherit;
95
+ }
96
+ i.left {
97
+ float: left;
98
+ margin-right: 15px;
99
+ }
100
+ i.right {
101
+ float: right;
102
+ margin-left: 15px;
103
+ }
104
+ i.tiny {
105
+ font-size: 1rem;
106
+ }
107
+ i.small {
108
+ font-size: 2rem;
109
+ }
110
+ i.medium {
111
+ font-size: 4rem;
112
+ }
113
+ i.large {
114
+ font-size: 6rem;
115
+ }
116
+
117
+ img.responsive-img,
118
+ video.responsive-video {
119
+ max-width: 100%;
120
+ height: auto;
121
+ }
122
+
123
+ .pagination li {
124
+ display: inline-block;
125
+ border-radius: 2px;
126
+ text-align: center;
127
+ vertical-align: top;
128
+ height: 30px;
129
+ }
130
+ .pagination li a {
131
+ color: #444;
132
+ display: inline-block;
133
+ font-size: 1.2rem;
134
+ padding: 0 10px;
135
+ line-height: 30px;
136
+ }
137
+ .pagination li.active a {
138
+ color: #fff;
139
+ }
140
+ .pagination li.active {
141
+ background-color: #ee6e73;
142
+ }
143
+ .pagination li.disabled a {
144
+ cursor: default;
145
+ color: #999;
146
+ }
147
+ .pagination li i {
148
+ font-size: 2rem;
149
+ }
150
+ .pagination li.pages ul li {
151
+ display: inline-block;
152
+ float: none;
153
+ }
154
+
155
+ @media only screen and (max-width : 992px) {
156
+ .pagination {
157
+ width: 100%;
158
+ }
159
+ .pagination li.prev,
160
+ .pagination li.next {
161
+ width: 10%;
162
+ }
163
+ .pagination li.pages {
164
+ width: 80%;
165
+ overflow: hidden;
166
+ white-space: nowrap;
167
+ }
168
+ }
169
+ .breadcrumb {
170
+ display: inline-block;
171
+ font-size: 18px;
172
+ color: rgba(255, 255, 255, 0.7);
173
+ }
174
+ .breadcrumb i,
175
+ .breadcrumb [class^=mdi-], .breadcrumb [class*=mdi-],
176
+ .breadcrumb i.material-icons {
177
+ display: inline-block;
178
+ float: left;
179
+ font-size: 24px;
180
+ }
181
+ .breadcrumb:before {
182
+ content: "\e5cc";
183
+ color: rgba(255, 255, 255, 0.7);
184
+ vertical-align: top;
185
+ display: inline-block;
186
+ font-family: "Material Icons";
187
+ font-weight: normal;
188
+ font-style: normal;
189
+ font-size: 25px;
190
+ margin: 0 10px 0 8px;
191
+ -webkit-font-smoothing: antialiased;
192
+ float: left;
193
+ }
194
+ .breadcrumb:first-child:before {
195
+ display: none;
196
+ }
197
+ .breadcrumb:last-child {
198
+ color: #fff;
199
+ }
200
+
201
+ .parallax-container {
202
+ position: relative;
203
+ overflow: hidden;
204
+ height: 500px;
205
+ }
206
+ .parallax-container .parallax {
207
+ position: absolute;
208
+ top: 0;
209
+ left: 0;
210
+ right: 0;
211
+ bottom: 0;
212
+ z-index: -1;
213
+ }
214
+ .parallax-container .parallax img {
215
+ opacity: 0;
216
+ position: absolute;
217
+ left: 50%;
218
+ bottom: 0;
219
+ min-width: 100%;
220
+ min-height: 100%;
221
+ transform: translate3d(0, 0, 0);
222
+ transform: translateX(-50%);
223
+ }
224
+
225
+ .pin-top, .pin-bottom {
226
+ position: relative;
227
+ }
228
+
229
+ .pinned {
230
+ position: fixed !important;
231
+ }
232
+
233
+ /*********************
234
+ Transition Classes
235
+ **********************/
236
+ ul.staggered-list li {
237
+ opacity: 0;
238
+ }
239
+
240
+ .fade-in {
241
+ opacity: 0;
242
+ transform-origin: 0 50%;
243
+ }
244
+
245
+ /*********************
246
+ Media Query Classes
247
+ **********************/
248
+ @media only screen and (max-width : 600px) {
249
+ .hide-on-small-only, .hide-on-small-and-down {
250
+ display: none !important;
251
+ }
252
+ }
253
+
254
+ @media only screen and (max-width : 992px) {
255
+ .hide-on-med-and-down {
256
+ display: none !important;
257
+ }
258
+ }
259
+
260
+ @media only screen and (min-width : 601px) {
261
+ .hide-on-med-and-up {
262
+ display: none !important;
263
+ }
264
+ }
265
+
266
+ @media only screen and (min-width: 600px) and (max-width: 992px) {
267
+ .hide-on-med-only {
268
+ display: none !important;
269
+ }
270
+ }
271
+
272
+ @media only screen and (min-width : 993px) {
273
+ .hide-on-large-only {
274
+ display: none !important;
275
+ }
276
+ }
277
+
278
+ @media only screen and (min-width : 1201px) {
279
+ .hide-on-extra-large-only {
280
+ display: none !important;
281
+ }
282
+ }
283
+
284
+ @media only screen and (min-width : 1201px) {
285
+ .show-on-extra-large {
286
+ display: block !important;
287
+ }
288
+ }
289
+
290
+ @media only screen and (min-width : 993px) {
291
+ .show-on-large {
292
+ display: block !important;
293
+ }
294
+ }
295
+
296
+ @media only screen and (min-width: 600px) and (max-width: 992px) {
297
+ .show-on-medium {
298
+ display: block !important;
299
+ }
300
+ }
301
+
302
+ @media only screen and (max-width : 600px) {
303
+ .show-on-small {
304
+ display: block !important;
305
+ }
306
+ }
307
+
308
+ @media only screen and (min-width : 601px) {
309
+ .show-on-medium-and-up {
310
+ display: block !important;
311
+ }
312
+ }
313
+
314
+ @media only screen and (max-width : 992px) {
315
+ .show-on-medium-and-down {
316
+ display: block !important;
317
+ }
318
+ }
319
+
320
+ @media only screen and (max-width : 600px) {
321
+ .center-on-small-only {
322
+ text-align: center;
323
+ }
324
+ }
325
+
326
+ .page-footer {
327
+ padding-top: 20px;
328
+ color: #fff;
329
+ background-color: #ee6e73;
330
+ }
331
+ .page-footer .footer-copyright {
332
+ overflow: hidden;
333
+ min-height: 50px;
334
+ display: flex;
335
+ align-items: center;
336
+ justify-content: space-between;
337
+ padding: 10px 0px;
338
+ color: rgba(255, 255, 255, 0.8);
339
+ background-color: rgba(51, 51, 51, 0.08);
340
+ }
341
+
342
+ table, th, td {
343
+ border: none;
344
+ }
345
+
346
+ table {
347
+ width: 100%;
348
+ display: table;
349
+ border-collapse: collapse;
350
+ border-spacing: 0;
351
+ }
352
+ table.striped tr {
353
+ border-bottom: none;
354
+ }
355
+ table.striped > tbody > tr:nth-child(odd) {
356
+ background-color: rgba(242, 242, 242, 0.5);
357
+ }
358
+ table.striped > tbody > tr > td {
359
+ border-radius: 0;
360
+ }
361
+ table.highlight > tbody > tr {
362
+ transition: background-color 0.25s ease;
363
+ }
364
+ table.highlight > tbody > tr:hover {
365
+ background-color: rgba(242, 242, 242, 0.5);
366
+ }
367
+ table.centered thead tr th, table.centered tbody tr td {
368
+ text-align: center;
369
+ }
370
+
371
+ tr {
372
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12);
373
+ }
374
+
375
+ td, th {
376
+ padding: 15px 5px;
377
+ display: table-cell;
378
+ text-align: left;
379
+ vertical-align: middle;
380
+ border-radius: 2px;
381
+ }
382
+
383
+ @media only screen and (max-width : 992px) {
384
+ table.responsive-table {
385
+ width: 100%;
386
+ border-collapse: collapse;
387
+ border-spacing: 0;
388
+ display: block;
389
+ position: relative;
390
+ /* sort out borders */
391
+ }
392
+ table.responsive-table td:empty:before {
393
+ content: " ";
394
+ }
395
+ table.responsive-table th,
396
+ table.responsive-table td {
397
+ margin: 0;
398
+ vertical-align: top;
399
+ }
400
+ table.responsive-table th {
401
+ text-align: left;
402
+ }
403
+ table.responsive-table thead {
404
+ display: block;
405
+ float: left;
406
+ }
407
+ table.responsive-table thead tr {
408
+ display: block;
409
+ padding: 0 10px 0 0;
410
+ }
411
+ table.responsive-table thead tr th::before {
412
+ content: " ";
413
+ }
414
+ table.responsive-table tbody {
415
+ display: block;
416
+ width: auto;
417
+ position: relative;
418
+ overflow-x: auto;
419
+ white-space: nowrap;
420
+ }
421
+ table.responsive-table tbody tr {
422
+ display: inline-block;
423
+ vertical-align: top;
424
+ }
425
+ table.responsive-table th {
426
+ display: block;
427
+ text-align: right;
428
+ }
429
+ table.responsive-table td {
430
+ display: block;
431
+ min-height: 1.25em;
432
+ text-align: left;
433
+ }
434
+ table.responsive-table tr {
435
+ border-bottom: none;
436
+ padding: 0 10px;
437
+ }
438
+ table.responsive-table thead {
439
+ border: 0;
440
+ border-right: 1px solid rgba(0, 0, 0, 0.12);
441
+ }
442
+ }
443
+ .collection {
444
+ margin: 0.5rem 0 1rem 0;
445
+ border: 1px solid var(--mm-border-color, #e0e0e0);
446
+ border-radius: 2px;
447
+ overflow: hidden;
448
+ position: relative;
449
+ }
450
+ .collection .collection-item {
451
+ background-color: var(--mm-surface-color, #fff);
452
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
453
+ line-height: 1.5rem;
454
+ padding: 10px 20px;
455
+ margin: 0;
456
+ border-bottom: 1px solid var(--mm-border-color, #e0e0e0);
457
+ }
458
+ .collection .collection-item.avatar {
459
+ min-height: 84px;
460
+ padding-left: 72px;
461
+ position: relative;
462
+ }
463
+ .collection .collection-item.avatar:not(.circle-clipper) > .circle,
464
+ .collection .collection-item.avatar :not(.circle-clipper) > .circle {
465
+ position: absolute;
466
+ width: 42px;
467
+ height: 42px;
468
+ overflow: hidden;
469
+ left: 15px;
470
+ display: inline-block;
471
+ vertical-align: middle;
472
+ }
473
+ .collection .collection-item.avatar i.circle {
474
+ font-size: 18px;
475
+ line-height: 42px;
476
+ color: #fff;
477
+ background-color: #999;
478
+ text-align: center;
479
+ }
480
+ .collection .collection-item.avatar .title {
481
+ font-size: 16px;
482
+ }
483
+ .collection .collection-item.avatar p {
484
+ margin: 0;
485
+ }
486
+ .collection .collection-item.avatar .secondary-content {
487
+ position: absolute;
488
+ top: 16px;
489
+ right: 16px;
490
+ }
491
+ .collection .collection-item:last-child {
492
+ border-bottom: none;
493
+ }
494
+ .collection .collection-item.active {
495
+ background-color: #26a69a;
496
+ color: rgb(234.25, 250.25, 248.75);
497
+ }
498
+ .collection .collection-item.active .secondary-content {
499
+ color: #fff;
500
+ }
501
+ .collection a.collection-item {
502
+ display: block;
503
+ transition: 0.25s;
504
+ color: #26a69a;
505
+ }
506
+ .collection a.collection-item:not(.active):hover {
507
+ background-color: #ddd;
508
+ }
509
+ .collection.with-header .collection-header {
510
+ background-color: var(--mm-surface-color, #fff);
511
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
512
+ border-bottom: 1px solid var(--mm-border-color, #e0e0e0);
513
+ padding: 10px 20px;
514
+ }
515
+ .collection.with-header .collection-item {
516
+ padding-left: 30px;
517
+ }
518
+ .collection.with-header .collection-item.avatar {
519
+ padding-left: 72px;
520
+ }
521
+
522
+ .secondary-content {
523
+ float: right;
524
+ color: #26a69a;
525
+ }
526
+
527
+ .collapsible .collection {
528
+ margin: 0;
529
+ border: none;
530
+ }
531
+
532
+ .video-container {
533
+ position: relative;
534
+ padding-bottom: 56.25%;
535
+ height: 0;
536
+ overflow: hidden;
537
+ }
538
+ .video-container iframe, .video-container object, .video-container embed {
539
+ position: absolute;
540
+ top: 0;
541
+ left: 0;
542
+ width: 100%;
543
+ height: 100%;
544
+ }
545
+
546
+ .progress {
547
+ position: relative;
548
+ height: 4px;
549
+ display: block;
550
+ width: 100%;
551
+ background-color: #acece6;
552
+ border-radius: 2px;
553
+ margin: 0.5rem 0 1rem 0;
554
+ overflow: hidden;
555
+ }
556
+ .progress .determinate {
557
+ position: absolute;
558
+ top: 0;
559
+ left: 0;
560
+ bottom: 0;
561
+ background-color: #26a69a;
562
+ transition: width 0.3s linear;
563
+ }
564
+ .progress .indeterminate {
565
+ background-color: #26a69a;
566
+ }
567
+ .progress .indeterminate:before {
568
+ content: "";
569
+ position: absolute;
570
+ background-color: inherit;
571
+ top: 0;
572
+ left: 0;
573
+ bottom: 0;
574
+ will-change: left, right;
575
+ animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
576
+ }
577
+ .progress .indeterminate:after {
578
+ content: "";
579
+ position: absolute;
580
+ background-color: inherit;
581
+ top: 0;
582
+ left: 0;
583
+ bottom: 0;
584
+ will-change: left, right;
585
+ animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
586
+ animation-delay: 1.15s;
587
+ }
588
+
589
+ @keyframes indeterminate {
590
+ 0% {
591
+ left: -35%;
592
+ right: 100%;
593
+ }
594
+ 60% {
595
+ left: 100%;
596
+ right: -90%;
597
+ }
598
+ 100% {
599
+ left: 100%;
600
+ right: -90%;
601
+ }
602
+ }
603
+ @keyframes indeterminate-short {
604
+ 0% {
605
+ left: -200%;
606
+ right: 100%;
607
+ }
608
+ 60% {
609
+ left: 107%;
610
+ right: -8%;
611
+ }
612
+ 100% {
613
+ left: 107%;
614
+ right: -8%;
615
+ }
616
+ }
617
+ /*******************
618
+ Utility Classes
619
+ *******************/
620
+ .hide {
621
+ display: none !important;
622
+ }
623
+
624
+ .left-align {
625
+ text-align: left;
626
+ }
627
+
628
+ .right-align {
629
+ text-align: right;
630
+ }
631
+
632
+ .center, .center-align {
633
+ text-align: center;
634
+ }
635
+
636
+ .left {
637
+ float: left !important;
638
+ }
639
+
640
+ .right {
641
+ float: right !important;
642
+ }
643
+
644
+ .no-select, input[type=range],
645
+ input[type=range] + .thumb {
646
+ user-select: none;
647
+ }
648
+
649
+ .circle {
650
+ border-radius: 50%;
651
+ }
652
+
653
+ .center-block {
654
+ display: block;
655
+ margin-left: auto;
656
+ margin-right: auto;
657
+ }
658
+
659
+ .truncate {
660
+ display: block;
661
+ white-space: nowrap;
662
+ overflow: hidden;
663
+ text-overflow: ellipsis;
664
+ }
665
+
666
+ .no-padding {
667
+ padding: 0 !important;
668
+ }
669
+
670
+ /* Text Inputs + Textarea
671
+ ========================================================================== */
672
+ /* Style Placeholders */
673
+ ::placeholder {
674
+ color: var(--mm-text-hint, #d1d1d1);
675
+ }
676
+
677
+ /* Text inputs */
678
+ input:not([type]):not(.browser-default),
679
+ input[type=text]:not(.browser-default),
680
+ input[type=password]:not(.browser-default),
681
+ input[type=email]:not(.browser-default),
682
+ input[type=url]:not(.browser-default),
683
+ input[type=time]:not(.browser-default),
684
+ input[type=date]:not(.browser-default),
685
+ input[type=datetime]:not(.browser-default),
686
+ input[type=datetime-local]:not(.browser-default),
687
+ input[type=tel]:not(.browser-default),
688
+ input[type=number]:not(.browser-default),
689
+ input[type=search]:not(.browser-default),
690
+ textarea.materialize-textarea {
691
+ background-color: transparent;
692
+ border: none;
693
+ border-bottom: 1px solid var(--mm-input-border, 1px solid #9e9e9e);
694
+ border-radius: 0;
695
+ outline: none;
696
+ height: 3rem;
697
+ width: 100%;
698
+ font-size: 16px;
699
+ margin: 0 0 8px 0;
700
+ padding: 0;
701
+ box-shadow: none;
702
+ box-sizing: content-box;
703
+ transition: box-shadow 0.3s, border 0.3s;
704
+ color: var(--mm-input-text, inherit);
705
+ }
706
+ input:not([type]):not(.browser-default):disabled, input:not([type]):not(.browser-default)[readonly=readonly],
707
+ input[type=text]:not(.browser-default):disabled,
708
+ input[type=text]:not(.browser-default)[readonly=readonly],
709
+ input[type=password]:not(.browser-default):disabled,
710
+ input[type=password]:not(.browser-default)[readonly=readonly],
711
+ input[type=email]:not(.browser-default):disabled,
712
+ input[type=email]:not(.browser-default)[readonly=readonly],
713
+ input[type=url]:not(.browser-default):disabled,
714
+ input[type=url]:not(.browser-default)[readonly=readonly],
715
+ input[type=time]:not(.browser-default):disabled,
716
+ input[type=time]:not(.browser-default)[readonly=readonly],
717
+ input[type=date]:not(.browser-default):disabled,
718
+ input[type=date]:not(.browser-default)[readonly=readonly],
719
+ input[type=datetime]:not(.browser-default):disabled,
720
+ input[type=datetime]:not(.browser-default)[readonly=readonly],
721
+ input[type=datetime-local]:not(.browser-default):disabled,
722
+ input[type=datetime-local]:not(.browser-default)[readonly=readonly],
723
+ input[type=tel]:not(.browser-default):disabled,
724
+ input[type=tel]:not(.browser-default)[readonly=readonly],
725
+ input[type=number]:not(.browser-default):disabled,
726
+ input[type=number]:not(.browser-default)[readonly=readonly],
727
+ input[type=search]:not(.browser-default):disabled,
728
+ input[type=search]:not(.browser-default)[readonly=readonly],
729
+ textarea.materialize-textarea:disabled,
730
+ textarea.materialize-textarea[readonly=readonly] {
731
+ color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
732
+ border-bottom: 1px dotted var(--mm-input-border, 1px dotted rgba(0, 0, 0, 0.42));
733
+ }
734
+ input:not([type]):not(.browser-default):disabled + label, input:not([type]):not(.browser-default)[readonly=readonly] + label,
735
+ input[type=text]:not(.browser-default):disabled + label,
736
+ input[type=text]:not(.browser-default)[readonly=readonly] + label,
737
+ input[type=password]:not(.browser-default):disabled + label,
738
+ input[type=password]:not(.browser-default)[readonly=readonly] + label,
739
+ input[type=email]:not(.browser-default):disabled + label,
740
+ input[type=email]:not(.browser-default)[readonly=readonly] + label,
741
+ input[type=url]:not(.browser-default):disabled + label,
742
+ input[type=url]:not(.browser-default)[readonly=readonly] + label,
743
+ input[type=time]:not(.browser-default):disabled + label,
744
+ input[type=time]:not(.browser-default)[readonly=readonly] + label,
745
+ input[type=date]:not(.browser-default):disabled + label,
746
+ input[type=date]:not(.browser-default)[readonly=readonly] + label,
747
+ input[type=datetime]:not(.browser-default):disabled + label,
748
+ input[type=datetime]:not(.browser-default)[readonly=readonly] + label,
749
+ input[type=datetime-local]:not(.browser-default):disabled + label,
750
+ input[type=datetime-local]:not(.browser-default)[readonly=readonly] + label,
751
+ input[type=tel]:not(.browser-default):disabled + label,
752
+ input[type=tel]:not(.browser-default)[readonly=readonly] + label,
753
+ input[type=number]:not(.browser-default):disabled + label,
754
+ input[type=number]:not(.browser-default)[readonly=readonly] + label,
755
+ input[type=search]:not(.browser-default):disabled + label,
756
+ input[type=search]:not(.browser-default)[readonly=readonly] + label,
757
+ textarea.materialize-textarea:disabled + label,
758
+ textarea.materialize-textarea[readonly=readonly] + label {
759
+ color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
760
+ }
761
+ input:not([type]):not(.browser-default):focus:not([readonly]),
762
+ input[type=text]:not(.browser-default):focus:not([readonly]),
763
+ input[type=password]:not(.browser-default):focus:not([readonly]),
764
+ input[type=email]:not(.browser-default):focus:not([readonly]),
765
+ input[type=url]:not(.browser-default):focus:not([readonly]),
766
+ input[type=time]:not(.browser-default):focus:not([readonly]),
767
+ input[type=date]:not(.browser-default):focus:not([readonly]),
768
+ input[type=datetime]:not(.browser-default):focus:not([readonly]),
769
+ input[type=datetime-local]:not(.browser-default):focus:not([readonly]),
770
+ input[type=tel]:not(.browser-default):focus:not([readonly]),
771
+ input[type=number]:not(.browser-default):focus:not([readonly]),
772
+ input[type=search]:not(.browser-default):focus:not([readonly]),
773
+ textarea.materialize-textarea:focus:not([readonly]) {
774
+ border-bottom: 1px solid var(--mm-input-border-focus, #26a69a);
775
+ box-shadow: 0 1px 0 0 var(--mm-input-border-focus, #26a69a);
776
+ }
777
+ input:not([type]):not(.browser-default):focus:not([readonly]) + label,
778
+ input[type=text]:not(.browser-default):focus:not([readonly]) + label,
779
+ input[type=password]:not(.browser-default):focus:not([readonly]) + label,
780
+ input[type=email]:not(.browser-default):focus:not([readonly]) + label,
781
+ input[type=url]:not(.browser-default):focus:not([readonly]) + label,
782
+ input[type=time]:not(.browser-default):focus:not([readonly]) + label,
783
+ input[type=date]:not(.browser-default):focus:not([readonly]) + label,
784
+ input[type=datetime]:not(.browser-default):focus:not([readonly]) + label,
785
+ input[type=datetime-local]:not(.browser-default):focus:not([readonly]) + label,
786
+ input[type=tel]:not(.browser-default):focus:not([readonly]) + label,
787
+ input[type=number]:not(.browser-default):focus:not([readonly]) + label,
788
+ input[type=search]:not(.browser-default):focus:not([readonly]) + label,
789
+ textarea.materialize-textarea:focus:not([readonly]) + label {
790
+ color: var(--mm-input-border-focus, #26a69a);
791
+ }
792
+ input:not([type]):not(.browser-default):focus.valid ~ label,
793
+ input[type=text]:not(.browser-default):focus.valid ~ label,
794
+ input[type=password]:not(.browser-default):focus.valid ~ label,
795
+ input[type=email]:not(.browser-default):focus.valid ~ label,
796
+ input[type=url]:not(.browser-default):focus.valid ~ label,
797
+ input[type=time]:not(.browser-default):focus.valid ~ label,
798
+ input[type=date]:not(.browser-default):focus.valid ~ label,
799
+ input[type=datetime]:not(.browser-default):focus.valid ~ label,
800
+ input[type=datetime-local]:not(.browser-default):focus.valid ~ label,
801
+ input[type=tel]:not(.browser-default):focus.valid ~ label,
802
+ input[type=number]:not(.browser-default):focus.valid ~ label,
803
+ input[type=search]:not(.browser-default):focus.valid ~ label,
804
+ textarea.materialize-textarea:focus.valid ~ label {
805
+ color: #4CAF50;
806
+ }
807
+ input:not([type]):not(.browser-default):focus.invalid ~ label,
808
+ input[type=text]:not(.browser-default):focus.invalid ~ label,
809
+ input[type=password]:not(.browser-default):focus.invalid ~ label,
810
+ input[type=email]:not(.browser-default):focus.invalid ~ label,
811
+ input[type=url]:not(.browser-default):focus.invalid ~ label,
812
+ input[type=time]:not(.browser-default):focus.invalid ~ label,
813
+ input[type=date]:not(.browser-default):focus.invalid ~ label,
814
+ input[type=datetime]:not(.browser-default):focus.invalid ~ label,
815
+ input[type=datetime-local]:not(.browser-default):focus.invalid ~ label,
816
+ input[type=tel]:not(.browser-default):focus.invalid ~ label,
817
+ input[type=number]:not(.browser-default):focus.invalid ~ label,
818
+ input[type=search]:not(.browser-default):focus.invalid ~ label,
819
+ textarea.materialize-textarea:focus.invalid ~ label {
820
+ color: #F44336;
821
+ }
822
+ input:not([type]):not(.browser-default).validate + label,
823
+ input[type=text]:not(.browser-default).validate + label,
824
+ input[type=password]:not(.browser-default).validate + label,
825
+ input[type=email]:not(.browser-default).validate + label,
826
+ input[type=url]:not(.browser-default).validate + label,
827
+ input[type=time]:not(.browser-default).validate + label,
828
+ input[type=date]:not(.browser-default).validate + label,
829
+ input[type=datetime]:not(.browser-default).validate + label,
830
+ input[type=datetime-local]:not(.browser-default).validate + label,
831
+ input[type=tel]:not(.browser-default).validate + label,
832
+ input[type=number]:not(.browser-default).validate + label,
833
+ input[type=search]:not(.browser-default).validate + label,
834
+ textarea.materialize-textarea.validate + label {
835
+ width: 100%;
836
+ }
837
+ input:not([type]):not(.browser-default):-webkit-autofill, input:not([type]):not(.browser-default):-webkit-autofill:hover, input:not([type]):not(.browser-default):-webkit-autofill:focus, input:not([type]):not(.browser-default):-webkit-autofill:active,
838
+ input[type=text]:not(.browser-default):-webkit-autofill,
839
+ input[type=text]:not(.browser-default):-webkit-autofill:hover,
840
+ input[type=text]:not(.browser-default):-webkit-autofill:focus,
841
+ input[type=text]:not(.browser-default):-webkit-autofill:active,
842
+ input[type=password]:not(.browser-default):-webkit-autofill,
843
+ input[type=password]:not(.browser-default):-webkit-autofill:hover,
844
+ input[type=password]:not(.browser-default):-webkit-autofill:focus,
845
+ input[type=password]:not(.browser-default):-webkit-autofill:active,
846
+ input[type=email]:not(.browser-default):-webkit-autofill,
847
+ input[type=email]:not(.browser-default):-webkit-autofill:hover,
848
+ input[type=email]:not(.browser-default):-webkit-autofill:focus,
849
+ input[type=email]:not(.browser-default):-webkit-autofill:active,
850
+ input[type=url]:not(.browser-default):-webkit-autofill,
851
+ input[type=url]:not(.browser-default):-webkit-autofill:hover,
852
+ input[type=url]:not(.browser-default):-webkit-autofill:focus,
853
+ input[type=url]:not(.browser-default):-webkit-autofill:active,
854
+ input[type=time]:not(.browser-default):-webkit-autofill,
855
+ input[type=time]:not(.browser-default):-webkit-autofill:hover,
856
+ input[type=time]:not(.browser-default):-webkit-autofill:focus,
857
+ input[type=time]:not(.browser-default):-webkit-autofill:active,
858
+ input[type=date]:not(.browser-default):-webkit-autofill,
859
+ input[type=date]:not(.browser-default):-webkit-autofill:hover,
860
+ input[type=date]:not(.browser-default):-webkit-autofill:focus,
861
+ input[type=date]:not(.browser-default):-webkit-autofill:active,
862
+ input[type=datetime]:not(.browser-default):-webkit-autofill,
863
+ input[type=datetime]:not(.browser-default):-webkit-autofill:hover,
864
+ input[type=datetime]:not(.browser-default):-webkit-autofill:focus,
865
+ input[type=datetime]:not(.browser-default):-webkit-autofill:active,
866
+ input[type=datetime-local]:not(.browser-default):-webkit-autofill,
867
+ input[type=datetime-local]:not(.browser-default):-webkit-autofill:hover,
868
+ input[type=datetime-local]:not(.browser-default):-webkit-autofill:focus,
869
+ input[type=datetime-local]:not(.browser-default):-webkit-autofill:active,
870
+ input[type=tel]:not(.browser-default):-webkit-autofill,
871
+ input[type=tel]:not(.browser-default):-webkit-autofill:hover,
872
+ input[type=tel]:not(.browser-default):-webkit-autofill:focus,
873
+ input[type=tel]:not(.browser-default):-webkit-autofill:active,
874
+ input[type=number]:not(.browser-default):-webkit-autofill,
875
+ input[type=number]:not(.browser-default):-webkit-autofill:hover,
876
+ input[type=number]:not(.browser-default):-webkit-autofill:focus,
877
+ input[type=number]:not(.browser-default):-webkit-autofill:active,
878
+ input[type=search]:not(.browser-default):-webkit-autofill,
879
+ input[type=search]:not(.browser-default):-webkit-autofill:hover,
880
+ input[type=search]:not(.browser-default):-webkit-autofill:focus,
881
+ input[type=search]:not(.browser-default):-webkit-autofill:active,
882
+ textarea.materialize-textarea:-webkit-autofill,
883
+ textarea.materialize-textarea:-webkit-autofill:hover,
884
+ textarea.materialize-textarea:-webkit-autofill:focus,
885
+ textarea.materialize-textarea:-webkit-autofill:active {
886
+ -webkit-box-shadow: 0 0 0 30px var(--mm-input-background, transparent) inset !important;
887
+ -webkit-text-fill-color: var(--mm-input-text, inherit) !important;
888
+ background-color: transparent !important;
889
+ color: var(--mm-input-text, inherit) !important;
890
+ transition: background-color 5000s ease-in-out 0s;
891
+ }
892
+ input:not([type]):not(.browser-default):-ms-input-placeholder,
893
+ input[type=text]:not(.browser-default):-ms-input-placeholder,
894
+ input[type=password]:not(.browser-default):-ms-input-placeholder,
895
+ input[type=email]:not(.browser-default):-ms-input-placeholder,
896
+ input[type=url]:not(.browser-default):-ms-input-placeholder,
897
+ input[type=time]:not(.browser-default):-ms-input-placeholder,
898
+ input[type=date]:not(.browser-default):-ms-input-placeholder,
899
+ input[type=datetime]:not(.browser-default):-ms-input-placeholder,
900
+ input[type=datetime-local]:not(.browser-default):-ms-input-placeholder,
901
+ input[type=tel]:not(.browser-default):-ms-input-placeholder,
902
+ input[type=number]:not(.browser-default):-ms-input-placeholder,
903
+ input[type=search]:not(.browser-default):-ms-input-placeholder,
904
+ textarea.materialize-textarea:-ms-input-placeholder {
905
+ color: var(--mm-text-hint, #d1d1d1) !important;
906
+ }
907
+ input:not([type]):not(.browser-default)::-ms-input-placeholder,
908
+ input[type=text]:not(.browser-default)::-ms-input-placeholder,
909
+ input[type=password]:not(.browser-default)::-ms-input-placeholder,
910
+ input[type=email]:not(.browser-default)::-ms-input-placeholder,
911
+ input[type=url]:not(.browser-default)::-ms-input-placeholder,
912
+ input[type=time]:not(.browser-default)::-ms-input-placeholder,
913
+ input[type=date]:not(.browser-default)::-ms-input-placeholder,
914
+ input[type=datetime]:not(.browser-default)::-ms-input-placeholder,
915
+ input[type=datetime-local]:not(.browser-default)::-ms-input-placeholder,
916
+ input[type=tel]:not(.browser-default)::-ms-input-placeholder,
917
+ input[type=number]:not(.browser-default)::-ms-input-placeholder,
918
+ input[type=search]:not(.browser-default)::-ms-input-placeholder,
919
+ textarea.materialize-textarea::-ms-input-placeholder {
920
+ color: var(--mm-text-hint, #d1d1d1) !important;
921
+ }
922
+
923
+ /* Validation Sass Placeholders */
924
+ .select-wrapper.valid > input.select-dropdown, input:not([type]):not(.browser-default).valid, input:not([type]):not(.browser-default):focus.valid,
925
+ input[type=text]:not(.browser-default).valid,
926
+ input[type=text]:not(.browser-default):focus.valid,
927
+ input[type=password]:not(.browser-default).valid,
928
+ input[type=password]:not(.browser-default):focus.valid,
929
+ input[type=email]:not(.browser-default).valid,
930
+ input[type=email]:not(.browser-default):focus.valid,
931
+ input[type=url]:not(.browser-default).valid,
932
+ input[type=url]:not(.browser-default):focus.valid,
933
+ input[type=time]:not(.browser-default).valid,
934
+ input[type=time]:not(.browser-default):focus.valid,
935
+ input[type=date]:not(.browser-default).valid,
936
+ input[type=date]:not(.browser-default):focus.valid,
937
+ input[type=datetime]:not(.browser-default).valid,
938
+ input[type=datetime]:not(.browser-default):focus.valid,
939
+ input[type=datetime-local]:not(.browser-default).valid,
940
+ input[type=datetime-local]:not(.browser-default):focus.valid,
941
+ input[type=tel]:not(.browser-default).valid,
942
+ input[type=tel]:not(.browser-default):focus.valid,
943
+ input[type=number]:not(.browser-default).valid,
944
+ input[type=number]:not(.browser-default):focus.valid,
945
+ input[type=search]:not(.browser-default).valid,
946
+ input[type=search]:not(.browser-default):focus.valid,
947
+ textarea.materialize-textarea.valid,
948
+ textarea.materialize-textarea:focus.valid {
949
+ border-bottom: 1px solid #4CAF50;
950
+ box-shadow: 0 1px 0 0 #4CAF50;
951
+ }
952
+
953
+ .select-wrapper.invalid > input.select-dropdown, .select-wrapper.invalid > input.select-dropdown:focus, input:not([type]):not(.browser-default).invalid, input:not([type]):not(.browser-default):focus.invalid,
954
+ input[type=text]:not(.browser-default).invalid,
955
+ input[type=text]:not(.browser-default):focus.invalid,
956
+ input[type=password]:not(.browser-default).invalid,
957
+ input[type=password]:not(.browser-default):focus.invalid,
958
+ input[type=email]:not(.browser-default).invalid,
959
+ input[type=email]:not(.browser-default):focus.invalid,
960
+ input[type=url]:not(.browser-default).invalid,
961
+ input[type=url]:not(.browser-default):focus.invalid,
962
+ input[type=time]:not(.browser-default).invalid,
963
+ input[type=time]:not(.browser-default):focus.invalid,
964
+ input[type=date]:not(.browser-default).invalid,
965
+ input[type=date]:not(.browser-default):focus.invalid,
966
+ input[type=datetime]:not(.browser-default).invalid,
967
+ input[type=datetime]:not(.browser-default):focus.invalid,
968
+ input[type=datetime-local]:not(.browser-default).invalid,
969
+ input[type=datetime-local]:not(.browser-default):focus.invalid,
970
+ input[type=tel]:not(.browser-default).invalid,
971
+ input[type=tel]:not(.browser-default):focus.invalid,
972
+ input[type=number]:not(.browser-default).invalid,
973
+ input[type=number]:not(.browser-default):focus.invalid,
974
+ input[type=search]:not(.browser-default).invalid,
975
+ input[type=search]:not(.browser-default):focus.invalid,
976
+ textarea.materialize-textarea.invalid,
977
+ textarea.materialize-textarea:focus.invalid {
978
+ border-bottom: 1px solid #F44336;
979
+ box-shadow: 0 1px 0 0 #F44336;
980
+ }
981
+
982
+ .select-wrapper.valid .helper-text[data-success], .select-wrapper.invalid ~ .helper-text[data-error], input:not([type]):not(.browser-default).valid ~ .helper-text[data-success], input:not([type]):not(.browser-default):focus.valid ~ .helper-text[data-success], input:not([type]):not(.browser-default).invalid ~ .helper-text[data-error], input:not([type]):not(.browser-default):focus.invalid ~ .helper-text[data-error],
983
+ input[type=text]:not(.browser-default).valid ~ .helper-text[data-success],
984
+ input[type=text]:not(.browser-default):focus.valid ~ .helper-text[data-success],
985
+ input[type=text]:not(.browser-default).invalid ~ .helper-text[data-error],
986
+ input[type=text]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
987
+ input[type=password]:not(.browser-default).valid ~ .helper-text[data-success],
988
+ input[type=password]:not(.browser-default):focus.valid ~ .helper-text[data-success],
989
+ input[type=password]:not(.browser-default).invalid ~ .helper-text[data-error],
990
+ input[type=password]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
991
+ input[type=email]:not(.browser-default).valid ~ .helper-text[data-success],
992
+ input[type=email]:not(.browser-default):focus.valid ~ .helper-text[data-success],
993
+ input[type=email]:not(.browser-default).invalid ~ .helper-text[data-error],
994
+ input[type=email]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
995
+ input[type=url]:not(.browser-default).valid ~ .helper-text[data-success],
996
+ input[type=url]:not(.browser-default):focus.valid ~ .helper-text[data-success],
997
+ input[type=url]:not(.browser-default).invalid ~ .helper-text[data-error],
998
+ input[type=url]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
999
+ input[type=time]:not(.browser-default).valid ~ .helper-text[data-success],
1000
+ input[type=time]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1001
+ input[type=time]:not(.browser-default).invalid ~ .helper-text[data-error],
1002
+ input[type=time]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1003
+ input[type=date]:not(.browser-default).valid ~ .helper-text[data-success],
1004
+ input[type=date]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1005
+ input[type=date]:not(.browser-default).invalid ~ .helper-text[data-error],
1006
+ input[type=date]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1007
+ input[type=datetime]:not(.browser-default).valid ~ .helper-text[data-success],
1008
+ input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1009
+ input[type=datetime]:not(.browser-default).invalid ~ .helper-text[data-error],
1010
+ input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1011
+ input[type=datetime-local]:not(.browser-default).valid ~ .helper-text[data-success],
1012
+ input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1013
+ input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text[data-error],
1014
+ input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1015
+ input[type=tel]:not(.browser-default).valid ~ .helper-text[data-success],
1016
+ input[type=tel]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1017
+ input[type=tel]:not(.browser-default).invalid ~ .helper-text[data-error],
1018
+ input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1019
+ input[type=number]:not(.browser-default).valid ~ .helper-text[data-success],
1020
+ input[type=number]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1021
+ input[type=number]:not(.browser-default).invalid ~ .helper-text[data-error],
1022
+ input[type=number]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1023
+ input[type=search]:not(.browser-default).valid ~ .helper-text[data-success],
1024
+ input[type=search]:not(.browser-default):focus.valid ~ .helper-text[data-success],
1025
+ input[type=search]:not(.browser-default).invalid ~ .helper-text[data-error],
1026
+ input[type=search]:not(.browser-default):focus.invalid ~ .helper-text[data-error],
1027
+ textarea.materialize-textarea.valid ~ .helper-text[data-success],
1028
+ textarea.materialize-textarea:focus.valid ~ .helper-text[data-success],
1029
+ textarea.materialize-textarea.invalid ~ .helper-text[data-error],
1030
+ textarea.materialize-textarea:focus.invalid ~ .helper-text[data-error] {
1031
+ color: transparent;
1032
+ user-select: none;
1033
+ pointer-events: none;
1034
+ }
1035
+
1036
+ .select-wrapper.valid ~ .helper-text:after, input:not([type]):not(.browser-default).valid ~ .helper-text:after, input:not([type]):not(.browser-default):focus.valid ~ .helper-text:after,
1037
+ input[type=text]:not(.browser-default).valid ~ .helper-text:after,
1038
+ input[type=text]:not(.browser-default):focus.valid ~ .helper-text:after,
1039
+ input[type=password]:not(.browser-default).valid ~ .helper-text:after,
1040
+ input[type=password]:not(.browser-default):focus.valid ~ .helper-text:after,
1041
+ input[type=email]:not(.browser-default).valid ~ .helper-text:after,
1042
+ input[type=email]:not(.browser-default):focus.valid ~ .helper-text:after,
1043
+ input[type=url]:not(.browser-default).valid ~ .helper-text:after,
1044
+ input[type=url]:not(.browser-default):focus.valid ~ .helper-text:after,
1045
+ input[type=time]:not(.browser-default).valid ~ .helper-text:after,
1046
+ input[type=time]:not(.browser-default):focus.valid ~ .helper-text:after,
1047
+ input[type=date]:not(.browser-default).valid ~ .helper-text:after,
1048
+ input[type=date]:not(.browser-default):focus.valid ~ .helper-text:after,
1049
+ input[type=datetime]:not(.browser-default).valid ~ .helper-text:after,
1050
+ input[type=datetime]:not(.browser-default):focus.valid ~ .helper-text:after,
1051
+ input[type=datetime-local]:not(.browser-default).valid ~ .helper-text:after,
1052
+ input[type=datetime-local]:not(.browser-default):focus.valid ~ .helper-text:after,
1053
+ input[type=tel]:not(.browser-default).valid ~ .helper-text:after,
1054
+ input[type=tel]:not(.browser-default):focus.valid ~ .helper-text:after,
1055
+ input[type=number]:not(.browser-default).valid ~ .helper-text:after,
1056
+ input[type=number]:not(.browser-default):focus.valid ~ .helper-text:after,
1057
+ input[type=search]:not(.browser-default).valid ~ .helper-text:after,
1058
+ input[type=search]:not(.browser-default):focus.valid ~ .helper-text:after,
1059
+ textarea.materialize-textarea.valid ~ .helper-text:after,
1060
+ textarea.materialize-textarea:focus.valid ~ .helper-text:after {
1061
+ content: attr(data-success);
1062
+ color: #4CAF50;
1063
+ }
1064
+
1065
+ .select-wrapper.invalid ~ .helper-text:after, input:not([type]):not(.browser-default).invalid ~ .helper-text:after, input:not([type]):not(.browser-default):focus.invalid ~ .helper-text:after,
1066
+ input[type=text]:not(.browser-default).invalid ~ .helper-text:after,
1067
+ input[type=text]:not(.browser-default):focus.invalid ~ .helper-text:after,
1068
+ input[type=password]:not(.browser-default).invalid ~ .helper-text:after,
1069
+ input[type=password]:not(.browser-default):focus.invalid ~ .helper-text:after,
1070
+ input[type=email]:not(.browser-default).invalid ~ .helper-text:after,
1071
+ input[type=email]:not(.browser-default):focus.invalid ~ .helper-text:after,
1072
+ input[type=url]:not(.browser-default).invalid ~ .helper-text:after,
1073
+ input[type=url]:not(.browser-default):focus.invalid ~ .helper-text:after,
1074
+ input[type=time]:not(.browser-default).invalid ~ .helper-text:after,
1075
+ input[type=time]:not(.browser-default):focus.invalid ~ .helper-text:after,
1076
+ input[type=date]:not(.browser-default).invalid ~ .helper-text:after,
1077
+ input[type=date]:not(.browser-default):focus.invalid ~ .helper-text:after,
1078
+ input[type=datetime]:not(.browser-default).invalid ~ .helper-text:after,
1079
+ input[type=datetime]:not(.browser-default):focus.invalid ~ .helper-text:after,
1080
+ input[type=datetime-local]:not(.browser-default).invalid ~ .helper-text:after,
1081
+ input[type=datetime-local]:not(.browser-default):focus.invalid ~ .helper-text:after,
1082
+ input[type=tel]:not(.browser-default).invalid ~ .helper-text:after,
1083
+ input[type=tel]:not(.browser-default):focus.invalid ~ .helper-text:after,
1084
+ input[type=number]:not(.browser-default).invalid ~ .helper-text:after,
1085
+ input[type=number]:not(.browser-default):focus.invalid ~ .helper-text:after,
1086
+ input[type=search]:not(.browser-default).invalid ~ .helper-text:after,
1087
+ input[type=search]:not(.browser-default):focus.invalid ~ .helper-text:after,
1088
+ textarea.materialize-textarea.invalid ~ .helper-text:after,
1089
+ textarea.materialize-textarea:focus.invalid ~ .helper-text:after {
1090
+ content: attr(data-error);
1091
+ color: #F44336;
1092
+ }
1093
+
1094
+ .select-wrapper + label:after, input:not([type]):not(.browser-default) + label:after,
1095
+ input[type=text]:not(.browser-default) + label:after,
1096
+ input[type=password]:not(.browser-default) + label:after,
1097
+ input[type=email]:not(.browser-default) + label:after,
1098
+ input[type=url]:not(.browser-default) + label:after,
1099
+ input[type=time]:not(.browser-default) + label:after,
1100
+ input[type=date]:not(.browser-default) + label:after,
1101
+ input[type=datetime]:not(.browser-default) + label:after,
1102
+ input[type=datetime-local]:not(.browser-default) + label:after,
1103
+ input[type=tel]:not(.browser-default) + label:after,
1104
+ input[type=number]:not(.browser-default) + label:after,
1105
+ input[type=search]:not(.browser-default) + label:after,
1106
+ textarea.materialize-textarea + label:after {
1107
+ display: block;
1108
+ content: "";
1109
+ position: absolute;
1110
+ top: 100%;
1111
+ left: 0;
1112
+ opacity: 0;
1113
+ transition: 0.2s opacity ease-out, 0.2s color ease-out;
1114
+ }
1115
+
1116
+ .input-field {
1117
+ position: relative;
1118
+ margin-top: 1rem;
1119
+ margin-bottom: 1rem;
1120
+ }
1121
+ .input-field.inline {
1122
+ display: inline-block;
1123
+ vertical-align: middle;
1124
+ margin-left: 5px;
1125
+ }
1126
+ .input-field.inline input,
1127
+ .input-field.inline .select-dropdown {
1128
+ margin-bottom: 1rem;
1129
+ }
1130
+ .input-field.col label {
1131
+ left: 0.75rem;
1132
+ }
1133
+ .input-field.col .prefix ~ label,
1134
+ .input-field.col .prefix ~ .validate ~ label {
1135
+ width: calc(100% - 3rem - 1.5rem);
1136
+ }
1137
+ .input-field > label {
1138
+ color: #9e9e9e;
1139
+ position: absolute;
1140
+ top: 0;
1141
+ left: 0;
1142
+ font-size: 1rem;
1143
+ cursor: text;
1144
+ transition: transform 0.2s ease-out, color 0.2s ease-out;
1145
+ transform-origin: 0% 100%;
1146
+ text-align: initial;
1147
+ transform: translateY(12px);
1148
+ }
1149
+ .input-field > label:not(.label-icon).active {
1150
+ transform: translateY(-14px) scale(0.8);
1151
+ transform-origin: 0 0;
1152
+ }
1153
+ .input-field > input[type]:-webkit-autofill:not(.browser-default):not([type=search]) + label, .input-field > input[type=date]:not(.browser-default) + label, .input-field > input[type=time]:not(.browser-default) + label {
1154
+ transform: translateY(-14px) scale(0.8);
1155
+ transform-origin: 0 0;
1156
+ }
1157
+ .input-field .helper-text {
1158
+ position: relative;
1159
+ min-height: 18px;
1160
+ display: block;
1161
+ font-size: 12px;
1162
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.54));
1163
+ }
1164
+ .input-field .helper-text::after {
1165
+ opacity: 1;
1166
+ position: absolute;
1167
+ top: 0;
1168
+ left: 0;
1169
+ }
1170
+ .input-field .prefix {
1171
+ position: absolute;
1172
+ width: 3rem;
1173
+ font-size: 2rem;
1174
+ transition: color 0.2s;
1175
+ top: 0.5rem;
1176
+ }
1177
+ .input-field .prefix.active {
1178
+ color: #26a69a;
1179
+ }
1180
+ .input-field .prefix ~ input,
1181
+ .input-field .prefix ~ textarea,
1182
+ .input-field .prefix ~ label,
1183
+ .input-field .prefix ~ .validate ~ label,
1184
+ .input-field .prefix ~ .helper-text,
1185
+ .input-field .prefix ~ .autocomplete-content {
1186
+ margin-left: 3rem;
1187
+ width: 92%;
1188
+ width: calc(100% - 3rem);
1189
+ }
1190
+ .input-field .prefix ~ label {
1191
+ margin-left: 3rem;
1192
+ }
1193
+ @media only screen and (max-width : 992px) {
1194
+ .input-field .prefix ~ input {
1195
+ width: 86%;
1196
+ width: calc(100% - 3rem);
1197
+ }
1198
+ }
1199
+ @media only screen and (max-width : 600px) {
1200
+ .input-field .prefix ~ input {
1201
+ width: 80%;
1202
+ width: calc(100% - 3rem);
1203
+ }
1204
+ }
1205
+
1206
+ .input-field input[type=color]:not(.browser-default) {
1207
+ margin-top: 8px;
1208
+ }
1209
+
1210
+ /* Search Field */
1211
+ .input-field input[type=search] {
1212
+ display: block;
1213
+ line-height: inherit;
1214
+ transition: 0.3s background-color;
1215
+ }
1216
+ .nav-wrapper .input-field input[type=search] {
1217
+ height: inherit;
1218
+ padding-left: 4rem;
1219
+ width: calc(100% - 4rem);
1220
+ border: 0;
1221
+ box-shadow: none;
1222
+ }
1223
+ .input-field input[type=search]:focus:not(.browser-default) {
1224
+ background-color: var(--mm-input-background, #fff);
1225
+ border: 0;
1226
+ box-shadow: none;
1227
+ color: var(--mm-input-text, #444);
1228
+ }
1229
+ .input-field input[type=search]:focus:not(.browser-default) + label i, .input-field input[type=search]:focus:not(.browser-default) ~ .mdi-navigation-close, .input-field input[type=search]:focus:not(.browser-default) ~ .material-icons {
1230
+ color: var(--mm-input-text, #444);
1231
+ }
1232
+ .input-field input[type=search] + .label-icon {
1233
+ transform: none;
1234
+ left: 1rem;
1235
+ }
1236
+ .input-field input[type=search] ~ .mdi-navigation-close, .input-field input[type=search] ~ .material-icons {
1237
+ position: absolute;
1238
+ top: 0;
1239
+ right: 1rem;
1240
+ color: transparent;
1241
+ cursor: pointer;
1242
+ font-size: 2rem;
1243
+ transition: 0.3s color;
1244
+ }
1245
+
1246
+ /* Textarea */
1247
+ textarea {
1248
+ width: 100%;
1249
+ height: 3rem;
1250
+ background-color: transparent;
1251
+ }
1252
+ textarea.materialize-textarea {
1253
+ line-height: normal;
1254
+ overflow-y: hidden; /* prevents scroll bar flash */
1255
+ padding: 0.8rem 0 0.8rem 0; /* prevents text jump on Enter keypress */
1256
+ resize: none;
1257
+ min-height: 3rem;
1258
+ box-sizing: border-box;
1259
+ }
1260
+
1261
+ .hiddendiv {
1262
+ visibility: hidden;
1263
+ white-space: pre-wrap;
1264
+ word-wrap: break-word;
1265
+ overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */
1266
+ padding-top: 1.2rem; /* prevents text jump on Enter keypress */
1267
+ position: absolute;
1268
+ top: 0;
1269
+ z-index: -1;
1270
+ }
1271
+
1272
+ /* Autocomplete */
1273
+ .autocomplete-content li .highlight {
1274
+ color: #444;
1275
+ }
1276
+ .autocomplete-content li img {
1277
+ height: 40px;
1278
+ width: 40px;
1279
+ margin: 5px 15px;
1280
+ }
1281
+
1282
+ /* Character Counter */
1283
+ .character-counter {
1284
+ min-height: 18px;
1285
+ }
1286
+
1287
+ /* Select Field
1288
+ ========================================================================== */
1289
+ select.browser-default {
1290
+ opacity: 1;
1291
+ }
1292
+
1293
+ select {
1294
+ opacity: 0;
1295
+ background-color: rgba(255, 255, 255, 0.9);
1296
+ width: 100%;
1297
+ padding: 5px;
1298
+ border: 1px solid #f2f2f2;
1299
+ border-radius: 2px;
1300
+ height: 3rem;
1301
+ }
1302
+
1303
+ .select-label {
1304
+ position: absolute;
1305
+ }
1306
+
1307
+ .select-wrapper {
1308
+ position: relative;
1309
+ }
1310
+ .select-wrapper.valid + label, .select-wrapper.invalid + label {
1311
+ width: 100%;
1312
+ pointer-events: none;
1313
+ }
1314
+ .select-wrapper input.select-dropdown {
1315
+ position: relative;
1316
+ cursor: pointer;
1317
+ background-color: transparent;
1318
+ border: none;
1319
+ border-bottom: 1px solid #9e9e9e;
1320
+ outline: none;
1321
+ height: 3rem;
1322
+ line-height: 3rem;
1323
+ width: 100%;
1324
+ font-size: 16px;
1325
+ margin: 0 0 8px 0;
1326
+ padding: 0;
1327
+ display: block;
1328
+ user-select: none;
1329
+ z-index: 1;
1330
+ }
1331
+ .select-wrapper input.select-dropdown:focus {
1332
+ border-bottom: 1px solid #26a69a;
1333
+ }
1334
+ .select-wrapper .caret {
1335
+ position: absolute;
1336
+ right: 0;
1337
+ top: 0;
1338
+ bottom: 0;
1339
+ margin: auto 0;
1340
+ z-index: 0;
1341
+ fill: rgba(0, 0, 0, 0.87);
1342
+ }
1343
+ .select-wrapper + label {
1344
+ position: absolute;
1345
+ top: -26px;
1346
+ font-size: 0.8rem;
1347
+ }
1348
+ .select-wrapper .hide-select {
1349
+ width: 0;
1350
+ height: 0;
1351
+ overflow: hidden;
1352
+ position: absolute;
1353
+ top: 0;
1354
+ z-index: -1;
1355
+ }
1356
+
1357
+ select:disabled {
1358
+ color: rgba(0, 0, 0, 0.42);
1359
+ }
1360
+
1361
+ .select-wrapper.disabled + label {
1362
+ color: rgba(0, 0, 0, 0.42);
1363
+ }
1364
+ .select-wrapper.disabled .caret {
1365
+ fill: rgba(0, 0, 0, 0.42);
1366
+ }
1367
+
1368
+ .select-wrapper input.select-dropdown:disabled {
1369
+ color: rgba(0, 0, 0, 0.42);
1370
+ cursor: default;
1371
+ user-select: none;
1372
+ }
1373
+
1374
+ .select-wrapper i {
1375
+ color: rgba(0, 0, 0, 0.3);
1376
+ }
1377
+
1378
+ .select-dropdown li.disabled,
1379
+ .select-dropdown li.disabled > span,
1380
+ .select-dropdown li.optgroup {
1381
+ color: rgba(0, 0, 0, 0.3);
1382
+ background-color: transparent;
1383
+ }
1384
+
1385
+ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
1386
+ background-color: rgba(0, 0, 0, 0.08);
1387
+ }
1388
+
1389
+ .select-dropdown.dropdown-content li:hover {
1390
+ background-color: rgba(0, 0, 0, 0.08);
1391
+ }
1392
+ .select-dropdown.dropdown-content li.selected {
1393
+ background-color: rgba(0, 0, 0, 0.03);
1394
+ }
1395
+
1396
+ .prefix ~ .select-wrapper {
1397
+ margin-left: 3rem;
1398
+ width: 92%;
1399
+ width: calc(100% - 3rem);
1400
+ }
1401
+
1402
+ .prefix ~ label {
1403
+ margin-left: 3rem;
1404
+ }
1405
+
1406
+ .select-dropdown li img {
1407
+ height: 40px;
1408
+ width: 40px;
1409
+ margin: 5px 15px;
1410
+ float: right;
1411
+ }
1412
+
1413
+ .select-dropdown li.optgroup {
1414
+ border-top: 1px solid #eee;
1415
+ }
1416
+ .select-dropdown li.optgroup.selected > span {
1417
+ color: rgba(0, 0, 0, 0.7);
1418
+ }
1419
+ .select-dropdown li.optgroup > span {
1420
+ color: rgba(0, 0, 0, 0.4);
1421
+ }
1422
+ .select-dropdown li.optgroup ~ li.optgroup-option {
1423
+ padding-left: 1rem;
1424
+ }
1425
+
1426
+ /* Checkboxes
1427
+ ========================================================================== */
1428
+ /* Remove default checkbox */
1429
+ [type=checkbox]:not(:checked),
1430
+ [type=checkbox]:checked {
1431
+ position: absolute;
1432
+ opacity: 0;
1433
+ pointer-events: none;
1434
+ }
1435
+
1436
+ [type=checkbox] {
1437
+ /* checkbox aspect */
1438
+ }
1439
+ [type=checkbox] + span:not(.lever) {
1440
+ position: relative;
1441
+ padding-left: 35px;
1442
+ cursor: pointer;
1443
+ display: inline-block;
1444
+ height: 25px;
1445
+ line-height: 25px;
1446
+ font-size: 1rem;
1447
+ user-select: none;
1448
+ }
1449
+ [type=checkbox] + span:not(.lever):before, [type=checkbox]:not(.filled-in) + span:not(.lever):after {
1450
+ content: "";
1451
+ position: absolute;
1452
+ top: 0;
1453
+ left: 0;
1454
+ width: 18px;
1455
+ height: 18px;
1456
+ z-index: 0;
1457
+ border: 2px solid #5a5a5a;
1458
+ border-radius: 1px;
1459
+ margin-top: 3px;
1460
+ transition: 0.2s;
1461
+ }
1462
+ [type=checkbox]:not(.filled-in) + span:not(.lever):after {
1463
+ border: 0;
1464
+ transform: scale(0);
1465
+ }
1466
+ [type=checkbox]:not(:checked):disabled + span:not(.lever):before {
1467
+ border: none;
1468
+ background-color: rgba(0, 0, 0, 0.42);
1469
+ }
1470
+ [type=checkbox].tabbed:focus + span:not(.lever):after {
1471
+ transform: scale(1);
1472
+ border: 0;
1473
+ border-radius: 50%;
1474
+ box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
1475
+ background-color: rgba(0, 0, 0, 0.1);
1476
+ }
1477
+
1478
+ [type=checkbox]:checked + span:not(.lever):before {
1479
+ top: -4px;
1480
+ left: -5px;
1481
+ width: 12px;
1482
+ height: 22px;
1483
+ border-top: 2px solid transparent;
1484
+ border-left: 2px solid transparent;
1485
+ border-right: 2px solid #26a69a;
1486
+ border-bottom: 2px solid #26a69a;
1487
+ transform: rotate(40deg);
1488
+ backface-visibility: hidden;
1489
+ transform-origin: 100% 100%;
1490
+ }
1491
+ [type=checkbox]:checked:disabled + span:before {
1492
+ border-right: 2px solid rgba(0, 0, 0, 0.42);
1493
+ border-bottom: 2px solid rgba(0, 0, 0, 0.42);
1494
+ }
1495
+
1496
+ /* Indeterminate checkbox */
1497
+ [type=checkbox]:indeterminate + span:not(.lever):before {
1498
+ top: -11px;
1499
+ left: -12px;
1500
+ width: 10px;
1501
+ height: 22px;
1502
+ border-top: none;
1503
+ border-left: none;
1504
+ border-right: 2px solid #26a69a;
1505
+ border-bottom: none;
1506
+ transform: rotate(90deg);
1507
+ backface-visibility: hidden;
1508
+ transform-origin: 100% 100%;
1509
+ }
1510
+ [type=checkbox]:indeterminate:disabled + span:not(.lever):before {
1511
+ border-right: 2px solid rgba(0, 0, 0, 0.42);
1512
+ background-color: transparent;
1513
+ }
1514
+
1515
+ [type=checkbox].filled-in + span:not(.lever):after {
1516
+ border-radius: 2px;
1517
+ }
1518
+ [type=checkbox].filled-in + span:not(.lever):before,
1519
+ [type=checkbox].filled-in + span:not(.lever):after {
1520
+ content: "";
1521
+ left: 0;
1522
+ position: absolute;
1523
+ /* .1s delay is for check animation */
1524
+ transition: border 0.25s, background-color 0.25s, width 0.2s 0.1s, height 0.2s 0.1s, top 0.2s 0.1s, left 0.2s 0.1s;
1525
+ z-index: 1;
1526
+ }
1527
+ [type=checkbox].filled-in:not(:checked) + span:not(.lever):before {
1528
+ width: 0;
1529
+ height: 0;
1530
+ border: 3px solid transparent;
1531
+ left: 6px;
1532
+ top: 10px;
1533
+ transform: rotateZ(37deg);
1534
+ transform-origin: 100% 100%;
1535
+ }
1536
+ [type=checkbox].filled-in:not(:checked) + span:not(.lever):after {
1537
+ height: 20px;
1538
+ width: 20px;
1539
+ background-color: transparent;
1540
+ border: 2px solid #5a5a5a;
1541
+ top: 0px;
1542
+ z-index: 0;
1543
+ }
1544
+ [type=checkbox].filled-in:checked + span:not(.lever):before {
1545
+ top: 0;
1546
+ left: 1px;
1547
+ width: 8px;
1548
+ height: 13px;
1549
+ border-top: 2px solid transparent;
1550
+ border-left: 2px solid transparent;
1551
+ border-right: 2px solid #fff;
1552
+ border-bottom: 2px solid #fff;
1553
+ transform: rotateZ(37deg);
1554
+ transform-origin: 100% 100%;
1555
+ }
1556
+ [type=checkbox].filled-in:checked + span:not(.lever):after {
1557
+ top: 0;
1558
+ width: 20px;
1559
+ height: 20px;
1560
+ border: 2px solid #26a69a;
1561
+ background-color: #26a69a;
1562
+ z-index: 0;
1563
+ }
1564
+ [type=checkbox].filled-in.tabbed:focus + span:not(.lever):after {
1565
+ border-radius: 2px;
1566
+ border-color: #5a5a5a;
1567
+ background-color: rgba(0, 0, 0, 0.1);
1568
+ }
1569
+ [type=checkbox].filled-in.tabbed:checked:focus + span:not(.lever):after {
1570
+ border-radius: 2px;
1571
+ background-color: #26a69a;
1572
+ border-color: #26a69a;
1573
+ }
1574
+ [type=checkbox].filled-in:disabled:not(:checked) + span:not(.lever):before {
1575
+ background-color: transparent;
1576
+ border: 2px solid transparent;
1577
+ }
1578
+ [type=checkbox].filled-in:disabled:not(:checked) + span:not(.lever):after {
1579
+ border-color: transparent;
1580
+ background-color: #949494;
1581
+ }
1582
+ [type=checkbox].filled-in:disabled:checked + span:not(.lever):before {
1583
+ background-color: transparent;
1584
+ }
1585
+ [type=checkbox].filled-in:disabled:checked + span:not(.lever):after {
1586
+ background-color: #949494;
1587
+ border-color: #949494;
1588
+ }
1589
+
1590
+ /* Radio Buttons
1591
+ ========================================================================== */
1592
+ [type=radio]:not(:checked),
1593
+ [type=radio]:checked {
1594
+ position: absolute;
1595
+ opacity: 0;
1596
+ pointer-events: none;
1597
+ }
1598
+
1599
+ [type=radio]:not(:checked) + span,
1600
+ [type=radio]:checked + span {
1601
+ position: relative;
1602
+ padding-left: 35px;
1603
+ cursor: pointer;
1604
+ display: inline-block;
1605
+ height: 25px;
1606
+ line-height: 25px;
1607
+ font-size: 1rem;
1608
+ transition: 0.28s ease;
1609
+ user-select: none;
1610
+ }
1611
+
1612
+ [type=radio] + span:before,
1613
+ [type=radio] + span:after {
1614
+ content: "";
1615
+ position: absolute;
1616
+ left: 0;
1617
+ top: 0;
1618
+ margin: 4px;
1619
+ width: 16px;
1620
+ height: 16px;
1621
+ z-index: 0;
1622
+ transition: 0.28s ease;
1623
+ }
1624
+
1625
+ /* Unchecked styles */
1626
+ [type=radio]:not(:checked) + span:before,
1627
+ [type=radio]:not(:checked) + span:after,
1628
+ [type=radio]:checked + span:before,
1629
+ [type=radio]:checked + span:after,
1630
+ [type=radio].with-gap:checked + span:before,
1631
+ [type=radio].with-gap:checked + span:after {
1632
+ border-radius: 50%;
1633
+ }
1634
+
1635
+ [type=radio]:not(:checked) + span:before,
1636
+ [type=radio]:not(:checked) + span:after {
1637
+ border: 2px solid var(--mm-text-secondary, #5a5a5a);
1638
+ }
1639
+
1640
+ [type=radio]:not(:checked) + span:after {
1641
+ transform: scale(0);
1642
+ }
1643
+
1644
+ /* Checked styles */
1645
+ [type=radio]:checked + span:before {
1646
+ border: 2px solid transparent;
1647
+ }
1648
+
1649
+ [type=radio]:checked + span:after,
1650
+ [type=radio].with-gap:checked + span:before,
1651
+ [type=radio].with-gap:checked + span:after {
1652
+ border: 2px solid var(--mm-primary-color, #26a69a);
1653
+ }
1654
+
1655
+ [type=radio]:checked + span:after,
1656
+ [type=radio].with-gap:checked + span:after {
1657
+ background-color: var(--mm-primary-color, #26a69a);
1658
+ }
1659
+
1660
+ [type=radio]:checked + span:after {
1661
+ transform: scale(1.02);
1662
+ }
1663
+
1664
+ /* Radio With gap */
1665
+ [type=radio].with-gap:checked + span:after {
1666
+ transform: scale(0.5);
1667
+ }
1668
+
1669
+ /* Focused styles */
1670
+ [type=radio].tabbed:focus + span:before {
1671
+ box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
1672
+ }
1673
+
1674
+ /* Disabled Radio With gap */
1675
+ [type=radio].with-gap:disabled:checked + span:before {
1676
+ border: 2px solid var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
1677
+ }
1678
+
1679
+ [type=radio].with-gap:disabled:checked + span:after {
1680
+ border: none;
1681
+ background-color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
1682
+ }
1683
+
1684
+ /* Disabled style */
1685
+ [type=radio]:disabled:not(:checked) + span:before,
1686
+ [type=radio]:disabled:checked + span:before {
1687
+ background-color: transparent;
1688
+ border-color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
1689
+ }
1690
+
1691
+ [type=radio]:disabled + span {
1692
+ color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
1693
+ }
1694
+
1695
+ [type=radio]:disabled:not(:checked) + span:before {
1696
+ border-color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
1697
+ }
1698
+
1699
+ [type=radio]:disabled:checked + span:after {
1700
+ background-color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
1701
+ border-color: var(--mm-text-disabled, #949494);
1702
+ }
1703
+
1704
+ /* Switch
1705
+ ========================================================================== */
1706
+ .switch,
1707
+ .switch * {
1708
+ -webkit-tap-highlight-color: transparent;
1709
+ user-select: none;
1710
+ }
1711
+
1712
+ .switch label {
1713
+ cursor: pointer;
1714
+ }
1715
+
1716
+ .switch label input[type=checkbox] {
1717
+ opacity: 0;
1718
+ width: 0;
1719
+ height: 0;
1720
+ }
1721
+ .switch label input[type=checkbox]:checked + .lever {
1722
+ background-color: var(--mm-switch-checked-track, rgb(132.0625, 199.4375, 193.12109375));
1723
+ }
1724
+ .switch label input[type=checkbox]:checked + .lever:before, .switch label input[type=checkbox]:checked + .lever:after {
1725
+ left: 18px;
1726
+ }
1727
+ .switch label input[type=checkbox]:checked + .lever:after {
1728
+ background-color: var(--mm-switch-checked-thumb, #26a69a);
1729
+ }
1730
+
1731
+ .switch label .lever {
1732
+ content: "";
1733
+ display: inline-block;
1734
+ position: relative;
1735
+ width: 36px;
1736
+ height: 14px;
1737
+ background-color: var(--mm-switch-unchecked-track, rgba(0, 0, 0, 0.38));
1738
+ border-radius: 15px;
1739
+ margin-right: 10px;
1740
+ transition: background 0.3s ease;
1741
+ vertical-align: middle;
1742
+ margin: 0 16px;
1743
+ }
1744
+ .switch label .lever:before, .switch label .lever:after {
1745
+ content: "";
1746
+ position: absolute;
1747
+ display: inline-block;
1748
+ width: 20px;
1749
+ height: 20px;
1750
+ border-radius: 50%;
1751
+ left: 0;
1752
+ top: -3px;
1753
+ transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease, transform 0.1s ease;
1754
+ }
1755
+ .switch label .lever:before {
1756
+ background-color: rgba(38, 166, 154, 0.15);
1757
+ }
1758
+ .switch label .lever:after {
1759
+ background-color: var(--mm-switch-unchecked-thumb, #F1F1F1);
1760
+ box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
1761
+ }
1762
+
1763
+ input[type=checkbox]:checked:not(:disabled) ~ .lever:active::before,
1764
+ input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .lever::before {
1765
+ transform: scale(2.4);
1766
+ background-color: rgba(38, 166, 154, 0.15);
1767
+ }
1768
+
1769
+ input[type=checkbox]:not(:disabled) ~ .lever:active:before,
1770
+ input[type=checkbox]:not(:disabled).tabbed:focus ~ .lever::before {
1771
+ transform: scale(2.4);
1772
+ background-color: rgba(0, 0, 0, 0.08);
1773
+ }
1774
+
1775
+ .switch input[type=checkbox][disabled] + .lever {
1776
+ cursor: default;
1777
+ background-color: var(--mm-switch-disabled-track, rgba(0, 0, 0, 0.12));
1778
+ }
1779
+
1780
+ .switch label input[type=checkbox][disabled] + .lever:after,
1781
+ .switch label input[type=checkbox][disabled]:checked + .lever:after {
1782
+ background-color: var(--mm-switch-disabled-thumb, #949494);
1783
+ }
1784
+
1785
+ /* Range
1786
+ ========================================================================== */
1787
+ .range-field {
1788
+ position: relative;
1789
+ }
1790
+
1791
+ input[type=range],
1792
+ input[type=range] + .thumb {
1793
+ cursor: pointer;
1794
+ }
1795
+
1796
+ input[type=range] {
1797
+ position: relative;
1798
+ background-color: transparent;
1799
+ border: none;
1800
+ outline: none;
1801
+ width: 100%;
1802
+ margin: 15px 0;
1803
+ padding: 0;
1804
+ }
1805
+ input[type=range]:focus {
1806
+ outline: none;
1807
+ }
1808
+
1809
+ input[type=range] + .thumb {
1810
+ position: absolute;
1811
+ top: 10px;
1812
+ left: 0;
1813
+ border: none;
1814
+ height: 0;
1815
+ width: 0;
1816
+ border-radius: 50%;
1817
+ background-color: #26a69a;
1818
+ margin-left: 7px;
1819
+ transform-origin: 50% 50%;
1820
+ transform: rotate(-45deg);
1821
+ }
1822
+ input[type=range] + .thumb .value {
1823
+ display: block;
1824
+ width: 30px;
1825
+ text-align: center;
1826
+ color: #26a69a;
1827
+ font-size: 0;
1828
+ transform: rotate(45deg);
1829
+ }
1830
+ input[type=range] + .thumb.active {
1831
+ border-radius: 50% 50% 50% 0;
1832
+ }
1833
+ input[type=range] + .thumb.active .value {
1834
+ color: #fff;
1835
+ margin-left: -1px;
1836
+ margin-top: 8px;
1837
+ font-size: 10px;
1838
+ }
1839
+
1840
+ input[type=range] {
1841
+ -webkit-appearance: none;
1842
+ }
1843
+
1844
+ input[type=range]::-webkit-slider-runnable-track {
1845
+ height: 3px;
1846
+ background: #c2c0c2;
1847
+ border: none;
1848
+ }
1849
+
1850
+ input[type=range]::-webkit-slider-thumb {
1851
+ border: none;
1852
+ height: 14px;
1853
+ width: 14px;
1854
+ border-radius: 50%;
1855
+ background: #26a69a;
1856
+ transition: box-shadow 0.3s;
1857
+ -webkit-appearance: none;
1858
+ background-color: #26a69a;
1859
+ transform-origin: 50% 50%;
1860
+ margin: -5px 0 0 0;
1861
+ }
1862
+
1863
+ .keyboard-focused input[type=range]:focus:not(.active)::-webkit-slider-thumb {
1864
+ box-shadow: 0 0 0 10px rgba(38, 166, 154, 0.26);
1865
+ }
1866
+
1867
+ input[type=range] {
1868
+ /* fix for FF unable to apply focus style bug */
1869
+ border: 1px solid white;
1870
+ /*required for proper track sizing in FF*/
1871
+ }
1872
+
1873
+ input[type=range]::-moz-range-track {
1874
+ height: 3px;
1875
+ background: #c2c0c2;
1876
+ border: none;
1877
+ }
1878
+
1879
+ input[type=range]::-moz-focus-inner {
1880
+ border: 0;
1881
+ }
1882
+
1883
+ input[type=range]::-moz-range-thumb {
1884
+ border: none;
1885
+ height: 14px;
1886
+ width: 14px;
1887
+ border-radius: 50%;
1888
+ background: #26a69a;
1889
+ transition: box-shadow 0.3s;
1890
+ margin-top: -5px;
1891
+ }
1892
+
1893
+ input[type=range]:-moz-focusring {
1894
+ outline: 1px solid #fff;
1895
+ outline-offset: -1px;
1896
+ }
1897
+
1898
+ .keyboard-focused input[type=range]:focus:not(.active)::-moz-range-thumb {
1899
+ box-shadow: 0 0 0 10px rgba(38, 166, 154, 0.26);
1900
+ }
1901
+
1902
+ input[type=range]::-ms-track {
1903
+ height: 3px;
1904
+ background: transparent;
1905
+ border-color: transparent;
1906
+ border-width: 6px 0;
1907
+ /*remove default tick marks*/
1908
+ color: transparent;
1909
+ }
1910
+
1911
+ input[type=range]::-ms-fill-lower {
1912
+ background: #777;
1913
+ }
1914
+
1915
+ input[type=range]::-ms-fill-upper {
1916
+ background: #ddd;
1917
+ }
1918
+
1919
+ input[type=range]::-ms-thumb {
1920
+ border: none;
1921
+ height: 14px;
1922
+ width: 14px;
1923
+ border-radius: 50%;
1924
+ background: #26a69a;
1925
+ transition: box-shadow 0.3s;
1926
+ }
1927
+
1928
+ .keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb {
1929
+ box-shadow: 0 0 0 10px rgba(38, 166, 154, 0.26);
1930
+ }
1931
+
1932
+ /* File Input
1933
+ ========================================================================== */
1934
+ .file-field {
1935
+ position: relative;
1936
+ }
1937
+ .file-field .file-path-wrapper {
1938
+ overflow: hidden;
1939
+ padding-left: 10px;
1940
+ }
1941
+ .file-field input.file-path {
1942
+ width: 100%;
1943
+ }
1944
+ .file-field .btn {
1945
+ float: left;
1946
+ height: 3rem;
1947
+ line-height: 3rem;
1948
+ }
1949
+ .file-field span {
1950
+ cursor: pointer;
1951
+ }
1952
+ .file-field input[type=file] {
1953
+ position: absolute;
1954
+ top: 0;
1955
+ right: 0;
1956
+ left: 0;
1957
+ bottom: 0;
1958
+ width: 100%;
1959
+ margin: 0;
1960
+ padding: 0;
1961
+ font-size: 20px;
1962
+ cursor: pointer;
1963
+ opacity: 0;
1964
+ filter: alpha(opacity=0);
1965
+ }
1966
+ .file-field input[type=file]::-webkit-file-upload-button {
1967
+ display: none;
1968
+ }
1969
+ .file-field .close {
1970
+ height: 20px;
1971
+ }
1972
+
1973
+ /* Shared styles for form groups (Options and RadioButtons components) */
1974
+ /* New grid-based style for horizontal and consistent alignment */
1975
+ .grid-container {
1976
+ display: grid;
1977
+ /* Create columns that are at least 150px wide and fill the available space */
1978
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
1979
+ /* Add space between grid items */
1980
+ gap: 15px;
1981
+ padding-top: 10px;
1982
+ padding-bottom: 20px;
1983
+ }
1984
+
1985
+ /* The paragraph elements don't need margin anymore as gap handles it */
1986
+ .grid-container p {
1987
+ margin: 0;
1988
+ }
1989
+
1990
+ .form-group-label {
1991
+ font-size: 0.8rem;
1992
+ color: #9e9e9e;
1993
+ margin-bottom: 15px;
1994
+ display: block;
1995
+ cursor: text;
1996
+ text-align: initial;
1997
+ }
1998
+
1999
+ .file-upload-container {
2000
+ margin-bottom: 1rem;
2001
+ }
2002
+
2003
+ .file-upload-area {
2004
+ border: 2px dashed var(--mm-border-color, rgba(0, 0, 0, 0.12));
2005
+ border-radius: 0.5rem;
2006
+ padding: 2rem;
2007
+ text-align: center;
2008
+ cursor: pointer;
2009
+ transition: all 0.2s ease;
2010
+ background: var(--mm-input-background, #ffffff);
2011
+ }
2012
+ .file-upload-area:hover:not(.disabled) {
2013
+ border-color: var(--mm-primary-color, #26a69a);
2014
+ background: var(--mm-surface-color, #f5f5f5);
2015
+ }
2016
+ .file-upload-area.drag-over {
2017
+ border-color: var(--mm-primary-color, #26a69a);
2018
+ background: var(--mm-primary-color-light, rgba(38, 166, 154, 0.1));
2019
+ transform: scale(1.02);
2020
+ }
2021
+ .file-upload-area.disabled {
2022
+ opacity: 0.6;
2023
+ cursor: not-allowed;
2024
+ background: var(--mm-border-color, rgba(0, 0, 0, 0.05));
2025
+ }
2026
+ .file-upload-area.error {
2027
+ border-color: #f44336;
2028
+ }
2029
+ .file-upload-area.has-files {
2030
+ padding: 1rem;
2031
+ }
2032
+
2033
+ .file-upload-content .file-upload-icon {
2034
+ font-size: 3rem;
2035
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2036
+ margin-bottom: 0.5rem;
2037
+ }
2038
+ .file-upload-content .file-upload-label {
2039
+ font-size: 1.1rem;
2040
+ font-weight: 500;
2041
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
2042
+ margin: 0.5rem 0;
2043
+ }
2044
+ .file-upload-content .file-upload-helper {
2045
+ font-size: 0.875rem;
2046
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2047
+ margin: 0.25rem 0;
2048
+ }
2049
+ .file-upload-content .file-upload-types {
2050
+ font-size: 0.75rem;
2051
+ color: var(--mm-text-hint, rgba(0, 0, 0, 0.38));
2052
+ margin: 0.25rem 0 0 0;
2053
+ font-style: italic;
2054
+ }
2055
+
2056
+ .file-upload-error {
2057
+ color: #f44336;
2058
+ font-size: 0.875rem;
2059
+ margin-top: 0.5rem;
2060
+ text-align: left;
2061
+ }
2062
+
2063
+ .file-upload-list {
2064
+ margin-top: 1rem;
2065
+ }
2066
+ .file-upload-list h6 {
2067
+ margin: 0 0 0.5rem 0;
2068
+ font-size: 0.875rem;
2069
+ font-weight: 600;
2070
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
2071
+ }
2072
+
2073
+ .file-upload-item {
2074
+ display: flex;
2075
+ align-items: center;
2076
+ gap: 1rem;
2077
+ padding: 0.75rem;
2078
+ margin-bottom: 0.5rem;
2079
+ background: var(--mm-surface-color, #ffffff);
2080
+ border: 1px solid var(--mm-border-color, rgba(0, 0, 0, 0.12));
2081
+ border-radius: 0.5rem;
2082
+ transition: all 0.2s ease;
2083
+ }
2084
+ .file-upload-item:hover {
2085
+ background: var(--mm-card-background, #f5f5f5);
2086
+ }
2087
+ .file-upload-item .file-preview {
2088
+ flex-shrink: 0;
2089
+ width: 3rem;
2090
+ height: 3rem;
2091
+ border-radius: 0.25rem;
2092
+ overflow: hidden;
2093
+ background: var(--mm-border-color, rgba(0, 0, 0, 0.05));
2094
+ }
2095
+ .file-upload-item .file-preview img {
2096
+ width: 100%;
2097
+ height: 100%;
2098
+ object-fit: cover;
2099
+ }
2100
+ .file-upload-item .file-info {
2101
+ flex: 1;
2102
+ min-width: 0;
2103
+ }
2104
+ .file-upload-item .file-info .file-name {
2105
+ font-weight: 500;
2106
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
2107
+ margin-bottom: 0.25rem;
2108
+ overflow: hidden;
2109
+ text-overflow: ellipsis;
2110
+ white-space: nowrap;
2111
+ }
2112
+ .file-upload-item .file-info .file-details {
2113
+ display: flex;
2114
+ gap: 1rem;
2115
+ font-size: 0.75rem;
2116
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2117
+ }
2118
+ .file-upload-item .file-info .file-progress {
2119
+ margin-top: 0.5rem;
2120
+ }
2121
+ .file-upload-item .file-info .file-progress .progress {
2122
+ height: 0.25rem;
2123
+ background-color: var(--mm-border-color, rgba(0, 0, 0, 0.12));
2124
+ border-radius: 0.125rem;
2125
+ overflow: hidden;
2126
+ }
2127
+ .file-upload-item .file-info .file-progress .progress .determinate {
2128
+ background-color: var(--mm-primary-color, #26a69a);
2129
+ height: 100%;
2130
+ transition: width 0.3s ease;
2131
+ }
2132
+ .file-upload-item .file-info .file-error {
2133
+ color: #f44336;
2134
+ font-size: 0.75rem;
2135
+ margin-top: 0.25rem;
2136
+ }
2137
+ .file-upload-item .file-remove {
2138
+ flex-shrink: 0;
2139
+ width: 2rem;
2140
+ height: 2rem;
2141
+ border-radius: 50%;
2142
+ display: flex;
2143
+ align-items: center;
2144
+ justify-content: center;
2145
+ background: transparent;
2146
+ border: none;
2147
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2148
+ cursor: pointer;
2149
+ transition: all 0.2s ease;
2150
+ }
2151
+ .file-upload-item .file-remove:hover {
2152
+ background: rgba(244, 67, 54, 0.1);
2153
+ color: #f44336;
2154
+ }
2155
+ .file-upload-item .file-remove .material-icons {
2156
+ font-size: 1.25rem;
2157
+ }
2158
+
2159
+ @media (max-width: 600px) {
2160
+ .file-upload-area {
2161
+ padding: 1.5rem 1rem;
2162
+ }
2163
+ .file-upload-area .file-upload-content .file-upload-icon {
2164
+ font-size: 2.5rem;
2165
+ }
2166
+ .file-upload-area .file-upload-content .file-upload-label {
2167
+ font-size: 1rem;
2168
+ }
2169
+ .file-upload-item {
2170
+ gap: 0.75rem;
2171
+ padding: 0.5rem;
2172
+ }
2173
+ .file-upload-item .file-preview {
2174
+ width: 2.5rem;
2175
+ height: 2.5rem;
2176
+ }
2177
+ .file-upload-item .file-info .file-details {
2178
+ flex-direction: column;
2179
+ gap: 0.25rem;
2180
+ }
2181
+ }
2182
+ [data-theme=dark] .file-upload-area.drag-over {
2183
+ background: var(--mm-primary-color-dark, rgba(38, 166, 154, 0.2));
2184
+ }
2185
+
2186
+ .theme-switcher {
2187
+ display: flex;
2188
+ align-items: center;
2189
+ gap: 0.5rem;
2190
+ }
2191
+ .theme-switcher .theme-switcher-label {
2192
+ font-size: 0.875rem;
2193
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2194
+ font-weight: 500;
2195
+ }
2196
+ .theme-switcher .theme-switcher-buttons {
2197
+ display: flex;
2198
+ background: var(--mm-surface-color, #ffffff);
2199
+ border: 1px solid var(--mm-border-color, rgba(0, 0, 0, 0.12));
2200
+ border-radius: 0.5rem;
2201
+ overflow: hidden;
2202
+ }
2203
+ .theme-switcher .theme-switcher-buttons .btn-flat {
2204
+ display: flex;
2205
+ align-items: center;
2206
+ gap: 0.25rem;
2207
+ padding: 0.5rem 0.75rem;
2208
+ margin: 0;
2209
+ border: none;
2210
+ background: transparent;
2211
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2212
+ font-size: 0.875rem;
2213
+ border-radius: 0;
2214
+ min-width: auto;
2215
+ height: auto;
2216
+ line-height: 1;
2217
+ text-transform: none;
2218
+ transition: all 0.2s ease;
2219
+ cursor: pointer;
2220
+ }
2221
+ .theme-switcher .theme-switcher-buttons .btn-flat:hover {
2222
+ background: var(--mm-border-color, rgba(0, 0, 0, 0.12));
2223
+ color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
2224
+ }
2225
+ .theme-switcher .theme-switcher-buttons .btn-flat.active {
2226
+ background: var(--mm-primary-color, #26a69a);
2227
+ color: var(--mm-button-text, #ffffff);
2228
+ }
2229
+ .theme-switcher .theme-switcher-buttons .btn-flat.active:hover {
2230
+ background: var(--mm-primary-color-dark, #00695c);
2231
+ }
2232
+ .theme-switcher .theme-switcher-buttons .btn-flat .material-icons {
2233
+ font-size: 1rem;
2234
+ }
2235
+ .theme-switcher .theme-switcher-buttons .btn-flat span {
2236
+ font-size: 0.75rem;
2237
+ font-weight: 500;
2238
+ }
2239
+
2240
+ .theme-toggle {
2241
+ width: 2.5rem;
2242
+ height: 2.5rem;
2243
+ border-radius: 50%;
2244
+ display: flex;
2245
+ align-items: center;
2246
+ justify-content: center;
2247
+ background: var(--mm-surface-color, #ffffff);
2248
+ border: 1px solid var(--mm-border-color, rgba(0, 0, 0, 0.12));
2249
+ color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
2250
+ cursor: pointer;
2251
+ transition: all 0.2s ease;
2252
+ }
2253
+ .theme-toggle:hover {
2254
+ background: var(--mm-primary-color, #26a69a);
2255
+ color: var(--mm-button-text, #ffffff);
2256
+ border-color: var(--mm-primary-color, #26a69a);
2257
+ }
2258
+ .theme-toggle .material-icons {
2259
+ font-size: 1.25rem;
2260
+ }
2261
+
2262
+ nav .theme-toggle {
2263
+ background: transparent;
2264
+ border: none;
2265
+ border-radius: 0;
2266
+ width: 64px;
2267
+ height: 64px;
2268
+ }
2269
+ nav .theme-toggle:hover {
2270
+ background: rgba(255, 255, 255, 0.1);
2271
+ border: none;
2272
+ }
2273
+ nav .theme-toggle:focus {
2274
+ background: rgba(255, 255, 255, 0.1);
2275
+ }
2276
+
2277
+ @media (max-width: 600px) {
2278
+ .theme-switcher .theme-switcher-buttons .btn-flat {
2279
+ padding: 0.5rem;
2280
+ }
2281
+ .theme-switcher .theme-switcher-buttons .btn-flat span {
2282
+ display: none;
2283
+ }
2284
+ }