beercss 2.3.0 → 3.0.1

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 (67) hide show
  1. package/README.md +45 -35
  2. package/dist/cdn/beer.min.css +1 -1
  3. package/dist/cdn/beer.min.js +1 -1
  4. package/dist/cdn/material-symbols-outlined.woff2 +0 -0
  5. package/dist/cdn/roboto-flex-cyrillic-ext.woff2 +0 -0
  6. package/dist/cdn/roboto-flex-cyrillic.woff2 +0 -0
  7. package/dist/cdn/roboto-flex-greek.woff2 +0 -0
  8. package/dist/cdn/roboto-flex-latin-ext.woff2 +0 -0
  9. package/dist/cdn/roboto-flex-latin.woff2 +0 -0
  10. package/dist/cdn/roboto-flex-vietnamese.woff2 +0 -0
  11. package/index.js +10 -2
  12. package/package.json +17 -2
  13. package/src/cdn/beer.css +2 -2
  14. package/src/cdn/beer.ts +164 -166
  15. package/src/cdn/elements/badges.css +7 -7
  16. package/src/cdn/elements/buttons.css +24 -24
  17. package/src/cdn/elements/cards.css +7 -7
  18. package/src/cdn/elements/chips.css +14 -14
  19. package/src/cdn/elements/containers.css +30 -21
  20. package/src/cdn/elements/dropdowns.css +5 -5
  21. package/src/cdn/elements/expansions.css +9 -5
  22. package/src/cdn/elements/fields.css +70 -70
  23. package/src/cdn/elements/grids.css +31 -30
  24. package/src/cdn/elements/icons.css +18 -18
  25. package/src/cdn/elements/layouts.css +17 -17
  26. package/src/cdn/elements/loaders.css +45 -35
  27. package/src/cdn/elements/media.css +37 -37
  28. package/src/cdn/elements/modals.css +17 -17
  29. package/src/cdn/elements/navigations.css +31 -31
  30. package/src/cdn/elements/overlays.css +1 -1
  31. package/src/cdn/elements/pages.css +10 -6
  32. package/src/cdn/elements/progress.css +2 -2
  33. package/src/cdn/elements/selections.css +31 -30
  34. package/src/cdn/elements/tables.css +14 -14
  35. package/src/cdn/elements/tabs.css +22 -12
  36. package/src/cdn/elements/toasts.css +12 -10
  37. package/src/cdn/elements/tooltips.css +10 -10
  38. package/src/cdn/helpers/alignments.css +1 -1
  39. package/src/cdn/helpers/colors.css +215 -215
  40. package/src/cdn/helpers/directions.css +4 -6
  41. package/src/cdn/helpers/dividers.css +5 -5
  42. package/src/cdn/helpers/elevates.css +1 -1
  43. package/src/cdn/helpers/forms.css +21 -21
  44. package/src/cdn/helpers/margins.css +5 -5
  45. package/src/cdn/helpers/opacities.css +1 -1
  46. package/src/cdn/helpers/paddings.css +5 -5
  47. package/src/cdn/helpers/positions.css +1 -1
  48. package/src/cdn/helpers/reset.css +2 -2
  49. package/src/cdn/helpers/responsive.css +2 -1
  50. package/src/cdn/helpers/scrolls.css +1 -2
  51. package/src/cdn/helpers/shadows.css +1 -1
  52. package/src/cdn/helpers/sizes.css +7 -7
  53. package/src/cdn/helpers/spaces.css +5 -5
  54. package/src/cdn/helpers/theme.css +38 -38
  55. package/src/cdn/helpers/typography.css +63 -14
  56. package/src/cdn/helpers/waves.css +10 -10
  57. package/src/cdn/material-symbols-outlined.woff2 +0 -0
  58. package/src/cdn/roboto-flex-cyrillic-ext.woff2 +0 -0
  59. package/src/cdn/roboto-flex-cyrillic.woff2 +0 -0
  60. package/src/cdn/roboto-flex-greek.woff2 +0 -0
  61. package/src/cdn/roboto-flex-latin-ext.woff2 +0 -0
  62. package/src/cdn/roboto-flex-latin.woff2 +0 -0
  63. package/src/cdn/roboto-flex-vietnamese.woff2 +0 -0
  64. package/src/cdn/settings/dark.css +13 -14
  65. package/src/cdn/settings/fonts.css +206 -0
  66. package/src/cdn/settings/light.css +17 -18
  67. package/src/cdn/settings/urls.css +0 -1
