@materializecss/materialize 2.0.1-alpha → 2.0.2-alpha
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/Gruntfile.js +5 -2
- package/dist/css/materialize.css +90 -86
- package/dist/css/materialize.min.css +2 -2
- package/dist/js/materialize.js +2797 -2705
- package/dist/js/materialize.min.js +2 -8967
- package/dist/js/materialize.min.js.map +1 -1
- package/package.json +1 -1
- package/sass/components/_collapsible.scss +0 -41
- package/sass/components/_global.scss +3 -2
- package/sass/components/_icons-material-design.scss +2 -1
- package/sass/components/_navbar.scss +6 -3
- package/sass/components/_sidenav.scss +66 -37
- package/sass/components/_theme_variables.scss +2 -2
- package/sass/components/_typography.scss +2 -2
- package/sass/components/forms/_input-fields.scss +4 -10
- package/sass/materialize.scss +0 -4
- package/src/autocomplete.ts +188 -94
- package/src/buttons.ts +225 -260
- package/src/cards.ts +5 -6
- package/src/carousel.ts +611 -542
- package/src/characterCounter.ts +50 -21
- package/src/chips.ts +152 -63
- package/src/collapsible.ts +97 -32
- package/src/component.ts +99 -10
- package/src/datepicker.ts +905 -726
- package/src/dropdown.ts +576 -484
- package/src/edges.ts +4 -4
- package/src/forms.ts +17 -14
- package/src/global.ts +55 -324
- package/src/materialbox.ts +354 -298
- package/src/modal.ts +296 -211
- package/src/parallax.ts +129 -105
- package/src/pushpin.ts +148 -103
- package/src/range.ts +166 -150
- package/src/scrollspy.ts +214 -174
- package/src/select.ts +434 -398
- package/src/sidenav.ts +447 -381
- package/src/slider.ts +421 -362
- package/src/tabs.ts +276 -222
- package/src/tapTarget.ts +246 -213
- package/src/timepicker.ts +738 -614
- package/src/toasts.ts +254 -230
- package/src/tooltip.ts +315 -252
- package/src/utils.ts +271 -0
- package/src/waves.ts +10 -10
package/Gruntfile.js
CHANGED
|
@@ -137,11 +137,14 @@ module.exports = function(grunt) {
|
|
|
137
137
|
prod_min: Object.assign({}, webpackConfig, {
|
|
138
138
|
mode: 'production',
|
|
139
139
|
devtool: 'source-map',
|
|
140
|
+
optimization: {
|
|
141
|
+
minimize: true
|
|
142
|
+
},
|
|
140
143
|
output: {
|
|
141
144
|
filename: 'materialize.min.js',
|
|
142
145
|
path: path.resolve(__dirname, 'dist/js'),
|
|
143
|
-
libraryTarget: 'umd',
|
|
144
|
-
globalObject: 'this'
|
|
146
|
+
libraryTarget: 'umd',
|
|
147
|
+
globalObject: 'this'
|
|
145
148
|
}
|
|
146
149
|
}),
|
|
147
150
|
},
|
package/dist/css/materialize.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Materialize v2.0.
|
|
2
|
+
* Materialize v2.0.2-alpha (https://materializecss.github.io/materialize)
|
|
3
3
|
* Copyright 2014-2023 Materialize
|
|
4
4
|
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
5
|
*/
|
|
@@ -2642,7 +2642,8 @@ video.responsive-video {
|
|
|
2642
2642
|
}
|
|
2643
2643
|
.breadcrumb i,
|
|
2644
2644
|
.breadcrumb [class^=mdi-], .breadcrumb [class*=mdi-],
|
|
2645
|
-
.breadcrumb i.material-icons
|
|
2645
|
+
.breadcrumb i.material-icons, .breadcrumb i.material-symbols-outlined,
|
|
2646
|
+
.breadcrumb i.material-symbols-rounded, .breadcrumb i.material-symbols-sharp {
|
|
2646
2647
|
display: block;
|
|
2647
2648
|
float: left;
|
|
2648
2649
|
font-size: 24px;
|
|
@@ -2652,7 +2653,7 @@ video.responsive-video {
|
|
|
2652
2653
|
color: var(--font-on-primary-color-medium);
|
|
2653
2654
|
vertical-align: top;
|
|
2654
2655
|
display: inline-block;
|
|
2655
|
-
font-family: "Material Icons";
|
|
2656
|
+
font-family: "Material Symbols Outlined", "Material Symbols Rounded", "Material Symbols Sharp", "Material Icons";
|
|
2656
2657
|
font-weight: normal;
|
|
2657
2658
|
font-style: normal;
|
|
2658
2659
|
font-size: 25px;
|
|
@@ -3253,7 +3254,8 @@ table span.badge {
|
|
|
3253
3254
|
}
|
|
3254
3255
|
|
|
3255
3256
|
/* This is needed for some mobile phones to display the Google Icon font properly */
|
|
3256
|
-
.material-icons
|
|
3257
|
+
.material-icons, .material-symbols-outlined,
|
|
3258
|
+
.material-symbols-rounded, .material-symbols-sharp {
|
|
3257
3259
|
text-rendering: optimizeLegibility;
|
|
3258
3260
|
-webkit-font-feature-settings: "liga";
|
|
3259
3261
|
-moz-font-feature-settings: "liga";
|
|
@@ -3608,7 +3610,8 @@ nav a {
|
|
|
3608
3610
|
}
|
|
3609
3611
|
nav i,
|
|
3610
3612
|
nav [class^=mdi-], nav [class*=mdi-],
|
|
3611
|
-
nav i.material-icons
|
|
3613
|
+
nav i.material-icons, nav i.material-symbols-outlined,
|
|
3614
|
+
nav i.material-symbols-rounded, nav i.material-symbols-sharp {
|
|
3612
3615
|
display: block;
|
|
3613
3616
|
font-size: 24px;
|
|
3614
3617
|
height: 56px;
|
|
@@ -3671,7 +3674,8 @@ nav .brand-logo.right {
|
|
|
3671
3674
|
}
|
|
3672
3675
|
nav .brand-logo i,
|
|
3673
3676
|
nav .brand-logo [class^=mdi-], nav .brand-logo [class*=mdi-],
|
|
3674
|
-
nav .brand-logo i.material-icons
|
|
3677
|
+
nav .brand-logo i.material-icons, nav .brand-logo i.material-symbols-outlined,
|
|
3678
|
+
nav .brand-logo i.material-symbols-rounded, nav .brand-logo i.material-symbols-sharp {
|
|
3675
3679
|
float: left;
|
|
3676
3680
|
margin-right: 15px;
|
|
3677
3681
|
}
|
|
@@ -3711,7 +3715,7 @@ nav ul:not(.dropdown-content) a.btn, nav ul:not(.dropdown-content) a.btn-small,
|
|
|
3711
3715
|
margin-right: 15px;
|
|
3712
3716
|
display: inline-block;
|
|
3713
3717
|
}
|
|
3714
|
-
nav ul:not(.dropdown-content) a.btn > .material-icons, nav ul:not(.dropdown-content) a.btn-small > .material-icons, nav ul:not(.dropdown-content) a.btn-large > .material-icons, nav ul:not(.dropdown-content) a.btn-flat > .material-icons, nav ul:not(.dropdown-content) a.btn-floating > .material-icons {
|
|
3718
|
+
nav ul:not(.dropdown-content) a.btn > .material-icons, nav ul:not(.dropdown-content) a.btn-small > .material-icons, nav ul:not(.dropdown-content) a.btn > .material-symbols-outlined, nav ul:not(.dropdown-content) a.btn-small > .material-symbols-outlined, nav ul:not(.dropdown-content) a.btn > .material-symbols-rounded, nav ul:not(.dropdown-content) a.btn-small > .material-symbols-rounded, nav ul:not(.dropdown-content) a.btn > .material-symbols-sharp, nav ul:not(.dropdown-content) a.btn-small > .material-symbols-sharp, nav ul:not(.dropdown-content) a.btn-large > .material-icons, nav ul:not(.dropdown-content) a.btn-large > .material-symbols-outlined, nav ul:not(.dropdown-content) a.btn-large > .material-symbols-rounded, nav ul:not(.dropdown-content) a.btn-large > .material-symbols-sharp, nav ul:not(.dropdown-content) a.btn-flat > .material-icons, nav ul:not(.dropdown-content) a.btn-flat > .material-symbols-outlined, nav ul:not(.dropdown-content) a.btn-flat > .material-symbols-rounded, nav ul:not(.dropdown-content) a.btn-flat > .material-symbols-sharp, nav ul:not(.dropdown-content) a.btn-floating > .material-icons, nav ul:not(.dropdown-content) a.btn-floating > .material-symbols-outlined, nav ul:not(.dropdown-content) a.btn-floating > .material-symbols-rounded, nav ul:not(.dropdown-content) a.btn-floating > .material-symbols-sharp {
|
|
3715
3719
|
height: inherit;
|
|
3716
3720
|
line-height: inherit;
|
|
3717
3721
|
}
|
|
@@ -3777,7 +3781,6 @@ a {
|
|
|
3777
3781
|
}
|
|
3778
3782
|
|
|
3779
3783
|
html {
|
|
3780
|
-
line-height: 1.5;
|
|
3781
3784
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
3782
3785
|
font-weight: normal;
|
|
3783
3786
|
color: var(--font-color-main);
|
|
@@ -4939,44 +4942,6 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
4939
4942
|
background-color: var(--surface-color);
|
|
4940
4943
|
}
|
|
4941
4944
|
|
|
4942
|
-
.sidenav .collapsible,
|
|
4943
|
-
.sidenav.sidenav-fixed .collapsible {
|
|
4944
|
-
border: none;
|
|
4945
|
-
-webkit-box-shadow: none;
|
|
4946
|
-
box-shadow: none;
|
|
4947
|
-
}
|
|
4948
|
-
.sidenav .collapsible li,
|
|
4949
|
-
.sidenav.sidenav-fixed .collapsible li {
|
|
4950
|
-
padding: 0;
|
|
4951
|
-
}
|
|
4952
|
-
.sidenav > li:hover,
|
|
4953
|
-
.sidenav > li.active,
|
|
4954
|
-
.sidenav.sidenav-fixed > li:hover,
|
|
4955
|
-
.sidenav.sidenav-fixed > li.active {
|
|
4956
|
-
background-color: transparent;
|
|
4957
|
-
}
|
|
4958
|
-
.sidenav .collapsible-header,
|
|
4959
|
-
.sidenav.sidenav-fixed .collapsible-header {
|
|
4960
|
-
background-color: transparent;
|
|
4961
|
-
border: none;
|
|
4962
|
-
line-height: inherit;
|
|
4963
|
-
height: inherit;
|
|
4964
|
-
padding: 0 16px;
|
|
4965
|
-
}
|
|
4966
|
-
.sidenav .collapsible-header i,
|
|
4967
|
-
.sidenav.sidenav-fixed .collapsible-header i {
|
|
4968
|
-
line-height: inherit;
|
|
4969
|
-
}
|
|
4970
|
-
.sidenav .collapsible-body,
|
|
4971
|
-
.sidenav.sidenav-fixed .collapsible-body {
|
|
4972
|
-
border: 0;
|
|
4973
|
-
background-color: var(--surface-color);
|
|
4974
|
-
}
|
|
4975
|
-
.sidenav .collapsible-body li a,
|
|
4976
|
-
.sidenav.sidenav-fixed .collapsible-body li a {
|
|
4977
|
-
padding: 0 23.5px 0 31px;
|
|
4978
|
-
}
|
|
4979
|
-
|
|
4980
4945
|
.collapsible.popout {
|
|
4981
4946
|
border: none;
|
|
4982
4947
|
-webkit-box-shadow: none;
|
|
@@ -5222,7 +5187,7 @@ textarea.materialize-textarea {
|
|
|
5222
5187
|
.input-field input:focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
|
|
5223
5188
|
color: var(--primary-color);
|
|
5224
5189
|
}
|
|
5225
|
-
.input-field input:focus:not([readonly]) + label, .input-field input:not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not(:placeholder-shown) + label {
|
|
5190
|
+
.input-field input:focus:not([readonly]) + label, .input-field input:not([placeholder=" "]) + label, .input-field input:not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not([placeholder=" "]) + label, .input-field textarea:not(:placeholder-shown) + label {
|
|
5226
5191
|
-webkit-transform: scale(0.75);
|
|
5227
5192
|
transform: scale(0.75);
|
|
5228
5193
|
top: 8px;
|
|
@@ -5327,7 +5292,7 @@ textarea.materialize-textarea {
|
|
|
5327
5292
|
.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
|
|
5328
5293
|
color: var(--primary-color);
|
|
5329
5294
|
}
|
|
5330
|
-
.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined input:not(:placeholder-shown) + label, .input-field.outlined textarea:focus:not([readonly]) + label, .input-field.outlined textarea:not(:placeholder-shown) + label {
|
|
5295
|
+
.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined input:not([placeholder=" "]) + label, .input-field.outlined input:not(:placeholder-shown) + label, .input-field.outlined textarea:focus:not([readonly]) + label, .input-field.outlined textarea:not([placeholder=" "]) + label, .input-field.outlined textarea:not(:placeholder-shown) + label {
|
|
5331
5296
|
top: -8px;
|
|
5332
5297
|
left: 16px;
|
|
5333
5298
|
margin-left: -4px;
|
|
@@ -5409,15 +5374,6 @@ textarea.materialize-textarea {
|
|
|
5409
5374
|
transform: none;
|
|
5410
5375
|
left: 1rem;
|
|
5411
5376
|
}
|
|
5412
|
-
& ~ .mdi-navigation-close,
|
|
5413
|
-
& ~ .material-icons {
|
|
5414
|
-
position: absolute;
|
|
5415
|
-
top: 0;
|
|
5416
|
-
right: 1rem;
|
|
5417
|
-
color: transparent;
|
|
5418
|
-
cursor: pointer;
|
|
5419
|
-
font-size: $input-icon-size;
|
|
5420
|
-
}
|
|
5421
5377
|
}
|
|
5422
5378
|
*/
|
|
5423
5379
|
/* Textarea */
|
|
@@ -5427,9 +5383,10 @@ textarea {
|
|
|
5427
5383
|
background-color: transparent;
|
|
5428
5384
|
}
|
|
5429
5385
|
textarea.materialize-textarea {
|
|
5386
|
+
padding-top: 26px !important;
|
|
5387
|
+
padding-bottom: 4px !important;
|
|
5430
5388
|
line-height: normal;
|
|
5431
5389
|
overflow-y: hidden; /* prevents scroll bar flash */
|
|
5432
|
-
padding: 0.8rem 0 0.8rem 0; /* prevents text jump on Enter keypress */
|
|
5433
5390
|
resize: none;
|
|
5434
5391
|
min-height: 3rem;
|
|
5435
5392
|
-webkit-box-sizing: border-box;
|
|
@@ -6265,6 +6222,7 @@ input[type=range]::-ms-thumb {
|
|
|
6265
6222
|
border-left: 2px solid var(--primary-color);
|
|
6266
6223
|
}
|
|
6267
6224
|
|
|
6225
|
+
/* This should be an UL-Element*/
|
|
6268
6226
|
.sidenav {
|
|
6269
6227
|
position: fixed;
|
|
6270
6228
|
width: 300px;
|
|
@@ -6274,7 +6232,7 @@ input[type=range]::-ms-thumb {
|
|
|
6274
6232
|
-webkit-transform: translateX(-100%);
|
|
6275
6233
|
transform: translateX(-100%);
|
|
6276
6234
|
height: 100vh;
|
|
6277
|
-
padding
|
|
6235
|
+
padding: 0;
|
|
6278
6236
|
background-color: var(--background-color-level-16dp-solid);
|
|
6279
6237
|
z-index: 999;
|
|
6280
6238
|
overflow-y: auto;
|
|
@@ -6283,6 +6241,11 @@ input[type=range]::-ms-thumb {
|
|
|
6283
6241
|
backface-visibility: hidden;
|
|
6284
6242
|
-webkit-transform: translateX(-105%);
|
|
6285
6243
|
transform: translateX(-105%);
|
|
6244
|
+
-webkit-user-select: none;
|
|
6245
|
+
-moz-user-select: none;
|
|
6246
|
+
-ms-user-select: none;
|
|
6247
|
+
user-select: none;
|
|
6248
|
+
/* Hover only on top row */
|
|
6286
6249
|
}
|
|
6287
6250
|
.sidenav.right-aligned {
|
|
6288
6251
|
right: 0;
|
|
@@ -6295,23 +6258,50 @@ input[type=range]::-ms-thumb {
|
|
|
6295
6258
|
.sidenav .collapsible {
|
|
6296
6259
|
margin: 0;
|
|
6297
6260
|
}
|
|
6298
|
-
.sidenav
|
|
6299
|
-
float: none;
|
|
6300
|
-
line-height: 48px;
|
|
6301
|
-
}
|
|
6302
|
-
.sidenav li:hover {
|
|
6261
|
+
.sidenav a:hover {
|
|
6303
6262
|
background-color: var(--hover-color);
|
|
6304
6263
|
}
|
|
6305
|
-
.sidenav
|
|
6264
|
+
.sidenav a:focus {
|
|
6306
6265
|
background-color: var(--focus-color);
|
|
6307
6266
|
}
|
|
6267
|
+
.sidenav li.active > a:not(.collapsible-header) {
|
|
6268
|
+
color: var(--font-on-primary-color-main);
|
|
6269
|
+
background-color: var(--primary-color);
|
|
6270
|
+
}
|
|
6271
|
+
.sidenav .collapsible-body > ul {
|
|
6272
|
+
padding-left: 10px;
|
|
6273
|
+
}
|
|
6274
|
+
.sidenav li {
|
|
6275
|
+
list-style: none;
|
|
6276
|
+
display: grid;
|
|
6277
|
+
-webkit-align-content: center;
|
|
6278
|
+
-ms-flex-line-pack: center;
|
|
6279
|
+
align-content: center;
|
|
6280
|
+
}
|
|
6308
6281
|
.sidenav li > a {
|
|
6309
|
-
|
|
6282
|
+
/* https://stackoverflow.com/questions/5848090/full-width-hover-background-for-nested-lists */
|
|
6283
|
+
margin: 0 12px;
|
|
6284
|
+
padding: 0 16px;
|
|
6285
|
+
/*
|
|
6286
|
+
min-width: 0;
|
|
6287
|
+
white-space: nowrap;
|
|
6288
|
+
overflow: hidden;
|
|
6289
|
+
text-overflow: ellipsis;
|
|
6290
|
+
*/
|
|
6291
|
+
display: -webkit-box;
|
|
6292
|
+
display: -webkit-flex;
|
|
6293
|
+
display: -ms-flexbox;
|
|
6294
|
+
display: flex;
|
|
6295
|
+
height: 48px;
|
|
6310
6296
|
font-size: 14px;
|
|
6311
6297
|
font-weight: 500;
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6298
|
+
-webkit-box-align: center;
|
|
6299
|
+
-webkit-align-items: center;
|
|
6300
|
+
-ms-flex-align: center;
|
|
6301
|
+
align-items: center;
|
|
6302
|
+
overflow: hidden;
|
|
6303
|
+
border-radius: 100px;
|
|
6304
|
+
/* TODO: Use special class in future like "mw-icon" */
|
|
6315
6305
|
}
|
|
6316
6306
|
.sidenav li > a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-flat):not(.btn-large):not(.btn-floating) {
|
|
6317
6307
|
color: var(--font-color-main);
|
|
@@ -6319,13 +6309,14 @@ input[type=range]::-ms-thumb {
|
|
|
6319
6309
|
.sidenav li > a.btn, .sidenav li > a.btn-small, .sidenav li > a.btn-large, .sidenav li > a.btn-flat, .sidenav li > a.btn-floating {
|
|
6320
6310
|
margin: 10px 15px;
|
|
6321
6311
|
}
|
|
6322
|
-
.sidenav li > a >
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6312
|
+
.sidenav li > a > .material-icons, .sidenav li > a > .material-symbols-outlined, .sidenav li > a > .material-symbols-rounded, .sidenav li > a > .material-symbols-sharp {
|
|
6313
|
+
display: -webkit-inline-box;
|
|
6314
|
+
display: -webkit-inline-flex;
|
|
6315
|
+
display: -ms-inline-flexbox;
|
|
6316
|
+
display: inline-flex;
|
|
6317
|
+
vertical-align: middle;
|
|
6328
6318
|
color: var(--font-color-medium);
|
|
6319
|
+
margin-right: 12px;
|
|
6329
6320
|
}
|
|
6330
6321
|
.sidenav .divider {
|
|
6331
6322
|
margin: 8px 0 0 0;
|
|
@@ -6338,9 +6329,6 @@ input[type=range]::-ms-thumb {
|
|
|
6338
6329
|
font-weight: 500;
|
|
6339
6330
|
line-height: 48px;
|
|
6340
6331
|
}
|
|
6341
|
-
.sidenav .subheader:hover {
|
|
6342
|
-
background-color: transparent;
|
|
6343
|
-
}
|
|
6344
6332
|
.sidenav .user-view {
|
|
6345
6333
|
position: relative;
|
|
6346
6334
|
padding: 32px 32px 0;
|
|
@@ -6421,15 +6409,15 @@ input[type=range]::-ms-thumb {
|
|
|
6421
6409
|
padding: 16px 16px 0;
|
|
6422
6410
|
}
|
|
6423
6411
|
}
|
|
6412
|
+
/*
|
|
6424
6413
|
.sidenav .collapsible-body > ul:not(.collapsible) > li.active,
|
|
6425
6414
|
.sidenav.sidenav-fixed .collapsible-body > ul:not(.collapsible) > li.active {
|
|
6426
|
-
background-color:
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
color: var(--font-on-primary-color-main);
|
|
6415
|
+
background-color: $primary-color;
|
|
6416
|
+
a:not(.btn) {
|
|
6417
|
+
color: $font-on-primary-color-main;
|
|
6418
|
+
}
|
|
6431
6419
|
}
|
|
6432
|
-
|
|
6420
|
+
*/
|
|
6433
6421
|
.sidenav .collapsible-body {
|
|
6434
6422
|
padding: 0;
|
|
6435
6423
|
}
|
|
@@ -6446,6 +6434,22 @@ input[type=range]::-ms-thumb {
|
|
|
6446
6434
|
display: none;
|
|
6447
6435
|
}
|
|
6448
6436
|
|
|
6437
|
+
.sidenav .collapsible,
|
|
6438
|
+
.sidenav.sidenav-fixed .collapsible {
|
|
6439
|
+
border: none;
|
|
6440
|
+
-webkit-box-shadow: none;
|
|
6441
|
+
box-shadow: none;
|
|
6442
|
+
}
|
|
6443
|
+
.sidenav .collapsible-header,
|
|
6444
|
+
.sidenav.sidenav-fixed .collapsible-header {
|
|
6445
|
+
border: none;
|
|
6446
|
+
}
|
|
6447
|
+
.sidenav .collapsible-body,
|
|
6448
|
+
.sidenav.sidenav-fixed .collapsible-body {
|
|
6449
|
+
border: none;
|
|
6450
|
+
background-color: var(--surface-color);
|
|
6451
|
+
}
|
|
6452
|
+
|
|
6449
6453
|
/*
|
|
6450
6454
|
@license
|
|
6451
6455
|
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
|
@@ -7726,7 +7730,7 @@ input[type=text].text-primary {
|
|
|
7726
7730
|
margin-top: 1.2rem;
|
|
7727
7731
|
}
|
|
7728
7732
|
}
|
|
7729
|
-
:root {
|
|
7733
|
+
:root, :host {
|
|
7730
7734
|
--surface-color: #f3f6fc;
|
|
7731
7735
|
--background-color: #ffffff;
|
|
7732
7736
|
--font-color-main: rgba(0, 0, 0, 0.87);
|
|
@@ -7769,7 +7773,7 @@ input[type=text].text-primary {
|
|
|
7769
7773
|
--md_sys_color_on-surface: 28, 27, 31;
|
|
7770
7774
|
}
|
|
7771
7775
|
|
|
7772
|
-
:root[theme=dark] {
|
|
7776
|
+
:root[theme=dark], :host[theme=dark] {
|
|
7773
7777
|
--background-color: #121212;
|
|
7774
7778
|
--surface-color: #242424;
|
|
7775
7779
|
--font-color-main: rgba(255, 255, 255, 0.87);
|