beercss 3.13.2 → 4.0.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 (159) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +331 -328
  3. package/custom-element/index.d.ts +18 -18
  4. package/custom-element/index.js +7 -7
  5. package/dist/cdn/arch.svg +3 -3
  6. package/dist/cdn/arrow.svg +3 -3
  7. package/dist/cdn/beer.css +5904 -4792
  8. package/dist/cdn/beer.custom-element.js +37 -38
  9. package/dist/cdn/beer.custom-element.min.js +1 -1
  10. package/dist/cdn/beer.js +636 -635
  11. package/dist/cdn/beer.min.css +1 -1
  12. package/dist/cdn/beer.min.js +1 -1
  13. package/dist/cdn/beer.scoped.css +5909 -4793
  14. package/dist/cdn/beer.scoped.min.css +2 -1
  15. package/dist/cdn/boom.svg +3 -3
  16. package/dist/cdn/bun.svg +3 -3
  17. package/dist/cdn/burst.svg +3 -3
  18. package/dist/cdn/circle.svg +3 -3
  19. package/dist/cdn/clamshell.svg +3 -3
  20. package/dist/cdn/diamond.svg +3 -3
  21. package/dist/cdn/fan.svg +3 -3
  22. package/dist/cdn/flower.svg +3 -3
  23. package/dist/cdn/gem.svg +3 -3
  24. package/dist/cdn/ghost-ish.svg +3 -3
  25. package/dist/cdn/heart.svg +3 -3
  26. package/dist/cdn/leaf-clover4.svg +3 -3
  27. package/dist/cdn/leaf-clover8.svg +3 -3
  28. package/dist/cdn/loading-indicator.svg +18 -18
  29. package/dist/cdn/oval.svg +3 -3
  30. package/dist/cdn/pentagon.svg +3 -3
  31. package/dist/cdn/pill.svg +3 -3
  32. package/dist/cdn/pixel-circle.svg +3 -3
  33. package/dist/cdn/pixel-triangle.svg +3 -3
  34. package/dist/cdn/puffy-diamond.svg +3 -3
  35. package/dist/cdn/puffy.svg +3 -3
  36. package/dist/cdn/semicircle.svg +3 -3
  37. package/dist/cdn/sided-cookie12.svg +3 -3
  38. package/dist/cdn/sided-cookie4.svg +3 -3
  39. package/dist/cdn/sided-cookie6.svg +3 -3
  40. package/dist/cdn/sided-cookie7.svg +3 -3
  41. package/dist/cdn/sided-cookie9.svg +3 -3
  42. package/dist/cdn/slanted.svg +3 -3
  43. package/dist/cdn/soft-boom.svg +3 -3
  44. package/dist/cdn/soft-burst.svg +3 -3
  45. package/dist/cdn/square.svg +3 -3
  46. package/dist/cdn/sunny.svg +3 -3
  47. package/dist/cdn/triangle.svg +3 -3
  48. package/dist/cdn/very-sunny.svg +3 -3
  49. package/dist/cdn/wavy-circle.svg +3 -3
  50. package/dist/cdn/wavy.svg +4 -4
  51. package/index.d.ts +18 -18
  52. package/index.js +6 -6
  53. package/package.json +76 -76
  54. package/scoped/index.d.ts +18 -18
  55. package/scoped/index.js +6 -6
  56. package/src/cdn/beer.css +54 -52
  57. package/src/cdn/beer.ts +120 -120
  58. package/src/cdn/customElement.js +37 -38
  59. package/src/cdn/elements/badges.css +74 -74
  60. package/src/cdn/elements/bars.css +91 -91
  61. package/src/cdn/elements/buttons.css +105 -106
  62. package/src/cdn/elements/cards.css +26 -26
  63. package/src/cdn/elements/chips.css +37 -38
  64. package/src/cdn/elements/dialogs.css +145 -151
  65. package/src/cdn/elements/dialogs.ts +69 -69
  66. package/src/cdn/elements/dividers.css +48 -48
  67. package/src/cdn/elements/expansions.css +17 -10
  68. package/src/cdn/elements/fields.css +438 -439
  69. package/src/cdn/elements/fields.ts +165 -165
  70. package/src/cdn/elements/grids.css +171 -171
  71. package/src/cdn/elements/icons.css +77 -77
  72. package/src/cdn/elements/layouts.css +35 -35
  73. package/src/cdn/elements/lists.css +75 -71
  74. package/src/cdn/elements/mainLayouts.css +57 -57
  75. package/src/cdn/elements/media.css +112 -112
  76. package/src/cdn/elements/menus.css +294 -294
  77. package/src/cdn/elements/menus.ts +40 -40
  78. package/src/cdn/elements/navigations.css +461 -462
  79. package/src/cdn/elements/overlays.css +31 -31
  80. package/src/cdn/elements/pages.css +41 -41
  81. package/src/cdn/elements/pages.ts +6 -6
  82. package/src/cdn/elements/progress.css +207 -207
  83. package/src/cdn/elements/progress.ts +36 -34
  84. package/src/cdn/elements/selections.css +256 -256
  85. package/src/cdn/elements/shapes.css +258 -258
  86. package/src/cdn/elements/sliders.css +353 -357
  87. package/src/cdn/elements/sliders.ts +74 -74
  88. package/src/cdn/elements/snackbars.css +47 -47
  89. package/src/cdn/elements/snackbars.ts +26 -26
  90. package/src/cdn/elements/tables.css +65 -65
  91. package/src/cdn/elements/tabs.css +52 -52
  92. package/src/cdn/elements/tooltips.css +131 -131
  93. package/src/cdn/helpers/alignments.css +29 -29
  94. package/src/cdn/helpers/blurs.css +21 -21
  95. package/src/cdn/helpers/colors.css +930 -930
  96. package/src/cdn/helpers/directions.css +28 -28
  97. package/src/cdn/helpers/elevates.css +16 -16
  98. package/src/cdn/helpers/forms.css +75 -75
  99. package/src/cdn/helpers/margins.css +49 -49
  100. package/src/cdn/helpers/opacities.css +19 -19
  101. package/src/cdn/helpers/paddings.css +45 -45
  102. package/src/cdn/helpers/positions.css +45 -45
  103. package/src/cdn/helpers/responsive.css +22 -22
  104. package/src/cdn/helpers/ripples.css +33 -33
  105. package/src/cdn/helpers/ripples.ts +30 -30
  106. package/src/cdn/helpers/scrolls.css +7 -8
  107. package/src/cdn/helpers/shadows.css +23 -23
  108. package/src/cdn/helpers/sizes.css +45 -45
  109. package/src/cdn/helpers/spaces.css +19 -19
  110. package/src/cdn/helpers/typography.css +226 -225
  111. package/src/cdn/helpers/waves.css +43 -43
  112. package/src/cdn/helpers/zoom.css +19 -19
  113. package/src/cdn/interfaces.ts +3 -3
  114. package/src/cdn/settings/dark.css +38 -38
  115. package/src/cdn/settings/fonts.css +35 -35
  116. package/src/cdn/settings/globals.css +55 -18
  117. package/src/cdn/settings/light.css +39 -39
  118. package/src/cdn/{helpers → settings}/reset.css +76 -94
  119. package/src/cdn/{helpers → settings}/theme.css +186 -186
  120. package/src/cdn/{helpers → settings}/theme.ts +83 -83
  121. package/src/cdn/shapes/arch.svg +3 -3
  122. package/src/cdn/shapes/arrow.svg +3 -3
  123. package/src/cdn/shapes/boom.svg +3 -3
  124. package/src/cdn/shapes/bun.svg +3 -3
  125. package/src/cdn/shapes/burst.svg +3 -3
  126. package/src/cdn/shapes/circle.svg +3 -3
  127. package/src/cdn/shapes/clamshell.svg +3 -3
  128. package/src/cdn/shapes/diamond.svg +3 -3
  129. package/src/cdn/shapes/fan.svg +3 -3
  130. package/src/cdn/shapes/flower.svg +3 -3
  131. package/src/cdn/shapes/gem.svg +3 -3
  132. package/src/cdn/shapes/ghost-ish.svg +3 -3
  133. package/src/cdn/shapes/heart.svg +3 -3
  134. package/src/cdn/shapes/leaf-clover4.svg +3 -3
  135. package/src/cdn/shapes/leaf-clover8.svg +3 -3
  136. package/src/cdn/shapes/loading-indicator.svg +18 -18
  137. package/src/cdn/shapes/oval.svg +3 -3
  138. package/src/cdn/shapes/pentagon.svg +3 -3
  139. package/src/cdn/shapes/pill.svg +3 -3
  140. package/src/cdn/shapes/pixel-circle.svg +3 -3
  141. package/src/cdn/shapes/pixel-triangle.svg +3 -3
  142. package/src/cdn/shapes/puffy-diamond.svg +3 -3
  143. package/src/cdn/shapes/puffy.svg +3 -3
  144. package/src/cdn/shapes/semicircle.svg +3 -3
  145. package/src/cdn/shapes/sided-cookie12.svg +3 -3
  146. package/src/cdn/shapes/sided-cookie4.svg +3 -3
  147. package/src/cdn/shapes/sided-cookie6.svg +3 -3
  148. package/src/cdn/shapes/sided-cookie7.svg +3 -3
  149. package/src/cdn/shapes/sided-cookie9.svg +3 -3
  150. package/src/cdn/shapes/slanted.svg +3 -3
  151. package/src/cdn/shapes/soft-boom.svg +3 -3
  152. package/src/cdn/shapes/soft-burst.svg +3 -3
  153. package/src/cdn/shapes/square.svg +3 -3
  154. package/src/cdn/shapes/sunny.svg +3 -3
  155. package/src/cdn/shapes/triangle.svg +3 -3
  156. package/src/cdn/shapes/very-sunny.svg +3 -3
  157. package/src/cdn/shapes/wavy-circle.svg +3 -3
  158. package/src/cdn/shapes/wavy.svg +4 -4
  159. package/src/cdn/utils.ts +154 -154