@@ -1,9 +1,7 @@
1
-
2
-
3
1
  .horizontal {
4
2
  display: inline-flex;
5
3
  flex-direction: row !important;
6
- gap: 16rem;
4
+ gap: 1rem;
7
5
  width: auto !important;
8
6
  max-width: none !important;
9
7
  }
@@ -19,11 +17,11 @@ button.vertical,
19
17
  .chip.vertical {
20
18
  display: inline-flex;
21
19
  flex-direction: column !important;
22
- gap: 4rem;
20
+ gap: 0.25rem;
23
21
  height: auto !important;
24
22
  max-height: none !important;
25
- padding-top: 8rem;
26
- padding-bottom: 8rem;
23
+ padding-top: 0.5rem;
24
+ padding-bottom: 0.5rem;
27
25
  }
28
26
 
29
27
  .vertical > * {
@@ -2,19 +2,19 @@
2
2
  .small-divider,
3
3
  .medium-divider,
4
4
  .large-divider {
5
- border-bottom: 1rem solid var(--outline);
5
+ border-bottom: 0.0625rem solid var(--outline);
6
6
  display: block;
7
7
  margin: 0 !important;
8
8
  }
9
9
 
10
10
  .medium-divider {
11
- margin: 16rem 0 !important;
11
+ margin: 1rem 0 !important;
12
12
  }
13
13
 
14
14
  .large-divider {
15
- margin: 24rem 0 !important;
15
+ margin: 1.5rem 0 !important;
16
16
  }
17
17
 
18
18
  .small-divider {
19
- margin: 8rem 0 !important;
20
- }
19
+ margin: 0.5rem 0 !important;
20
+ }
@@ -13,4 +13,4 @@
13
13
 
14
14
  .large-elevate {
15
15
  box-shadow: var(--elevate3) !important;
16
- }
16
+ }
@@ -1,5 +1,5 @@
1
1
  .round:not(img, video) {
2
- border-radius: 32rem !important;
2
+ border-radius: 2rem !important;
3
3
  }
4
4
 
5
5
  .no-round {
@@ -7,41 +7,41 @@
7
7
  }
8
8
 
9
9
  .top-round {
10
- border-radius: 32rem 32rem 0 0 !important;
10
+ border-radius: 2rem 2rem 0 0 !important;
11
11
  }
12
12
 
13
13
  .bottom-round {
14
- border-radius: 0 0 32rem 32rem !important;
14
+ border-radius: 0 0 2rem 2rem !important;
15
15
  }
16
16
 
17
17
  .left-round {
18
- border-radius: 32rem 0 0 32rem !important;
18
+ border-radius: 2rem 0 0 2rem !important;
19
19
  }
20
20
 
21
21
  .right-round {
22
- border-radius: 0 32rem 32rem 0 !important;
22
+ border-radius: 0 2rem 2rem 0 !important;
23
23
  }
24
24
 
25
25
  .top-round.left-round {
26
- border-radius: 32rem 32rem 0 32rem !important;
26
+ border-radius: 2rem 2rem 0 !important;
27
27
  }
28
28
 
29
29
  .top-round.right-round {
30
- border-radius: 32rem 32rem 32rem 0 !important;
30
+ border-radius: 2rem 2rem 2rem 0 !important;
31
31
  }
32
32
 
33
33
  .bottom-round.left-round {
34
- border-radius: 32rem 0 32rem 32rem !important;
34
+ border-radius: 2rem 0 2rem 2rem !important;
35
35
  }
36
36
 
37
37
  .bottom-round.right-round {
38
- border-radius: 0 32rem 32rem 32rem !important;
38
+ border-radius: 0 2rem 2rem !important;
39
39
  }
40
40
 
41
41
  .circle:not(img, video),
42
42
  .square:not(img, video) {
43
- height: 40rem;
44
- width: 40rem;
43
+ height: 2.5rem;
44
+ width: 2.5rem;
45
45
  padding: 0;
46
46
  }
47
47
 
@@ -52,30 +52,30 @@
52
52
 
