mithril-materialized 3.3.2 → 3.3.4
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/advanced.css +48 -46
- package/dist/components.css +101 -95
- package/dist/core.css +31 -29
- package/dist/forms.css +28 -26
- package/dist/index.css +184 -178
- package/dist/index.esm.js +0 -3
- package/dist/index.js +0 -3
- package/dist/index.min.css +2 -2
- package/dist/index.umd.js +0 -3
- package/dist/pickers.css +10 -10
- package/dist/utilities.css +18 -16
- package/package.json +5 -5
- package/sass/components/forms/_checkboxes.scss +2 -2
package/dist/core.css
CHANGED
|
@@ -784,7 +784,6 @@ td, th {
|
|
|
784
784
|
border-spacing: 0;
|
|
785
785
|
display: block;
|
|
786
786
|
position: relative;
|
|
787
|
-
/* sort out borders */
|
|
788
787
|
}
|
|
789
788
|
table.responsive-table td:empty:before {
|
|
790
789
|
content: " ";
|
|
@@ -832,6 +831,9 @@ td, th {
|
|
|
832
831
|
border-bottom: none;
|
|
833
832
|
padding: 0 10px;
|
|
834
833
|
}
|
|
834
|
+
table.responsive-table {
|
|
835
|
+
/* sort out borders */
|
|
836
|
+
}
|
|
835
837
|
table.responsive-table thead {
|
|
836
838
|
border: 0;
|
|
837
839
|
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
|
@@ -2047,9 +2049,6 @@ small {
|
|
|
2047
2049
|
}
|
|
2048
2050
|
}
|
|
2049
2051
|
|
|
2050
|
-
.scale-transition {
|
|
2051
|
-
transition: transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
|
|
2052
|
-
}
|
|
2053
2052
|
.scale-transition.scale-out {
|
|
2054
2053
|
transform: scale(0);
|
|
2055
2054
|
transition: transform 0.2s !important;
|
|
@@ -2057,6 +2056,9 @@ small {
|
|
|
2057
2056
|
.scale-transition.scale-in {
|
|
2058
2057
|
transform: scale(1);
|
|
2059
2058
|
}
|
|
2059
|
+
.scale-transition {
|
|
2060
|
+
transition: transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
|
|
2061
|
+
}
|
|
2060
2062
|
|
|
2061
2063
|
/* Text Inputs + Textarea
|
|
2062
2064
|
========================================================================== */
|
|
@@ -2504,11 +2506,6 @@ textarea.materialize-textarea + label:after {
|
|
|
2504
2506
|
transition: 0.2s opacity ease-out, 0.2s color ease-out;
|
|
2505
2507
|
}
|
|
2506
2508
|
|
|
2507
|
-
.input-field {
|
|
2508
|
-
position: relative;
|
|
2509
|
-
margin-top: 1rem;
|
|
2510
|
-
margin-bottom: 1rem;
|
|
2511
|
-
}
|
|
2512
2509
|
.input-field.inline {
|
|
2513
2510
|
display: inline-block;
|
|
2514
2511
|
vertical-align: middle;
|
|
@@ -2525,6 +2522,11 @@ textarea.materialize-textarea + label:after {
|
|
|
2525
2522
|
.input-field.col .prefix ~ .validate ~ label {
|
|
2526
2523
|
width: calc(100% - 3rem - 1.5rem);
|
|
2527
2524
|
}
|
|
2525
|
+
.input-field {
|
|
2526
|
+
position: relative;
|
|
2527
|
+
margin-top: 1rem;
|
|
2528
|
+
margin-bottom: 1rem;
|
|
2529
|
+
}
|
|
2528
2530
|
.input-field > label {
|
|
2529
2531
|
color: #9e9e9e;
|
|
2530
2532
|
position: absolute;
|
|
@@ -2545,6 +2547,12 @@ textarea.materialize-textarea + label:after {
|
|
|
2545
2547
|
transform: translateY(-14px) scale(0.8);
|
|
2546
2548
|
transform-origin: 0 0;
|
|
2547
2549
|
}
|
|
2550
|
+
.input-field .helper-text::after {
|
|
2551
|
+
opacity: 1;
|
|
2552
|
+
position: absolute;
|
|
2553
|
+
top: 0;
|
|
2554
|
+
left: 0;
|
|
2555
|
+
}
|
|
2548
2556
|
.input-field .helper-text {
|
|
2549
2557
|
position: relative;
|
|
2550
2558
|
min-height: 18px;
|
|
@@ -2552,12 +2560,6 @@ textarea.materialize-textarea + label:after {
|
|
|
2552
2560
|
font-size: 12px;
|
|
2553
2561
|
color: var(--mm-text-secondary, rgba(0, 0, 0, 0.54));
|
|
2554
2562
|
}
|
|
2555
|
-
.input-field .helper-text::after {
|
|
2556
|
-
opacity: 1;
|
|
2557
|
-
position: absolute;
|
|
2558
|
-
top: 0;
|
|
2559
|
-
left: 0;
|
|
2560
|
-
}
|
|
2561
2563
|
.input-field .prefix {
|
|
2562
2564
|
position: absolute;
|
|
2563
2565
|
width: 3rem;
|
|
@@ -2824,9 +2826,6 @@ textarea.materialize-textarea {
|
|
|
2824
2826
|
color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
|
|
2825
2827
|
}
|
|
2826
2828
|
|
|
2827
|
-
[type=checkbox] {
|
|
2828
|
-
/* checkbox aspect */
|
|
2829
|
-
}
|
|
2830
2829
|
[type=checkbox] + span:not(.lever) {
|
|
2831
2830
|
position: relative;
|
|
2832
2831
|
padding-left: 35px;
|
|
@@ -2837,6 +2836,9 @@ textarea.materialize-textarea {
|
|
|
2837
2836
|
font-size: 1rem;
|
|
2838
2837
|
user-select: none;
|
|
2839
2838
|
}
|
|
2839
|
+
[type=checkbox] {
|
|
2840
|
+
/* checkbox aspect */
|
|
2841
|
+
}
|
|
2840
2842
|
[type=checkbox] + span:not(.lever):before, [type=checkbox]:not(.filled-in) + span:not(.lever):after {
|
|
2841
2843
|
content: "";
|
|
2842
2844
|
position: absolute;
|
|
@@ -2880,8 +2882,8 @@ textarea.materialize-textarea {
|
|
|
2880
2882
|
transform-origin: 100% 100%;
|
|
2881
2883
|
}
|
|
2882
2884
|
[type=checkbox]:checked:disabled + span:before {
|
|
2883
|
-
border-right:
|
|
2884
|
-
border-bottom:
|
|
2885
|
+
border-right: 3px solid var(--mm-switch-disabled-track, rgba(0, 0, 0, 0.42));
|
|
2886
|
+
border-bottom: 3px solid var(--mm-switch-disabled-track, rgba(0, 0, 0, 0.42));
|
|
2885
2887
|
}
|
|
2886
2888
|
|
|
2887
2889
|
/* Indeterminate checkbox */
|
|
@@ -3080,13 +3082,16 @@ select {
|
|
|
3080
3082
|
position: absolute;
|
|
3081
3083
|
}
|
|
3082
3084
|
|
|
3083
|
-
.select-wrapper {
|
|
3084
|
-
position: relative;
|
|
3085
|
-
}
|
|
3086
3085
|
.select-wrapper.valid + label, .select-wrapper.invalid + label {
|
|
3087
3086
|
width: 100%;
|
|
3088
3087
|
pointer-events: none;
|
|
3089
3088
|
}
|
|
3089
|
+
.select-wrapper {
|
|
3090
|
+
position: relative;
|
|
3091
|
+
}
|
|
3092
|
+
.select-wrapper input.select-dropdown:focus {
|
|
3093
|
+
border-bottom: 1px solid #26a69a;
|
|
3094
|
+
}
|
|
3090
3095
|
.select-wrapper input.select-dropdown {
|
|
3091
3096
|
position: relative;
|
|
3092
3097
|
cursor: pointer;
|
|
@@ -3104,9 +3109,6 @@ select {
|
|
|
3104
3109
|
user-select: none;
|
|
3105
3110
|
z-index: 1;
|
|
3106
3111
|
}
|
|
3107
|
-
.select-wrapper input.select-dropdown:focus {
|
|
3108
|
-
border-bottom: 1px solid #26a69a;
|
|
3109
|
-
}
|
|
3110
3112
|
.select-wrapper .caret {
|
|
3111
3113
|
position: absolute;
|
|
3112
3114
|
right: 0;
|
|
@@ -3350,6 +3352,9 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
|
|
|
3350
3352
|
.file-field span {
|
|
3351
3353
|
cursor: pointer;
|
|
3352
3354
|
}
|
|
3355
|
+
.file-field input[type=file]::-webkit-file-upload-button {
|
|
3356
|
+
display: none;
|
|
3357
|
+
}
|
|
3353
3358
|
.file-field input[type=file] {
|
|
3354
3359
|
position: absolute;
|
|
3355
3360
|
top: 0;
|
|
@@ -3364,9 +3369,6 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
|
|
|
3364
3369
|
opacity: 0;
|
|
3365
3370
|
filter: alpha(opacity=0);
|
|
3366
3371
|
}
|
|
3367
|
-
.file-field input[type=file]::-webkit-file-upload-button {
|
|
3368
|
-
display: none;
|
|
3369
|
-
}
|
|
3370
3372
|
.file-field .close {
|
|
3371
3373
|
height: 20px;
|
|
3372
3374
|
}
|
package/dist/forms.css
CHANGED
|
@@ -387,7 +387,6 @@ td, th {
|
|
|
387
387
|
border-spacing: 0;
|
|
388
388
|
display: block;
|
|
389
389
|
position: relative;
|
|
390
|
-
/* sort out borders */
|
|
391
390
|
}
|
|
392
391
|
table.responsive-table td:empty:before {
|
|
393
392
|
content: " ";
|
|
@@ -435,6 +434,9 @@ td, th {
|
|
|
435
434
|
border-bottom: none;
|
|
436
435
|
padding: 0 10px;
|
|
437
436
|
}
|
|
437
|
+
table.responsive-table {
|
|
438
|
+
/* sort out borders */
|
|
439
|
+
}
|
|
438
440
|
table.responsive-table thead {
|
|
439
441
|
border: 0;
|
|
440
442
|
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
|
@@ -1113,11 +1115,6 @@ textarea.materialize-textarea + label:after {
|
|
|
1113
1115
|
transition: 0.2s opacity ease-out, 0.2s color ease-out;
|
|
1114
1116
|
}
|
|
1115
1117
|
|
|
1116
|
-
.input-field {
|
|
1117
|
-
position: relative;
|
|
1118
|
-
margin-top: 1rem;
|
|
1119
|
-
margin-bottom: 1rem;
|
|
1120
|
-
}
|
|
1121
1118
|
.input-field.inline {
|
|
1122
1119
|
display: inline-block;
|
|
1123
1120
|
vertical-align: middle;
|
|
@@ -1134,6 +1131,11 @@ textarea.materialize-textarea + label:after {
|
|
|
1134
1131
|
.input-field.col .prefix ~ .validate ~ label {
|
|
1135
1132
|
width: calc(100% - 3rem - 1.5rem);
|
|
1136
1133
|
}
|
|
1134
|
+
.input-field {
|
|
1135
|
+
position: relative;
|
|
1136
|
+
margin-top: 1rem;
|
|
1137
|
+
margin-bottom: 1rem;
|
|
1138
|
+
}
|
|
1137
1139
|
.input-field > label {
|
|
1138
1140
|
color: #9e9e9e;
|
|
1139
1141
|
position: absolute;
|
|
@@ -1154,6 +1156,12 @@ textarea.materialize-textarea + label:after {
|
|
|
1154
1156
|
transform: translateY(-14px) scale(0.8);
|
|
1155
1157
|
transform-origin: 0 0;
|
|
1156
1158
|
}
|
|
1159
|
+
.input-field .helper-text::after {
|
|
1160
|
+
opacity: 1;
|
|
1161
|
+
position: absolute;
|
|
1162
|
+
top: 0;
|
|
1163
|
+
left: 0;
|
|
1164
|
+
}
|
|
1157
1165
|
.input-field .helper-text {
|
|
1158
1166
|
position: relative;
|
|
1159
1167
|
min-height: 18px;
|
|
@@ -1161,12 +1169,6 @@ textarea.materialize-textarea + label:after {
|
|
|
1161
1169
|
font-size: 12px;
|
|
1162
1170
|
color: var(--mm-text-secondary, rgba(0, 0, 0, 0.54));
|
|
1163
1171
|
}
|
|
1164
|
-
.input-field .helper-text::after {
|
|
1165
|
-
opacity: 1;
|
|
1166
|
-
position: absolute;
|
|
1167
|
-
top: 0;
|
|
1168
|
-
left: 0;
|
|
1169
|
-
}
|
|
1170
1172
|
.input-field .prefix {
|
|
1171
1173
|
position: absolute;
|
|
1172
1174
|
width: 3rem;
|
|
@@ -1325,13 +1327,16 @@ select {
|
|
|
1325
1327
|
position: absolute;
|
|
1326
1328
|
}
|
|
1327
1329
|
|
|
1328
|
-
.select-wrapper {
|
|
1329
|
-
position: relative;
|
|
1330
|
-
}
|
|
1331
1330
|
.select-wrapper.valid + label, .select-wrapper.invalid + label {
|
|
1332
1331
|
width: 100%;
|
|
1333
1332
|
pointer-events: none;
|
|
1334
1333
|
}
|
|
1334
|
+
.select-wrapper {
|
|
1335
|
+
position: relative;
|
|
1336
|
+
}
|
|
1337
|
+
.select-wrapper input.select-dropdown:focus {
|
|
1338
|
+
border-bottom: 1px solid #26a69a;
|
|
1339
|
+
}
|
|
1335
1340
|
.select-wrapper input.select-dropdown {
|
|
1336
1341
|
position: relative;
|
|
1337
1342
|
cursor: pointer;
|
|
@@ -1349,9 +1354,6 @@ select {
|
|
|
1349
1354
|
user-select: none;
|
|
1350
1355
|
z-index: 1;
|
|
1351
1356
|
}
|
|
1352
|
-
.select-wrapper input.select-dropdown:focus {
|
|
1353
|
-
border-bottom: 1px solid #26a69a;
|
|
1354
|
-
}
|
|
1355
1357
|
.select-wrapper .caret {
|
|
1356
1358
|
position: absolute;
|
|
1357
1359
|
right: 0;
|
|
@@ -1589,9 +1591,6 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
|
|
|
1589
1591
|
color: var(--mm-text-disabled, rgba(0, 0, 0, 0.42));
|
|
1590
1592
|
}
|
|
1591
1593
|
|
|
1592
|
-
[type=checkbox] {
|
|
1593
|
-
/* checkbox aspect */
|
|
1594
|
-
}
|
|
1595
1594
|
[type=checkbox] + span:not(.lever) {
|
|
1596
1595
|
position: relative;
|
|
1597
1596
|
padding-left: 35px;
|
|
@@ -1602,6 +1601,9 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
|
|
|
1602
1601
|
font-size: 1rem;
|
|
1603
1602
|
user-select: none;
|
|
1604
1603
|
}
|
|
1604
|
+
[type=checkbox] {
|
|
1605
|
+
/* checkbox aspect */
|
|
1606
|
+
}
|
|
1605
1607
|
[type=checkbox] + span:not(.lever):before, [type=checkbox]:not(.filled-in) + span:not(.lever):after {
|
|
1606
1608
|
content: "";
|
|
1607
1609
|
position: absolute;
|
|
@@ -1645,8 +1647,8 @@ body.keyboard-focused .select-dropdown.dropdown-content li:focus {
|
|
|
1645
1647
|
transform-origin: 100% 100%;
|
|
1646
1648
|
}
|
|
1647
1649
|
[type=checkbox]:checked:disabled + span:before {
|
|
1648
|
-
border-right:
|
|
1649
|
-
border-bottom:
|
|
1650
|
+
border-right: 3px solid var(--mm-switch-disabled-track, rgba(0, 0, 0, 0.42));
|
|
1651
|
+
border-bottom: 3px solid var(--mm-switch-disabled-track, rgba(0, 0, 0, 0.42));
|
|
1650
1652
|
}
|
|
1651
1653
|
|
|
1652
1654
|
/* Indeterminate checkbox */
|
|
@@ -2437,6 +2439,9 @@ input[type=range]::-ms-thumb {
|
|
|
2437
2439
|
.file-field span {
|
|
2438
2440
|
cursor: pointer;
|
|
2439
2441
|
}
|
|
2442
|
+
.file-field input[type=file]::-webkit-file-upload-button {
|
|
2443
|
+
display: none;
|
|
2444
|
+
}
|
|
2440
2445
|
.file-field input[type=file] {
|
|
2441
2446
|
position: absolute;
|
|
2442
2447
|
top: 0;
|
|
@@ -2451,9 +2456,6 @@ input[type=range]::-ms-thumb {
|
|
|
2451
2456
|
opacity: 0;
|
|
2452
2457
|
filter: alpha(opacity=0);
|
|
2453
2458
|
}
|
|
2454
|
-
.file-field input[type=file]::-webkit-file-upload-button {
|
|
2455
|
-
display: none;
|
|
2456
|
-
}
|
|
2457
2459
|
.file-field .close {
|
|
2458
2460
|
height: 20px;
|
|
2459
2461
|
}
|