kmaterialize 2.3.3-1.0.1 → 2.3.3-1.0.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  <p align="center">
2
2
  <a href="https://materialize.kevinzarshenas.com" target="_blank">
3
- <img src="https://materializeweb.com/images/materialize.svg" width="200"/>
3
+ <img src="images/materialize.svg" width="200"/>
4
4
  </a>
5
5
  </p>
6
6
 
@@ -83,7 +83,7 @@
83
83
  max-width: 50%;
84
84
 
85
85
  img {
86
- border-radius: 2px 0 0 2px;
86
+ border-radius: 12px 0 0 12px;
87
87
  max-width: 100%;
88
88
  width: auto;
89
89
  }
@@ -119,7 +119,7 @@
119
119
  // Image background for content
120
120
  img {
121
121
  display: block;
122
- border-radius: 2px 2px 0 0;
122
+ border-radius: 12px 12px 0 0;
123
123
  position: relative;
124
124
  left: 0;
125
125
  right: 0;
@@ -153,7 +153,7 @@
153
153
 
154
154
  .card-content {
155
155
  padding: 24px;
156
- border-radius: 0 0 2px 2px;
156
+ border-radius: 0 0 12px 12px;
157
157
 
158
158
  p {
159
159
  margin: 0;
@@ -178,7 +178,7 @@
178
178
  padding: 0 1.6rem;
179
179
 
180
180
  &:last-child {
181
- border-radius: 0 0 2px 2px;
181
+ border-radius: 0 0 12px 12px;
182
182
  }
183
183
  // Replaced card links with buttons (Accessibility, @see https://github.com/materializecss/materialize/issues/565)
184
184
  a {
@@ -15,7 +15,9 @@
15
15
  margin: 0;
16
16
  display: none;
17
17
  min-width: 100px;
18
+ border-radius: 12px;
18
19
  overflow-y: auto;
20
+ overflow-x: hidden;
19
21
  opacity: 0;
20
22
  position: absolute;
21
23
  left: 0;
@@ -30,6 +30,9 @@
30
30
  height: 42px;
31
31
  overflow: hidden;
32
32
  left: 15px;
33
+ top: 21px; // vertically center within the 84px min-height row - without
34
+ // this, absolute's default "static position" fallback puts
35
+ // an <img> and an <i> icon glyph at different heights
33
36
  display: inline-block;
34
37
  vertical-align: middle;
35
38
  }
@@ -50,7 +50,7 @@ textarea.materialize-textarea {
50
50
 
51
51
  // Default
52
52
 
53
- input, textarea {
53
+ input:not([type=checkbox]):not([type=radio]), textarea {
54
54
  box-sizing: border-box; /* https://stackoverflow.com/questions/1377719/padding-within-inputs-breaks-width-100*/
55
55
  padding: 0 16px;
56
56
  padding-top: 20px;
@@ -180,7 +180,7 @@ textarea.materialize-textarea {
180
180
 
181
181
  &.outlined {
182
182
 
183
- input, textarea {
183
+ input:not([type=checkbox]):not([type=radio]), textarea {
184
184
  padding-top: 0;
185
185
  background-color: transparent; //(--md-sys-color-background);
186
186
  border: 1px solid var(--md-sys-color-on-surface-variant);
@@ -225,7 +225,7 @@ textarea.materialize-textarea {
225
225
  // border/label/text below should pick up the error color.
226
226
  background-color: transparent;
227
227
 
228
- input, textarea {
228
+ input:not([type=checkbox]):not([type=radio]), textarea {
229
229
  border-color: var(--md-sys-color-error);
230
230
  }
231
231
  input:focus:not([readonly]), textarea:focus:not([readonly]) {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Materialize v2.3.3-1.0.1 (https://materializeweb.com)
2
+ * Materialize v2.3.3-1.0.3 (https://materializeweb.com)
3
3
  * Copyright 2014-2026 Materialize
4
4
  * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Materialize v2.3.3-1.0.1 (https://materializeweb.com)
2
+ * Materialize v2.3.3-1.0.3 (https://materializeweb.com)
3
3
  * Copyright 2014-2026 Materialize
4
4
  * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
5
5
  */
@@ -3390,6 +3390,10 @@ html {
3390
3390
  }
3391
3391
  }
3392
3392
 
3393
+ html[data-font=muli] {
3394
+ font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3395
+ }
3396
+
3393
3397
  h1, h2, h3, h4, h5, h6 {
3394
3398
  font-weight: 400;
3395
3399
  line-height: 1.3;
@@ -4916,65 +4920,6 @@ body {
4916
4920
  transform: scale(1);
4917
4921
  }
4918
4922
 
4919
- .pulse {
4920
- overflow: visible;
4921
- position: relative;
4922
- &::before {
4923
- content: "";
4924
- display: block;
4925
- position: absolute;
4926
- pointer-events: none;
4927
- width: 100%;
4928
- height: 100%;
4929
- top: 0;
4930
- left: 0;
4931
- background-color: inherit;
4932
- border-radius: inherit;
4933
- -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
4934
- transition: opacity 0.3s, -webkit-transform 0.3s;
4935
- transition: opacity 0.3s, transform 0.3s;
4936
- transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
4937
- -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
4938
- animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
4939
- z-index: -1;
4940
- }
4941
- }
4942
-
4943
- @-webkit-keyframes pulse-animation {
4944
- 0% {
4945
- opacity: 1;
4946
- -webkit-transform: scale(1);
4947
- transform: scale(1);
4948
- }
4949
- 50% {
4950
- opacity: 0;
4951
- -webkit-transform: scale(1.5);
4952
- transform: scale(1.5);
4953
- }
4954
- 100% {
4955
- opacity: 0;
4956
- -webkit-transform: scale(1.5);
4957
- transform: scale(1.5);
4958
- }
4959
- }
4960
-
4961
- @keyframes pulse-animation {
4962
- 0% {
4963
- opacity: 1;
4964
- -webkit-transform: scale(1);
4965
- transform: scale(1);
4966
- }
4967
- 50% {
4968
- opacity: 0;
4969
- -webkit-transform: scale(1.5);
4970
- transform: scale(1.5);
4971
- }
4972
- 100% {
4973
- opacity: 0;
4974
- -webkit-transform: scale(1.5);
4975
- transform: scale(1.5);
4976
- }
4977
- }
4978
4923
  .table-of-contents {
4979
4924
  list-style: none;
4980
4925
  }
@@ -5732,7 +5677,7 @@ table span.badge {
5732
5677
  max-width: 50%;
5733
5678
  }
5734
5679
  .card.horizontal .card-image img {
5735
- border-radius: 2px 0 0 2px;
5680
+ border-radius: 12px 0 0 12px;
5736
5681
  max-width: 100%;
5737
5682
  width: auto;
5738
5683
  }
@@ -5770,7 +5715,7 @@ table span.badge {
5770
5715
  }
5771
5716
  .card .card-image img {
5772
5717
  display: block;
5773
- border-radius: 2px 2px 0 0;
5718
+ border-radius: 12px 12px 0 0;
5774
5719
  position: relative;
5775
5720
  left: 0;
5776
5721
  right: 0;
@@ -5799,7 +5744,7 @@ table span.badge {
5799
5744
  }
5800
5745
  .card .card-content {
5801
5746
  padding: 24px;
5802
- border-radius: 0 0 2px 2px;
5747
+ border-radius: 0 0 12px 12px;
5803
5748
  }
5804
5749
  .card .card-content p {
5805
5750
  margin: 0;
@@ -5819,7 +5764,7 @@ table span.badge {
5819
5764
  padding: 0 1.6rem;
5820
5765
  }
5821
5766
  .card .card-action:last-child {
5822
- border-radius: 0 0 2px 2px;
5767
+ border-radius: 0 0 12px 12px;
5823
5768
  }
5824
5769
  .card .card-action a {
5825
5770
  height: var(--btn-height);
@@ -6169,7 +6114,9 @@ table span.badge {
6169
6114
  margin: 0;
6170
6115
  display: none;
6171
6116
  min-width: 100px;
6117
+ border-radius: 12px;
6172
6118
  overflow-y: auto;
6119
+ overflow-x: hidden;
6173
6120
  opacity: 0;
6174
6121
  position: absolute;
6175
6122
  left: 0;
@@ -6263,6 +6210,7 @@ body.keyboard-focused .dropdown-content li:focus {
6263
6210
  height: 42px;
6264
6211
  overflow: hidden;
6265
6212
  left: 15px;
6213
+ top: 21px;
6266
6214
  display: inline-block;
6267
6215
  vertical-align: middle;
6268
6216
  }
@@ -9358,17 +9306,17 @@ textarea.materialize-textarea {
9358
9306
  background-color: transparent;
9359
9307
  }
9360
9308
 
9361
- .input-field input.invalid, .input-field textarea.invalid {
9309
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid, .input-field textarea.invalid {
9362
9310
  border-bottom: 2px solid var(--md-sys-color-error);
9363
9311
  -webkit-box-shadow: 0 1px 0 0 var(--md-sys-color-error);
9364
9312
  box-shadow: 0 1px 0 0 var(--md-sys-color-error);
9365
9313
  }
9366
9314
 
9367
- .input-field input.invalid ~ .supporting-text[data-error] > span, .input-field textarea.invalid ~ .supporting-text[data-error] > span {
9315
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid ~ .supporting-text[data-error] > span, .input-field textarea.invalid ~ .supporting-text[data-error] > span {
9368
9316
  display: none;
9369
9317
  }
9370
9318
 
9371
- .input-field input.invalid ~ .supporting-text:after, .input-field textarea.invalid ~ .supporting-text:after {
9319
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid ~ .supporting-text:after, .input-field textarea.invalid ~ .supporting-text:after {
9372
9320
  content: attr(data-error);
9373
9321
  color: var(--md-sys-color-error);
9374
9322
  }
@@ -9378,7 +9326,7 @@ textarea.materialize-textarea {
9378
9326
  position: relative;
9379
9327
  clear: both;
9380
9328
  }
9381
- .input-field input, .input-field textarea {
9329
+ .input-field input:not([type=checkbox]):not([type=radio]), .input-field textarea {
9382
9330
  -webkit-box-sizing: border-box;
9383
9331
  box-sizing: border-box; /* https://stackoverflow.com/questions/1377719/padding-within-inputs-breaks-width-100*/
9384
9332
  padding: 0 16px;
@@ -9389,35 +9337,35 @@ textarea.materialize-textarea {
9389
9337
  border-bottom-left-radius: 0;
9390
9338
  border-bottom-right-radius: 0;
9391
9339
  }
9392
- .input-field input:focus:not([readonly]), .input-field textarea:focus:not([readonly]) {
9340
+ .input-field input:not([type=checkbox]):not([type=radio]):focus:not([readonly]), .input-field textarea:focus:not([readonly]) {
9393
9341
  border-bottom: 2px solid var(--input-color);
9394
9342
  padding-top: 21px;
9395
9343
  }
9396
- .input-field input:disabled, .input-field input[readonly=readonly], .input-field textarea:disabled, .input-field textarea[readonly=readonly] {
9344
+ .input-field input:not([type=checkbox]):not([type=radio]):disabled, .input-field input:not([type=checkbox]):not([type=radio])[readonly=readonly], .input-field textarea:disabled, .input-field textarea[readonly=readonly] {
9397
9345
  color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 38%);
9398
9346
  border-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 12%);
9399
9347
  background-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 4%);
9400
9348
  }
9401
- .input-field input:focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
9349
+ .input-field input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
9402
9350
  color: var(--input-color);
9403
9351
  }
9404
- .input-field input:not(:-moz-placeholder) + label, .input-field textarea:not(:-moz-placeholder) + label {
9352
+ .input-field input:not([type=checkbox]):not([type=radio]):not(:-moz-placeholder) + label, .input-field textarea:not(:-moz-placeholder) + label {
9405
9353
  transform: scale(0.75);
9406
9354
  top: 8px;
9407
9355
  }
9408
- .input-field input:not(:-ms-input-placeholder) + label, .input-field textarea:not(:-ms-input-placeholder) + label {
9356
+ .input-field input:not([type=checkbox]):not([type=radio]):not(:-ms-input-placeholder) + label, .input-field textarea:not(:-ms-input-placeholder) + label {
9409
9357
  transform: scale(0.75);
9410
9358
  top: 8px;
9411
9359
  }
9412
- .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 {
9360
+ .input-field input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field input:not([type=checkbox]):not([type=radio]):not([placeholder=" "]) + label, .input-field input:not([type=checkbox]):not([type=radio]):not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not([placeholder=" "]) + label, .input-field textarea:not(:placeholder-shown) + label {
9413
9361
  -webkit-transform: scale(0.75);
9414
9362
  transform: scale(0.75);
9415
9363
  top: 8px;
9416
9364
  }
9417
- .input-field input:disabled + label, .input-field input[readonly=readonly] + label, .input-field textarea:disabled + label, .input-field textarea[readonly=readonly] + label {
9365
+ .input-field input:not([type=checkbox]):not([type=radio]):disabled + label, .input-field input:not([type=checkbox]):not([type=radio])[readonly=readonly] + label, .input-field textarea:disabled + label, .input-field textarea[readonly=readonly] + label {
9418
9366
  color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 38%);
9419
9367
  }
9420
- .input-field input.invalid ~ label, .input-field input:focus.invalid ~ label, .input-field textarea.invalid ~ label, .input-field textarea:focus.invalid ~ label {
9368
+ .input-field input:not([type=checkbox]):not([type=radio]).invalid ~ label, .input-field input:not([type=checkbox]):not([type=radio]):focus.invalid ~ label, .input-field textarea.invalid ~ label, .input-field textarea:focus.invalid ~ label {
9421
9369
  color: var(--md-sys-color-error);
9422
9370
  }
9423
9371
  .input-field input::-webkit-input-placeholder {
@@ -9507,49 +9455,49 @@ textarea.materialize-textarea {
9507
9455
  .input-field .prefix ~ label {
9508
9456
  left: 52px;
9509
9457
  }
9510
- .input-field.outlined input, .input-field.outlined textarea {
9458
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]), .input-field.outlined textarea {
9511
9459
  padding-top: 0;
9512
9460
  background-color: transparent;
9513
9461
  border: 1px solid var(--md-sys-color-on-surface-variant);
9514
9462
  border-radius: 4px;
9515
9463
  }
9516
- .input-field.outlined input:focus:not([readonly]), .input-field.outlined textarea:focus:not([readonly]) {
9464
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):focus:not([readonly]), .input-field.outlined textarea:focus:not([readonly]) {
9517
9465
  border: 2px solid var(--input-color);
9518
9466
  padding-top: 0;
9519
9467
  margin-left: -1px;
9520
9468
  }
9521
- .input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
9469
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
9522
9470
  color: var(--input-color);
9523
9471
  }
9524
- .input-field.outlined input:not(:-moz-placeholder) + label, .input-field.outlined textarea:not(:-moz-placeholder) + label {
9472
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):not(:-moz-placeholder) + label, .input-field.outlined textarea:not(:-moz-placeholder) + label {
9525
9473
  top: -8px;
9526
9474
  left: 16px;
9527
9475
  margin-left: -4px;
9528
9476
  padding: 0 4px;
9529
9477
  background-color: var(--md-sys-color-surface);
9530
9478
  }
9531
- .input-field.outlined input:not(:-ms-input-placeholder) + label, .input-field.outlined textarea:not(:-ms-input-placeholder) + label {
9479
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):not(:-ms-input-placeholder) + label, .input-field.outlined textarea:not(:-ms-input-placeholder) + label {
9532
9480
  top: -8px;
9533
9481
  left: 16px;
9534
9482
  margin-left: -4px;
9535
9483
  padding: 0 4px;
9536
9484
  background-color: var(--md-sys-color-surface);
9537
9485
  }
9538
- .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 {
9486
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):focus:not([readonly]) + label, .input-field.outlined input:not([type=checkbox]):not([type=radio]):not([placeholder=" "]) + label, .input-field.outlined input:not([type=checkbox]):not([type=radio]):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 {
9539
9487
  top: -8px;
9540
9488
  left: 16px;
9541
9489
  margin-left: -4px;
9542
9490
  padding: 0 4px;
9543
9491
  background-color: var(--md-sys-color-surface);
9544
9492
  }
9545
- .input-field.outlined input:disabled, .input-field.outlined input[readonly=readonly], .input-field.outlined textarea:disabled, .input-field.outlined textarea[readonly=readonly] {
9493
+ .input-field.outlined input:not([type=checkbox]):not([type=radio]):disabled, .input-field.outlined input:not([type=checkbox]):not([type=radio])[readonly=readonly], .input-field.outlined textarea:disabled, .input-field.outlined textarea[readonly=readonly] {
9546
9494
  color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 38%);
9547
9495
  border-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 12%);
9548
9496
  }
9549
9497
  .input-field.error {
9550
9498
  background-color: transparent;
9551
9499
  }
9552
- .input-field.error input, .input-field.error textarea {
9500
+ .input-field.error input:not([type=checkbox]):not([type=radio]), .input-field.error textarea {
9553
9501
  border-color: var(--md-sys-color-error);
9554
9502
  }
9555
9503
  .input-field.error input:focus:not([readonly]), .input-field.error textarea:focus:not([readonly]) {
@@ -10316,4 +10264,64 @@ fieldset.form-field:has([required]) legend::after {
10316
10264
 
10317
10265
  fieldset.form-field:has([required]) label::after {
10318
10266
  content: " *";
10267
+ }
10268
+
10269
+ .pulse {
10270
+ overflow: visible;
10271
+ position: relative;
10272
+ &::before {
10273
+ content: "";
10274
+ display: block;
10275
+ position: absolute;
10276
+ pointer-events: none;
10277
+ width: 100%;
10278
+ height: 100%;
10279
+ top: 0;
10280
+ left: 0;
10281
+ background-color: inherit;
10282
+ border-radius: inherit;
10283
+ -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
10284
+ transition: opacity 0.3s, -webkit-transform 0.3s;
10285
+ transition: opacity 0.3s, transform 0.3s;
10286
+ transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
10287
+ -webkit-animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
10288
+ animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
10289
+ z-index: -1;
10290
+ }
10291
+ }
10292
+
10293
+ @-webkit-keyframes pulse-animation {
10294
+ 0% {
10295
+ opacity: 1;
10296
+ -webkit-transform: scale(1);
10297
+ transform: scale(1);
10298
+ }
10299
+ 50% {
10300
+ opacity: 0;
10301
+ -webkit-transform: scale(1.5);
10302
+ transform: scale(1.5);
10303
+ }
10304
+ 100% {
10305
+ opacity: 0;
10306
+ -webkit-transform: scale(1.5);
10307
+ transform: scale(1.5);
10308
+ }
10309
+ }
10310
+
10311
+ @keyframes pulse-animation {
10312
+ 0% {
10313
+ opacity: 1;
10314
+ -webkit-transform: scale(1);
10315
+ transform: scale(1);
10316
+ }
10317
+ 50% {
10318
+ opacity: 0;
10319
+ -webkit-transform: scale(1.5);
10320
+ transform: scale(1.5);
10321
+ }
10322
+ 100% {
10323
+ opacity: 0;
10324
+ -webkit-transform: scale(1.5);
10325
+ transform: scale(1.5);
10326
+ }
10319
10327
  }