53
53
  .square.small:not(img, video),
54
54
  .circle.small:not(img, video) {
55
- height: 32rem;
56
- width: 32rem;
55
+ height: 2rem;
56
+ width: 2rem;
57
57
  }
58
58
 
59
59
  .square.large:not(img, video),
60
60
  .circle.large:not(img, video) {
61
- height: 48rem;
62
- width: 48rem;
61
+ height: 3rem;
62
+ width: 3rem;
63
63
  }
64
64
 
65
65
  .square.extra:not(img, video),
66
66
  .circle.extra:not(img, video) {
67
- height: 56rem;
68
- width: 56rem;
67
+ height: 3.5rem;
68
+ width: 3.5rem;
69
69
  }
70
70
 
71
71
  .square.round,
72
72
  .circle.round {
73
- border-radius: 16rem !important;
73
+ border-radius: 1rem !important;
74
74
  }
75
75
 
76
- .border:not(table, .field) {
76
+ .border:not(table, .field) {
77
77
  box-sizing: border-box;
78
- border: 1rem solid var(--outline);
78
+ border: 0.0625rem solid var(--outline);
79
79
  background-color: transparent;
80
80
  box-shadow: none;
81
- }
81
+ }
@@ -3,18 +3,18 @@
3
3
  }
4
4
 
5
5
  .tiny-margin {
6
- padding: 4rem !important;
6
+ padding: 0.25rem !important;
7
7
  }
8
8
 
9
9
  .small-margin {
10
- margin: 8rem !important;
10
+ margin: 0.5rem !important;
11
11
  }
12
12
 
13
13
  .medium-margin,
14
14
  .margin {
15
- margin: 16rem !important;
15
+ margin: 1rem !important;
16
16
  }
17
17
 
18
18
  .large-margin {
19
- margin: 24rem !important;
20
- }
19
+ margin: 1.5rem !important;
20
+ }
@@ -4,4 +4,4 @@
4
4
 
5
5
  .opacity {
6
6
  opacity: 1;
7
- }
7
+ }
@@ -3,18 +3,18 @@
3
3
  }
4
4
 
5
5
  .tiny-padding {
6
- padding: 4rem !important;
6
+ padding: 0.25rem !important;
7
7
  }
8
8
 
9
9
  .small-padding {
10
- padding: 8rem !important;
10
+ padding: 0.5rem !important;
11
11
  }
12
12
 
13
13
  .medium-padding,
14
14
  .padding {
15
- padding: 16rem !important;
15
+ padding: 1rem !important;
16
16
  }
17
17
 
18
18
  .large-padding {
19
- padding: 24rem !important;
20
- }
19
+ padding: 1.5rem !important;
20
+ }
@@ -34,4 +34,4 @@
34
34
 
35
35
  .middle.center {
36
36
  transform: translate(-50%, -50%);
37
- }
37
+ }
@@ -16,7 +16,7 @@ body {
16
16
  }
17
17
 
18
18
  label {
19
- font-size: 12rem;
19
+ font-size: 0.75rem;
20
20
  vertical-align: baseline;
21
21
  }
22
22
 
@@ -38,4 +38,4 @@ button,
38
38
  font-family: inherit;
39
39
  outline: inherit;
40
40
  justify-content: center;
41
- }
41
+ }
@@ -1,6 +1,7 @@
1
1
  .responsive {
2
2
  width: -webkit-fill-available;
3
3
  width: -moz-available;
4
+ width: stretch;
4
5
  }
5
6
 
6
7
  @media only screen and (max-width: 600px) {
@@ -25,4 +26,4 @@
25
26
  .m.s:not(.l) {
26
27
  display: none;
27
28
  }
28
- }
29
+ }
@@ -1,8 +1,7 @@
1
1
  .scroll {
2
2
  overflow: auto;
3
- padding-bottom: 16rem;
4
3
  }
5
4
 
6
5
  .no-scroll {
7
6
  overflow: hidden;
8
- }
7
+ }
@@ -20,4 +20,4 @@
20
20
  .top-shadow {
21
21
  background-color: transparent !important;
22
22
  background-image: linear-gradient(to bottom, black, transparent);
23
- }
23
+ }
@@ -1,28 +1,28 @@
1
1
  .small-width {
2
- width: 192rem !important;
2
+ width: 12rem !important;
3
3
  max-width: 100%;
4
4
  }
