mithril-materialized 3.3.3 → 3.3.5
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/README.md +3 -1
- package/dist/advanced.css +48 -46
- package/dist/components.css +200 -95
- package/dist/core.css +29 -27
- package/dist/forms.css +26 -24
- package/dist/index.css +182 -176
- package/dist/index.esm.js +17 -9
- package/dist/index.js +17 -9
- package/dist/index.min.css +2 -2
- package/dist/index.umd.js +17 -9
- package/dist/material-icon.d.ts +2 -0
- package/dist/pickers.css +10 -10
- package/dist/utilities.css +18 -16
- package/package.json +5 -5
package/dist/components.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);
|
|
@@ -754,57 +756,57 @@ td, th {
|
|
|
754
756
|
background-color: rgb(42.75, 186.75, 173.25);
|
|
755
757
|
}
|
|
756
758
|
|
|
757
|
-
.btn-floating {
|
|
758
|
-
display: inline-block;
|
|
759
|
-
color: #fff;
|
|
760
|
-
position: relative;
|
|
761
|
-
overflow: hidden;
|
|
762
|
-
z-index: 1;
|
|
763
|
-
width: 40px;
|
|
764
|
-
height: 40px;
|
|
765
|
-
line-height: 40px;
|
|
766
|
-
padding: 0;
|
|
767
|
-
background-color: #26a69a;
|
|
768
|
-
border-radius: 50%;
|
|
769
|
-
transition: background-color 0.3s;
|
|
770
|
-
cursor: pointer;
|
|
771
|
-
vertical-align: middle;
|
|
772
|
-
}
|
|
773
759
|
.btn-floating:hover {
|
|
774
760
|
background-color: #26a69a;
|
|
775
761
|
}
|
|
776
762
|
.btn-floating:before {
|
|
777
763
|
border-radius: 0;
|
|
778
764
|
}
|
|
765
|
+
.btn-floating.btn-large.halfway-fab {
|
|
766
|
+
bottom: -28px;
|
|
767
|
+
}
|
|
779
768
|
.btn-floating.btn-large {
|
|
780
769
|
width: 56px;
|
|
781
770
|
height: 56px;
|
|
782
771
|
padding: 0;
|
|
783
772
|
}
|
|
784
|
-
.btn-floating.btn-large.halfway-fab {
|
|
785
|
-
bottom: -28px;
|
|
786
|
-
}
|
|
787
773
|
.btn-floating.btn-large i {
|
|
788
774
|
line-height: 56px;
|
|
789
775
|
}
|
|
776
|
+
.btn-floating.btn-small.halfway-fab {
|
|
777
|
+
bottom: -16.2px;
|
|
778
|
+
}
|
|
790
779
|
.btn-floating.btn-small {
|
|
791
780
|
width: 32.4px;
|
|
792
781
|
height: 32.4px;
|
|
793
782
|
}
|
|
794
|
-
.btn-floating.btn-small.halfway-fab {
|
|
795
|
-
bottom: -16.2px;
|
|
796
|
-
}
|
|
797
783
|
.btn-floating.btn-small i {
|
|
798
784
|
line-height: 32.4px;
|
|
799
785
|
}
|
|
786
|
+
.btn-floating.halfway-fab.left {
|
|
787
|
+
right: auto;
|
|
788
|
+
left: 24px;
|
|
789
|
+
}
|
|
800
790
|
.btn-floating.halfway-fab {
|
|
801
791
|
position: absolute;
|
|
802
792
|
right: 24px;
|
|
803
793
|
bottom: -20px;
|
|
804
794
|
}
|
|
805
|
-
.btn-floating
|
|
806
|
-
|
|
807
|
-
|
|
795
|
+
.btn-floating {
|
|
796
|
+
display: inline-block;
|
|
797
|
+
color: #fff;
|
|
798
|
+
position: relative;
|
|
799
|
+
overflow: hidden;
|
|
800
|
+
z-index: 1;
|
|
801
|
+
width: 40px;
|
|
802
|
+
height: 40px;
|
|
803
|
+
line-height: 40px;
|
|
804
|
+
padding: 0;
|
|
805
|
+
background-color: #26a69a;
|
|
806
|
+
border-radius: 50%;
|
|
807
|
+
transition: background-color 0.3s;
|
|
808
|
+
cursor: pointer;
|
|
809
|
+
vertical-align: middle;
|
|
808
810
|
}
|
|
809
811
|
.btn-floating i {
|
|
810
812
|
width: inherit;
|
|
@@ -819,14 +821,6 @@ button.btn-floating {
|
|
|
819
821
|
border: none;
|
|
820
822
|
}
|
|
821
823
|
|
|
822
|
-
.fixed-action-btn {
|
|
823
|
-
position: fixed;
|
|
824
|
-
right: 23px;
|
|
825
|
-
bottom: 23px;
|
|
826
|
-
padding-top: 15px;
|
|
827
|
-
margin-bottom: 0;
|
|
828
|
-
z-index: 997;
|
|
829
|
-
}
|
|
830
824
|
.fixed-action-btn.active ul {
|
|
831
825
|
visibility: visible;
|
|
832
826
|
}
|
|
@@ -871,13 +865,13 @@ button.btn-floating {
|
|
|
871
865
|
.fixed-action-btn.direction-bottom ul li {
|
|
872
866
|
margin: 15px 0 0 0;
|
|
873
867
|
}
|
|
868
|
+
.fixed-action-btn.toolbar.active > a i {
|
|
869
|
+
opacity: 0;
|
|
870
|
+
}
|
|
874
871
|
.fixed-action-btn.toolbar {
|
|
875
872
|
padding: 0;
|
|
876
873
|
height: 56px;
|
|
877
874
|
}
|
|
878
|
-
.fixed-action-btn.toolbar.active > a i {
|
|
879
|
-
opacity: 0;
|
|
880
|
-
}
|
|
881
875
|
.fixed-action-btn.toolbar ul {
|
|
882
876
|
display: flex;
|
|
883
877
|
top: 0;
|
|
@@ -906,6 +900,14 @@ button.btn-floating {
|
|
|
906
900
|
.fixed-action-btn.toolbar ul li a i {
|
|
907
901
|
line-height: inherit;
|
|
908
902
|
}
|
|
903
|
+
.fixed-action-btn {
|
|
904
|
+
position: fixed;
|
|
905
|
+
right: 23px;
|
|
906
|
+
bottom: 23px;
|
|
907
|
+
padding-top: 15px;
|
|
908
|
+
margin-bottom: 0;
|
|
909
|
+
z-index: 997;
|
|
910
|
+
}
|
|
909
911
|
.fixed-action-btn ul {
|
|
910
912
|
left: 0;
|
|
911
913
|
right: 0;
|
|
@@ -975,6 +977,9 @@ button.btn-floating {
|
|
|
975
977
|
display: block;
|
|
976
978
|
}
|
|
977
979
|
|
|
980
|
+
.modal:focus {
|
|
981
|
+
outline: none;
|
|
982
|
+
}
|
|
978
983
|
.modal {
|
|
979
984
|
display: none;
|
|
980
985
|
position: fixed;
|
|
@@ -990,9 +995,6 @@ button.btn-floating {
|
|
|
990
995
|
border-radius: 2px;
|
|
991
996
|
will-change: top, opacity;
|
|
992
997
|
}
|
|
993
|
-
.modal:focus {
|
|
994
|
-
outline: none;
|
|
995
|
-
}
|
|
996
998
|
@media only screen and (max-width : 992px) {
|
|
997
999
|
.modal {
|
|
998
1000
|
width: 80%;
|
|
@@ -1062,6 +1064,9 @@ button.btn-floating {
|
|
|
1062
1064
|
will-change: bottom, opacity;
|
|
1063
1065
|
}
|
|
1064
1066
|
|
|
1067
|
+
.dropdown-content:focus {
|
|
1068
|
+
outline: 0;
|
|
1069
|
+
}
|
|
1065
1070
|
.dropdown-content {
|
|
1066
1071
|
background-color: var(--mm-surface-color, #fff);
|
|
1067
1072
|
margin: 0;
|
|
@@ -1075,18 +1080,6 @@ button.btn-floating {
|
|
|
1075
1080
|
z-index: 9999;
|
|
1076
1081
|
transform-origin: 0 0;
|
|
1077
1082
|
}
|
|
1078
|
-
.dropdown-content:focus {
|
|
1079
|
-
outline: 0;
|
|
1080
|
-
}
|
|
1081
|
-
.dropdown-content li {
|
|
1082
|
-
clear: both;
|
|
1083
|
-
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
1084
|
-
cursor: pointer;
|
|
1085
|
-
min-height: 50px;
|
|
1086
|
-
line-height: 1.5rem;
|
|
1087
|
-
width: 100%;
|
|
1088
|
-
text-align: left;
|
|
1089
|
-
}
|
|
1090
1083
|
.dropdown-content li:hover, .dropdown-content li.active {
|
|
1091
1084
|
background-color: var(--mm-dropdown-hover, #eee);
|
|
1092
1085
|
}
|
|
@@ -1119,6 +1112,15 @@ button.btn-floating {
|
|
|
1119
1112
|
.dropdown-content li.disabled {
|
|
1120
1113
|
cursor: not-allowed;
|
|
1121
1114
|
}
|
|
1115
|
+
.dropdown-content li {
|
|
1116
|
+
clear: both;
|
|
1117
|
+
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
1118
|
+
cursor: pointer;
|
|
1119
|
+
min-height: 50px;
|
|
1120
|
+
line-height: 1.5rem;
|
|
1121
|
+
width: 100%;
|
|
1122
|
+
text-align: left;
|
|
1123
|
+
}
|
|
1122
1124
|
|
|
1123
1125
|
body.keyboard-focused .dropdown-content li:focus {
|
|
1124
1126
|
background-color: var(--mm-dropdown-focus, rgb(217.6, 217.6, 217.6));
|
|
@@ -1135,17 +1137,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1135
1137
|
cursor: pointer;
|
|
1136
1138
|
}
|
|
1137
1139
|
|
|
1138
|
-
.tabs {
|
|
1139
|
-
position: relative;
|
|
1140
|
-
overflow-x: auto;
|
|
1141
|
-
overflow-y: hidden;
|
|
1142
|
-
height: 48px;
|
|
1143
|
-
width: 100%;
|
|
1144
|
-
background-color: var(--mm-background-color, #fff);
|
|
1145
|
-
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
1146
|
-
margin: 0 auto;
|
|
1147
|
-
white-space: nowrap;
|
|
1148
|
-
}
|
|
1149
1140
|
.tabs.tabs-transparent {
|
|
1150
1141
|
background-color: transparent;
|
|
1151
1142
|
}
|
|
@@ -1167,6 +1158,17 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1167
1158
|
.tabs.tabs-fixed-width .tab {
|
|
1168
1159
|
flex-grow: 1;
|
|
1169
1160
|
}
|
|
1161
|
+
.tabs {
|
|
1162
|
+
position: relative;
|
|
1163
|
+
overflow-x: auto;
|
|
1164
|
+
overflow-y: hidden;
|
|
1165
|
+
height: 48px;
|
|
1166
|
+
width: 100%;
|
|
1167
|
+
background-color: var(--mm-background-color, #fff);
|
|
1168
|
+
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
1169
|
+
margin: 0 auto;
|
|
1170
|
+
white-space: nowrap;
|
|
1171
|
+
}
|
|
1170
1172
|
.tabs .tab {
|
|
1171
1173
|
display: inline-block;
|
|
1172
1174
|
text-align: center;
|
|
@@ -1176,6 +1178,14 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1176
1178
|
margin: 0;
|
|
1177
1179
|
text-transform: uppercase;
|
|
1178
1180
|
}
|
|
1181
|
+
.tabs .tab a:focus, .tabs .tab a:focus.active {
|
|
1182
|
+
background-color: rgba(246.0277777778, 178.4722222222, 181.1111111111, 0.2);
|
|
1183
|
+
outline: none;
|
|
1184
|
+
}
|
|
1185
|
+
.tabs .tab a:hover, .tabs .tab a.active {
|
|
1186
|
+
background-color: transparent;
|
|
1187
|
+
color: var(--mm-primary-color, #ee6e73);
|
|
1188
|
+
}
|
|
1179
1189
|
.tabs .tab a {
|
|
1180
1190
|
color: var(--mm-text-secondary, rgba(238, 110, 115, 0.7));
|
|
1181
1191
|
display: block;
|
|
@@ -1187,14 +1197,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1187
1197
|
overflow: hidden;
|
|
1188
1198
|
transition: color 0.28s ease, background-color 0.28s ease;
|
|
1189
1199
|
}
|
|
1190
|
-
.tabs .tab a:focus, .tabs .tab a:focus.active {
|
|
1191
|
-
background-color: rgba(246.0277777778, 178.4722222222, 181.1111111111, 0.2);
|
|
1192
|
-
outline: none;
|
|
1193
|
-
}
|
|
1194
|
-
.tabs .tab a:hover, .tabs .tab a.active {
|
|
1195
|
-
background-color: transparent;
|
|
1196
|
-
color: var(--mm-primary-color, #ee6e73);
|
|
1197
|
-
}
|
|
1198
1200
|
.tabs .tab.disabled a, .tabs .tab.disabled a:hover {
|
|
1199
1201
|
color: var(--mm-text-disabled, rgba(238, 110, 115, 0.4));
|
|
1200
1202
|
cursor: default;
|
|
@@ -1258,6 +1260,9 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1258
1260
|
margin: 0.5rem 0 1rem 0;
|
|
1259
1261
|
}
|
|
1260
1262
|
|
|
1263
|
+
.collapsible-header:focus {
|
|
1264
|
+
outline: 0;
|
|
1265
|
+
}
|
|
1261
1266
|
.collapsible-header {
|
|
1262
1267
|
display: flex;
|
|
1263
1268
|
cursor: pointer;
|
|
@@ -1266,9 +1271,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1266
1271
|
padding: 1rem;
|
|
1267
1272
|
border-bottom: 1px solid var(--mm-border-color, #ddd);
|
|
1268
1273
|
}
|
|
1269
|
-
.collapsible-header:focus {
|
|
1270
|
-
outline: 0;
|
|
1271
|
-
}
|
|
1272
1274
|
.collapsible-header i {
|
|
1273
1275
|
width: 2rem;
|
|
1274
1276
|
font-size: 1.6rem;
|
|
@@ -1338,6 +1340,9 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1338
1340
|
margin: 16px 0;
|
|
1339
1341
|
}
|
|
1340
1342
|
|
|
1343
|
+
.materialboxed:hover:not(.active) {
|
|
1344
|
+
opacity: 0.8;
|
|
1345
|
+
}
|
|
1341
1346
|
.materialboxed {
|
|
1342
1347
|
display: block;
|
|
1343
1348
|
cursor: zoom-in;
|
|
@@ -1345,9 +1350,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1345
1350
|
transition: opacity 0.4s;
|
|
1346
1351
|
-webkit-backface-visibility: hidden;
|
|
1347
1352
|
}
|
|
1348
|
-
.materialboxed:hover:not(.active) {
|
|
1349
|
-
opacity: 0.8;
|
|
1350
|
-
}
|
|
1351
1353
|
.materialboxed.active {
|
|
1352
1354
|
cursor: zoom-out;
|
|
1353
1355
|
}
|
|
@@ -1640,6 +1642,9 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1640
1642
|
.sidenav li.active {
|
|
1641
1643
|
background-color: rgba(0, 0, 0, 0.05);
|
|
1642
1644
|
}
|
|
1645
|
+
.sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating):hover {
|
|
1646
|
+
background-color: var(--mm-border-color, rgba(0, 0, 0, 0.05));
|
|
1647
|
+
}
|
|
1643
1648
|
.sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) {
|
|
1644
1649
|
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
1645
1650
|
display: block;
|
|
@@ -1649,9 +1654,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1649
1654
|
line-height: 48px;
|
|
1650
1655
|
padding: 0 32px;
|
|
1651
1656
|
}
|
|
1652
|
-
.sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating):hover {
|
|
1653
|
-
background-color: var(--mm-border-color, rgba(0, 0, 0, 0.05));
|
|
1654
|
-
}
|
|
1655
1657
|
.sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) > i, .sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) > [class^=mdi-], .sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) li > a > [class*=mdi-], .sidenav li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) > i.material-icons {
|
|
1656
1658
|
float: left;
|
|
1657
1659
|
height: 48px;
|
|
@@ -1666,6 +1668,9 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1666
1668
|
.sidenav .divider {
|
|
1667
1669
|
margin: 8px 0 0 0;
|
|
1668
1670
|
}
|
|
1671
|
+
.sidenav .subheader:hover {
|
|
1672
|
+
background-color: transparent;
|
|
1673
|
+
}
|
|
1669
1674
|
.sidenav .subheader {
|
|
1670
1675
|
cursor: initial;
|
|
1671
1676
|
pointer-events: none;
|
|
@@ -1678,21 +1683,18 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1678
1683
|
display: flex;
|
|
1679
1684
|
align-items: center;
|
|
1680
1685
|
}
|
|
1681
|
-
.sidenav .subheader:hover {
|
|
1682
|
-
background-color: transparent;
|
|
1683
|
-
}
|
|
1684
1686
|
.sidenav .user-view {
|
|
1685
1687
|
position: relative;
|
|
1686
1688
|
padding: 32px 32px 0;
|
|
1687
1689
|
margin-bottom: 8px;
|
|
1688
1690
|
}
|
|
1691
|
+
.sidenav .user-view > a:hover {
|
|
1692
|
+
background-color: transparent;
|
|
1693
|
+
}
|
|
1689
1694
|
.sidenav .user-view > a {
|
|
1690
1695
|
height: auto;
|
|
1691
1696
|
padding: 0;
|
|
1692
1697
|
}
|
|
1693
|
-
.sidenav .user-view > a:hover {
|
|
1694
|
-
background-color: transparent;
|
|
1695
|
-
}
|
|
1696
1698
|
.sidenav .user-view .background {
|
|
1697
1699
|
overflow: hidden;
|
|
1698
1700
|
position: absolute;
|
|
@@ -1723,6 +1725,9 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1723
1725
|
font-weight: 400;
|
|
1724
1726
|
}
|
|
1725
1727
|
|
|
1728
|
+
.drag-target.right-aligned {
|
|
1729
|
+
right: 0;
|
|
1730
|
+
}
|
|
1726
1731
|
.drag-target {
|
|
1727
1732
|
height: 100%;
|
|
1728
1733
|
width: 10px;
|
|
@@ -1731,19 +1736,16 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
1731
1736
|
left: 0;
|
|
1732
1737
|
z-index: 998;
|
|
1733
1738
|
}
|
|
1734
|
-
|
|
1739
|
+
|
|
1740
|
+
.sidenav.sidenav-fixed.right-aligned {
|
|
1735
1741
|
right: 0;
|
|
1742
|
+
left: auto;
|
|
1736
1743
|
}
|
|
1737
|
-
|
|
1738
1744
|
.sidenav.sidenav-fixed {
|
|
1739
1745
|
left: 0;
|
|
1740
1746
|
transform: translateX(0);
|
|
1741
1747
|
position: fixed;
|
|
1742
1748
|
}
|
|
1743
|
-
.sidenav.sidenav-fixed.right-aligned {
|
|
1744
|
-
right: 0;
|
|
1745
|
-
left: auto;
|
|
1746
|
-
}
|
|
1747
1749
|
|
|
1748
1750
|
@media only screen and (max-width : 992px) {
|
|
1749
1751
|
.sidenav.sidenav-fixed {
|
|
@@ -2385,7 +2387,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
2385
2387
|
user-select: none;
|
|
2386
2388
|
position: relative;
|
|
2387
2389
|
transition: background-color 0.2s ease;
|
|
2388
|
-
padding-right: 32px;
|
|
2389
2390
|
}
|
|
2390
2391
|
.datatable thead th.sortable:hover {
|
|
2391
2392
|
background-color: var(--mm-dropdown-hover);
|
|
@@ -2413,6 +2414,9 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
2413
2414
|
.datatable thead th.sortable .sort-indicators .sort-desc {
|
|
2414
2415
|
margin-top: 0px;
|
|
2415
2416
|
}
|
|
2417
|
+
.datatable thead th.sortable {
|
|
2418
|
+
padding-right: 32px;
|
|
2419
|
+
}
|
|
2416
2420
|
.datatable .align-left {
|
|
2417
2421
|
text-align: left;
|
|
2418
2422
|
}
|
|
@@ -3842,8 +3846,6 @@ body {
|
|
|
3842
3846
|
align-items: center;
|
|
3843
3847
|
justify-content: center;
|
|
3844
3848
|
z-index: 3;
|
|
3845
|
-
opacity: 0;
|
|
3846
|
-
transform: scale(0.8);
|
|
3847
3849
|
}
|
|
3848
3850
|
[data-theme=dark] .image-list-item-action {
|
|
3849
3851
|
background: rgba(0, 0, 0, 0.7);
|
|
@@ -3881,6 +3883,10 @@ body {
|
|
|
3881
3883
|
bottom: 8px;
|
|
3882
3884
|
right: 8px;
|
|
3883
3885
|
}
|
|
3886
|
+
.image-list-item-action {
|
|
3887
|
+
opacity: 0;
|
|
3888
|
+
transform: scale(0.8);
|
|
3889
|
+
}
|
|
3884
3890
|
.image-list-with-actions .image-list-item-action {
|
|
3885
3891
|
opacity: 1;
|
|
3886
3892
|
transform: scale(1);
|
|
@@ -4217,3 +4223,102 @@ body {
|
|
|
4217
4223
|
transform: none;
|
|
4218
4224
|
}
|
|
4219
4225
|
}
|
|
4226
|
+
.theme-switcher {
|
|
4227
|
+
display: flex;
|
|
4228
|
+
align-items: center;
|
|
4229
|
+
gap: 0.5rem;
|
|
4230
|
+
}
|
|
4231
|
+
.theme-switcher .theme-switcher-label {
|
|
4232
|
+
font-size: 0.875rem;
|
|
4233
|
+
color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
|
|
4234
|
+
font-weight: 500;
|
|
4235
|
+
}
|
|
4236
|
+
.theme-switcher .theme-switcher-buttons {
|
|
4237
|
+
display: flex;
|
|
4238
|
+
background: var(--mm-surface-color, #ffffff);
|
|
4239
|
+
border: 1px solid var(--mm-border-color, rgba(0, 0, 0, 0.12));
|
|
4240
|
+
border-radius: 0.5rem;
|
|
4241
|
+
overflow: hidden;
|
|
4242
|
+
}
|
|
4243
|
+
.theme-switcher .theme-switcher-buttons .btn-flat {
|
|
4244
|
+
display: flex;
|
|
4245
|
+
align-items: center;
|
|
4246
|
+
gap: 0.25rem;
|
|
4247
|
+
padding: 0.5rem 0.75rem;
|
|
4248
|
+
margin: 0;
|
|
4249
|
+
border: none;
|
|
4250
|
+
background: transparent;
|
|
4251
|
+
color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
|
|
4252
|
+
font-size: 0.875rem;
|
|
4253
|
+
border-radius: 0;
|
|
4254
|
+
min-width: auto;
|
|
4255
|
+
height: auto;
|
|
4256
|
+
line-height: 1;
|
|
4257
|
+
text-transform: none;
|
|
4258
|
+
transition: all 0.2s ease;
|
|
4259
|
+
cursor: pointer;
|
|
4260
|
+
}
|
|
4261
|
+
.theme-switcher .theme-switcher-buttons .btn-flat:hover {
|
|
4262
|
+
background: var(--mm-border-color, rgba(0, 0, 0, 0.12));
|
|
4263
|
+
color: var(--mm-text-primary, rgba(0, 0, 0, 0.87));
|
|
4264
|
+
}
|
|
4265
|
+
.theme-switcher .theme-switcher-buttons .btn-flat.active {
|
|
4266
|
+
background: var(--mm-primary-color, #26a69a);
|
|
4267
|
+
color: var(--mm-button-text, #ffffff);
|
|
4268
|
+
}
|
|
4269
|
+
.theme-switcher .theme-switcher-buttons .btn-flat.active:hover {
|
|
4270
|
+
background: var(--mm-primary-color-dark, #00695c);
|
|
4271
|
+
}
|
|
4272
|
+
.theme-switcher .theme-switcher-buttons .btn-flat .material-icons {
|
|
4273
|
+
font-size: 1rem;
|
|
4274
|
+
}
|
|
4275
|
+
.theme-switcher .theme-switcher-buttons .btn-flat span {
|
|
4276
|
+
font-size: 0.75rem;
|
|
4277
|
+
font-weight: 500;
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
.theme-toggle {
|
|
4281
|
+
width: 2.5rem;
|
|
4282
|
+
height: 2.5rem;
|
|
4283
|
+
border-radius: 50%;
|
|
4284
|
+
display: flex;
|
|
4285
|
+
align-items: center;
|
|
4286
|
+
justify-content: center;
|
|
4287
|
+
background: var(--mm-surface-color, #ffffff);
|
|
4288
|
+
border: 1px solid var(--mm-border-color, rgba(0, 0, 0, 0.12));
|
|
4289
|
+
color: var(--mm-text-secondary, rgba(0, 0, 0, 0.6));
|
|
4290
|
+
cursor: pointer;
|
|
4291
|
+
transition: all 0.2s ease;
|
|
4292
|
+
}
|
|
4293
|
+
.theme-toggle:hover {
|
|
4294
|
+
background: var(--mm-primary-color, #26a69a);
|
|
4295
|
+
color: var(--mm-button-text, #ffffff);
|
|
4296
|
+
border-color: var(--mm-primary-color, #26a69a);
|
|
4297
|
+
}
|
|
4298
|
+
.theme-toggle .material-icons {
|
|
4299
|
+
font-size: 1.25rem;
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
nav .theme-toggle {
|
|
4303
|
+
background: transparent;
|
|
4304
|
+
border: none;
|
|
4305
|
+
border-radius: 0;
|
|
4306
|
+
width: 64px;
|
|
4307
|
+
height: 64px;
|
|
4308
|
+
}
|
|
4309
|
+
nav .theme-toggle:hover {
|
|
4310
|
+
background: rgba(255, 255, 255, 0.1);
|
|
4311
|
+
border: none;
|
|
4312
|
+
}
|
|
4313
|
+
nav .theme-toggle:focus {
|
|
4314
|
+
background: rgba(255, 255, 255, 0.1);
|
|
4315
|
+
}
|
|
4316
|
+
|
|
4317
|
+
@media (max-width: 600px) {
|
|
4318
|
+
.theme-switcher .theme-switcher-buttons .btn-flat {
|
|
4319
|
+
padding: 0.5rem;
|
|
4320
|
+
}
|
|
4321
|
+
.theme-switcher .theme-switcher-buttons .btn-flat span {
|
|
4322
|
+
display: none;
|
|
4323
|
+
}
|
|
4324
|
+
}
|
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;
|
|
@@ -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
|
}
|