@bi-digital/css 0.11.10 → 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 -50
- 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 +1996 -2037
- package/dist/index.css +4 -2
- package/dist/salesforce.css +1996 -2037
- package/package.json +2 -2
|
@@ -25,22 +25,20 @@
|
|
|
25
25
|
--bic-input-focus-outline-color: var(--bi-primary-50);
|
|
26
26
|
--bic-input-focus-shadow-color: var(--bi-basic-white);
|
|
27
27
|
--bic-input-select-chevron: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"%23222d38\" fill-rule=\"evenodd\" d=\"M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06\" clip-rule=\"evenodd\"></path></svg>");
|
|
28
|
-
}
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
29
|
+
&[data-dark="true"] {
|
|
30
|
+
--bic-input-background: var(--bi-neutral-95);
|
|
31
|
+
--bic-input-background-readonly: var(--bi-neutral-50);
|
|
32
|
+
--bic-input-border-color-hover: var(--bi-neutral-25);
|
|
33
|
+
--bic-input-color-readonly: var(--bi-basic-white);
|
|
34
|
+
--bic-input-color: var(--bi-basic-white);
|
|
35
|
+
--bic-input-disabled-color: var(--bi-neutral-40);
|
|
36
|
+
--bic-input-placeholder-color: var(--bi-neutral-30);
|
|
37
|
+
--bic-input-focus-outline-color: var(--bi-primary-30);
|
|
38
|
+
--bic-input-focus-shadow-color: var(--bi-neutral-95);
|
|
39
|
+
--bic-input-select-chevron: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"white\" fill-rule=\"evenodd\" d=\"M5.97 9.47a.75.75 0 0 1 1.06 0L12 14.44l4.97-4.97a.75.75 0 1 1 1.06 1.06l-5.5 5.5a.75.75 0 0 1-1.06 0l-5.5-5.5a.75.75 0 0 1 0-1.06\" clip-rule=\"evenodd\"></path></svg>");
|
|
40
|
+
}
|
|
42
41
|
|
|
43
|
-
.bi-input {
|
|
44
42
|
appearance: none;
|
|
45
43
|
background: var(--bic-input-background);
|
|
46
44
|
border-radius: var(--bi-radius-medium);
|
|
@@ -58,179 +56,179 @@
|
|
|
58
56
|
border: none;
|
|
59
57
|
line-height: 1;
|
|
60
58
|
position: relative;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.bi-input[data-size="large"] {
|
|
64
|
-
--bic-input-size: var(--bi-scale-14x);
|
|
65
|
-
--bic-input-font-size: 1.25rem;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.bi-input:where(:not([type="checkbox"], [type="radio"])):hover {
|
|
69
|
-
box-shadow: var(--_bi--hover, var(--bic-input-box-shadow-hover));
|
|
70
|
-
}
|
|
71
59
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
60
|
+
&[data-size="large"] {
|
|
61
|
+
--bic-input-size: var(--bi-scale-14x);
|
|
62
|
+
--bic-input-font-size: 1.25rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:where(:not([type="checkbox"], [type="radio"])) {
|
|
66
|
+
&:hover {
|
|
67
|
+
box-shadow: var(--_bi--hover, var(--bic-input-box-shadow-hover));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:focus-visible {
|
|
71
|
+
--bic-input-border-color: var(--bic-input-focus-outline-color);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:focus-visible {
|
|
76
|
+
outline: var(--_bi--focus, 3px solid var(--bic-input-focus-outline-color));
|
|
77
|
+
outline-offset: 0;
|
|
78
|
+
box-shadow: var(--_bi--focus, 0px 0px 20px var(--bi-scale-1-5x) #0000000d,
|
|
80
79
|
0px 0px 10px 0px #0000000d);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.bi-input:focus-visible * {
|
|
84
|
-
--_bi--focus: ;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.bi-input::placeholder {
|
|
88
|
-
color: var(--bic-input-placeholder-color);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.bi-input:not([size], [cols]) {
|
|
92
|
-
width: 100%;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.bi-input:disabled, .bi-input[aria-disabled="true"] {
|
|
96
|
-
cursor: not-allowed;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.bi-input[aria-invalid="true"] {
|
|
100
|
-
--bic-input-border-color: var(--bic-input-border-color-invalid);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.bi-input[readonly], .bi-input:disabled, .bi-input[aria-disabled="true"] {
|
|
104
|
-
background: var(--bic-input-background-readonly);
|
|
105
|
-
--bic-input-border-color: var(--bic-input-border-color-readonly);
|
|
106
|
-
color: var(--bic-input-color-readonly);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.bi-input:is(textarea) {
|
|
110
|
-
height: auto;
|
|
111
|
-
min-height: calc(var(--bic-input-size) * 2);
|
|
112
|
-
resize: vertical;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.bi-input:is(textarea):not([rows]) {
|
|
116
|
-
field-sizing: content;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.bi-input:is(select):not([readonly], [aria-disabled="true"], :disabled) {
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.bi-input:is(select) {
|
|
124
|
-
background-image: var(--bic-input-select-chevron);
|
|
125
|
-
background-position: calc(100% - .5em);
|
|
126
|
-
background-repeat: no-repeat;
|
|
127
|
-
background-size: 1.5em;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.bi-input[type="checkbox"], .bi-input[type="radio"] {
|
|
131
|
-
padding: var(--bi-scale-0-50x);
|
|
132
|
-
line-height: inherit;
|
|
133
|
-
height: var(--bic-input-toggle-size);
|
|
134
|
-
width: var(--bic-input-toggle-size);
|
|
135
|
-
box-shadow: none;
|
|
136
|
-
border-width: var(--bi-stroke-medium);
|
|
137
|
-
border-style: solid;
|
|
138
|
-
border-color: var(--bic-input-border-color);
|
|
139
|
-
background: none;
|
|
140
|
-
flex-shrink: 0;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"]):focus-visible {
|
|
144
|
-
box-shadow: var(--_bi--focus, 0 0 0 4.5px var(--bic-input-focus-shadow-color));
|
|
145
|
-
outline: var(--_bi--focus, 3px solid var(--bic-input-focus-outline-color));
|
|
146
|
-
outline-offset: var(--_bi--focus, 3px);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"]):focus-visible * {
|
|
150
|
-
--_bi--focus: ;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"]):read-only:not([readonly], [aria-disabled="true"], :disabled) {
|
|
154
|
-
cursor: pointer;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="radio"] {
|
|
158
|
-
border-radius: var(--bi-radius-full);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="radio"]:before {
|
|
162
|
-
content: "";
|
|
163
|
-
background-color: var(--bic-input-toggle-background);
|
|
164
|
-
border-radius: 100%;
|
|
165
|
-
width: 0;
|
|
166
|
-
height: 0;
|
|
167
|
-
transition: width .1s ease-in-out, height .1s ease-in-out;
|
|
168
|
-
display: block;
|
|
169
|
-
position: absolute;
|
|
170
|
-
top: 50%;
|
|
171
|
-
left: 50%;
|
|
172
|
-
transform: translate(-50%, -50%);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="radio"]:checked {
|
|
176
|
-
--bic-input-border-color: var(--bic-input-toggle-background);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="radio"]:checked:before {
|
|
180
|
-
width: 12px;
|
|
181
|
-
height: 12px;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"]:not([role="switch"]) {
|
|
185
|
-
border-radius: var(--bi-radius-small);
|
|
186
|
-
place-content: center;
|
|
187
|
-
display: grid;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"]:not([role="switch"]):before {
|
|
191
|
-
content: "";
|
|
192
|
-
width: .7em;
|
|
193
|
-
height: .7em;
|
|
194
|
-
box-shadow: inset 1em 1em var(--bic-input-toggle-color);
|
|
195
|
-
transform-origin: center;
|
|
196
|
-
clip-path: polygon(9.73% 39.66%, 0% 49.25%, 34.81% 84.58%, 100% 20%, 90.45% 10.31%, 34.81% 65.12%);
|
|
197
|
-
transition: transform .2s ease-in-out;
|
|
198
|
-
transform: scale(0);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"]:not([role="switch"]):where(:checked, :indeterminate) {
|
|
202
|
-
background: var(--bic-input-toggle-background);
|
|
203
|
-
--bic-input-border-color: var(--bic-input-toggle-background);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"]:not([role="switch"]):where(:checked, :indeterminate):before {
|
|
207
|
-
transform: scale(1);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"]:not([role="switch"]):indeterminate:before {
|
|
211
|
-
clip-path: polygon(0% 42%, 0% 58%, 100% 58%, 100% 42%);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"][role="switch"] {
|
|
215
|
-
--_bic-input-circle-position-x: var(--bi-scale-0-50x);
|
|
216
|
-
background: var(--bi-neutral-50);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
:is(.bi-input[type="checkbox"], .bi-input[type="radio"])[type="checkbox"][role="switch"]:where(:checked) {
|
|
220
|
-
--_bic-input-circle-position-x: calc(100% - var(--bi-scale-0-50x));
|
|
221
|
-
background: var(--bic-input-toggle-background);
|
|
222
|
-
--bic-input-border-color: var(--bic-input-toggle-background);
|
|
223
|
-
}
|
|
224
80
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
81
|
+
& * {
|
|
82
|
+
--_bi--focus: ;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&::placeholder {
|
|
87
|
+
color: var(--bic-input-placeholder-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:not([size], [cols]) {
|
|
91
|
+
width: 100%;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:disabled, &[aria-disabled="true"] {
|
|
95
|
+
cursor: not-allowed;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&[aria-invalid="true"] {
|
|
99
|
+
--bic-input-border-color: var(--bic-input-border-color-invalid);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&[readonly], &:disabled, &[aria-disabled="true"] {
|
|
103
|
+
background: var(--bic-input-background-readonly);
|
|
104
|
+
--bic-input-border-color: var(--bic-input-border-color-readonly);
|
|
105
|
+
color: var(--bic-input-color-readonly);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:is(textarea) {
|
|
109
|
+
height: auto;
|
|
110
|
+
min-height: calc(var(--bic-input-size) * 2);
|
|
111
|
+
resize: vertical;
|
|
112
|
+
|
|
113
|
+
&:not([rows]) {
|
|
114
|
+
field-sizing: content;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:is(select) {
|
|
119
|
+
&:not([readonly], [aria-disabled="true"], :disabled) {
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
background-image: var(--bic-input-select-chevron);
|
|
124
|
+
background-position: calc(100% - .5em);
|
|
125
|
+
background-repeat: no-repeat;
|
|
126
|
+
background-size: 1.5em;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&[type="checkbox"], &[type="radio"] {
|
|
130
|
+
padding: var(--bi-scale-0-50x);
|
|
131
|
+
line-height: inherit;
|
|
132
|
+
height: var(--bic-input-toggle-size);
|
|
133
|
+
width: var(--bic-input-toggle-size);
|
|
134
|
+
box-shadow: none;
|
|
135
|
+
border-width: var(--bi-stroke-medium);
|
|
136
|
+
border-style: solid;
|
|
137
|
+
border-color: var(--bic-input-border-color);
|
|
138
|
+
background: none;
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
|
|
141
|
+
&:focus-visible {
|
|
142
|
+
box-shadow: var(--_bi--focus, 0 0 0 4.5px var(--bic-input-focus-shadow-color));
|
|
143
|
+
outline: var(--_bi--focus, 3px solid var(--bic-input-focus-outline-color));
|
|
144
|
+
outline-offset: var(--_bi--focus, 3px);
|
|
145
|
+
|
|
146
|
+
& * {
|
|
147
|
+
--_bi--focus: ;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&:read-only:not([readonly], [aria-disabled="true"], :disabled) {
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&[type="radio"] {
|
|
156
|
+
border-radius: var(--bi-radius-full);
|
|
157
|
+
|
|
158
|
+
&:before {
|
|
159
|
+
content: "";
|
|
160
|
+
background-color: var(--bic-input-toggle-background);
|
|
161
|
+
border-radius: 100%;
|
|
162
|
+
width: 0;
|
|
163
|
+
height: 0;
|
|
164
|
+
transition: width .1s ease-in-out, height .1s ease-in-out;
|
|
165
|
+
display: block;
|
|
166
|
+
position: absolute;
|
|
167
|
+
top: 50%;
|
|
168
|
+
left: 50%;
|
|
169
|
+
transform: translate(-50%, -50%);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:checked {
|
|
173
|
+
--bic-input-border-color: var(--bic-input-toggle-background);
|
|
174
|
+
|
|
175
|
+
&:before {
|
|
176
|
+
width: 12px;
|
|
177
|
+
height: 12px;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&[type="checkbox"]:not([role="switch"]) {
|
|
183
|
+
border-radius: var(--bi-radius-small);
|
|
184
|
+
place-content: center;
|
|
185
|
+
display: grid;
|
|
186
|
+
|
|
187
|
+
&:before {
|
|
188
|
+
content: "";
|
|
189
|
+
width: .7em;
|
|
190
|
+
height: .7em;
|
|
191
|
+
box-shadow: inset 1em 1em var(--bic-input-toggle-color);
|
|
192
|
+
transform-origin: center;
|
|
193
|
+
clip-path: polygon(9.73% 39.66%, 0% 49.25%, 34.81% 84.58%, 100% 20%, 90.45% 10.31%, 34.81% 65.12%);
|
|
194
|
+
transition: transform .2s ease-in-out;
|
|
195
|
+
transform: scale(0);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&:where(:checked, :indeterminate) {
|
|
199
|
+
background: var(--bic-input-toggle-background);
|
|
200
|
+
--bic-input-border-color: var(--bic-input-toggle-background);
|
|
201
|
+
|
|
202
|
+
&:before {
|
|
203
|
+
transform: scale(1);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&:indeterminate:before {
|
|
208
|
+
clip-path: polygon(0% 42%, 0% 58%, 100% 58%, 100% 42%);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&[type="checkbox"][role="switch"] {
|
|
213
|
+
--_bic-input-circle-position-x: var(--bi-scale-0-50x);
|
|
214
|
+
background: var(--bi-neutral-50);
|
|
215
|
+
|
|
216
|
+
&:where(:checked) {
|
|
217
|
+
--_bic-input-circle-position-x: calc(100% - var(--bi-scale-0-50x));
|
|
218
|
+
background: var(--bic-input-toggle-background);
|
|
219
|
+
--bic-input-border-color: var(--bic-input-toggle-background);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
background-image: radial-gradient(circle closest-side, var(--bi-basic-white) 95%, transparent 100%);
|
|
223
|
+
background-origin: content-box;
|
|
224
|
+
background-position: var(--_bic-input-circle-position-x);
|
|
225
|
+
background-repeat: no-repeat;
|
|
226
|
+
background-size: calc(var(--bic-input-toggle-size)) 100%;
|
|
227
|
+
border-radius: var(--bi-radius-full);
|
|
228
|
+
width: var(--bi-scale-11x);
|
|
229
|
+
height: var(--bi-scale-6x);
|
|
230
|
+
padding-inline: 0;
|
|
231
|
+
transition: background-position .2s;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
236
234
|
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
.bi-label {
|
|
2
2
|
--bic-label-color: var(--bic-field-label-color, var(--bi-neutral-95));
|
|
3
3
|
--bic-label-required-color: var(--bic-field-label-required-color, var(--bi-primary-50));
|
|
4
|
-
}
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
5
|
+
&[data-dark="true"] {
|
|
6
|
+
--bic-label-color: var(--bic-field-label-color, var(--bi-basic-white));
|
|
7
|
+
--bic-label-required-color: var(--bic-field-label-required-color, var(--bi-secondary-50));
|
|
8
|
+
}
|
|
10
9
|
|
|
11
|
-
.bi-label {
|
|
12
10
|
color: var(--bic-label-color);
|
|
13
11
|
font: var(--bi-font-label-medium);
|
|
14
|
-
}
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
13
|
+
&[data-weight="medium"] {
|
|
14
|
+
font-weight: var(--bi-font-weight-regular);
|
|
15
|
+
}
|
|
19
16
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
17
|
+
&[data-weight="regular"] {
|
|
18
|
+
font-weight: 300;
|
|
19
|
+
}
|
|
23
20
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
&:has( ~ .bi-input:required, ~ .bi-field--affixes > .bi-input:required) {
|
|
22
|
+
&:before {
|
|
23
|
+
content: "*";
|
|
24
|
+
color: var(--bic-label-required-color);
|
|
25
|
+
padding-inline-end: var(--bi-scale-0-25x);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
28
|
}
|
package/dist/components/link.css
CHANGED
|
@@ -13,62 +13,62 @@
|
|
|
13
13
|
text-decoration-thickness: var(--bic-link-text-decoration-thickness);
|
|
14
14
|
text-underline-offset: .25em;
|
|
15
15
|
outline: none;
|
|
16
|
-
}
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
17
|
+
& :is(img, svg) {
|
|
18
|
+
vertical-align: middle;
|
|
19
|
+
}
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
21
|
+
&[data-dark="true"] {
|
|
22
|
+
--bic-link-background-active: var(--bi-primary-80);
|
|
23
|
+
--bic-link-color-active: var(--bi-primary-30);
|
|
24
|
+
--bic-link-color-hover: var(--bi-primary-30);
|
|
25
|
+
--bic-link-color: var(--bi-primary-40);
|
|
26
|
+
--bic-link-focus-shadow-color: var(--bi-neutral-95);
|
|
27
|
+
--bic-link-focus-outline-color: var(--bi-primary-30);
|
|
28
|
+
}
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
30
|
+
&[data-color="neutral"] {
|
|
31
|
+
--bic-link-background-active: var(--bi-neutral-10);
|
|
32
|
+
--bic-link-color-active: var(--bi-neutral-100);
|
|
33
|
+
--bic-link-color-hover: var(--bi-neutral-100);
|
|
34
|
+
--bic-link-color: var(--bi-neutral-90);
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
36
|
+
&[data-dark="true"] {
|
|
37
|
+
--bic-link-background-active: var(--bi-neutral-90);
|
|
38
|
+
--bic-link-color-active: var(--bi-neutral-15);
|
|
39
|
+
--bic-link-color-hover: var(--bi-neutral-15);
|
|
40
|
+
--bic-link-color: var(--bi-neutral-5);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
44
|
+
&[data-underline="hover"]:not(:hover) {
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
48
|
+
&:visited {
|
|
49
|
+
color: var(--bic-link-color);
|
|
50
|
+
}
|
|
52
51
|
|
|
53
|
-
@media (hover: hover) and (pointer: fine) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
@media (hover: hover) and (pointer: fine) {
|
|
53
|
+
&:hover {
|
|
54
|
+
color: var(--bic-link-color-hover);
|
|
55
|
+
--bic-link-text-decoration-thickness: var(--bic-link-text-decoration-thickness--hover);
|
|
56
|
+
}
|
|
57
57
|
}
|
|
58
|
-
}
|
|
59
58
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
59
|
+
&:focus-visible {
|
|
60
|
+
box-shadow: var(--_bi--focus, 0 0 0 4.5px var(--bic-link-focus-shadow-color), var(--bic-button-box-shadow));
|
|
61
|
+
outline: var(--_bi--focus, 3px solid var(--bic-link-focus-outline-color));
|
|
62
|
+
outline-offset: var(--_bi--focus, 2px);
|
|
63
|
+
border-radius: var(--bi-radius-small);
|
|
66
64
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
65
|
+
& * {
|
|
66
|
+
--_bi--focus: ;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
&:active {
|
|
71
|
+
background: var(--bic-link-background-active);
|
|
72
|
+
color: var(--bic-link-color-active);
|
|
73
|
+
}
|
|
74
74
|
}
|
package/dist/components/logo.css
CHANGED
|
@@ -19,50 +19,48 @@
|
|
|
19
19
|
background-size: contain;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
display: flex;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.bi-logo[data-dark="true"] {
|
|
25
|
-
--bic-logo-international-vertical: var(--bic-logo-pride-dark-international-vertical, url("./assets/logos/vertical-dark.svg"));
|
|
26
|
-
--bic-logo-international: var(--bic-logo-pride-dark-international, url("./assets/logos/international-dark.svg"));
|
|
27
|
-
--bic-logo-default: var(--bic-logo-pride-dark-default, url("./assets/logos/dark.svg"));
|
|
28
|
-
}
|
|
29
22
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
&[data-dark="true"] {
|
|
24
|
+
--bic-logo-international-vertical: var(--bic-logo-pride-dark-international-vertical, url("./assets/logos/vertical-dark.svg"));
|
|
25
|
+
--bic-logo-international: var(--bic-logo-pride-dark-international, url("./assets/logos/international-dark.svg"));
|
|
26
|
+
--bic-logo-default: var(--bic-logo-pride-dark-default, url("./assets/logos/dark.svg"));
|
|
27
|
+
}
|
|
33
28
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
29
|
+
&[data-size="xs"] {
|
|
30
|
+
--bic-logo-height: var(--bi-scale-6x);
|
|
31
|
+
}
|
|
37
32
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
33
|
+
&[data-size="small"] {
|
|
34
|
+
--bic-logo-height: var(--bi-scale-8x);
|
|
35
|
+
}
|
|
41
36
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
37
|
+
&[data-size="medium"] {
|
|
38
|
+
--bic-logo-height: var(--bi-scale-11x);
|
|
39
|
+
}
|
|
45
40
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
41
|
+
&[data-size="large"] {
|
|
42
|
+
--bic-logo-height: var(--bi-scale-24x);
|
|
43
|
+
}
|
|
49
44
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
45
|
+
&[data-size="xl"] {
|
|
46
|
+
--bic-logo-height: var(--bi-scale-36x);
|
|
47
|
+
}
|
|
53
48
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
background-image: var(--bic-logo-international-vertical);
|
|
57
|
-
aspect-ratio: .974318;
|
|
49
|
+
&[data-size="xxl"] {
|
|
50
|
+
--bic-logo-height: var(--bi-scale-48x);
|
|
58
51
|
}
|
|
59
52
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
53
|
+
@media (width >= 795px) {
|
|
54
|
+
&[data-international="true"] {
|
|
55
|
+
&[data-vertical="true"] {
|
|
56
|
+
background-image: var(--bic-logo-international-vertical);
|
|
57
|
+
aspect-ratio: .974318;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
background-image: var(--bic-logo-international);
|
|
61
|
+
aspect-ratio: 2.8125;
|
|
62
|
+
}
|
|
63
63
|
}
|
|
64
|
-
}
|
|
65
64
|
|
|
66
|
-
.bi-logo {
|
|
67
65
|
background-image: var(--bic-logo-default);
|
|
68
66
|
}
|