5
5
 
6
6
  .medium-width {
7
- width: 384rem !important;
7
+ width: 24rem !important;
8
8
  max-width: 100%;
9
9
  }
10
10
 
11
11
  .large-width {
12
- width: 576rem !important;
12
+ width: 36rem !important;
13
13
  max-width: 100%;
14
14
  }
15
15
 
16
16
  .small-height {
17
- height: 192rem !important;
17
+ height: 12rem !important;
18
18
  }
19
19
 
20
20
  .medium-height {
21
- height: 384rem !important;
21
+ height: 24rem !important;
22
22
  }
23
23
 
24
24
  .large-height {
25
- height: 576rem !important;
25
+ height: 36rem !important;
26
26
  }
27
27
 
28
28
  .wrap {
@@ -33,4 +33,4 @@
33
33
  .no-wrap:not(.dropdown) {
34
34
  display: flex;
35
35
  white-space: nowrap;
36
- }
36
+ }
@@ -1,16 +1,16 @@
1
1
  .tiny-space:not(nav, .row, .grid, table) {
2
- height: 8rem;
2
+ height: 0.5rem;
3
3
  }
4
4
 
5
5
  .space:not(nav, .row, .grid, table),
6
6
  .small-space:not(nav, .row, .grid, table) {
7
- height: 16rem;
7
+ height: 1rem;
8
8
  }
9
9
 
10
10
  .medium-space:not(nav, .row, .grid, table) {
11
- height: 32rem;
11
+ height: 2rem;
12
12
  }
13
13
 
14
14
  .large-space:not(nav, .row, .grid, table) {
15
- height: 48rem;
16
- }
15
+ height: 3rem;
16
+ }
@@ -1,117 +1,117 @@
1
1
  .primary {
2
- background-color: var(--primary)!important;
3
- color: var(--on-primary)!important;
2
+ background-color: var(--primary) !important;
3
+ color: var(--on-primary) !important;
4
4
  }
5
5
 
6
6
  .primary-text {
7
- color: var(--primary)!important;
7
+ color: var(--primary) !important;
8
8
  }
9
9
 
10
10
  .primary-border {
11
- border-color: var(--primary)!important;
11
+ border-color: var(--primary) !important;
12
12
  }
13
13
 
14
14
  .primary-container {
15
- background-color: var(--primary-container)!important;
16
- color: var(--on-primary-container)!important;
15
+ background-color: var(--primary-container) !important;
16
+ color: var(--on-primary-container) !important;
17
17
  }
18
18
 
19
19
  .secondary {
20
- background-color: var(--secondary)!important;
21
- color: var(--on-secondary)!important;
20
+ background-color: var(--secondary) !important;
21
+ color: var(--on-secondary) !important;
22
22
  }
23
23
 
24
24
  .secondary-text {
25
- color: var(--secondary)!important;
25
+ color: var(--secondary) !important;
26
26
  }
27
27
 
28
28
  .secondary-border {
29
- border-color: var(--secondary)!important;
29
+ border-color: var(--secondary) !important;
30
30
  }
31
31
 
32
32
  .secondary-container {
33
- background-color: var(--secondary-container)!important;
34
- color: var(--on-secondary-container)!important;
33
+ background-color: var(--secondary-container) !important;
34
+ color: var(--on-secondary-container) !important;
35
35
  }
36
36
 
37
37
  .tertiary {
38
- background-color: var(--tertiary)!important;
39
- color: var(--on-tertiary)!important;
38
+ background-color: var(--tertiary) !important;
39
+ color: var(--on-tertiary) !important;
40
40
  }
41
41
 
42
42
  .tertiary-text {
43
- color: var(--tertiary)!important;
43
+ color: var(--tertiary) !important;
44
44
  }
45
45
 
46
46
  .tertiary-border {
47
- border-color: var(--tertiary)!important;
47
+ border-color: var(--tertiary) !important;
48
48
  }
49
49
 
50
50
  .tertiary-container {
51
- background-color: var(--tertiary-container)!important;
52
- color: var(--on-tertiary-container)!important;
51
+ background-color: var(--tertiary-container) !important;
52
+ color: var(--on-tertiary-container) !important;
53
53
  }