@@ -1,28 +1,28 @@
1
- .horizontal {
2
- display: inline-flex;
3
- flex-direction: row !important;
4
- gap: 1rem;
5
- inline-size: auto !important;
6
- max-inline-size: none !important;
7
- }
8
-
9
- .horizontal > * {
10
- margin-block: 0 !important;
11
- }
12
-
13
- .vertical {
14
- display: flex;
15
- flex-direction: column !important;
16
- }
17
-
18
- :is(a, button, .button, .chip).vertical {
19
- display: inline-flex;
20
- gap: 0.25rem;
21
- block-size: auto !important;
22
- max-block-size: none !important;
23
- padding-block: 0.5rem;
24
- }
25
-
26
- .vertical > * {
27
- margin-inline: 0 !important;
28
- }
1
+ .horizontal {
2
+ display: inline-flex;
3
+ flex-direction: row !important;
4
+ gap: 1rem;
5
+ inline-size: auto !important;
6
+ max-inline-size: none !important;
7
+ }
8
+
9
+ .horizontal > * {
10
+ margin-block: 0 !important;
11
+ }
12
+
13
+ .vertical {
14
+ display: flex;
15
+ flex-direction: column !important;
16
+ }
17
+
18
+ :is(a, button, .button, .chip).vertical {
19
+ display: inline-flex;
20
+ gap: 0.25rem;
21
+ block-size: auto !important;
22
+ max-block-size: none !important;
23
+ padding-block: 0.5rem;
24
+ }
25
+
26
+ .vertical > * {
27
+ margin-inline: 0 !important;
28
+ }
@@ -1,16 +1,16 @@
1
- .no-elevate {
2
- box-shadow: none !important;
3
- }
4
-
5
- .small-elevate,
6
- .elevate {
7
- box-shadow: var(--elevate1) !important;
8
- }
9
-
10
- .medium-elevate {
11
- box-shadow: var(--elevate2) !important;
12
- }
13
-
14
- .large-elevate {
15
- box-shadow: var(--elevate3) !important;
16
- }
1
+ .no-elevate {
2
+ box-shadow: none !important;
3
+ }
4
+
5
+ .small-elevate,
6
+ .elevate {
7
+ box-shadow: var(--elevate1) !important;
8
+ }
9
+
10
+ .medium-elevate {
11
+ box-shadow: var(--elevate2) !important;
12
+ }
13
+
14
+ .large-elevate {
15
+ box-shadow: var(--elevate3) !important;
16
+ }
@@ -1,75 +1,75 @@
1
- .round,
2
- [class*=-round] {
3
- --_round: 2rem;
4
- border-radius: var(--_round) !important;
5
- }
6
-
7
- .small-round {
8
- --_round: 0.5rem;
9
- }
10
-
11
- .large-round {
12
- --_round: 3.5rem;
13
- }
14
-
15
- .no-round,
16
- .square,
17
- .top-round,
18
- .bottom-round,
19
- .left-round,
20
- .right-round {
21
- border-radius: 0.5rem !important;
22
- }
23
-
24
- .top-round {
25
- border-start-start-radius: var(--_round) !important;
26
- border-start-end-radius: var(--_round) !important;
27
- }
28
-
29
- .bottom-round {
30
- border-end-end-radius: var(--_round) !important;
31
- border-end-start-radius: var(--_round) !important;
32
- }
33
-
34
- .left-round {
35
- border-start-start-radius: var(--_round) !important;
36
- border-end-start-radius: var(--_round) !important;
37
- }
38
-
39
- .right-round {
40
- border-start-end-radius: var(--_round) !important;
41
- border-end-end-radius: var(--_round) !important;
42
- }
43
-
44
- .circle:not(.extend) {
45
- border-radius: 50%;
46
- }
47
-
48
- :is(.circle, .square):is(button, .button, .chip) {
49
- padding: 0;
50
- block-size: var(--_size);
51
- inline-size: var(--_size);
52
- }
53
-
54
- :is(.circle, .square) > span {
55
- display: none;
56
- }
57
-
58
- :is(.circle, .square).round {
59
- border-radius: 1rem !important;
60
- }
61
-
62
- .border:not(table, .field, .list, menu, article) {
63
- box-sizing: border-box;
64
- border: 0.0625rem solid var(--outline);
65
- background-color: transparent;
66
- box-shadow: none;
67
- }
68
-
69
- .no-border {
70
- border-color: transparent !important;
71
- }
72
-
73
- .border:not(.extend, .circle, .square, .badge) {
74
- box-sizing: content-box;
75
- }
1
+ .round,
2
+ [class*=-round] {
3
+ --_round: 2rem;
4
+ border-radius: var(--_round) !important;
5
+ }
6
+
7
+ .small-round {
8
+ --_round: 0.5rem;
9
+ }
10
+
11
+ .large-round {
12
+ --_round: 3.5rem;
13
+ }
14
+
15
+ .no-round,
16
+ .square,
17
+ .top-round,
18
+ .bottom-round,
19
+ .left-round,
20
+ .right-round {
21
+ border-radius: 0.5rem !important;
22
+ }
23
+
24
+ .top-round {
25
+ border-start-start-radius: var(--_round) !important;
26
+ border-start-end-radius: var(--_round) !important;
27
+ }
28
+
29
+ .bottom-round {
30
+ border-end-end-radius: var(--_round) !important;
31
+ border-end-start-radius: var(--_round) !important;
32
+ }
33
+
34
+ .left-round {
35
+ border-start-start-radius: var(--_round) !important;
36
+ border-end-start-radius: var(--_round) !important;
37
+ }
38
+
39
+ .right-round {
40
+ border-start-end-radius: var(--_round) !important;
41
+ border-end-end-radius: var(--_round) !important;
42
+ }
43
+
44
+ .circle:not(.extend) {
45
+ border-radius: 50%;
46
+ }
47
+
48
+ :is(.circle, .square):is(button, .button, .chip) {
49
+ padding: 0;
50
+ block-size: var(--_size);
51
+ inline-size: var(--_size);
52
+ }
53
+
54
+ :is(.circle, .square) > span:not([class]) {
55
+ display: none;
56
+ }
57
+
58
+ :is(.circle, .square).round {
59
+ border-radius: 1rem !important;
60
+ }
61
+
62
+ .border:not(table, .field, .list, menu, article) {
63
+ box-sizing: border-box;
64
+ border: 0.0625rem solid var(--outline);
65
+ background-color: transparent;
66
+ box-shadow: none;
67
+ }
68
+
69
+ .no-border {
70
+ border-color: transparent !important;
71
+ }
72
+
73
+ .border:not(.extend, .circle, .square, .badge) {
74
+ box-sizing: content-box;
75
+ }
@@ -1,49 +1,49 @@
1
- .margin,
2
- [class*=-margin]:not(.left-margin, .right-margin, .top-margin, .bottom-margin, .horizontal-margin, .vertical-margin) {
3
- margin: var(--_margin) !important;
4
- }
5
-
6
- .margin,
7
- [class*=-margin] {
8
- --_margin: 1rem;
9
- }
10
-
11
- .no-margin {
12
- --_margin: 0;
13
- }
14
-
15
- .auto-margin {
16
- --_margin: auto;
17
- }
18
-
19
- .tiny-margin {
20
- --_margin: 0.25rem;
21
- }
22
-
23
- .small-margin {
24
- --_margin: 0.5rem;
25
- }
26
-
27
- .large-margin {
28
- --_margin: 1.5rem;
29
- }
30
-
31
- .left-margin,
32
- .horizontal-margin {
33
- margin-inline-start: var(--_margin) !important;
34
- }
35
-
36
- .right-margin,
37
- .horizontal-margin {
38
- margin-inline-end: var(--_margin) !important;
39
- }
40
-
41
- .top-margin,
42
- .vertical-margin {
43
- margin-block-start: var(--_margin) !important;
44
- }
45
-
46
- .bottom-margin,
47
- .vertical-margin {
48
- margin-block-end: var(--_margin) !important;
49
- }
1
+ .margin,
2
+ [class*=-margin]:not(.left-margin, .right-margin, .top-margin, .bottom-margin, .horizontal-margin, .vertical-margin) {
3
+ margin: var(--_margin) !important;
4
+ }
5
+
6
+ .margin,
7
+ [class*=-margin] {
8
+ --_margin: 1rem;
9
+ }
10
+
11
+ .no-margin {
12
+ --_margin: 0;
13
+ }
14
+
15
+ .auto-margin {
16
+ --_margin: auto;
17
+ }
18
+
19
+ .tiny-margin {
20
+ --_margin: 0.25rem;
21
+ }
22
+
23
+ .small-margin {
24
+ --_margin: 0.5rem;
25
+ }
26
+
27
+ .large-margin {
28
+ --_margin: 1.5rem;
29
+ }
30
+
31
+ .left-margin,
32
+ .horizontal-margin {
33
+ margin-inline-start: var(--_margin) !important;
34
+ }
35
+
36
+ .right-margin,
37
+ .horizontal-margin {
38
+ margin-inline-end: var(--_margin) !important;
39
+ }
40
+
41
+ .top-margin,
42
+ .vertical-margin {
43
+ margin-block-start: var(--_margin) !important;
44
+ }
45
+
46
+ .bottom-margin,
47
+ .vertical-margin {
48
+ margin-block-end: var(--_margin) !important;
49
+ }
@@ -1,19 +1,19 @@
1
- .no-opacity {
2
- opacity: 1 !important;
3
- }
4
-
5
- .opacity {
6
- opacity: 0 !important;
7
- }
8
-
9
- .small-opacity {
10
- opacity: 0.75 !important;
11
- }
12
-
13
- .medium-opacity {
14
- opacity: 0.5 !important;
15
- }
16
-
17
- .large-opacity {
18
- opacity: 0.25 !important;
19
- }
1
+ .no-opacity {
2
+ opacity: 1 !important;
3
+ }
4
+
5
+ .opacity {
6
+ opacity: 0 !important;
7
+ }
8
+
9
+ .small-opacity {
10
+ opacity: 0.75 !important;
11
+ }
12
+
13
+ .medium-opacity {
14
+ opacity: 0.5 !important;
15
+ }
16
+
17
+ .large-opacity {
18
+ opacity: 0.25 !important;
19
+ }
@@ -1,45 +1,45 @@
1
- .padding,
2
- [class*=-padding]:not(.left-padding, .right-padding, .top-padding, .bottom-padding, .horizontal-padding, .vertical-padding) {
3
- padding: var(--_padding) !important;
4
- }
5
-
6
- .padding,
7
- [class*=-padding] {
8
- --_padding: 1rem;
9
- }
10
-
11
- .no-padding {
12
- --_padding: 0 !important;
13
- }
14
-
15
- .tiny-padding {
16
- --_padding: 0.25rem !important;
17
- }
18
-
19
- .small-padding {
20
- --_padding: 0.5rem !important;
21
- }
22
-
23
- .large-padding {
24
- --_padding: 1.5rem !important;
25
- }
26
-
27
- .left-padding,
28
- .horizontal-padding {
29
- padding-inline-start: var(--_padding) !important;
30
- }
31
-
32
- .right-padding,
33
- .horizontal-padding {
34
- padding-inline-end: var(--_padding) !important;
35
- }
36
-
37
- .top-padding,
38
- .vertical-padding {
39
- padding-block-start: var(--_padding) !important;
40
- }
41
-
42
- .bottom-padding,
43
- .vertical-padding {
44
- padding-block-end: var(--_padding) !important;
45
- }
1
+ .padding,
2
+ [class*=-padding]:not(.left-padding, .right-padding, .top-padding, .bottom-padding, .horizontal-padding, .vertical-padding) {
3
+ padding: var(--_padding) !important;
4
+ }
5
+
6
+ .padding,
7
+ [class*=-padding] {
8
+ --_padding: 1rem;
9
+ }
10
+
11
+ .no-padding {
12
+ --_padding: 0 !important;
13
+ }
14
+
15
+ .tiny-padding {
16
+ --_padding: 0.25rem !important;
17
+ }
18
+
19
+ .small-padding {
20
+ --_padding: 0.5rem !important;
21
+ }
22
+
23
+ .large-padding {
24
+ --_padding: 1.5rem !important;
25
+ }
26
+
27
+ .left-padding,
28
+ .horizontal-padding {
29
+ padding-inline-start: var(--_padding) !important;
30
+ }
31
+
32
+ .right-padding,
33
+ .horizontal-padding {
34
+ padding-inline-end: var(--_padding) !important;
35
+ }
36
+
37
+ .top-padding,
38
+ .vertical-padding {
39
+ padding-block-start: var(--_padding) !important;
40
+ }
41
+
42
+ .bottom-padding,
43
+ .vertical-padding {
44
+ padding-block-end: var(--_padding) !important;
45
+ }
@@ -1,45 +1,45 @@
1
- .front {
2
- z-index: 10 !important;
3
- }
4
-
5
- .back {
6
- z-index: -10 !important;
7
- }
8
-
9
- .left {
10
- inset-inline-start: 0;
11
- }
12
-
13
- .right {
14
- inset-inline-end: 0;
15
- }
16
-
17
- .top {
18
- inset-block-start: 0;
19
- }
20
-
21
- .bottom {
22
- inset-block-end: 0;
23
- }
24
-
25
- .center {
26
- inset-inline-start: 50%;
27
- transform: translateX(-50%);
28
- }
29
-
30
- [dir=rtl] .center {
31
- transform: translateX(50%);
32
- }
33
-
34
- .middle {
35
- inset-block-start: 50%;
36
- transform: translateY(-50%);
37
- }
38
-
39
- .middle.center {
40
- transform: translate(-50%, -50%);
41
- }
42
-
43
- [dir=rtl] .middle.center {
44
- transform: translate(50%, -50%);
45
- }
1
+ .front {
2
+ z-index: 10 !important;
3
+ }
4
+
5
+ .back {
6
+ z-index: -10 !important;
7
+ }
8
+
9
+ .left {
10
+ inset-inline-start: 0;
11
+ }
12
+
13
+ .right {
14
+ inset-inline-end: 0;
15
+ }
16
+
17
+ .top {
18
+ inset-block-start: 0;
19
+ }
20
+
21
+ .bottom {
22
+ inset-block-end: 0;
23
+ }
24
+
25
+ .center {
26
+ inset-inline-start: 50%;
27
+ transform: translateX(-50%);
28
+ }
29
+
30
+ [dir=rtl] .center {
31
+ transform: translateX(50%);
32
+ }
33
+
34
+ .middle {
35
+ inset-block-start: 50%;
36
+ transform: translateY(-50%);
37
+ }
38
+
39
+ .middle.center {
40
+ transform: translate(-50%, -50%);
41
+ }
42
+
43
+ [dir=rtl] .middle.center {
44
+ transform: translate(50%, -50%);
45
+ }
@@ -1,22 +1,22 @@
1
- .responsive {
2
- inline-size: -webkit-fill-available;
3
- inline-size: -moz-available;
4
- }
5
-
6
- @media only screen and (max-width: 600px) {
7
- :is(.m, .l):not(.s) {
8
- display: none !important;
9
- }
10
- }
11
-
12
- @media only screen and (min-width: 601px) and (max-width: 992px) {
13
- :is(.s, .l):not(.m) {
14
- display: none !important;
15
- }
16
- }
17
-
18
- @media only screen and (min-width: 993px) {
19
- :is(.m, .s):not(.l) {
20
- display: none !important;
21
- }
22
- }
1
+ .responsive {
2
+ inline-size: -webkit-fill-available;
3
+ inline-size: -moz-available;
4
+ }
5
+
6
+ @media only screen and (max-width: 600px) {
7
+ :is(.m, .l):not(.s) {
8
+ display: none !important;
9
+ }
10
+ }
11
+
12
+ @media only screen and (min-width: 601px) and (max-width: 992px) {
13
+ :is(.s, .l):not(.m) {
14
+ display: none !important;
15
+ }
16
+ }
17
+
18
+ @media only screen and (min-width: 993px) {
19
+ :is(.m, .s):not(.l) {
20
+ display: none !important;
21
+ }
22
+ }
@@ -1,34 +1,34 @@
1
- .ripple {
2
- --_duration: 600ms;
3
- }
4
-
5
- .fast-ripple {
6
- --_duration: 200ms;
7
- }
8
-
9
- .slow-ripple {
10
- --_duration: 1800ms;
11
- }
12
-
13
- .ripple-js {
14
- position: absolute;
15
- inset: 0;
16
- pointer-events: none;
17
- overflow: hidden;
18
- }
19
-
20
- .ripple-js > div {
21
- position: absolute;
22
- border-radius: 50%;
23
- background: currentColor;
24
- opacity: 0.3;
25
- transform: scale(0);
26
- animation: to-ripple var(--_duration) linear;
27
- }
28
-
29
- @keyframes to-ripple {
30
- to {
31
- transform: scale(4);
32
- opacity: 0;
33
- }
1
+ .ripple {
2
+ --_duration: 600ms;
3
+ }
4
+
5
+ .fast-ripple {
6
+ --_duration: 200ms;
7
+ }
8
+
9
+ .slow-ripple {
10
+ --_duration: 1800ms;
11
+ }
12
+
13
+ .ripple-js {
14
+ position: absolute;
15
+ inset: 0;
16
+ pointer-events: none;
17
+ overflow: hidden;
18
+ }
19
+
20
+ .ripple-js > div {
21
+ position: absolute;
22
+ border-radius: 50%;
23
+ background: currentColor;
24
+ opacity: 0.3;
25
+ transform: scale(0);
26
+ animation: to-ripple var(--_duration) linear;
27
+ }
28
+
29
+ @keyframes to-ripple {
30
+ to {
31
+ transform: scale(4);
32
+ opacity: 0;
33
+ }
34
34
  }