@materializecss/materialize 2.2.1 → 2.3.0

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.
Files changed (57) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +94 -94
  3. package/dist/css/materialize.colors.min.css +6 -0
  4. package/dist/css/materialize.css +9624 -8820
  5. package/dist/css/materialize.min.css +6 -8
  6. package/dist/css/materialize.min.css.map +1 -1
  7. package/dist/js/materialize.cjs.js +8370 -7926
  8. package/dist/js/materialize.d.ts +2552 -2491
  9. package/dist/js/materialize.js +8375 -7931
  10. package/dist/js/materialize.min.js +6 -6
  11. package/dist/js/materialize.mjs +8342 -7898
  12. package/package.json +95 -79
  13. package/sass/{components/_color-variables.scss → _colors.scss} +403 -370
  14. package/sass/{components/_global.scss → _global.scss} +490 -558
  15. package/sass/{components/_grid.scss → _grid.scss} +172 -170
  16. package/sass/{components/_table_of_contents.scss → _table_of_contents.scss} +28 -32
  17. package/sass/{components/_tapTarget.scss → _tapTarget.scss} +102 -103
  18. package/sass/{components/_typography.scss → _typography.scss} +59 -62
  19. package/sass/{components/_variables.scss → _variables.scss} +57 -56
  20. package/sass/components/forms/_forms.scss +19 -24
  21. package/sass/materialize.scss +48 -47
  22. package/sass/mixins.module.scss +168 -0
  23. package/sass/components/_badges.scss +0 -75
  24. package/sass/components/_buttons.scss +0 -455
  25. package/sass/components/_cards.scss +0 -210
  26. package/sass/components/_carousel.scss +0 -95
  27. package/sass/components/_chips.scss +0 -148
  28. package/sass/components/_collapsible.scss +0 -80
  29. package/sass/components/_collection.scss +0 -115
  30. package/sass/components/_color-classes.scss +0 -32
  31. package/sass/components/_datepicker.scss +0 -216
  32. package/sass/components/_dropdown.scss +0 -78
  33. package/sass/components/_icons-material-design.scss +0 -6
  34. package/sass/components/_materialbox.scss +0 -43
  35. package/sass/components/_modal.scss +0 -68
  36. package/sass/components/_navbar.scss +0 -231
  37. package/sass/components/_normalize.scss +0 -349
  38. package/sass/components/_preloader.scss +0 -418
  39. package/sass/components/_pulse.scss +0 -35
  40. package/sass/components/_sidenav.scss +0 -249
  41. package/sass/components/_slider.scss +0 -121
  42. package/sass/components/_tabs.scss +0 -155
  43. package/sass/components/_timepicker.scss +0 -279
  44. package/sass/components/_toast.scss +0 -65
  45. package/sass/components/_tooltip.scss +0 -48
  46. package/sass/components/_transitions.scss +0 -13
  47. package/sass/components/colors.module.scss +0 -74
  48. package/sass/components/forms/_checkboxes.scss +0 -200
  49. package/sass/components/forms/_file-input.scss +0 -43
  50. package/sass/components/forms/_input-fields.scss +0 -350
  51. package/sass/components/forms/_radio-buttons.scss +0 -112
  52. package/sass/components/forms/_range.scss +0 -153
  53. package/sass/components/forms/_select.scss +0 -195
  54. package/sass/components/forms/_switches.scss +0 -122
  55. package/sass/components/theme.module.scss +0 -140
  56. package/sass/components/tokens.module.scss +0 -272
  57. package/sass/components/typography.module.scss +0 -150