54
54
 
55
55
  .error {
56
- background-color: var(--error)!important;
57
- color: var(--on-error)!important;
56
+ background-color: var(--error) !important;
57
+ color: var(--on-error) !important;
58
58
  }
59
59
 
60
60
  .error-text {
61
- color: var(--error)!important;
61
+ color: var(--error) !important;
62
62
  }
63
63
 
64
64
  .error-border {
65
- border-color: var(--error)!important;
65
+ border-color: var(--error) !important;
66
66
  }
67
67
 
68
68
  .error-container {
69
- background-color: var(--error-container)!important;
70
- color: var(--on-error-container)!important;
69
+ background-color: var(--error-container) !important;
70
+ color: var(--on-error-container) !important;
71
71
  }
72
72
 
73
73
  .background {
74
- background-color: var(--background)!important;
75
- color: var(--on-background)!important;
74
+ background-color: var(--background) !important;
75
+ color: var(--on-background) !important;
76
76
  }
77
77
 
78
78
  .surface {
79
- background-color: var(--surface)!important;
80
- color: var(--on-surface)!important;
79
+ background-color: var(--surface) !important;
80
+ color: var(--on-surface) !important;
81
81
  }
82
82
 
83
83
  .surface-variant {
84
- background-color: var(--surface-variant)!important;
85
- color: var(--on-surface-variant)!important;
84
+ background-color: var(--surface-variant) !important;
85
+ color: var(--on-surface-variant) !important;
86
86
  }
87
87
 
88
88
  .inverse-surface {
89
- background-color: var(--inverse-surface);
89
+ background-color: var(--inverse-surface);
90
90
  color: var(--inverse-on-surface);
91
91
  }
92
92
 
93
93
  .black {
94
- background-color: #000000 !important;
94
+ background-color: #000 !important;
95
95
  }
96
96
 
97
97
  .black-border {
98
- border-color: #000000 !important;
98
+ border-color: #000 !important;
99
99
  }
100
100
 
101
101
  .black-text {
102
- color: #000000 !important;
102
+ color: #000 !important;
103
103
  }
104
104
 
105
105
  .white {
106
- background-color: #ffffff !important;
106
+ background-color: #FFF !important;
107
107
  }
108
108
 
109
109
  .white-border {
110
- border-color: #ffffff !important;
110
+ border-color: #FFF !important;
111
111
  }
112
112
 
113
113
  .white-text {
114
- color: #ffffff !important;
114
+ color: #FFF !important;
115
115
  }
116
116
 
