@bi-digital/css 0.11.9 → 0.11.11
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/dist/baseline.css +4 -2
- package/dist/components/alert.css +109 -111
- package/dist/components/avatar.css +45 -47
- package/dist/components/badge.css +88 -88
- package/dist/components/button.css +117 -117
- package/dist/components/card.css +268 -282
- package/dist/components/checkbox-subsection.css +15 -15
- package/dist/components/chip.css +146 -146
- package/dist/components/details.css +88 -92
- package/dist/components/dialog.css +99 -97
- package/dist/components/dropdown.css +23 -25
- package/dist/components/field.css +204 -202
- package/dist/components/fieldset.css +20 -22
- package/dist/components/filter-group.css +80 -80
- package/dist/components/footer.css +110 -124
- package/dist/components/icons.css +30 -30
- package/dist/components/input.css +184 -186
- package/dist/components/label.css +17 -17
- package/dist/components/link.css +47 -47
- package/dist/components/logo.css +32 -34
- package/dist/components/navbar.css +46 -45
- package/dist/components/pagination.css +29 -27
- package/dist/components/popover.css +40 -40
- package/dist/components/search.css +12 -8
- package/dist/components/skip-link.css +8 -10
- package/dist/components/spinner.css +22 -25
- package/dist/components/sticky-header.css +1 -3
- package/dist/components/sub-navbar.css +23 -25
- package/dist/components/tabs.css +109 -113
- package/dist/components/tooltip.css +30 -30
- package/dist/components/validation-message.css +9 -9
- package/dist/components.css +1997 -2033
- package/dist/index.css +4 -2
- package/dist/salesforce.css +1997 -2033
- package/package.json +2 -2
|
@@ -18,209 +18,211 @@
|
|
|
18
18
|
--bic-field-label-required-color: var(--bi-primary-50);
|
|
19
19
|
--bic-field-focus-outline-color: var(--bi-primary-50);
|
|
20
20
|
--bic-field-focus-shadow-color: var(--bi-basic-white);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.bi-field[data-dark="true"] {
|
|
24
|
-
--bic-field-affix-color: var(--bi-neutral-30);
|
|
25
|
-
--bic-field-background: var(--bi-neutral-95);
|
|
26
|
-
--bic-field-background-hover: var(--bi-states-hover-light);
|
|
27
|
-
--bic-field-background-press: var(--bi-states-press-light);
|
|
28
|
-
--bic-field-background-readonly: var(--bi-neutral-50);
|
|
29
|
-
--bic-field-border-color-hover: var(--bi-neutral-25);
|
|
30
|
-
--bic-field-disabled-color: var(--bi-neutral-40);
|
|
31
|
-
--bic-field-description-color: var(--bi-neutral-15);
|
|
32
|
-
--bic-field-label-color: var(--bi-basic-white);
|
|
33
|
-
--bic-field-label-required-color: var(--bi-secondary-50);
|
|
34
|
-
--bic-field-focus-outline-color: var(--bi-primary-30);
|
|
35
|
-
--bic-field-focus-shadow-color: var(--bi-neutral-95);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.bi-field > * {
|
|
39
|
-
margin-block: 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.bi-field > * + * {
|
|
43
|
-
margin-top: var(--bic-field-content-spacing);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.bi-field .bi-field--description {
|
|
47
|
-
color: var(--bic-field-description-color);
|
|
48
|
-
font: var(--bi-font-body-small);
|
|
49
|
-
line-height: 1.15;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.bi-field .bi-input:where(:not([hidden])) {
|
|
53
|
-
display: block;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.bi-field:has(.bi-input[aria-invalid="true"]) {
|
|
57
|
-
--bic-field-border-color: var(--bic-field-border-color-invalid);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.bi-field:has([aria-disabled="true"]:not([role="option"][aria-disabled="true"]), :disabled:not(option)) > * {
|
|
61
|
-
cursor: not-allowed;
|
|
62
|
-
--bic-field-label-color: var(--bic-field-disabled-color);
|
|
63
|
-
--bic-field-description-color: var(--bic-field-disabled-color);
|
|
64
|
-
--bic-field-affix-color: var(--bic-field-disabled-color);
|
|
65
|
-
--bic-input-toggle-background: var(--bic-field-disabled-color);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.bi-field[data-fullwidth="true"] {
|
|
69
|
-
width: 100%;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])) {
|
|
73
|
-
border-radius: var(--bi-radius-medium);
|
|
74
|
-
gap: 0 var(--bi-scale-3x);
|
|
75
|
-
width: fit-content;
|
|
76
|
-
padding: var(--bi-scale-2x) var(--bi-scale-3x);
|
|
77
|
-
grid-template-columns: auto 1fr;
|
|
78
|
-
grid-template-areas: "input content";
|
|
79
|
-
align-items: center;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])):not([hidden]) {
|
|
83
|
-
display: grid;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"]))[data-fullwidth="true"] {
|
|
87
|
-
width: 100%;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])):has(.bi-input[role="switch"]) {
|
|
91
|
-
border-radius: var(--bi-scale-24x);
|
|
92
|
-
padding: var(--bi-scale-1x) var(--bi-scale-2x);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])):has(.bi-input[role="switch"]):has(.bi-label)[data-position="start"] {
|
|
96
|
-
padding-inline-end: var(--bi-scale-4x);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])):has(.bi-input[role="switch"]):has(.bi-label)[data-position="end"] {
|
|
100
|
-
padding-inline-start: var(--bi-scale-4x);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])) > * {
|
|
104
|
-
grid-column: content;
|
|
105
|
-
margin-block: 0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])) .bi-label {
|
|
109
|
-
margin: var(--bi-scale-0-50x) 0;
|
|
110
|
-
-webkit-user-select: none;
|
|
111
|
-
user-select: none;
|
|
112
|
-
font-size: 1rem;
|
|
113
|
-
line-height: 1.5;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])) .bi-input {
|
|
117
|
-
margin: var(--bi-scale-1x) auto;
|
|
118
|
-
grid-area: 1 / input;
|
|
119
|
-
align-self: flex-start;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.bi-field:has(.bi-input:is([type="radio"], [type="checkbox"])):is(label):not(:has([readonly], [aria-disabled="true"], :disabled)) {
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
}
|
|
125
21
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
22
|
+
&[data-dark="true"] {
|
|
23
|
+
--bic-field-affix-color: var(--bi-neutral-30);
|
|
24
|
+
--bic-field-background: var(--bi-neutral-95);
|
|
25
|
+
--bic-field-background-hover: var(--bi-states-hover-light);
|
|
26
|
+
--bic-field-background-press: var(--bi-states-press-light);
|
|
27
|
+
--bic-field-background-readonly: var(--bi-neutral-50);
|
|
28
|
+
--bic-field-border-color-hover: var(--bi-neutral-25);
|
|
29
|
+
--bic-field-disabled-color: var(--bi-neutral-40);
|
|
30
|
+
--bic-field-description-color: var(--bi-neutral-15);
|
|
31
|
+
--bic-field-label-color: var(--bi-basic-white);
|
|
32
|
+
--bic-field-label-required-color: var(--bi-secondary-50);
|
|
33
|
+
--bic-field-focus-outline-color: var(--bi-primary-30);
|
|
34
|
+
--bic-field-focus-shadow-color: var(--bi-neutral-95);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
& > * {
|
|
38
|
+
margin-block: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& > * + * {
|
|
42
|
+
margin-top: var(--bic-field-content-spacing);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
& .bi-field--description {
|
|
46
|
+
color: var(--bic-field-description-color);
|
|
47
|
+
font: var(--bi-font-body-small);
|
|
48
|
+
line-height: 1.15;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& .bi-input:where(:not([hidden])) {
|
|
52
|
+
display: block;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:has(.bi-input[aria-invalid="true"]) {
|
|
56
|
+
--bic-field-border-color: var(--bic-field-border-color-invalid);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:has([aria-disabled="true"]:not([role="option"][aria-disabled="true"]), :disabled:not(option)) > * {
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
--bic-field-label-color: var(--bic-field-disabled-color);
|
|
62
|
+
--bic-field-description-color: var(--bic-field-disabled-color);
|
|
63
|
+
--bic-field-affix-color: var(--bic-field-disabled-color);
|
|
64
|
+
--bic-input-toggle-background: var(--bic-field-disabled-color);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&[data-fullwidth="true"] {
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&:has(.bi-input:is([type="radio"], [type="checkbox"])) {
|
|
72
|
+
border-radius: var(--bi-radius-medium);
|
|
73
|
+
gap: 0 var(--bi-scale-3x);
|
|
74
|
+
width: fit-content;
|
|
75
|
+
padding: var(--bi-scale-2x) var(--bi-scale-3x);
|
|
76
|
+
grid-template-columns: auto 1fr;
|
|
77
|
+
grid-template-areas: "input content";
|
|
78
|
+
align-items: center;
|
|
79
|
+
|
|
80
|
+
&:not([hidden]) {
|
|
81
|
+
display: grid;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&[data-fullwidth="true"] {
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:has(.bi-input[role="switch"]) {
|
|
89
|
+
border-radius: var(--bi-scale-24x);
|
|
90
|
+
padding: var(--bi-scale-1x) var(--bi-scale-2x);
|
|
91
|
+
|
|
92
|
+
&:has(.bi-label) {
|
|
93
|
+
&[data-position="start"] {
|
|
94
|
+
padding-inline-end: var(--bi-scale-4x);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&[data-position="end"] {
|
|
98
|
+
padding-inline-start: var(--bi-scale-4x);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
& > * {
|
|
104
|
+
grid-column: content;
|
|
105
|
+
margin-block: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
& .bi-label {
|
|
109
|
+
margin: var(--bi-scale-0-50x) 0;
|
|
110
|
+
-webkit-user-select: none;
|
|
111
|
+
user-select: none;
|
|
112
|
+
font-size: 1rem;
|
|
113
|
+
line-height: 1.5;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
& .bi-input {
|
|
117
|
+
margin: var(--bi-scale-1x) auto;
|
|
118
|
+
grid-area: 1 / input;
|
|
119
|
+
align-self: flex-start;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:is(label):not(:has([readonly], [aria-disabled="true"], :disabled)) {
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:has(input:only-child) {
|
|
127
|
+
gap: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&:hover:not(:has(a:hover), :has([aria-disabled="true"], :disabled)) {
|
|
131
|
+
background: var(--_bi--hover, var(--bic-field-background-hover));
|
|
132
|
+
|
|
133
|
+
& * {
|
|
134
|
+
--_bi--hover: ;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:active:not(:has(a:active), :has([aria-disabled="true"], :disabled)) {
|
|
139
|
+
background: var(--_bi--hover, var(--bic-field-background-press));
|
|
140
|
+
|
|
141
|
+
& * {
|
|
142
|
+
--_bi--hover: ;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:has(.bi-input:focus-visible) {
|
|
147
|
+
box-shadow: var(--_bi--focus, 0 0 0 4.5px var(--bic-field-focus-shadow-color));
|
|
148
|
+
outline: var(--_bi--focus, 3px solid var(--bic-field-focus-outline-color));
|
|
149
|
+
outline-offset: var(--_bi--focus, 2px);
|
|
150
|
+
|
|
151
|
+
& * {
|
|
152
|
+
--_bi--focus: ;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&[data-position="end"] {
|
|
157
|
+
grid-template-columns: 1fr auto;
|
|
158
|
+
grid-template-areas: "content input";
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
& .bi-field--affixes {
|
|
163
|
+
background: var(--bic-field-background);
|
|
164
|
+
border-radius: var(--bi-radius-medium);
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
max-width: 100%;
|
|
168
|
+
box-shadow: var(--bic-field-box-shadow);
|
|
169
|
+
|
|
170
|
+
& .bi-input {
|
|
171
|
+
--bic-input-background: ;
|
|
172
|
+
--bic-input-box-shadow: ;
|
|
173
|
+
flex: auto;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&:not([hidden]) {
|
|
177
|
+
display: flex;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&:has(.bi-input[size]) {
|
|
181
|
+
width: fit-content;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
box-shadow: var(--_bi--hover, var(--bic-field-box-shadow-hover));
|
|
186
|
+
|
|
187
|
+
& * {
|
|
188
|
+
--_bi--hover: ;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&:has(.bi-input:focus-visible) {
|
|
193
|
+
outline: var(--_bi--focus, 3px solid var(--bic-field-focus-outline-color));
|
|
194
|
+
outline-offset: 0;
|
|
195
|
+
box-shadow: var(--_bi--focus, 0px 0px 20px var(--bi-scale-1-5x) #0000000d,
|
|
196
196
|
0px 0px 10px 0px #0000000d);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.bi-field .bi-field--affixes:has(.bi-input:focus-visible) * {
|
|
200
|
-
--_bi--focus: ;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.bi-field .bi-field--affixes .bi-field--affix {
|
|
204
|
-
padding-inline: var(--bic-field-padding-inline);
|
|
205
|
-
color: var(--bic-field-affix-color);
|
|
206
|
-
flex-shrink: 0;
|
|
207
|
-
align-items: center;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.bi-field .bi-field--affixes .bi-field--affix:not([hidden]) {
|
|
211
|
-
display: flex;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.bi-field .bi-field--affixes .bi-field--affix:first-child {
|
|
215
|
-
border-inline-end: 0;
|
|
216
|
-
border-start-start-radius: inherit;
|
|
217
|
-
border-end-start-radius: inherit;
|
|
218
|
-
padding-inline-end: 0;
|
|
219
|
-
}
|
|
220
197
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
198
|
+
& * {
|
|
199
|
+
--_bi--focus: ;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
& .bi-field--affix {
|
|
204
|
+
padding-inline: var(--bic-field-padding-inline);
|
|
205
|
+
color: var(--bic-field-affix-color);
|
|
206
|
+
flex-shrink: 0;
|
|
207
|
+
align-items: center;
|
|
208
|
+
|
|
209
|
+
&:not([hidden]) {
|
|
210
|
+
display: flex;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&:first-child {
|
|
214
|
+
border-inline-end: 0;
|
|
215
|
+
border-start-start-radius: inherit;
|
|
216
|
+
border-end-start-radius: inherit;
|
|
217
|
+
padding-inline-end: 0;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&:last-child {
|
|
221
|
+
border-inline-start: 0;
|
|
222
|
+
border-start-end-radius: inherit;
|
|
223
|
+
border-end-end-radius: inherit;
|
|
224
|
+
padding-inline-start: 0;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
226
228
|
}
|
|
@@ -1,36 +1,34 @@
|
|
|
1
1
|
.bi-fieldset {
|
|
2
2
|
--bic-fieldset-color: var(--bi-neutral-95);
|
|
3
3
|
--bic-fieldset-description-color: var(--bi-neutral-60);
|
|
4
|
-
}
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
5
|
+
&[data-dark="true"] {
|
|
6
|
+
--bic-fieldset-color: var(--bi-basic-white);
|
|
7
|
+
--bic-fieldset-description-color: var(--bi-neutral-15);
|
|
8
|
+
}
|
|
10
9
|
|
|
11
|
-
.bi-fieldset {
|
|
12
10
|
border: 0;
|
|
13
11
|
min-width: 0;
|
|
14
12
|
margin: 0;
|
|
15
13
|
padding: 0;
|
|
16
|
-
}
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
15
|
+
& > legend {
|
|
16
|
+
color: var(--bic-fieldset-color);
|
|
17
|
+
padding: 0;
|
|
18
|
+
font-size: 1rem;
|
|
19
|
+
}
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
21
|
+
& > * + * {
|
|
22
|
+
margin-block-start: var(--bi-scale-1x);
|
|
23
|
+
}
|
|
27
24
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
25
|
+
& > legend + p {
|
|
26
|
+
margin-block: var(--bi-scale-1x) 0;
|
|
27
|
+
color: var(--bic-fieldset-description-color);
|
|
28
|
+
font: var(--bi-font-body-large);
|
|
29
|
+
}
|
|
33
30
|
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
&:disabled > legend, &:disabled > legend + p {
|
|
32
|
+
opacity: var(--ds-opacity-disabled);
|
|
33
|
+
}
|
|
36
34
|
}
|
|
@@ -9,103 +9,103 @@
|
|
|
9
9
|
--bic-filter-group-text-color: var(--bi-neutral-90);
|
|
10
10
|
--bic-filter-focus-shadow-color: var(--bi-basic-white);
|
|
11
11
|
--bic-filter-focus-outline-color: var(--bi-primary-50);
|
|
12
|
-
}
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
&[data-dark="true"] {
|
|
14
|
+
--bic-filter-group-background: var(--bi-neutral-90);
|
|
15
|
+
--bic-filter-group-background-hover: linear-gradient(0deg, var(--bi-states-hover-light) 0%, var(--bi-states-hover-light) 100%),
|
|
17
16
|
var(--bic-filter-group-background);
|
|
18
|
-
|
|
17
|
+
--bic-filter-group-background-press: linear-gradient(0deg, var(--bi-states-press-light) 0%, var(--bi-states-press-light) 100%),
|
|
19
18
|
var(--bic-filter-group-background);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
19
|
+
--bic-filter-group-background-expanded: var(--bi-neutral-80);
|
|
20
|
+
--bic-filter-group-border-color: var(--bi-neutral-70);
|
|
21
|
+
--bic-filter-group-text-color: var(--bi-basic-white);
|
|
22
|
+
--bic-filter-focus-shadow-color: var(--bi-neutral-95);
|
|
23
|
+
--bic-filter-focus-outline-color: var(--bi-primary-30);
|
|
24
|
+
}
|
|
26
25
|
|
|
27
|
-
.bi-filter-group {
|
|
28
26
|
flex-direction: column;
|
|
29
27
|
display: flex;
|
|
30
|
-
}
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
29
|
+
& > button {
|
|
30
|
+
border: none;
|
|
31
|
+
border-bottom: var(--bi-scale-0-25x) solid var(--bic-filter-group-border-color);
|
|
32
|
+
height: var(--bi-scale-12x);
|
|
33
|
+
color: var(--bic-filter-group-text-color);
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: calc(var(--bi-scale-2x) + var(--bi-scale-0-50x));
|
|
36
|
+
width: 100%;
|
|
37
|
+
padding: var(--bi-scale-2x) calc(var(--bi-scale-2x) + var(--bi-scale-0-50x));
|
|
38
|
+
background: var(--bic-filter-group-background);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
border-radius: var(--bi-radius-small) var(--bi-radius-small) 0 0;
|
|
41
|
+
-webkit-user-select: none;
|
|
42
|
+
user-select: none;
|
|
43
|
+
flex-direction: row;
|
|
44
|
+
display: flex;
|
|
49
45
|
|
|
50
|
-
@media (hover: hover) and (pointer: fine) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
46
|
+
@media (hover: hover) and (pointer: fine) {
|
|
47
|
+
&:hover {
|
|
48
|
+
background: var(--bic-filter-group-background-hover);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
55
51
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
52
|
+
&:active {
|
|
53
|
+
background: var(--bic-filter-group-background-press);
|
|
54
|
+
}
|
|
59
55
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
56
|
+
&:focus-visible {
|
|
57
|
+
box-shadow: 0 0 0 4.5px var(--bic-filter-focus-shadow-color);
|
|
58
|
+
outline: 3px solid var(--bic-filter-focus-outline-color);
|
|
59
|
+
outline-offset: 3px;
|
|
60
|
+
border-radius: var(--bi-radius-small);
|
|
61
|
+
}
|
|
66
62
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
63
|
+
& > svg {
|
|
64
|
+
width: var(--bi-scale-6x);
|
|
65
|
+
height: var(--bi-scale-6x);
|
|
66
|
+
font-size: var(--bi-icon-medium);
|
|
67
|
+
}
|
|
72
68
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
69
|
+
& > h3 {
|
|
70
|
+
text-align: left;
|
|
71
|
+
font: var(--bi-font-title-bold-xs);
|
|
72
|
+
flex: 1;
|
|
73
|
+
margin: 0;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
79
76
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
77
|
+
& > div {
|
|
78
|
+
gap: var(--bi-scale-2x);
|
|
79
|
+
padding: var(--bi-scale-2x) 0 var(--bi-scale-8x);
|
|
80
|
+
flex-direction: column;
|
|
81
|
+
display: none;
|
|
86
82
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
83
|
+
& > .bi-field:has(.bi-input[type="checkbox"]) {
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
90
87
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
&:last-of-type {
|
|
89
|
+
& > button {
|
|
90
|
+
border-radius: var(--bi-radius-small);
|
|
91
|
+
border-bottom-color: #0000;
|
|
92
|
+
}
|
|
95
93
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
94
|
+
& > div {
|
|
95
|
+
padding: var(--bi-scale-2x) 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
99
98
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
99
|
+
&[data-expanded="true"] {
|
|
100
|
+
--bic-filter-group-background: var(--bic-filter-group-background-expanded);
|
|
103
101
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
102
|
+
& > button {
|
|
103
|
+
border-radius: var(--bi-radius-small);
|
|
104
|
+
border-bottom-color: #0000;
|
|
105
|
+
}
|
|
108
106
|
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
& > div {
|
|
108
|
+
display: flex;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
111
|
}
|