@@ -1,170 +1,172 @@
1
- @use "sass:math";
2
-
3
- // Container
4
- .container {
5
- margin: 0 auto;
6
- max-width: 1280px;
7
- width: 90%;
8
- }
9
- @media #{$medium-and-up} {
10
- .container {
11
- width: 85%;
12
- }
13
- }
14
- @media #{$large-and-up} {
15
- .container {
16
- width: 70%;
17
- }
18
- }
19
-
20
- .section {
21
- padding: 1rem 0;
22
- }
23
-
24
- // Mixins to eliminate code repetition
25
- @mixin reset-offset {
26
- margin-left: auto;
27
- left: auto;
28
- right: auto;
29
- }
30
-
31
- @mixin grid-classes($size, $i, $perc) {
32
- &.offset-#{$size}#{$i} {
33
- margin-left: $perc;
34
- }
35
- &.pull-#{$size}#{$i} {
36
- right: $perc;
37
- }
38
- &.push-#{$size}#{$i} {
39
- left: $perc;
40
- }
41
- }
42
-
43
- body {
44
- --gap-size: 1.5rem; // default
45
- }
46
-
47
- .row {
48
- display: grid;
49
- grid-template-columns: repeat(12, 1fr);
50
- gap: var(--gap-size);
51
-
52
- //--- S
53
- .s1 { grid-column: auto / span 1; }
54
- .s2 { grid-column: auto / span 2; }
55
- .s3 { grid-column: auto / span 3; }
56
- .s4 { grid-column: auto / span 4; }
57
- .s5 { grid-column: auto / span 5; }
58
- .s6 { grid-column: auto / span 6; }
59
- .s7 { grid-column: auto / span 7; }
60
- .s8 { grid-column: auto / span 8; }
61
- .s9 { grid-column: auto / span 9; }
62
- .s10 { grid-column: auto / span 10; }
63
- .s11 { grid-column: auto / span 11; }
64
- .s12 { grid-column: auto / span 12; }
65
-
66
- .offset-s1 { grid-column-start: 3; }
67
- .offset-s2 { grid-column-start: 2; }
68
- .offset-s3 { grid-column-start: 4; }
69
- .offset-s4 { grid-column-start: 5; }
70
- .offset-s5 { grid-column-start: 6; }
71
- .offset-s6 { grid-column-start: 7; }
72
- .offset-s7 { grid-column-start: 8; }
73
- .offset-s8 { grid-column-start: 9; }
74
- .offset-s9 { grid-column-start: 10; }
75
- .offset-s10 { grid-column-start: 11; }
76
- .offset-s11 { grid-column-start: 12; }
77
-
78
- //--- M
79
- @media #{$medium-and-up} {
80
- .m1 { grid-column: auto / span 1; }
81
- .m2 { grid-column: auto / span 2; }
82
- .m3 { grid-column: auto / span 3; }
83
- .m4 { grid-column: auto / span 4; }
84
- .m5 { grid-column: auto / span 5; }
85
- .m6 { grid-column: auto / span 6; }
86
- .m7 { grid-column: auto / span 7; }
87
- .m8 { grid-column: auto / span 8; }
88
- .m9 { grid-column: auto / span 9; }
89
- .m10 { grid-column: auto / span 10; }
90
- .m11 { grid-column: auto / span 11; }
91
- .m12 { grid-column: auto / span 12; }
92
-
93
- .offset-m1 { grid-column-start: 2; }
94
- .offset-m2 { grid-column-start: 3; }
95
- .offset-m3 { grid-column-start: 4; }
96
- .offset-m4 { grid-column-start: 5; }
97
- .offset-m5 { grid-column-start: 6; }
98
- .offset-m6 { grid-column-start: 7; }
99
- .offset-m7 { grid-column-start: 8; }
100
- .offset-m8 { grid-column-start: 9; }
101
- .offset-m9 { grid-column-start: 10; }
102
- .offset-m10 { grid-column-start: 11; }
103
- .offset-m11 { grid-column-start: 12; }
104
- }
105
-
106
- //--- L
107
- @media #{$large-and-up} {
108
- .l1 { grid-column: auto / span 1; }
109
- .l2 { grid-column: auto / span 2; }
110
- .l3 { grid-column: auto / span 3; }
111
- .l4 { grid-column: auto / span 4; }
112
- .l5 { grid-column: auto / span 5; }
113
- .l6 { grid-column: auto / span 6; }
114
- .l7 { grid-column: auto / span 7; }
115
- .l8 { grid-column: auto / span 8; }
116
- .l9 { grid-column: auto / span 9; }
117
- .l10 { grid-column: auto / span 10; }
118
- .l11 { grid-column: auto / span 11; }
119
- .l12 { grid-column: auto / span 12; }
120
-
121
- .offset-l1 { grid-column-start: 2; }
122
- .offset-l2 { grid-column-start: 3; }
123
- .offset-l3 { grid-column-start: 4; }
124
- .offset-l4 { grid-column-start: 5; }
125
- .offset-l5 { grid-column-start: 6; }
126
- .offset-l6 { grid-column-start: 7; }
127
- .offset-l7 { grid-column-start: 8; }
128
- .offset-l8 { grid-column-start: 9; }
129
- .offset-l9 { grid-column-start: 10; }
130
- .offset-l10 { grid-column-start: 11; }
131
- .offset-l11 { grid-column-start: 12; }
132
- }
133
-
134
- //--- XL
135
- @media #{$extra-large-and-up} {
136
- .xl1 { grid-column: auto / span 1; }
137
- .xl2 { grid-column: auto / span 2; }
138
- .xl3 { grid-column: auto / span 3; }
139
- .xl4 { grid-column: auto / span 4; }
140
- .xl5 { grid-column: auto / span 5; }
141
- .xl6 { grid-column: auto / span 6; }
142
- .xl7 { grid-column: auto / span 7; }
143
- .xl8 { grid-column: auto / span 8; }
144
- .xl9 { grid-column: auto / span 9; }
145
- .xl10 { grid-column: auto / span 10; }
146
- .xl11 { grid-column: auto / span 11; }
147
- .xl12 { grid-column: auto / span 12; }
148
-
149
- .offset-xl1 { grid-column-start: 2; }
150
- .offset-xl2 { grid-column-start: 3; }
151
- .offset-xl3 { grid-column-start: 4; }
152
- .offset-xl4 { grid-column-start: 5; }
153
- .offset-xl5 { grid-column-start: 6; }
154
- .offset-xl6 { grid-column-start: 7; }
155
- .offset-xl7 { grid-column-start: 8; }
156
- .offset-xl8 { grid-column-start: 9; }
157
- .offset-xl9 { grid-column-start: 10; }
158
- .offset-xl10 { grid-column-start: 11; }
159
- .offset-xl11 { grid-column-start: 12; }
160
- }
161
-
162
- }
163
-
164
- //--- Gap
165
- .g-0 { gap: 0; }
166
- .g-1 { gap: calc(0.25 * var(--gap-size)); }
167
- .g-2 { gap: calc(0.5 * var(--gap-size)); }
168
- .g-3 { gap: calc(1 * var(--gap-size)); }
169
- .g-4 { gap: calc(1.5 * var(--gap-size)); }
170
- .g-5 { gap: calc(3 * var(--gap-size)); }
1
+ @use "sass:math";
2
+ @use './variables' as *;
3
+
4
+ .container {
5
+ margin: 0 auto;
6
+ max-width: 1280px;
7
+ width: 90%;
8
+ }
9
+
10
+ @media #{$medium-and-up} {
11
+ .container {
12
+ width: 85%;
13
+ }
14
+ }
15
+
16
+ @media #{$large-and-up} {
17
+ .container {
18
+ width: 70%;
19
+ }
20
+ }
21
+
22
+ .section {
23
+ padding: 1rem 0;
24
+ }
25
+
26
+ // Mixins to eliminate code repetition
27
+ @mixin reset-offset {
28
+ margin-left: auto;
29
+ left: auto;
30
+ right: auto;
31
+ }
32
+
33
+ @mixin grid-classes($size, $i, $perc) {
34
+ &.offset-#{$size}#{$i} {
35
+ margin-left: $perc;
36
+ }
37
+ &.pull-#{$size}#{$i} {
38
+ right: $perc;
39
+ }
40
+ &.push-#{$size}#{$i} {
41
+ left: $perc;
42
+ }
43
+ }
44
+
45
+ body {
46
+ --gap-size: 1.5rem; // default
47
+ }
48
+
49
+ .row {
50
+ display: grid;
51
+ grid-template-columns: repeat(12, 1fr);
52
+ gap: var(--gap-size);
53
+
54
+ //--- S
55
+ .s1 { grid-column: auto / span 1; }
56
+ .s2 { grid-column: auto / span 2; }
57
+ .s3 { grid-column: auto / span 3; }
58
+ .s4 { grid-column: auto / span 4; }
59
+ .s5 { grid-column: auto / span 5; }
60
+ .s6 { grid-column: auto / span 6; }
61
+ .s7 { grid-column: auto / span 7; }
62
+ .s8 { grid-column: auto / span 8; }
63
+ .s9 { grid-column: auto / span 9; }
64
+ .s10 { grid-column: auto / span 10; }
65
+ .s11 { grid-column: auto / span 11; }
66
+ .s12 { grid-column: auto / span 12; }
67
+
68
+ .offset-s1 { grid-column-start: 3; }
69
+ .offset-s2 { grid-column-start: 2; }
70
+ .offset-s3 { grid-column-start: 4; }
71
+ .offset-s4 { grid-column-start: 5; }
72
+ .offset-s5 { grid-column-start: 6; }
73
+ .offset-s6 { grid-column-start: 7; }
74
+ .offset-s7 { grid-column-start: 8; }
75
+ .offset-s8 { grid-column-start: 9; }
76
+ .offset-s9 { grid-column-start: 10; }
77
+ .offset-s10 { grid-column-start: 11; }
78
+ .offset-s11 { grid-column-start: 12; }
79
+
80
+ //--- M
81
+ @media #{$medium-and-up} {
82
+ .m1 { grid-column: auto / span 1; }
83
+ .m2 { grid-column: auto / span 2; }
84
+ .m3 { grid-column: auto / span 3; }
85
+ .m4 { grid-column: auto / span 4; }
86
+ .m5 { grid-column: auto / span 5; }
87
+ .m6 { grid-column: auto / span 6; }
88
+ .m7 { grid-column: auto / span 7; }
89
+ .m8 { grid-column: auto / span 8; }
90
+ .m9 { grid-column: auto / span 9; }
91
+ .m10 { grid-column: auto / span 10; }
92
+ .m11 { grid-column: auto / span 11; }
93
+ .m12 { grid-column: auto / span 12; }
94
+
95
+ .offset-m1 { grid-column-start: 2; }
96
+ .offset-m2 { grid-column-start: 3; }
97
+ .offset-m3 { grid-column-start: 4; }
98
+ .offset-m4 { grid-column-start: 5; }
99
+ .offset-m5 { grid-column-start: 6; }
100
+ .offset-m6 { grid-column-start: 7; }
101
+ .offset-m7 { grid-column-start: 8; }
102
+ .offset-m8 { grid-column-start: 9; }
103
+ .offset-m9 { grid-column-start: 10; }
104
+ .offset-m10 { grid-column-start: 11; }
105
+ .offset-m11 { grid-column-start: 12; }
106
+ }
107
+
108
+ //--- L
109
+ @media #{$large-and-up} {
110
+ .l1 { grid-column: auto / span 1; }
111
+ .l2 { grid-column: auto / span 2; }
112
+ .l3 { grid-column: auto / span 3; }
113
+ .l4 { grid-column: auto / span 4; }
114
+ .l5 { grid-column: auto / span 5; }
115
+ .l6 { grid-column: auto / span 6; }
116
+ .l7 { grid-column: auto / span 7; }
117
+ .l8 { grid-column: auto / span 8; }
118
+ .l9 { grid-column: auto / span 9; }
119
+ .l10 { grid-column: auto / span 10; }
120
+ .l11 { grid-column: auto / span 11; }
121
+ .l12 { grid-column: auto / span 12; }
122
+
123
+ .offset-l1 { grid-column-start: 2; }
124
+ .offset-l2 { grid-column-start: 3; }
125
+ .offset-l3 { grid-column-start: 4; }
126
+ .offset-l4 { grid-column-start: 5; }
127
+ .offset-l5 { grid-column-start: 6; }
128
+ .offset-l6 { grid-column-start: 7; }
129
+ .offset-l7 { grid-column-start: 8; }
130
+ .offset-l8 { grid-column-start: 9; }
131
+ .offset-l9 { grid-column-start: 10; }
132
+ .offset-l10 { grid-column-start: 11; }
133
+ .offset-l11 { grid-column-start: 12; }
134
+ }
135
+
136
+ //--- XL
137
+ @media #{$extra-large-and-up} {
138
+ .xl1 { grid-column: auto / span 1; }
139
+ .xl2 { grid-column: auto / span 2; }
140
+ .xl3 { grid-column: auto / span 3; }
141
+ .xl4 { grid-column: auto / span 4; }
142
+ .xl5 { grid-column: auto / span 5; }
143
+ .xl6 { grid-column: auto / span 6; }
144
+ .xl7 { grid-column: auto / span 7; }
145
+ .xl8 { grid-column: auto / span 8; }
146
+ .xl9 { grid-column: auto / span 9; }
147
+ .xl10 { grid-column: auto / span 10; }
148
+ .xl11 { grid-column: auto / span 11; }
149
+ .xl12 { grid-column: auto / span 12; }
150
+
151
+ .offset-xl1 { grid-column-start: 2; }
152
+ .offset-xl2 { grid-column-start: 3; }
153
+ .offset-xl3 { grid-column-start: 4; }
154
+ .offset-xl4 { grid-column-start: 5; }
155
+ .offset-xl5 { grid-column-start: 6; }
156
+ .offset-xl6 { grid-column-start: 7; }
157
+ .offset-xl7 { grid-column-start: 8; }
158
+ .offset-xl8 { grid-column-start: 9; }
159
+ .offset-xl9 { grid-column-start: 10; }
160
+ .offset-xl10 { grid-column-start: 11; }
161
+ .offset-xl11 { grid-column-start: 12; }
162
+ }
163
+
164
+ }
165
+
166
+ //--- Gap
167
+ .g-0 { gap: 0; }
168
+ .g-1 { gap: calc(0.25 * var(--gap-size)); }
169
+ .g-2 { gap: calc(0.5 * var(--gap-size)); }
170
+ .g-3 { gap: calc(1 * var(--gap-size)); }
171
+ .g-4 { gap: calc(1.5 * var(--gap-size)); }
172
+ .g-5 { gap: calc(3 * var(--gap-size)); }
@@ -1,32 +1,28 @@
1
- .table-of-contents {
2
- list-style: none;
3
-
4
- &.fixed {
5
- position: fixed;
6
- }
7
-
8
- li {
9
- padding: 0;
10
- }
11
-
12
- a {
13
- display: inline-block;
14
- font-weight: 400;
15
- color: var(--md-sys-color-secondary);
16
- padding-left: 16px;
17
- height: 2rem;
18
- line-height: 2rem;
19
- border-left: 1px solid var(--md-sys-color-outline-variant);
20
-
21
- &:hover {
22
- color: var(--md-sys-color-on-background);
23
- padding-left: 15px;
24
- }
25
- &.active {
26
- color: var(--md-sys-color-primary);
27
- font-weight: 500;
28
- padding-left: 14px;
29
- border-left: 2px solid var(--md-sys-color-primary);
30
- }
31
- }
32
- }
1
+ .table-of-contents {
2
+ list-style: none;
3
+ &.fixed {
4
+ position: fixed;
5
+ }
6
+ li {
7
+ padding: 0;
8
+ }
9
+ a {
10
+ display: inline-block;
11
+ font-weight: 400;
12
+ color: var(--md-sys-color-secondary);
13
+ padding-left: 16px;
14
+ height: 2rem;
15
+ line-height: 2rem;
16
+ border-left: 1px solid var(--md-sys-color-outline-variant);
17
+ &:hover {
18
+ color: var(--md-sys-color-on-background);
19
+ padding-left: 15px;
20
+ }
21
+ &.active {
22
+ color: var(--md-sys-color-primary);
23
+ font-weight: 500;
24
+ padding-left: 14px;
25
+ border-left: 2px solid var(--md-sys-color-primary);
26
+ }
27
+ }
28
+ }
@@ -1,103 +1,102 @@
1
- .tap-target-wrapper {
2
- width: 800px;
3
- height: 800px;
4
- position: fixed;
5
- z-index: 1000;
6
- visibility: hidden;
7
- transition: visibility 0s .3s;
8
- }
9
-
10
- .tap-target-wrapper.open {
11
- visibility: visible;
12
- transition: visibility 0s;
13
-
14
- .tap-target {
15
- transform: scale(1);
16
- opacity: .95;
17
- transition:
18
- transform .3s cubic-bezier(.42,0,.58,1),
19
- opacity .3s cubic-bezier(.42,0,.58,1);
20
- }
21
-
22
- .tap-target-wave::before {
23
- transform: scale(1);
24
- }
25
- .tap-target-wave::after {
26
- visibility: visible;
27
- animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
28
- transition:
29
- opacity .3s,
30
- transform .3s,
31
- visibility 0s 1s;
32
- }
33
- }
34
-
35
- .tap-target {
36
- position: absolute;
37
- font-size: 1rem;
38
- border-radius: 50%;
39
- background-color: var(--md-sys-color-primary-container);
40
- color: var(--md-sys-color-primary);
41
- box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.14), 0 10px 50px 0 rgba(0, 0, 0, 0.12), 0 30px 10px -20px rgba(0, 0, 0, 0.2);
42
- width: 100%;
43
- height: 100%;
44
- opacity: 0;
45
- transform: scale(0);
46
- transition: transform .3s cubic-bezier(.42, 0, .58, 1),
47
- opacity .3s cubic-bezier(.42, 0, .58, 1);
48
- }
49
-
50
- .tap-target-content {
51
- position: relative;
52
- display: table-cell;
53
- }
54
-
55
- .tap-target-wave {
56
- &::before,
57
- &::after {
58
- content: '';
59
- display: block;
60
- position: absolute;
61
- width: 100%;
62
- height: 100%;
63
- border-radius: 50%;
64
- background-color: var(--md-sys-color-surface)
65
- }
66
- &::before {
67
- transform: scale(0);
68
- transition: transform .3s;
69
- }
70
- &::after {
71
- visibility: hidden;
72
- transition:
73
- opacity .3s,
74
- transform .3s,
75
- visibility 0s;
76
- z-index: -1;
77
- }
78
-
79
- position: absolute;
80
- border-radius: 50%;
81
- z-index: 10001;
82
- }
83
-
84
- .tap-target-origin {
85
- &:not(.btn),
86
- &:not(.btn):hover {
87
- background: none;
88
- }
89
-
90
- top: 50%;
91
- left: 50%;
92
- transform: translate(-50%,-50%);
93
-
94
- z-index: 10002;
95
- position: absolute !important;
96
- }
97
-
98
- @media only screen and (max-width: 600px) {
99
- .tap-target, .tap-target-wrapper {
100
- width: 600px;
101
- height: 600px;
102
- }
103
- }
1
+ .tap-target-wrapper {
2
+ width: 800px;
3
+ height: 800px;
4
+ position: fixed;
5
+ z-index: 1000;
6
+ visibility: hidden;
7
+ transition: visibility 0s .3s;
8
+ }
9
+
10
+ .tap-target-wrapper.open {
11
+ visibility: visible;
12
+ transition: visibility 0s;
13
+
14
+ .tap-target {
15
+ transform: scale(1);
16
+ opacity: .95;
17
+ transition:
18
+ transform .3s cubic-bezier(.42,0,.58,1),
19
+ opacity .3s cubic-bezier(.42,0,.58,1);
20
+ }
21
+
22
+ .tap-target-wave::before {
23
+ transform: scale(1);
24
+ }
25
+ .tap-target-wave::after {
26
+ visibility: visible;
27
+ animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
28
+ transition:
29
+ opacity .3s,
30
+ transform .3s,
31
+ visibility 0s 1s;
32
+ }
33
+ }
34
+
35
+ .tap-target {
36
+ position: absolute;
37
+ font-size: 1rem;
38
+ border-radius: 50%;
39
+ background-color: var(--md-sys-color-primary-container);
40
+ color: var(--md-sys-color-primary);
41
+ box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.14), 0 10px 50px 0 rgba(0, 0, 0, 0.12), 0 30px 10px -20px rgba(0, 0, 0, 0.2);
42
+ width: 100%;
43
+ height: 100%;
44
+ opacity: 0;
45
+ transform: scale(0);
46
+ transition: transform .3s cubic-bezier(.42, 0, .58, 1),
47
+ opacity .3s cubic-bezier(.42, 0, .58, 1);
48
+ }
49
+
50
+ .tap-target-content {
51
+ position: relative;
52
+ display: table-cell;
53
+ }
54
+
55
+ .tap-target-wave {
56
+ position: absolute;
57
+ border-radius: 50%;
58
+ z-index: 10001;
59
+
60
+ &::before,
61
+ &::after {
62
+ content: '';
63
+ display: block;
64
+ position: absolute;
65
+ width: 100%;
66
+ height: 100%;
67
+ border-radius: 50%;
68
+ background-color: var(--md-sys-color-surface)
69
+ }
70
+ &::before {
71
+ transform: scale(0);
72
+ transition: transform .3s;
73
+ }
74
+ &::after {
75
+ visibility: hidden;
76
+ transition:
77
+ opacity .3s,
78
+ transform .3s,
79
+ visibility 0s;
80
+ z-index: -1;
81
+ }
82
+ }
83
+
84
+ .tap-target-origin {
85
+ top: 50%;
86
+ left: 50%;
87
+ z-index: 10002;
88
+ position: absolute !important;
89
+ transform: translate(-50%,-50%);
90
+
91
+ &:not(.btn),
92
+ &:not(.btn):hover {
93
+ background: none;
94
+ }
95
+ }
96
+
97
+ @media only screen and (max-width: 600px) {
98
+ .tap-target, .tap-target-wrapper {
99
+ width: 600px;
100
+ height: 600px;
101
+ }
102
+ }