117
117
  .transparent {
@@ -131,4 +131,4 @@
131
131
  .fill:not(i) {
132
132
  background-color: var(--surface-variant) !important;
133
133
  color: var(--on-surface-variant) !important;
134
- }
134
+ }
@@ -4,7 +4,7 @@ html {
4
4
 
5
5
  body {
6
6
  font-family: var(--font);
7
- font-size: 14rem;
7
+ font-size: 0.875rem;
8
8
  }
9
9
 
10
10
  h1,
@@ -16,7 +16,7 @@ h6 {
16
16
  font-weight: 400;
17
17
  display: flex;
18
18
  align-items: center;
19
- margin-bottom: 8rem;
19
+ margin-bottom: 0.5rem;
20
20
  }
21
21
 
22
22
  * + h1,
@@ -25,31 +25,79 @@ h6 {
25
25
  * + h4,
26
26
  * + h5,
27
27
  * + h6 {
28
- margin-top: 16rem;
28
+ margin-top: 1rem;
29
29
  }
30
30
 
31
31
  h1 {
32
- font-size: 96rem;
32
+ font-size: 3.5625rem;
33
33
  }
34
34
 
35
35
  h2 {
36
- font-size: 60rem;
36
+ font-size: 2.8125rem;
37
37
  }
38
38
 
39
39
  h3 {
40
- font-size: 48rem;
40
+ font-size: 2.25rem;
41
41
  }
42
42
 
43
43
  h4 {
44
- font-size: 34rem;
44
+ font-size: 2rem;
45
45
  }
46
46
 
47
47
  h5 {
48
- font-size: 24rem;
48
+ font-size: 1.75rem;
49
49
  }
50
50
 
51
51
  h6 {
52
- font-size: 20rem;
52
+ font-size: 1.5rem;
53
+ }
54
+
55
+ h1.small {
56
+ font-size: 3.0625rem;
57
+ }
58
+
59
+ h2.small {
60
+ font-size: 2.3125rem;
61
+ }
62
+
63
+ h3.small {
64
+ font-size: 1.75rem;
65
+ }
66
+
67
+ h4.small {
68
+ font-size: 1.5rem;
69
+ }
70
+
71
+ h5.small {
72
+ font-size: 1.25rem;
73
+ }
74
+
75
+ h6.small {
76
+ font-size: 1rem;
77
+ }
78
+
79
+ h1.large {
80
+ font-size: 4.0625rem;
81
+ }
82
+
83
+ h2.large {
84
+ font-size: 3.3125rem;
85
+ }
86
+
87
+ h3.large {
88
+ font-size: 2.75rem;
89
+ }
90
+
91
+ h4.large {
92
+ font-size: 2.5rem;
93
+ }
94
+
95
+ h5.large {
96
+ font-size: 2.25rem;
97
+ }
98
+
99
+ h6.large {
100
+ font-size: 2rem;
53
101
  }
54
102
 
55
103
  .link {
@@ -60,6 +108,7 @@ h6 {
60
108
  overflow: hidden;
61
109
  white-space: nowrap !important;
62
110
  text-overflow: ellipsis;
111
+ flex: inherit;
63
112
  }
64
113
 
65
114
  .truncate > * {
@@ -67,15 +116,15 @@ h6 {
67
116
  }
68
117
 
69
118
  .small-text {
70
- font-size: 12rem;
119
+ font-size: 0.75rem;
71
120
  }
72
121
 
73
122
  .medium-text {
74
- font-size: 14rem;
123
+ font-size: 0.875rem;
75
124
  }
76
125
 
77
126
  .large-text {
78
- font-size: 16rem;
127
+ font-size: 1rem;
79
128
  }
80
129
 
81
130
  .upper {
@@ -107,5 +156,5 @@ h6 {
107
156
  }
108
157
 
109
158
  p {
110
- margin: 8rem 0;
111
- }
159
+ margin: 0.5rem 0;
160
+ }
@@ -12,7 +12,7 @@ button::after {
12
12
  width: 100%;
13
13
  height: 100%;
14
14
  background-position: center;
15
- background-image: radial-gradient(circle, rgba(255,255,255,.4) 1%, transparent 1%);
15
+ background-image: radial-gradient(circle, rgb(255 255 255 / 0.4) 1%, transparent 1%);
16
16
  opacity: 0;
17
17
  transition: none;
18
18
  }
@@ -26,23 +26,23 @@ button.border::after,
26
26
  .chip.transparent::after,
27
27
  .button.transparent::after,
28
28
  button.transparent::after {
29
- background-image: radial-gradient(circle, rgba(150,150,150,.2) 1%, transparent 1%);
29
+ background-image: radial-gradient(circle, rgb(150 150 150 / 0.2) 1%, transparent 1%);
30
30
  }
31
31
 
32
32
  .wave.none::after,
33
33
  .button.none::after,
34
34
  button.none::after {
35
35
  top: 0;
36
- left: -4rem;
37
- padding: 0 4rem;
36
+ left: -0.25rem;
37
+ padding: 0 0.25rem;
38
38
  }
39
39
 
40
40
  .wave.none:not(.small, .medium, .large, .extra)::after,
41
41
  .button.none:not(.small, .medium, .large, .extra)::after,
42
42
  button.none:not(.small, .medium, .large, .extra)::after {
43
- top: -4rem;
44
- left: -4rem;
45
- padding: 4rem;
43
+ top: -0.25rem;
44
+ left: -0.25rem;
45
+ padding: 0.25rem;
46
46
  }
47
47
 
48
48
  .wave:hover::after,
@@ -68,7 +68,7 @@ button:active::after {
68
68
  }
69
69
 
70
70
  .no-wave::after,
71
- .no-wave:hover::after,
72
- .no-wave:active::after{
71
+ .no-wave:hover::after,
72
+ .no-wave:active::after {
73
73
  display: none;
74
- }
74
+ }
Binary file
Binary file