barbican-reset 2.57.0 → 2.59.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.
- package/components/BrFormRadioGroup/Component.vue +1 -1
- package/css/index.css +537 -1310
- package/package.json +1 -1
- package/scss/helpers/mixins/_br-card.scss +1 -0
- package/scss/helpers/mixins/_br-footer.scss +1 -1
- package/scss/helpers/mixins/_buttons.scss +1 -2
- package/scss/helpers/mixins/_focus.scss +9 -11
- package/scss/helpers/mixins/buttons/_solid.scss +14 -8
- package/scss/helpers/variables/colors/_grey.scss +7 -7
- package/scss/index.scss +0 -1
- package/scss/_klaro.scss +0 -473
package/package.json
CHANGED
|
@@ -36,19 +36,17 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
@mixin focus-tabs {
|
|
40
|
-
@include single-box($
|
|
41
|
-
background-color: $
|
|
42
|
-
|
|
43
|
-
color: $br-white;
|
|
39
|
+
@mixin focus-tabs($background: $c-grey-l21, $color: white) {
|
|
40
|
+
@include single-box($background);
|
|
41
|
+
background-color: $background;
|
|
42
|
+
color: $color;
|
|
44
43
|
}
|
|
45
44
|
|
|
46
|
-
@mixin focus-tabs-dark {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
45
|
+
// @mixin focus-tabs-dark {
|
|
46
|
+
// @include single-box($br-white);
|
|
47
|
+
// background-color: $br-white;
|
|
48
|
+
// color: $black;
|
|
49
|
+
// } // deprecated
|
|
52
50
|
|
|
53
51
|
@mixin box-setup {
|
|
54
52
|
position: relative;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
@mixin solid-button--color($color: white, $background: $c-brand-generic, $border: 1px) {
|
|
2
|
+
border: $border solid $background;
|
|
3
|
+
background-color: $background;
|
|
4
|
+
color: $color;
|
|
5
|
+
|
|
6
|
+
@include focus {
|
|
7
|
+
@include solid-button-focus($color, $background, $border);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
@mixin solid-button($background: $c-brand-generic,
|
|
2
12
|
$color: white,
|
|
3
13
|
$border: 1px,
|
|
@@ -5,9 +15,8 @@
|
|
|
5
15
|
$margin: false,
|
|
6
16
|
$line-height: false,
|
|
7
17
|
$font-size: false) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
color: $color;
|
|
18
|
+
|
|
19
|
+
@include solid-button--color($color, $background, $border);
|
|
11
20
|
|
|
12
21
|
@if $line-height {
|
|
13
22
|
line-height: $line-height;
|
|
@@ -29,18 +38,15 @@
|
|
|
29
38
|
fill: currentColor;
|
|
30
39
|
}
|
|
31
40
|
|
|
32
|
-
@include focus {
|
|
33
|
-
@include solid-button-focus($color, $background, $border);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
41
|
&.hide {
|
|
37
42
|
visibility: hidden;
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
|
|
41
46
|
@mixin solid-button-focus($color: white, $background: $c-brand-generic, $border: 1px) {
|
|
42
|
-
@include double-box($color, $background);
|
|
43
47
|
border: $border solid $background;
|
|
48
|
+
outline: 2px solid $background;
|
|
44
49
|
background-color: $background;
|
|
50
|
+
outline-offset: 3px;
|
|
45
51
|
color: $color;
|
|
46
52
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
$black:
|
|
1
|
+
$black: #000000; // deprecate this for $c-grey-l11
|
|
2
2
|
|
|
3
|
-
$c-grey-l11:
|
|
4
|
-
$c-grey-l21:
|
|
5
|
-
$c-grey-l44:
|
|
6
|
-
$c-grey-l65:
|
|
7
|
-
$c-grey-l87:
|
|
8
|
-
$c-grey-l96:
|
|
3
|
+
$c-grey-l11: #1a1a1a; // midnight
|
|
4
|
+
$c-grey-l21: #333333; // night
|
|
5
|
+
$c-grey-l44: #595959; // steel
|
|
6
|
+
$c-grey-l65: #a6a6a6; // concrete
|
|
7
|
+
$c-grey-l87: #d9d9d9; // pearl
|
|
8
|
+
$c-grey-l96: #f2f2f2; // alpine
|
package/scss/index.scss
CHANGED
package/scss/_klaro.scss
DELETED
|
@@ -1,473 +0,0 @@
|
|
|
1
|
-
@mixin cm-button {
|
|
2
|
-
border-radius: $br-border-radius;
|
|
3
|
-
font-size: $font-size-sm;
|
|
4
|
-
background: $c-grey-l44;
|
|
5
|
-
padding: 0.5em 0.75em;
|
|
6
|
-
margin-right: 1em;
|
|
7
|
-
font-weight: bold;
|
|
8
|
-
color: $br-white;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
border: 0;
|
|
11
|
-
|
|
12
|
-
&:focus {
|
|
13
|
-
outline: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&:last-of-type {
|
|
17
|
-
margin-right: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.focus-visible {
|
|
21
|
-
@include double-box($c-grey-l21, $br-white, md);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.cm-btn-success {
|
|
25
|
-
background: $c-status-neutral;
|
|
26
|
-
|
|
27
|
-
&-var {
|
|
28
|
-
background: $c-status-neutral;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin cookie-position($pos: right) {
|
|
34
|
-
position: fixed;
|
|
35
|
-
z-index: 999;
|
|
36
|
-
width: 100%;
|
|
37
|
-
bottom: 0;
|
|
38
|
-
|
|
39
|
-
@if $pos ==right {
|
|
40
|
-
right: 0;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@if $pos ==left {
|
|
44
|
-
left: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@include large-up {
|
|
48
|
-
box-shadow: 0 4px 6px 0 rgba($black, 0.2), 5px 5px 10px 0 rgba($black, 0.2);
|
|
49
|
-
border-radius: $br-border-radius;
|
|
50
|
-
max-width: 28rem;
|
|
51
|
-
bottom: 1.25rem;
|
|
52
|
-
|
|
53
|
-
@if $pos ==right {
|
|
54
|
-
right: 1.25rem;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@if $pos ==left {
|
|
58
|
-
left: 1.25rem;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@mixin cookie-defaults {
|
|
64
|
-
font-size: $br-font-size-base;
|
|
65
|
-
|
|
66
|
-
a {
|
|
67
|
-
text-decoration: underline;
|
|
68
|
-
color: inherit;
|
|
69
|
-
|
|
70
|
-
&.focus-visible {
|
|
71
|
-
@include double-box($c-grey-l21, $c-grey-l96, md);
|
|
72
|
-
background-color: $c-grey-l21;
|
|
73
|
-
outline: none;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.slider {
|
|
78
|
-
box-shadow: 0 4px 6px 0 rgba($black, 0.2), 5px 5px 10px 0 rgba($black, 0.2);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.cm-switch {
|
|
82
|
-
display: inline-block;
|
|
83
|
-
position: relative;
|
|
84
|
-
height: 30px;
|
|
85
|
-
width: 50px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.cm-list-title {
|
|
89
|
-
font-size: $font-size-sm;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.cm-list-description {
|
|
93
|
-
color: $c-grey-l65;
|
|
94
|
-
font-size: $font-size-sm;
|
|
95
|
-
padding-top: 0.25rem;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.cm-list-input {
|
|
99
|
-
position: absolute;
|
|
100
|
-
height: 30px;
|
|
101
|
-
width: 50px;
|
|
102
|
-
opacity: 0;
|
|
103
|
-
left: 0;
|
|
104
|
-
top: 0;
|
|
105
|
-
|
|
106
|
-
&:focus+.cm-list-label .slider {
|
|
107
|
-
@include double-box($c-grey-l21, $br-white);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&:checked+.cm-list-label .slider {
|
|
111
|
-
background-color: $c-status-neutral;
|
|
112
|
-
|
|
113
|
-
&::before {
|
|
114
|
-
-ms-transform: translateX(20px);
|
|
115
|
-
transform: translateX(20px);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.cm-list-label {
|
|
121
|
-
.cm-switch {
|
|
122
|
-
position: absolute;
|
|
123
|
-
left: 0;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.slider {
|
|
127
|
-
background-color: $c-grey-l44;
|
|
128
|
-
display: inline-block;
|
|
129
|
-
position: absolute;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
width: 50px;
|
|
132
|
-
top: 0;
|
|
133
|
-
left: 0;
|
|
134
|
-
right: 0;
|
|
135
|
-
bottom: 0;
|
|
136
|
-
|
|
137
|
-
&.round {
|
|
138
|
-
border-radius: 30px;
|
|
139
|
-
|
|
140
|
-
&::before {
|
|
141
|
-
border-radius: 50%;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&::before {
|
|
146
|
-
background-color: $br-white;
|
|
147
|
-
position: absolute;
|
|
148
|
-
transition: 0.3s;
|
|
149
|
-
height: 1.25rem;
|
|
150
|
-
width: 1.25rem;
|
|
151
|
-
content: "";
|
|
152
|
-
bottom: 5px;
|
|
153
|
-
left: 5px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.cm-btn {
|
|
159
|
-
@include cm-button;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.klaro {
|
|
164
|
-
color: $c-grey-l96;
|
|
165
|
-
|
|
166
|
-
label {
|
|
167
|
-
margin-bottom: 0.25rem;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
p:last-of-type {
|
|
171
|
-
margin-bottom: 0;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.cm-as-context-notice {
|
|
175
|
-
padding-bottom: 0.75rem;
|
|
176
|
-
padding-top: 0.75rem;
|
|
177
|
-
height: 100%;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.cookie-modal {
|
|
181
|
-
@include cookie-defaults;
|
|
182
|
-
overflow: hidden;
|
|
183
|
-
position: fixed;
|
|
184
|
-
z-index: 1000;
|
|
185
|
-
height: 100%;
|
|
186
|
-
width: 100%;
|
|
187
|
-
left: 0;
|
|
188
|
-
top: 0;
|
|
189
|
-
|
|
190
|
-
a {
|
|
191
|
-
&:focus {
|
|
192
|
-
outline: none;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&.focus-visible {
|
|
196
|
-
@include double-box($c-grey-l21, $c-grey-l87);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&.cm-embedded {
|
|
201
|
-
position: relative;
|
|
202
|
-
height: inherit;
|
|
203
|
-
right: inherit;
|
|
204
|
-
width: inherit;
|
|
205
|
-
left: inherit;
|
|
206
|
-
z-index: 0;
|
|
207
|
-
|
|
208
|
-
.cm-modal.cm-klaro {
|
|
209
|
-
position: relative;
|
|
210
|
-
-ms-transform: none;
|
|
211
|
-
transform: none;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.cm-bg {
|
|
216
|
-
background: rgba($black, 0.5);
|
|
217
|
-
position: fixed;
|
|
218
|
-
height: 100%;
|
|
219
|
-
width: 100%;
|
|
220
|
-
left: 0;
|
|
221
|
-
top: 0;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.cm-modal {
|
|
225
|
-
&.cm-klaro {
|
|
226
|
-
background: $c-grey-l21;
|
|
227
|
-
color: $c-grey-l87;
|
|
228
|
-
box-shadow: 0 4px 6px 0 rgba($black, 0.2),
|
|
229
|
-
5px 5px 10px 0 rgba($black, 0.2);
|
|
230
|
-
transform: translateY(-50%);
|
|
231
|
-
max-height: 98%;
|
|
232
|
-
position: fixed;
|
|
233
|
-
overflow: auto;
|
|
234
|
-
z-index: 1001;
|
|
235
|
-
width: 100%;
|
|
236
|
-
top: 50%;
|
|
237
|
-
|
|
238
|
-
@include small-up {
|
|
239
|
-
border-radius: $br-border-radius;
|
|
240
|
-
position: relative;
|
|
241
|
-
max-width: 40rem;
|
|
242
|
-
margin: 0 auto;
|
|
243
|
-
height: auto;
|
|
244
|
-
width: auto;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.cm-header {
|
|
249
|
-
border-bottom: 1px solid $c-grey-l44;
|
|
250
|
-
padding: 1rem 3.15rem 1rem 1rem;
|
|
251
|
-
font-size: $font-size-sm;
|
|
252
|
-
|
|
253
|
-
h1 {
|
|
254
|
-
font-size: $h3-font-size;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
p {
|
|
258
|
-
color: $c-grey-l65;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.cm-body {
|
|
263
|
-
padding: 1rem;
|
|
264
|
-
|
|
265
|
-
span {
|
|
266
|
-
display: inline-block;
|
|
267
|
-
width: auto;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
ul {
|
|
271
|
-
display: block;
|
|
272
|
-
|
|
273
|
-
&.cm-purposes,
|
|
274
|
-
&.cm-services {
|
|
275
|
-
padding: 0;
|
|
276
|
-
margin: 0;
|
|
277
|
-
|
|
278
|
-
li.cm-purpose,
|
|
279
|
-
li.cm-service {
|
|
280
|
-
margin-bottom: 0.625rem;
|
|
281
|
-
vertical-align: middle;
|
|
282
|
-
padding-left: 3.75rem;
|
|
283
|
-
line-height: 1.25rem;
|
|
284
|
-
min-height: 2.5rem;
|
|
285
|
-
position: relative;
|
|
286
|
-
list-style: none;
|
|
287
|
-
|
|
288
|
-
&:first-child {
|
|
289
|
-
margin-top: 0;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
&:last-of-type {
|
|
293
|
-
margin-bottom: 0;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
span.cm-list-title {
|
|
297
|
-
font-weight: bold;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
p.purposes {
|
|
301
|
-
display: none;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
&.cm-toggle-all {
|
|
305
|
-
border-top: 1px solid $c-grey-l44;
|
|
306
|
-
padding-top: 1rem;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
li.cm-purpose .cm-services .cm-content {
|
|
311
|
-
margin-left: -40px;
|
|
312
|
-
display: none;
|
|
313
|
-
|
|
314
|
-
&.expanded {
|
|
315
|
-
margin-top: 10px;
|
|
316
|
-
display: block;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.cm-footer {
|
|
324
|
-
border-top: 1px solid $c-grey-l44;
|
|
325
|
-
padding: 1rem;
|
|
326
|
-
|
|
327
|
-
.cm-powered-by {
|
|
328
|
-
display: none;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.cm-footer-buttons {
|
|
333
|
-
justify-content: space-between;
|
|
334
|
-
flex-flow: row;
|
|
335
|
-
display: flex;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.cm-list-label {
|
|
339
|
-
&.focus-visible {
|
|
340
|
-
@include double-box($c-grey-l21, $c-grey-l96);
|
|
341
|
-
outline: none;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.cm-required {
|
|
346
|
-
font-size: $font-size-sm;
|
|
347
|
-
margin-left: 0.25rem;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.hide {
|
|
351
|
-
border-style: none;
|
|
352
|
-
position: absolute;
|
|
353
|
-
background: none;
|
|
354
|
-
padding: 1.25rem;
|
|
355
|
-
line-height: $line-height-xs;
|
|
356
|
-
z-index: 1;
|
|
357
|
-
right: 0;
|
|
358
|
-
top: 0;
|
|
359
|
-
|
|
360
|
-
&:focus {
|
|
361
|
-
outline: none;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
&.focus-visible {
|
|
365
|
-
outline: none;
|
|
366
|
-
|
|
367
|
-
svg {
|
|
368
|
-
@include double-box($c-grey-l21, $br-white, md);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
svg {
|
|
373
|
-
stroke: $c-grey-l87;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.cookie-notice {
|
|
380
|
-
@include cookie-defaults;
|
|
381
|
-
|
|
382
|
-
&:not(.cookie-modal-notice) {
|
|
383
|
-
@include cookie-position;
|
|
384
|
-
background: $c-grey-l21;
|
|
385
|
-
|
|
386
|
-
.cn-body {
|
|
387
|
-
padding: 1.25rem;
|
|
388
|
-
margin-bottom: 0;
|
|
389
|
-
margin-right: 0;
|
|
390
|
-
bottom: 0;
|
|
391
|
-
|
|
392
|
-
@include large-up {
|
|
393
|
-
padding: 1rem;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
p {
|
|
397
|
-
@include x-small-down {
|
|
398
|
-
margin-bottom: 0.5rem;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
p {
|
|
402
|
-
color: $c-grey-l65;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
&.cn-changes {
|
|
406
|
-
text-decoration: underline;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.cn-buttons {
|
|
411
|
-
display: inline-block;
|
|
412
|
-
|
|
413
|
-
@include x-small-down {
|
|
414
|
-
width: 100%;
|
|
415
|
-
|
|
416
|
-
button.cm-btn {
|
|
417
|
-
width: calc(50% - 0.5em);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
.cn-learn-more {
|
|
423
|
-
border-radius: $br-border-radius;
|
|
424
|
-
font-size: $font-size-sm;
|
|
425
|
-
background: $c-grey-l44;
|
|
426
|
-
text-decoration: none;
|
|
427
|
-
display: inline-block;
|
|
428
|
-
font-weight: bold;
|
|
429
|
-
color: $br-white;
|
|
430
|
-
padding: 0.5rem;
|
|
431
|
-
|
|
432
|
-
@include small-down {
|
|
433
|
-
margin-bottom: 1rem;
|
|
434
|
-
margin-right: 0;
|
|
435
|
-
width: 10rem;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
@include small-up {
|
|
439
|
-
margin-right: 1rem;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
&:focus {
|
|
443
|
-
outline: none;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
.cn-ok {
|
|
448
|
-
padding-top: 1.5rem;
|
|
449
|
-
|
|
450
|
-
@include x-small-down {
|
|
451
|
-
text-align: center;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
.cm-btn {
|
|
458
|
-
@include cm-button;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.context-notice {
|
|
463
|
-
@include cookie-defaults;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.cookie-confirmation {
|
|
468
|
-
@include cookie-position;
|
|
469
|
-
background: $c-status-neutral;
|
|
470
|
-
padding: 1rem;
|
|
471
|
-
color: $br-white;
|
|
472
|
-
opacity: 0;
|
|
473
|
-
}
|