@agorapulse/ui-theme 22.0.7 → 22.0.9

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 (46) hide show
  1. package/agorapulse-ui-theme-22.0.9.tgz +0 -0
  2. package/assets/style/{css-ui/_helpers.scss → _helpers.scss} +5 -10
  3. package/assets/style/_table.scss +98 -0
  4. package/assets/style/{css-ui/_typography.scss → _typography.scss} +8 -41
  5. package/assets/style/theme.scss +2 -2
  6. package/package.json +2 -9
  7. package/agorapulse-ui-theme-22.0.7.tgz +0 -0
  8. package/assets/style/css-ui/_accordion.scss +0 -56
  9. package/assets/style/css-ui/_action-dropdown.scss +0 -163
  10. package/assets/style/css-ui/_avatar-group.scss +0 -61
  11. package/assets/style/css-ui/_avatar.scss +0 -191
  12. package/assets/style/css-ui/_badge.scss +0 -28
  13. package/assets/style/css-ui/_button.scss +0 -265
  14. package/assets/style/css-ui/_card.scss +0 -17
  15. package/assets/style/css-ui/_checkbox.scss +0 -191
  16. package/assets/style/css-ui/_counter.scss +0 -76
  17. package/assets/style/css-ui/_datepicker.scss +0 -309
  18. package/assets/style/css-ui/_dialog.scss +0 -74
  19. package/assets/style/css-ui/_dot-stepper.scss +0 -68
  20. package/assets/style/css-ui/_icon-button.scss +0 -200
  21. package/assets/style/css-ui/_infobox.scss +0 -181
  22. package/assets/style/css-ui/_input.scss +0 -128
  23. package/assets/style/css-ui/_label.scss +0 -95
  24. package/assets/style/css-ui/_link.scss +0 -86
  25. package/assets/style/css-ui/_list-panel.scss +0 -73
  26. package/assets/style/css-ui/_loader.scss +0 -228
  27. package/assets/style/css-ui/_mixins.scss +0 -50
  28. package/assets/style/css-ui/_pagination.scss +0 -177
  29. package/assets/style/css-ui/_radio-card.scss +0 -200
  30. package/assets/style/css-ui/_radio.scss +0 -106
  31. package/assets/style/css-ui/_select.scss +0 -658
  32. package/assets/style/css-ui/_selection-dropdown.scss +0 -183
  33. package/assets/style/css-ui/_snackbar.scss +0 -181
  34. package/assets/style/css-ui/_split-button.scss +0 -74
  35. package/assets/style/css-ui/_status.scss +0 -83
  36. package/assets/style/css-ui/_stepper.scss +0 -113
  37. package/assets/style/css-ui/_table.scss +0 -323
  38. package/assets/style/css-ui/_tabs.scss +0 -189
  39. package/assets/style/css-ui/_tag.scss +0 -181
  40. package/assets/style/css-ui/_textarea.scss +0 -117
  41. package/assets/style/css-ui/_toggle.scss +0 -131
  42. package/assets/style/css-ui/_tooltip.scss +0 -134
  43. package/assets/style/css-ui/font-face.css +0 -43
  44. package/assets/style/css-ui/index.css +0 -4943
  45. package/assets/style/css-ui/index.css.map +0 -1
  46. package/assets/style/css-ui/index.scss +0 -39
