@materializecss/materialize 2.0.3-alpha → 2.0.3-beta
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 +14 -109
- package/README.md +1 -1
- package/dist/css/materialize.css +309 -222
- package/dist/css/materialize.min.css +2 -2
- package/dist/js/materialize.js +17 -7
- package/dist/js/materialize.min.js +2 -2
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/global.d.ts.map +1 -1
- package/dist/src/tooltip.d.ts +8 -2
- package/dist/src/tooltip.d.ts.map +1 -1
- package/package.json +1 -4
- package/sass/components/_buttons.scss +158 -73
- package/sass/components/_chips.scss +75 -28
- package/sass/components/_global.scss +6 -94
- package/sass/components/_preloader.scss +85 -0
- package/sass/components/_variables.scss +3 -2
- package/sass/components/forms/_range.scss +1 -1
- package/sass/components/forms/_switches.scss +44 -14
- package/src/datepicker.ts +4 -4
- package/src/global.ts +1 -1
- package/src/tooltip.ts +28 -8
package/dist/css/materialize.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Materialize v2.0.3-
|
|
2
|
+
* Materialize v2.0.3-beta (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
|
*/
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
color: var(--md-sys-color-on-background);
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
.surface {
|
|
424
|
+
.surface, .switch label input[type=checkbox]:checked + .lever:after {
|
|
425
425
|
background-color: var(--md-sys-color-surface);
|
|
426
426
|
}
|
|
427
427
|
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
color: var(--md-sys-color-on-surface);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
.surface-variant {
|
|
440
|
+
.surface-variant, .progress, input[type=range]::-moz-range-track, input[type=range]::-webkit-slider-runnable-track, .switch label .lever {
|
|
441
441
|
background-color: var(--md-sys-color-surface-variant);
|
|
442
442
|
}
|
|
443
443
|
|
|
@@ -449,11 +449,11 @@
|
|
|
449
449
|
background-color: var(--md-sys-color-on-surface-variant);
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
.on-surface-variant-text {
|
|
452
|
+
.on-surface-variant-text, .chip > .material-icons {
|
|
453
453
|
color: var(--md-sys-color-on-surface-variant);
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
.outline {
|
|
456
|
+
.outline, .switch label .lever:after {
|
|
457
457
|
background-color: var(--md-sys-color-outline);
|
|
458
458
|
}
|
|
459
459
|
|
|
@@ -3331,7 +3331,7 @@ a {
|
|
|
3331
3331
|
}
|
|
3332
3332
|
|
|
3333
3333
|
/* 2dp elevation modified*/
|
|
3334
|
-
.z-depth-1, .sidenav, .collapsible, .dropdown-content, .btn-floating, .btn, .btn-small, .btn-large, .toast, .card, .card-panel, nav {
|
|
3334
|
+
.z-depth-1, .sidenav, .collapsible, .dropdown-content, .btn-floating, .btn.elevated, .elevated.btn-small, .elevated.btn-large, .toast, .card, .card-panel, nav {
|
|
3335
3335
|
-webkit-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);
|
|
3336
3336
|
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);
|
|
3337
3337
|
}
|
|
@@ -3393,11 +3393,10 @@ i {
|
|
|
3393
3393
|
}
|
|
3394
3394
|
i.left {
|
|
3395
3395
|
float: left;
|
|
3396
|
-
margin-
|
|
3396
|
+
margin-left: -8px;
|
|
3397
3397
|
}
|
|
3398
3398
|
i.right {
|
|
3399
3399
|
float: right;
|
|
3400
|
-
margin-left: 15px;
|
|
3401
3400
|
}
|
|
3402
3401
|
i.tiny {
|
|
3403
3402
|
font-size: 1rem;
|
|
@@ -3778,110 +3777,6 @@ table.responsive-table td {
|
|
|
3778
3777
|
height: 100%;
|
|
3779
3778
|
}
|
|
3780
3779
|
|
|
3781
|
-
.progress {
|
|
3782
|
-
position: relative;
|
|
3783
|
-
height: 4px;
|
|
3784
|
-
display: block;
|
|
3785
|
-
width: 100%;
|
|
3786
|
-
background-color: rgba(var(--primary-color-numeric), 40%);
|
|
3787
|
-
border-radius: 2px;
|
|
3788
|
-
margin: 0.5rem 0 1rem 0;
|
|
3789
|
-
overflow: hidden;
|
|
3790
|
-
}
|
|
3791
|
-
.progress .determinate {
|
|
3792
|
-
position: absolute;
|
|
3793
|
-
top: 0;
|
|
3794
|
-
left: 0;
|
|
3795
|
-
bottom: 0;
|
|
3796
|
-
background-color: var(--primary-color);
|
|
3797
|
-
-webkit-transition: width 0.3s linear;
|
|
3798
|
-
transition: width 0.3s linear;
|
|
3799
|
-
}
|
|
3800
|
-
.progress .indeterminate {
|
|
3801
|
-
background-color: var(--primary-color);
|
|
3802
|
-
}
|
|
3803
|
-
.progress .indeterminate:before {
|
|
3804
|
-
content: "";
|
|
3805
|
-
position: absolute;
|
|
3806
|
-
background-color: inherit;
|
|
3807
|
-
top: 0;
|
|
3808
|
-
left: 0;
|
|
3809
|
-
bottom: 0;
|
|
3810
|
-
will-change: left, right;
|
|
3811
|
-
-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
3812
|
-
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
3813
|
-
}
|
|
3814
|
-
.progress .indeterminate:after {
|
|
3815
|
-
content: "";
|
|
3816
|
-
position: absolute;
|
|
3817
|
-
background-color: inherit;
|
|
3818
|
-
top: 0;
|
|
3819
|
-
left: 0;
|
|
3820
|
-
bottom: 0;
|
|
3821
|
-
will-change: left, right;
|
|
3822
|
-
-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
3823
|
-
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
3824
|
-
-webkit-animation-delay: 1.15s;
|
|
3825
|
-
animation-delay: 1.15s;
|
|
3826
|
-
}
|
|
3827
|
-
|
|
3828
|
-
@-webkit-keyframes indeterminate {
|
|
3829
|
-
0% {
|
|
3830
|
-
left: -35%;
|
|
3831
|
-
right: 100%;
|
|
3832
|
-
}
|
|
3833
|
-
60% {
|
|
3834
|
-
left: 100%;
|
|
3835
|
-
right: -90%;
|
|
3836
|
-
}
|
|
3837
|
-
100% {
|
|
3838
|
-
left: 100%;
|
|
3839
|
-
right: -90%;
|
|
3840
|
-
}
|
|
3841
|
-
}
|
|
3842
|
-
|
|
3843
|
-
@keyframes indeterminate {
|
|
3844
|
-
0% {
|
|
3845
|
-
left: -35%;
|
|
3846
|
-
right: 100%;
|
|
3847
|
-
}
|
|
3848
|
-
60% {
|
|
3849
|
-
left: 100%;
|
|
3850
|
-
right: -90%;
|
|
3851
|
-
}
|
|
3852
|
-
100% {
|
|
3853
|
-
left: 100%;
|
|
3854
|
-
right: -90%;
|
|
3855
|
-
}
|
|
3856
|
-
}
|
|
3857
|
-
@-webkit-keyframes indeterminate-short {
|
|
3858
|
-
0% {
|
|
3859
|
-
left: -200%;
|
|
3860
|
-
right: 100%;
|
|
3861
|
-
}
|
|
3862
|
-
60% {
|
|
3863
|
-
left: 107%;
|
|
3864
|
-
right: -8%;
|
|
3865
|
-
}
|
|
3866
|
-
100% {
|
|
3867
|
-
left: 107%;
|
|
3868
|
-
right: -8%;
|
|
3869
|
-
}
|
|
3870
|
-
}
|
|
3871
|
-
@keyframes indeterminate-short {
|
|
3872
|
-
0% {
|
|
3873
|
-
left: -200%;
|
|
3874
|
-
right: 100%;
|
|
3875
|
-
}
|
|
3876
|
-
60% {
|
|
3877
|
-
left: 107%;
|
|
3878
|
-
right: -8%;
|
|
3879
|
-
}
|
|
3880
|
-
100% {
|
|
3881
|
-
left: 107%;
|
|
3882
|
-
right: -8%;
|
|
3883
|
-
}
|
|
3884
|
-
}
|
|
3885
3780
|
/*******************
|
|
3886
3781
|
Utility Classes
|
|
3887
3782
|
*******************/
|
|
@@ -5701,21 +5596,63 @@ small {
|
|
|
5701
5596
|
visibility: hidden;
|
|
5702
5597
|
}
|
|
5703
5598
|
|
|
5704
|
-
.btn, .btn-small, .btn-large,
|
|
5705
|
-
|
|
5706
|
-
|
|
5599
|
+
.btn, .btn-small, .btn-large, .btn-floating, .btn-flat {
|
|
5600
|
+
--font-size-icon: 16px;
|
|
5601
|
+
--padding: 24px;
|
|
5602
|
+
--padding-icon: 16px;
|
|
5603
|
+
--gap-icon: 8px;
|
|
5604
|
+
height: 40px;
|
|
5707
5605
|
border: none;
|
|
5708
5606
|
border-radius: 4px;
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5607
|
+
padding-left: var(--padding);
|
|
5608
|
+
padding-right: var(--padding);
|
|
5609
|
+
color: var(--font-on-primary-color-main);
|
|
5610
|
+
font-size: 14px;
|
|
5611
|
+
font-weight: 500;
|
|
5612
|
+
text-decoration: none;
|
|
5613
|
+
display: -webkit-inline-box;
|
|
5614
|
+
display: -webkit-inline-flex;
|
|
5615
|
+
display: -ms-inline-flexbox;
|
|
5616
|
+
display: inline-flex;
|
|
5617
|
+
-webkit-box-align: center;
|
|
5618
|
+
-webkit-align-items: center;
|
|
5619
|
+
-ms-flex-align: center;
|
|
5620
|
+
align-items: center;
|
|
5621
|
+
cursor: pointer;
|
|
5622
|
+
-webkit-tap-highlight-color: transparent;
|
|
5623
|
+
white-space: nowrap;
|
|
5624
|
+
outline: 0;
|
|
5714
5625
|
-webkit-user-select: none;
|
|
5715
5626
|
-moz-user-select: none;
|
|
5716
5627
|
-ms-user-select: none;
|
|
5717
5628
|
user-select: none;
|
|
5718
|
-
-webkit-
|
|
5629
|
+
-webkit-transition: background-color 0.2s ease-out;
|
|
5630
|
+
transition: background-color 0.2s ease-out;
|
|
5631
|
+
}
|
|
5632
|
+
|
|
5633
|
+
.btn.icon-left, .icon-left.btn-small, .icon-left.btn-large, .btn.icon-right, .icon-right.btn-small, .icon-right.btn-large {
|
|
5634
|
+
position: relative;
|
|
5635
|
+
}
|
|
5636
|
+
|
|
5637
|
+
.btn.icon-left, .icon-left.btn-small, .icon-left.btn-large {
|
|
5638
|
+
padding-left: calc(var(--padding-icon) + var(--font-size-icon) + var(--gap-icon));
|
|
5639
|
+
}
|
|
5640
|
+
|
|
5641
|
+
.btn.icon-right, .icon-right.btn-small, .icon-right.btn-large {
|
|
5642
|
+
padding-right: calc(var(--padding-icon) + var(--font-size-icon) + var(--gap-icon));
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5645
|
+
.btn.icon-left i, .icon-left.btn-small i, .icon-left.btn-large i, .btn.icon-right i, .icon-right.btn-small i, .icon-right.btn-large i {
|
|
5646
|
+
position: absolute;
|
|
5647
|
+
font-size: var(--font-size-icon);
|
|
5648
|
+
}
|
|
5649
|
+
|
|
5650
|
+
.btn.icon-left i, .icon-left.btn-small i, .icon-left.btn-large i {
|
|
5651
|
+
left: var(--padding-icon);
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
.btn.icon-right i, .icon-right.btn-small i, .icon-right.btn-large i {
|
|
5655
|
+
right: var(--padding-icon);
|
|
5719
5656
|
}
|
|
5720
5657
|
|
|
5721
5658
|
.btn.disabled,
|
|
@@ -5759,33 +5696,44 @@ small {
|
|
|
5759
5696
|
color: var(--font-color-disabled) !important;
|
|
5760
5697
|
}
|
|
5761
5698
|
|
|
5762
|
-
.btn,
|
|
5763
|
-
|
|
5764
|
-
.btn-large,
|
|
5765
|
-
.btn-floating,
|
|
5766
|
-
.btn-flat {
|
|
5767
|
-
font-size: 14px;
|
|
5768
|
-
outline: 0;
|
|
5699
|
+
.btn.filled, .btn, .btn-small, .btn-large {
|
|
5700
|
+
background-color: var(--md-sys-color-primary);
|
|
5769
5701
|
}
|
|
5770
|
-
|
|
5771
|
-
.btn-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
.btn-flat i {
|
|
5775
|
-
font-size: 1.3rem;
|
|
5776
|
-
line-height: inherit;
|
|
5702
|
+
|
|
5703
|
+
.btn.tonal, .tonal.btn-small, .tonal.btn-large, .btn.elevated, .elevated.btn-small, .elevated.btn-large {
|
|
5704
|
+
background-color: var(--md-sys-color-secondary-container);
|
|
5705
|
+
color: var(--md-sys-color-on-secondary-container);
|
|
5777
5706
|
}
|
|
5778
5707
|
|
|
5779
|
-
.btn, .btn-small, .btn-large {
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
background-color:
|
|
5783
|
-
|
|
5784
|
-
letter-spacing: 0.5px;
|
|
5785
|
-
-webkit-transition: background-color 0.2s ease-out;
|
|
5786
|
-
transition: background-color 0.2s ease-out;
|
|
5708
|
+
.btn.text, .text.btn-small, .text.btn-large, .btn-flat {
|
|
5709
|
+
-webkit-box-shadow: none;
|
|
5710
|
+
box-shadow: none;
|
|
5711
|
+
background-color: transparent;
|
|
5712
|
+
color: var(--md-sys-color-primary);
|
|
5787
5713
|
cursor: pointer;
|
|
5714
|
+
-webkit-transition: background-color 0.2s;
|
|
5715
|
+
transition: background-color 0.2s;
|
|
5716
|
+
}
|
|
5717
|
+
.btn.text:focus, .text.btn-small:focus, .text.btn-large:focus, .btn.text:hover, .text.btn-small:hover, .text.btn-large:hover, .btn-flat:focus, .btn-flat:hover {
|
|
5718
|
+
-webkit-box-shadow: none;
|
|
5719
|
+
box-shadow: none;
|
|
5720
|
+
background-color: var(--hover-color);
|
|
5721
|
+
}
|
|
5722
|
+
.btn.text:focus, .text.btn-small:focus, .text.btn-large:focus, .btn-flat:focus {
|
|
5723
|
+
background-color: var(--focus-color);
|
|
5724
|
+
}
|
|
5725
|
+
.btn.text.disabled, .text.disabled.btn-small, .text.disabled.btn-large, .btn.text.btn.text[disabled], .text.text[disabled].btn-small, .text.text[disabled].btn-large, .btn.text.btn-flat[disabled], .btn-flat.disabled, .btn-flat.btn.text[disabled], .btn-flat.btn-flat[disabled] {
|
|
5726
|
+
background-color: transparent !important;
|
|
5727
|
+
color: var(--font-color-disabled) !important;
|
|
5728
|
+
cursor: default;
|
|
5729
|
+
}
|
|
5730
|
+
|
|
5731
|
+
.btn.outlined, .outlined.btn-small, .outlined.btn-large {
|
|
5732
|
+
background-color: transparent;
|
|
5733
|
+
color: var(--primary-color);
|
|
5734
|
+
border: 1px solid var(--primary-color);
|
|
5788
5735
|
}
|
|
5736
|
+
|
|
5789
5737
|
.btn:hover, .btn-small:hover, .btn-large:hover {
|
|
5790
5738
|
background-color: var(--primary-color-raised-hover-solid);
|
|
5791
5739
|
}
|
|
@@ -5794,17 +5742,21 @@ small {
|
|
|
5794
5742
|
}
|
|
5795
5743
|
|
|
5796
5744
|
.btn-floating {
|
|
5797
|
-
display: inline-block;
|
|
5798
5745
|
color: var(--font-on-secondary-color-main);
|
|
5799
|
-
position: relative;
|
|
5800
|
-
overflow: hidden;
|
|
5801
|
-
z-index: 1;
|
|
5802
5746
|
width: 40px;
|
|
5803
5747
|
height: 40px;
|
|
5804
|
-
line-height: 40px;
|
|
5805
|
-
padding: 0;
|
|
5806
5748
|
background-color: var(--secondary-color);
|
|
5807
|
-
border-radius:
|
|
5749
|
+
border-radius: 16px;
|
|
5750
|
+
padding: 0;
|
|
5751
|
+
display: grid;
|
|
5752
|
+
grid-auto-flow: column;
|
|
5753
|
+
-webkit-box-align: center;
|
|
5754
|
+
-webkit-align-items: center;
|
|
5755
|
+
-ms-flex-align: center;
|
|
5756
|
+
align-items: center;
|
|
5757
|
+
position: relative;
|
|
5758
|
+
overflow: hidden;
|
|
5759
|
+
z-index: 1;
|
|
5808
5760
|
-webkit-transition: background-color 0.3s;
|
|
5809
5761
|
transition: background-color 0.3s;
|
|
5810
5762
|
cursor: pointer;
|
|
@@ -5827,9 +5779,6 @@ small {
|
|
|
5827
5779
|
.btn-floating.btn-large.halfway-fab {
|
|
5828
5780
|
bottom: -28px;
|
|
5829
5781
|
}
|
|
5830
|
-
.btn-floating.btn-large i {
|
|
5831
|
-
line-height: 56px;
|
|
5832
|
-
}
|
|
5833
5782
|
.btn-floating.btn-small {
|
|
5834
5783
|
width: 30px;
|
|
5835
5784
|
height: 30px;
|
|
@@ -5837,9 +5786,6 @@ small {
|
|
|
5837
5786
|
.btn-floating.btn-small.halfway-fab {
|
|
5838
5787
|
bottom: -15px;
|
|
5839
5788
|
}
|
|
5840
|
-
.btn-floating.btn-small i {
|
|
5841
|
-
line-height: 30px;
|
|
5842
|
-
}
|
|
5843
5789
|
.btn-floating.halfway-fab {
|
|
5844
5790
|
position: absolute;
|
|
5845
5791
|
right: 24px;
|
|
@@ -5850,12 +5796,11 @@ small {
|
|
|
5850
5796
|
left: 24px;
|
|
5851
5797
|
}
|
|
5852
5798
|
.btn-floating i {
|
|
5799
|
+
color: var(--font-on-secondary-color-main);
|
|
5800
|
+
font-size: 1.6rem;
|
|
5853
5801
|
width: inherit;
|
|
5854
5802
|
display: inline-block;
|
|
5855
5803
|
text-align: center;
|
|
5856
|
-
color: var(--font-on-secondary-color-main);
|
|
5857
|
-
font-size: 1.6rem;
|
|
5858
|
-
line-height: 40px;
|
|
5859
5804
|
}
|
|
5860
5805
|
|
|
5861
5806
|
button.btn-floating {
|
|
@@ -5990,37 +5935,13 @@ button.btn-floating {
|
|
|
5990
5935
|
width: 40px;
|
|
5991
5936
|
height: 40px;
|
|
5992
5937
|
background-color: var(--secondary-color);
|
|
5993
|
-
border-radius:
|
|
5938
|
+
border-radius: 16px;
|
|
5994
5939
|
-webkit-transform: scale(0);
|
|
5995
5940
|
transform: scale(0);
|
|
5996
5941
|
}
|
|
5997
5942
|
|
|
5998
|
-
.btn-flat {
|
|
5999
|
-
-webkit-box-shadow: none;
|
|
6000
|
-
box-shadow: none;
|
|
6001
|
-
background-color: transparent;
|
|
6002
|
-
color: var(--font-color-medium);
|
|
6003
|
-
cursor: pointer;
|
|
6004
|
-
-webkit-transition: background-color 0.2s;
|
|
6005
|
-
transition: background-color 0.2s;
|
|
6006
|
-
}
|
|
6007
|
-
.btn-flat:focus, .btn-flat:hover {
|
|
6008
|
-
-webkit-box-shadow: none;
|
|
6009
|
-
box-shadow: none;
|
|
6010
|
-
background-color: var(--hover-color);
|
|
6011
|
-
}
|
|
6012
|
-
.btn-flat:focus {
|
|
6013
|
-
background-color: var(--focus-color);
|
|
6014
|
-
}
|
|
6015
|
-
.btn-flat.disabled, .btn-flat.btn-flat[disabled] {
|
|
6016
|
-
background-color: transparent !important;
|
|
6017
|
-
color: var(--font-color-disabled) !important;
|
|
6018
|
-
cursor: default;
|
|
6019
|
-
}
|
|
6020
|
-
|
|
6021
5943
|
.btn-large {
|
|
6022
5944
|
height: 60px;
|
|
6023
|
-
line-height: 60px;
|
|
6024
5945
|
font-size: 18px;
|
|
6025
5946
|
padding: 0 28px;
|
|
6026
5947
|
}
|
|
@@ -6041,6 +5962,10 @@ button.btn-floating {
|
|
|
6041
5962
|
display: block;
|
|
6042
5963
|
}
|
|
6043
5964
|
|
|
5965
|
+
.btn.rounded, .rounded.btn-large, .rounded.btn-small {
|
|
5966
|
+
border-radius: 99999px;
|
|
5967
|
+
}
|
|
5968
|
+
|
|
6044
5969
|
.dropdown-content {
|
|
6045
5970
|
padding-left: 0;
|
|
6046
5971
|
list-style-type: none;
|
|
@@ -6264,45 +6189,95 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
6264
6189
|
}
|
|
6265
6190
|
|
|
6266
6191
|
.chip {
|
|
6267
|
-
|
|
6192
|
+
--font-size: 14px;
|
|
6193
|
+
--font-size-icon: 18px;
|
|
6194
|
+
--padding: 8px;
|
|
6195
|
+
background-color: var(--background-color-level-4dp);
|
|
6196
|
+
display: -webkit-inline-box;
|
|
6197
|
+
display: -webkit-inline-flex;
|
|
6198
|
+
display: -ms-inline-flexbox;
|
|
6199
|
+
display: inline-flex;
|
|
6200
|
+
white-space: nowrap;
|
|
6201
|
+
gap: 8px;
|
|
6202
|
+
margin: 0;
|
|
6268
6203
|
height: 32px;
|
|
6269
|
-
|
|
6204
|
+
padding-left: var(--padding);
|
|
6205
|
+
padding-right: var(--padding);
|
|
6206
|
+
font-size: var(--font-size);
|
|
6270
6207
|
font-weight: 500;
|
|
6271
6208
|
color: var(--font-color-medium);
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6209
|
+
border-radius: 8px;
|
|
6210
|
+
-webkit-box-align: center;
|
|
6211
|
+
-webkit-align-items: center;
|
|
6212
|
+
-ms-flex-align: center;
|
|
6213
|
+
align-items: center;
|
|
6214
|
+
-webkit-user-select: none;
|
|
6215
|
+
-moz-user-select: none;
|
|
6216
|
+
-ms-user-select: none;
|
|
6217
|
+
user-select: none;
|
|
6218
|
+
vertical-align: top;
|
|
6278
6219
|
}
|
|
6279
6220
|
.chip:focus {
|
|
6280
6221
|
outline: none;
|
|
6281
6222
|
background-color: var(--primary-color);
|
|
6282
6223
|
color: var(--font-on-primary-color-main);
|
|
6283
6224
|
}
|
|
6225
|
+
|
|
6226
|
+
.chip.outlined {
|
|
6227
|
+
background-color: transparent;
|
|
6228
|
+
border-color: var(--md-sys-color-outline);
|
|
6229
|
+
border-width: 1px;
|
|
6230
|
+
border-style: solid;
|
|
6231
|
+
}
|
|
6232
|
+
|
|
6284
6233
|
.chip > img {
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
height:
|
|
6288
|
-
|
|
6289
|
-
|
|
6234
|
+
margin: 0;
|
|
6235
|
+
width: 24px;
|
|
6236
|
+
height: 24px;
|
|
6237
|
+
-o-object-fit: cover;
|
|
6238
|
+
object-fit: cover;
|
|
6239
|
+
border-radius: 12px;
|
|
6240
|
+
}
|
|
6241
|
+
|
|
6242
|
+
.chip > .material-icons {
|
|
6243
|
+
font-size: var(--font-size-icon);
|
|
6290
6244
|
}
|
|
6245
|
+
|
|
6291
6246
|
.chip .close {
|
|
6247
|
+
border-radius: 50%;
|
|
6248
|
+
height: 24px;
|
|
6249
|
+
width: 24px;
|
|
6250
|
+
padding: 0;
|
|
6251
|
+
display: grid;
|
|
6252
|
+
-webkit-box-pack: center;
|
|
6253
|
+
-webkit-justify-content: center;
|
|
6254
|
+
-ms-flex-pack: center;
|
|
6255
|
+
justify-content: center;
|
|
6256
|
+
-webkit-align-content: center;
|
|
6257
|
+
-ms-flex-line-pack: center;
|
|
6258
|
+
align-content: center;
|
|
6292
6259
|
cursor: pointer;
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6262
|
+
.chip .close:hover {
|
|
6263
|
+
background-color: rgba(136, 136, 136, 0.5333333333);
|
|
6297
6264
|
}
|
|
6298
6265
|
|
|
6299
6266
|
.chips {
|
|
6267
|
+
display: -webkit-box;
|
|
6268
|
+
display: -webkit-flex;
|
|
6269
|
+
display: -ms-flexbox;
|
|
6270
|
+
display: flex;
|
|
6271
|
+
gap: 4px;
|
|
6272
|
+
-webkit-flex-wrap: wrap;
|
|
6273
|
+
-ms-flex-wrap: wrap;
|
|
6274
|
+
flex-wrap: wrap;
|
|
6300
6275
|
border: none;
|
|
6301
6276
|
border-bottom: 1px solid var(--font-color-medium);
|
|
6302
6277
|
-webkit-box-shadow: none;
|
|
6303
6278
|
box-shadow: none;
|
|
6304
6279
|
margin: 0 0 8px 0;
|
|
6305
|
-
|
|
6280
|
+
padding: 4px;
|
|
6306
6281
|
outline: none;
|
|
6307
6282
|
-webkit-transition: all 0.3s;
|
|
6308
6283
|
transition: all 0.3s;
|
|
@@ -6321,8 +6296,7 @@ body.keyboard-focused .dropdown-content li:focus {
|
|
|
6321
6296
|
color: var(--font-color-main);
|
|
6322
6297
|
display: inline-block;
|
|
6323
6298
|
font-size: 16px;
|
|
6324
|
-
height:
|
|
6325
|
-
line-height: 32px;
|
|
6299
|
+
height: 32px;
|
|
6326
6300
|
outline: 0;
|
|
6327
6301
|
margin: 0;
|
|
6328
6302
|
padding: 0;
|
|
@@ -7024,6 +6998,17 @@ textarea.materialize-textarea {
|
|
|
7024
6998
|
|
|
7025
6999
|
/* Switch
|
|
7026
7000
|
========================================================================== */
|
|
7001
|
+
.switch {
|
|
7002
|
+
--track-height: 32px;
|
|
7003
|
+
--track-width: 52px;
|
|
7004
|
+
--border-width: 2px;
|
|
7005
|
+
--size-off: 16px;
|
|
7006
|
+
--size-on: 24px;
|
|
7007
|
+
--icon-size: 16px;
|
|
7008
|
+
--gap-on: calc(((var(--track-height) - var(--size-on)) / 2) - var(--border-width));
|
|
7009
|
+
--gap-off: calc(((var(--track-height) - var(--size-off)) / 2) - var(--border-width));
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7027
7012
|
.switch,
|
|
7028
7013
|
.switch * {
|
|
7029
7014
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -7043,22 +7028,24 @@ textarea.materialize-textarea {
|
|
|
7043
7028
|
height: 0;
|
|
7044
7029
|
}
|
|
7045
7030
|
.switch label input[type=checkbox]:checked + .lever {
|
|
7046
|
-
background-color:
|
|
7031
|
+
background-color: var(--primary-color);
|
|
7032
|
+
border-color: var(--primary-color);
|
|
7047
7033
|
}
|
|
7048
7034
|
.switch label input[type=checkbox]:checked + .lever:before, .switch label input[type=checkbox]:checked + .lever:after {
|
|
7049
|
-
|
|
7035
|
+
top: var(--gap-on);
|
|
7036
|
+
left: calc(var(--track-width) - var(--size-on) - var(--gap-on) - 2 * var(--border-width));
|
|
7037
|
+
width: var(--size-on);
|
|
7038
|
+
height: var(--size-on);
|
|
7050
7039
|
}
|
|
7051
|
-
.switch label input[type=checkbox]:checked + .lever:after {
|
|
7052
|
-
background-color: var(--primary-color);
|
|
7053
|
-
}
|
|
7054
|
-
|
|
7055
7040
|
.switch label .lever {
|
|
7056
7041
|
content: "";
|
|
7057
7042
|
display: inline-block;
|
|
7058
7043
|
position: relative;
|
|
7059
|
-
width:
|
|
7060
|
-
height:
|
|
7061
|
-
|
|
7044
|
+
width: var(--track-width);
|
|
7045
|
+
height: var(--track-height);
|
|
7046
|
+
border-style: solid;
|
|
7047
|
+
border-width: 2px;
|
|
7048
|
+
border-color: var(--md-sys-color-outline);
|
|
7062
7049
|
border-radius: 15px;
|
|
7063
7050
|
margin-right: 10px;
|
|
7064
7051
|
-webkit-transition: background 0.3s ease;
|
|
@@ -7070,20 +7057,19 @@ textarea.materialize-textarea {
|
|
|
7070
7057
|
content: "";
|
|
7071
7058
|
position: absolute;
|
|
7072
7059
|
display: inline-block;
|
|
7073
|
-
width:
|
|
7074
|
-
height:
|
|
7060
|
+
width: var(--size-off);
|
|
7061
|
+
height: var(--size-off);
|
|
7075
7062
|
border-radius: 50%;
|
|
7076
|
-
left:
|
|
7077
|
-
top: -
|
|
7063
|
+
left: var(--gap-off);
|
|
7064
|
+
top: var(--gap-off);
|
|
7078
7065
|
-webkit-transition: left 0.3s ease, background 0.3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
|
7079
7066
|
transition: left 0.3s ease, background 0.3s ease, -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
|
7080
7067
|
transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease, transform 0.1s ease;
|
|
7081
7068
|
transition: left 0.3s ease, background 0.3s ease, box-shadow 0.1s ease, transform 0.1s ease, -webkit-box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
|
7082
7069
|
}
|
|
7083
7070
|
.switch label .lever:after {
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
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);
|
|
7071
|
+
height: var(--size-off);
|
|
7072
|
+
width: var(--size-off);
|
|
7087
7073
|
}
|
|
7088
7074
|
|
|
7089
7075
|
input[type=checkbox]:not(:disabled) ~ .lever:active:before,
|
|
@@ -7399,7 +7385,6 @@ input[type=range] {
|
|
|
7399
7385
|
|
|
7400
7386
|
input[type=range]::-webkit-slider-runnable-track {
|
|
7401
7387
|
height: 3px;
|
|
7402
|
-
background: var(--slider-track-color);
|
|
7403
7388
|
border: none;
|
|
7404
7389
|
}
|
|
7405
7390
|
|
|
@@ -7431,7 +7416,6 @@ input[type=range] {
|
|
|
7431
7416
|
|
|
7432
7417
|
input[type=range]::-moz-range-track {
|
|
7433
7418
|
height: 3px;
|
|
7434
|
-
background: var(--slider-track-color);
|
|
7435
7419
|
border: none;
|
|
7436
7420
|
}
|
|
7437
7421
|
|
|
@@ -7743,6 +7727,109 @@ input[type=range]::-ms-thumb {
|
|
|
7743
7727
|
border: none;
|
|
7744
7728
|
}
|
|
7745
7729
|
|
|
7730
|
+
.progress {
|
|
7731
|
+
position: relative;
|
|
7732
|
+
height: 4px;
|
|
7733
|
+
display: block;
|
|
7734
|
+
width: 100%;
|
|
7735
|
+
border-radius: 2px;
|
|
7736
|
+
margin: 0.5rem 0 1rem 0;
|
|
7737
|
+
overflow: hidden;
|
|
7738
|
+
}
|
|
7739
|
+
.progress .determinate {
|
|
7740
|
+
position: absolute;
|
|
7741
|
+
top: 0;
|
|
7742
|
+
left: 0;
|
|
7743
|
+
bottom: 0;
|
|
7744
|
+
background-color: var(--primary-color);
|
|
7745
|
+
-webkit-transition: width 0.3s linear;
|
|
7746
|
+
transition: width 0.3s linear;
|
|
7747
|
+
}
|
|
7748
|
+
.progress .indeterminate {
|
|
7749
|
+
background-color: var(--primary-color);
|
|
7750
|
+
}
|
|
7751
|
+
.progress .indeterminate:before {
|
|
7752
|
+
content: "";
|
|
7753
|
+
position: absolute;
|
|
7754
|
+
background-color: inherit;
|
|
7755
|
+
top: 0;
|
|
7756
|
+
left: 0;
|
|
7757
|
+
bottom: 0;
|
|
7758
|
+
will-change: left, right;
|
|
7759
|
+
-webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
7760
|
+
animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
7761
|
+
}
|
|
7762
|
+
.progress .indeterminate:after {
|
|
7763
|
+
content: "";
|
|
7764
|
+
position: absolute;
|
|
7765
|
+
background-color: inherit;
|
|
7766
|
+
top: 0;
|
|
7767
|
+
left: 0;
|
|
7768
|
+
bottom: 0;
|
|
7769
|
+
will-change: left, right;
|
|
7770
|
+
-webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
7771
|
+
animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
7772
|
+
-webkit-animation-delay: 1.15s;
|
|
7773
|
+
animation-delay: 1.15s;
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7776
|
+
@-webkit-keyframes indeterminate {
|
|
7777
|
+
0% {
|
|
7778
|
+
left: -35%;
|
|
7779
|
+
right: 100%;
|
|
7780
|
+
}
|
|
7781
|
+
60% {
|
|
7782
|
+
left: 100%;
|
|
7783
|
+
right: -90%;
|
|
7784
|
+
}
|
|
7785
|
+
100% {
|
|
7786
|
+
left: 100%;
|
|
7787
|
+
right: -90%;
|
|
7788
|
+
}
|
|
7789
|
+
}
|
|
7790
|
+
|
|
7791
|
+
@keyframes indeterminate {
|
|
7792
|
+
0% {
|
|
7793
|
+
left: -35%;
|
|
7794
|
+
right: 100%;
|
|
7795
|
+
}
|
|
7796
|
+
60% {
|
|
7797
|
+
left: 100%;
|
|
7798
|
+
right: -90%;
|
|
7799
|
+
}
|
|
7800
|
+
100% {
|
|
7801
|
+
left: 100%;
|
|
7802
|
+
right: -90%;
|
|
7803
|
+
}
|
|
7804
|
+
}
|
|
7805
|
+
@-webkit-keyframes indeterminate-short {
|
|
7806
|
+
0% {
|
|
7807
|
+
left: -200%;
|
|
7808
|
+
right: 100%;
|
|
7809
|
+
}
|
|
7810
|
+
60% {
|
|
7811
|
+
left: 107%;
|
|
7812
|
+
right: -8%;
|
|
7813
|
+
}
|
|
7814
|
+
100% {
|
|
7815
|
+
left: 107%;
|
|
7816
|
+
right: -8%;
|
|
7817
|
+
}
|
|
7818
|
+
}
|
|
7819
|
+
@keyframes indeterminate-short {
|
|
7820
|
+
0% {
|
|
7821
|
+
left: -200%;
|
|
7822
|
+
right: 100%;
|
|
7823
|
+
}
|
|
7824
|
+
60% {
|
|
7825
|
+
left: 107%;
|
|
7826
|
+
right: -8%;
|
|
7827
|
+
}
|
|
7828
|
+
100% {
|
|
7829
|
+
left: 107%;
|
|
7830
|
+
right: -8%;
|
|
7831
|
+
}
|
|
7832
|
+
}
|
|
7746
7833
|
/*
|
|
7747
7834
|
@license
|
|
7748
7835
|
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|