@@ -1,191 +0,0 @@
1
- // Agorapulse Avatar Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-avatar {
5
- --ap-avatar-size: 40px;
6
- --ap-avatar-border-radius: 100%;
7
- --ap-avatar-initials-size: 14px;
8
- --ap-avatar-symbol-size: 20px;
9
- --ap-avatar-network-size: 16px;
10
- --ap-avatar-online-icon-size: 10px;
11
-
12
- display: flex;
13
- justify-content: center;
14
- align-items: center;
15
- @include m.fixed-size(var(--ap-avatar-size));
16
- box-sizing: border-box;
17
- position: relative;
18
- border-radius: var(--ap-avatar-border-radius);
19
- background: var(--comp-avatar-background-color);
20
- box-shadow: var(--comp-avatar-background-shadow);
21
- // Size variants
22
- &.size-16 {
23
- --ap-avatar-size: 16px;
24
- --ap-avatar-initials-size: 8px;
25
- --ap-avatar-symbol-size: 8px;
26
- --ap-avatar-network-size: 8px;
27
- --ap-avatar-online-icon-size: 6px;
28
- }
29
-
30
- &.size-24 {
31
- --ap-avatar-size: 24px;
32
- --ap-avatar-initials-size: 12px;
33
- --ap-avatar-symbol-size: 12px;
34
- --ap-avatar-network-size: 12px;
35
- --ap-avatar-online-icon-size: 6px;
36
- }
37
-
38
- &.size-32 {
39
- --ap-avatar-size: 32px;
40
- --ap-avatar-initials-size: 16px;
41
- --ap-avatar-symbol-size: 16px;
42
- --ap-avatar-network-size: 12px;
43
- --ap-avatar-online-icon-size: 8px;
44
- }
45
-
46
- &.size-36 {
47
- --ap-avatar-size: 36px;
48
- --ap-avatar-initials-size: 16px;
49
- --ap-avatar-symbol-size: 18px;
50
- --ap-avatar-network-size: 16px;
51
- --ap-avatar-online-icon-size: 8px;
52
- }
53
-
54
- &.size-40 {
55
- --ap-avatar-size: 40px;
56
- --ap-avatar-initials-size: 20px;
57
- --ap-avatar-symbol-size: 20px;
58
- --ap-avatar-network-size: 16px;
59
- --ap-avatar-online-icon-size: 12px;
60
- }
61
-
62
- &.size-48 {
63
- --ap-avatar-size: 48px;
64
- --ap-avatar-initials-size: 24px;
65
- --ap-avatar-symbol-size: 24px;
66
- --ap-avatar-network-size: 16px;
67
- --ap-avatar-online-icon-size: 12px;
68
- }
69
-
70
- &.size-56 {
71
- --ap-avatar-size: 56px;
72
- --ap-avatar-initials-size: 28px;
73
- --ap-avatar-symbol-size: 28px;
74
- --ap-avatar-network-size: 16px;
75
- --ap-avatar-online-icon-size: 16px;
76
- }
77
-
78
- // Square variant
79
- &.square {
80
- --ap-avatar-border-radius: var(--sys-border-radius-sm);
81
- }
82
-
83
- // Image — implicit > img
84
- > img {
85
- position: absolute;
86
- inset: 0;
87
- width: 100%;
88
- height: 100%;
89
- object-fit: cover;
90
- border-radius: var(--ap-avatar-border-radius);
91
- }
92
-
93
- // Initials
94
- > .ap-avatar-initials {
95
- font-weight: var(--comp-avatar-initials-weight);
96
- font-size: var(--ap-avatar-initials-size);
97
- font-family: 'Averta', sans-serif;
98
- color: var(--comp-avatar-initials-color);
99
- text-transform: uppercase;
100
- user-select: none;
101
- }
102
-
103
- // Symbol/icon — implicit > i
104
- > i {
105
- color: var(--comp-avatar-symbol-color);
106
- width: var(--ap-avatar-symbol-size);
107
- height: var(--ap-avatar-symbol-size);
108
- }
109
-
110
- // Big network variant — network icon fills the full avatar
111
- &.big {
112
- background: none;
113
- box-shadow: none;
114
-
115
- > i {
116
- color: unset;
117
- width: 100%;
118
- height: 100%;
119
- font-size: var(--ap-avatar-size);
120
- }
121
- }
122
-
123
- // Online indicator — via ::after pseudo-element when .online class is present
124
- &.online::after {
125
- content: '';
126
- position: absolute;
127
- bottom: 0;
128
- right: 0;
129
- @include m.fixed-size(var(--ap-avatar-online-icon-size));
130
- border-radius: 100%;
131
- border: 1px solid var(--comp-avatar-online-border-color);
132
- background: var(--comp-avatar-online-background);
133
- box-sizing: border-box;
134
- }
135
- }
136
-
137
- // Network overlay badge
138
- .ap-avatar-network {
139
- position: absolute;
140
- bottom: 0;
141
- right: 0;
142
- display: flex;
143
- align-items: center;
144
- justify-content: center;
145
- @include m.fixed-size(var(--ap-avatar-network-size));
146
- overflow: hidden;
147
- box-sizing: border-box;
148
- box-shadow: var(--comp-avatar-background-shadow);
149
- border-radius: 100%; // round by default (facebook, twitter, youtube…)
150
-
151
- // Shape inferred from icon child
152
- &:has(.ap-icon-instagram-official, .ap-icon-instagram) {
153
- border-radius: 28%;
154
- }
155
-
156
- &:has(.ap-icon-linkedin-official, .ap-icon-linkedin) {
157
- border-radius: 6%;
158
- }
159
-
160
- &:has(.ap-icon-google, .ap-icon-meta) {
161
- box-shadow: none;
162
- border-radius: 0;
163
- }
164
-
165
- &:has(.ap-icon-youtube-official, .ap-icon-youtube) {
166
- box-shadow: none;
167
- border-radius: 0;
168
- }
169
-
170
- > i {
171
- font-size: var(--ap-avatar-network-size);
172
- width: var(--ap-avatar-network-size);
173
- height: var(--ap-avatar-network-size);
174
-
175
- // Monochrome icon fallback colors (when using ap-icon-{network} instead of -official)
176
- &.ap-icon-facebook {
177
- color: var(--ref-color-facebook-100);
178
- }
179
- &.ap-icon-instagram {
180
- color: var(--ref-color-instagram-100);
181
- }
182
- &.ap-icon-linkedin {
183
- color: var(--ref-color-linkedin-100);
184
- }
185
- &.ap-icon-youtube {
186
- color: var(--ref-color-youtube-100);
187
- }
188
- }
189
- }
190
-
191
- // Avatar group styles are in _avatar-group.scss
@@ -1,28 +0,0 @@
1
- // Agorapulse Badge Styles
2
-
3
- .ap-badge {
4
- display: inline-flex;
5
- align-items: center;
6
- justify-content: center;
7
- padding: 0 var(--comp-badge-padding-right) 0 var(--comp-badge-padding-left);
8
- font-weight: var(--comp-badge-text-style-font-weight);
9
- font-family: var(--comp-badge-text-style-font-family);
10
- line-height: var(--comp-badge-text-style-line-height);
11
- font-size: var(--comp-badge-text-style-size);
12
- height: var(--comp-badge-height);
13
- max-height: var(--comp-badge-height);
14
- border-radius: 2px;
15
- white-space: nowrap;
16
- box-sizing: border-box;
17
-
18
- &.blue {
19
- background-color: var(--comp-badge-blue-background-color);
20
- color: var(--comp-badge-blue-color);
21
- }
22
-
23
- &.orange {
24
- text-transform: uppercase;
25
- background-color: var(--comp-badge-orange-background-color);
26
- color: var(--comp-badge-orange-color);
27
- }
28
- }
@@ -1,265 +0,0 @@
1
- // Agorapulse Button Styles
2
- @use 'mixins' as m;
3
- @use '../button-mixins' as btn;
4
-
5
- @keyframes slide {
6
- 0% {
7
- left: calc(var(--comp-button-padding-vertical) * -1 - 50px);
8
- }
9
- 100% {
10
- left: 100%;
11
- }
12
- }
13
-
14
- .ap-button {
15
- border: none;
16
- border-radius: var(--comp-button-border-radius);
17
- padding: var(--comp-button-padding-horizontal) var(--comp-button-padding-vertical);
18
- position: relative;
19
- overflow: hidden;
20
- display: flex;
21
- justify-content: center;
22
- align-items: center;
23
- gap: var(--comp-split-button-spacing);
24
- font-size: var(--comp-button-text-size);
25
- font-family: var(--comp-button-text-font-family);
26
- line-height: var(--comp-button-text-line-height);
27
- font-weight: var(--comp-button-text-weight);
28
- max-height: var(--comp-button-height);
29
- min-height: var(--comp-button-height);
30
- white-space: nowrap;
31
- text-overflow: ellipsis;
32
-
33
- &:not(:disabled):not(.loading):hover {
34
- cursor: pointer;
35
- }
36
-
37
- &:disabled {
38
- pointer-events: none;
39
- }
40
-
41
- &.loading {
42
- pointer-events: none;
43
- }
44
-
45
- &:focus:not(:disabled):not(:active):not(.loading) {
46
- @include m.focus-ring;
47
- }
48
-
49
- // Primary variants
50
- &.primary {
51
- color: var(--ref-color-white);
52
-
53
- &.orange {
54
- @include btn.btn-primary-color('orange');
55
- }
56
-
57
- &.blue {
58
- @include btn.btn-primary-color('electric-blue');
59
- }
60
- }
61
-
62
- // Secondary variants
63
- &.secondary {
64
- &.orange {
65
- @include btn.btn-secondary-color('orange');
66
- }
67
-
68
- &.blue {
69
- @include btn.btn-secondary-color('electric-blue');
70
- }
71
- }
72
-
73
- // Ghost variants
74
- &.ghost {
75
- background: transparent;
76
-
77
- &.grey {
78
- @include btn.btn-ghost-color('grey', $text-color-shade: 80, $hover-bg-shade: '05', $active-bg-shade: 10);
79
- }
80
-
81
- &.blue {
82
- @include btn.btn-ghost-color('electric-blue');
83
- }
84
-
85
- &.red {
86
- @include btn.btn-ghost-color('red');
87
- }
88
-
89
- &.green {
90
- @include btn.btn-ghost-color('green');
91
- }
92
- }
93
-
94
- // Stroked variants
95
- &.stroked {
96
- background: var(--ref-color-white);
97
-
98
- &.grey {
99
- border: 1px solid var(--ref-color-grey-20);
100
- @include btn.btn-stroked-color(
101
- 'grey',
102
- $text-color-shade: 80,
103
- $border-color-shade: 20,
104
- $hover-border-shade: 40,
105
- $active-border-shade: 60,
106
- $focus-border-shade: 20
107
- );
108
- }
109
-
110
- &.blue {
111
- border: 1px solid var(--ref-color-electric-blue-60);
112
- @include btn.btn-stroked-color('electric-blue');
113
- }
114
-
115
- &.red {
116
- border: 1px solid var(--ref-color-red-60);
117
- @include btn.btn-stroked-color('red');
118
- }
119
- }
120
-
121
- // Transparent variant
122
- &.transparent {
123
- background: transparent;
124
- }
125
-
126
- // Mermaid variant
127
- &.mermaid {
128
- background: linear-gradient(90deg, #578fff 0%, #df52ff 100%);
129
- color: var(--ref-color-grey-100);
130
- position: relative;
131
- z-index: 1;
132
-
133
- &::after {
134
- content: '';
135
- position: absolute;
136
- top: 1px;
137
- left: 1px;
138
- right: 1px;
139
- bottom: 1px;
140
- background: var(--ref-color-white);
141
- border-radius: calc(var(--ref-border-radius-sm) - 1px);
142
- z-index: -1;
143
- pointer-events: none;
144
- }
145
-
146
- > *:not(.ap-loading-bar) {
147
- position: relative;
148
- z-index: 1;
149
- }
150
-
151
- &:hover:not(:disabled):not(.loading)::after {
152
- background: var(--ref-color-mermaid-10);
153
- }
154
-
155
- &:active:not(:disabled):not(.loading)::after {
156
- background: var(--ref-color-mermaid-20);
157
- }
158
-
159
- &:disabled {
160
- background: linear-gradient(90deg, var(--ref-color-mermaid-gradient-from40) 0%, var(--ref-color-mermaid-gradient-to40) 100%);
161
- color: var(--ref-color-grey-20);
162
- }
163
-
164
- &.loading {
165
- background: linear-gradient(90deg, var(--ref-color-mermaid-gradient-from40) 0%, var(--ref-color-mermaid-gradient-to40) 100%);
166
- color: var(--ref-color-grey-40);
167
- }
168
-
169
- .ap-loading-bar {
170
- background: linear-gradient(90deg, var(--ref-color-mermaid-gradient-from) 0%, var(--ref-color-mermaid-gradient-to) 100%);
171
- z-index: 2;
172
- }
173
- }
174
-
175
- // Locked variant
176
- &.locked {
177
- overflow: visible;
178
- background-color: var(--ref-color-purple-10);
179
- color: var(--ref-color-purple-80);
180
-
181
- &:hover:not(:disabled):not(.loading) {
182
- background-color: var(--ref-color-purple-20);
183
- }
184
-
185
- &:active:not(:disabled):not(.loading) {
186
- background-color: var(--ref-color-purple-40);
187
- }
188
- }
189
-
190
- // Loading bar colors per variant
191
- &.primary.orange .ap-loading-bar {
192
- background-color: var(--ref-color-orange-100);
193
- }
194
-
195
- &.primary.blue .ap-loading-bar {
196
- background-color: var(--ref-color-electric-blue-100);
197
- }
198
-
199
- &.secondary.orange .ap-loading-bar {
200
- background-color: var(--ref-color-orange-100);
201
- }
202
-
203
- &.secondary.blue .ap-loading-bar {
204
- background-color: var(--ref-color-electric-blue-100);
205
- }
206
-
207
- &.ghost.grey .ap-loading-bar,
208
- &.stroked.grey .ap-loading-bar {
209
- background-color: var(--ref-color-grey-80);
210
- }
211
-
212
- &.ghost.blue .ap-loading-bar,
213
- &.stroked.blue .ap-loading-bar {
214
- background-color: var(--ref-color-electric-blue-100);
215
- }
216
-
217
- &.ghost.red .ap-loading-bar,
218
- &.stroked.red .ap-loading-bar {
219
- background-color: var(--ref-color-red-100);
220
- }
221
-
222
- &.ghost.green .ap-loading-bar {
223
- background-color: var(--ref-color-green-100);
224
- }
225
- }
226
-
227
- // Icon sizing: explicit class or implicit > i
228
- .ap-button-icon {
229
- @include m.fixed-size(16px);
230
- }
231
-
232
- .ap-button > i {
233
- @include m.fixed-size(16px);
234
- flex-shrink: 0;
235
- }
236
-
237
- // Loading bar
238
- .ap-loading-bar {
239
- position: absolute;
240
- bottom: 0;
241
- left: var(--comp-button-padding-vertical);
242
- width: 50px;
243
- height: 5px;
244
- border-radius: 8px;
245
- animation: slide 1.5s ease-in-out infinite;
246
- }
247
-
248
- // Locked icon — lives inside .ap-button.locked or .ap-icon-button.locked, no wrapper needed
249
- .ap-button.locked > .ap-locked-symbol,
250
- .ap-icon-button.locked > .ap-locked-symbol {
251
- position: absolute;
252
- top: -6px;
253
- right: -6px;
254
- display: flex;
255
- align-items: center;
256
- justify-content: center;
257
- padding: 1px;
258
- border-radius: 100%;
259
- background: var(--ref-color-white);
260
- pointer-events: none;
261
-
262
- > i {
263
- color: var(--ref-color-purple-100);
264
- }
265
- }
@@ -1,17 +0,0 @@
1
- .ap-card {
2
- background-color: var(--ref-color-white);
3
- border: 1px solid var(--ref-color-grey-10);
4
- border-radius: var(--ref-border-radius-md);
5
- display: flex;
6
- flex-direction: column;
7
- gap: var(--ref-spacing-sm);
8
- padding: var(--ref-spacing-sm);
9
- }
10
-
11
- .ap-card-title {
12
- font-size: var(--ref-font-size-md);
13
- font-weight: var(--ref-font-weight-bold);
14
- line-height: var(--ref-font-line-height-lg);
15
- color: var(--ref-color-grey-100);
16
- margin: 0;
17
- }
@@ -1,191 +0,0 @@
1
- // Agorapulse Checkbox Styles
2
- @use 'mixins' as m;
3
-
4
- .ap-checkbox-container {
5
- display: flex;
6
- align-items: center;
7
- gap: var(--ref-spacing-xxs);
8
- cursor: pointer;
9
-
10
- // Hide native checkbox input (accessible)
11
- > input[type='checkbox'] {
12
- @include m.sr-only;
13
- }
14
-
15
- &.full-width {
16
- justify-content: space-between;
17
- width: 100%;
18
- }
19
-
20
- // No-label variant: larger hit area with background feedback
21
- &:not(:has(> span:not(:empty))) {
22
- padding: 10px;
23
- border-radius: var(--ref-border-radius-md);
24
- transition: background-color 0.15s;
25
-
26
- // Hover: grey background
27
- &:hover:not(:has(input:disabled)) {
28
- background: var(--ref-color-grey-05);
29
- }
30
-
31
- // Checked hover: blue background
32
- &:hover:not(:has(input:disabled)):has(input:checked),
33
- &:hover:not(:has(input:disabled)).indeterminate {
34
- background: var(--ref-color-electric-blue-10);
35
- }
36
-
37
- // Checked active: darker blue background
38
- &:active:not(:has(input:disabled)):has(input:checked),
39
- &:active:not(:has(input:disabled)).indeterminate {
40
- background: var(--ref-color-electric-blue-20);
41
- }
42
- }
43
-
44
- // Disabled container
45
- &:has(input:disabled) {
46
- cursor: default;
47
- }
48
-
49
- // Checkbox box — <i> element (hosts ::before dash + ::after checkmark)
50
- > i {
51
- display: flex;
52
- justify-content: center;
53
- align-items: center;
54
- @include m.fixed-size(16px);
55
- border-radius: var(--sys-border-radius-sm);
56
- border: 1px solid var(--ref-color-grey-60);
57
- background: var(--ref-color-white);
58
- box-sizing: border-box;
59
- flex-shrink: 0;
60
- transition:
61
- background-color 0.15s,
62
- border-color 0.15s;
63
-
64
- // Checkmark via CSS (no inline SVG needed)
65
- &::after {
66
- content: '';
67
- display: none;
68
- width: 10px;
69
- height: 10px;
70
- mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M14.238 3.337a.92.92 0 0 1 .025 1.301l-7.7 8a.92.92 0 0 1-1.326 0l-3.5-3.636a.92.92 0 1 1 1.326-1.276L5.9 10.674l7.037-7.312a.92.92 0 0 1 1.301-.025' clip-rule='evenodd' fill='white'/%3E%3C/svg%3E");
71
- mask-size: contain;
72
- mask-repeat: no-repeat;
73
- background-color: var(--ref-color-white);
74
- }
75
-
76
- // Indeterminate dash via CSS
77
- &::before {
78
- content: '';
79
- display: none;
80
- width: 8px;
81
- height: 1.5px;
82
- background: var(--ref-color-white);
83
- }
84
- }
85
-
86
- // Hover state
87
- &:hover:not(:has(input:disabled)) > i {
88
- border-color: var(--ref-color-grey-80);
89
- }
90
-
91
- // Active state
92
- &:active:not(:has(input:disabled)) > i {
93
- border-color: var(--ref-color-grey-100);
94
- }
95
-
96
- // Checked state — show checkmark
97
- &:has(input:checked) > i {
98
- background: var(--ref-color-electric-blue-100);
99
- border-color: var(--ref-color-electric-blue-100);
100
-
101
- &::after {
102
- display: block;
103
- }
104
- }
105
-
106
- // Checked hover
107
- &:hover:not(:has(input:disabled)):has(input:checked) > i {
108
- background: var(--ref-color-electric-blue-80);
109
- border-color: var(--ref-color-electric-blue-100);
110
- }
111
-
112
- // Checked active
113
- &:active:not(:has(input:disabled)):has(input:checked) > i {
114
- background: var(--ref-color-electric-blue-60);
115
- border-color: var(--ref-color-electric-blue-100);
116
- }
117
-
118
- // Disabled state
119
- &:has(input:disabled) > i {
120
- background: var(--ref-color-grey-10);
121
- border-color: var(--ref-color-grey-20);
122
- pointer-events: none;
123
- }
124
-
125
- // Disabled + checked
126
- &:has(input:disabled:checked) > i {
127
- background: var(--ref-color-grey-20);
128
- border-color: var(--ref-color-grey-20);
129
- }
130
-
131
- // Indeterminate state (class on container)
132
- &.indeterminate > i {
133
- background: var(--ref-color-electric-blue-100);
134
- border-color: var(--ref-color-electric-blue-100);
135
-
136
- &::before {
137
- display: block;
138
- }
139
- }
140
-
141
- // Indeterminate hover
142
- &.indeterminate:hover:not(:has(input:disabled)) > i {
143
- background: var(--ref-color-electric-blue-80);
144
- border-color: var(--ref-color-electric-blue-100);
145
- }
146
-
147
- // Indeterminate disabled
148
- &.indeterminate:has(input:disabled) > i {
149
- background: var(--ref-color-grey-20);
150
- border-color: var(--ref-color-grey-20);
151
- }
152
-
153
- // Focus ring (any focus on hover-capable devices, matching original component)
154
- @media (hover: hover) {
155
- &:has(input:focus:not(:disabled)) > i {
156
- @include m.focus-ring-3px;
157
- }
158
- }
159
-
160
- // Error state
161
- &.error > i {
162
- border-color: var(--ref-color-red-100);
163
- }
164
-
165
- // Label — direct span child
166
- > span {
167
- display: flex;
168
- align-items: center;
169
- font-family: var(--comp-forms-label-font-family);
170
- font-size: var(--comp-forms-label-size);
171
- font-weight: var(--comp-forms-label-font-weight);
172
- line-height: var(--comp-forms-label-line-height);
173
- color: var(--comp-forms-label-text-color);
174
- user-select: none;
175
-
176
- &:empty {
177
- display: none;
178
- }
179
- }
180
-
181
- // Label: disabled
182
- &:has(input:disabled) > span {
183
- color: var(--ref-color-grey-60);
184
- cursor: default;
185
- }
186
-
187
- // Bold modifier
188
- &.bold > span {
189
- font-weight: var(--ref-font-weight-bold);
190
- }
191
- }