barbican-reset 0.8.2 → 0.8.6

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.
@@ -0,0 +1,1018 @@
1
+ .klaro {
2
+ color: #f6f6f6;
3
+ }
4
+ .klaro label {
5
+ margin-bottom: 0.25rem;
6
+ }
7
+ .klaro p:last-of-type {
8
+ margin-bottom: 0;
9
+ }
10
+ .klaro .cm-as-context-notice {
11
+ padding-bottom: 0.75rem;
12
+ padding-top: 0.75rem;
13
+ height: 100%;
14
+ }
15
+ .klaro .cookie-modal {
16
+ font-size: 1rem;
17
+ overflow: hidden;
18
+ position: fixed;
19
+ z-index: 1000;
20
+ height: 100%;
21
+ width: 100%;
22
+ left: 0;
23
+ top: 0;
24
+ }
25
+ .klaro .cookie-modal a {
26
+ text-decoration: underline;
27
+ color: inherit;
28
+ }
29
+ .klaro .cookie-modal a.focus-visible {
30
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #f6f6f6;
31
+ background-color: #353535;
32
+ outline: none;
33
+ }
34
+ .klaro .cookie-modal .slider {
35
+ box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
36
+ }
37
+ .klaro .cookie-modal .cm-switch {
38
+ display: inline-block;
39
+ position: relative;
40
+ height: 30px;
41
+ width: 50px;
42
+ }
43
+ .klaro .cookie-modal .cm-list-title {
44
+ font-size: 0.875rem;
45
+ }
46
+ .klaro .cookie-modal .cm-list-description {
47
+ color: #a5a5a5;
48
+ font-size: 0.875rem;
49
+ padding-top: 0.25rem;
50
+ }
51
+ .klaro .cookie-modal .cm-list-input {
52
+ position: absolute;
53
+ height: 30px;
54
+ width: 50px;
55
+ opacity: 0;
56
+ left: 0;
57
+ top: 0;
58
+ }
59
+ .klaro .cookie-modal .cm-list-input:focus + .cm-list-label .slider {
60
+ box-shadow: 0 0 0 0.25rem #353535, 0 0 0 0.375rem #fff;
61
+ }
62
+ .klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider {
63
+ background-color: #006ebd;
64
+ }
65
+ .klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider::before {
66
+ -ms-transform: translateX(20px);
67
+ transform: translateX(20px);
68
+ }
69
+ .klaro .cookie-modal .cm-list-label .cm-switch {
70
+ position: absolute;
71
+ left: 0;
72
+ }
73
+ .klaro .cookie-modal .cm-list-label .slider {
74
+ background-color: #757575;
75
+ display: inline-block;
76
+ position: absolute;
77
+ cursor: pointer;
78
+ width: 50px;
79
+ top: 0;
80
+ left: 0;
81
+ right: 0;
82
+ bottom: 0;
83
+ }
84
+ .klaro .cookie-modal .cm-list-label .slider.round {
85
+ border-radius: 30px;
86
+ }
87
+ .klaro .cookie-modal .cm-list-label .slider.round::before {
88
+ border-radius: 50%;
89
+ }
90
+ .klaro .cookie-modal .cm-list-label .slider::before {
91
+ background-color: #fff;
92
+ position: absolute;
93
+ transition: 0.3s;
94
+ height: 1.25rem;
95
+ width: 1.25rem;
96
+ content: "";
97
+ bottom: 5px;
98
+ left: 5px;
99
+ }
100
+ .klaro .cookie-modal .cm-btn {
101
+ background: #757575;
102
+ border-radius: 0.25rem;
103
+ font-size: 0.875rem;
104
+ padding: 0.5em 0.75em;
105
+ margin-right: 1em;
106
+ cursor: pointer;
107
+ border: 0;
108
+ }
109
+ .klaro .cookie-modal .cm-btn:focus {
110
+ outline: none;
111
+ }
112
+ .klaro .cookie-modal .cm-btn:last-of-type {
113
+ margin-right: 0;
114
+ }
115
+ .klaro .cookie-modal .cm-btn.focus-visible {
116
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #fff;
117
+ }
118
+ .klaro .cookie-modal .cm-btn.cm-btn-success {
119
+ background: #006ebd;
120
+ }
121
+ .klaro .cookie-modal .cm-btn.cm-btn-success-var {
122
+ background: #006ebd;
123
+ }
124
+ .klaro .cookie-modal a:focus {
125
+ outline: none;
126
+ }
127
+ .klaro .cookie-modal a.focus-visible {
128
+ box-shadow: 0 0 0 0.25rem #353535, 0 0 0 0.375rem #ddd;
129
+ }
130
+ .klaro .cookie-modal.cm-embedded {
131
+ position: relative;
132
+ height: inherit;
133
+ right: inherit;
134
+ width: inherit;
135
+ left: inherit;
136
+ z-index: 0;
137
+ }
138
+ .klaro .cookie-modal.cm-embedded .cm-modal.cm-klaro {
139
+ position: relative;
140
+ -ms-transform: none;
141
+ transform: none;
142
+ }
143
+ .klaro .cookie-modal .cm-bg {
144
+ background: rgba(0, 0, 0, 0.5);
145
+ position: fixed;
146
+ height: 100%;
147
+ width: 100%;
148
+ left: 0;
149
+ top: 0;
150
+ }
151
+ .klaro .cookie-modal .cm-modal.cm-klaro {
152
+ background: #353535;
153
+ color: #ddd;
154
+ box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
155
+ transform: translateY(-50%);
156
+ max-height: 98%;
157
+ position: fixed;
158
+ overflow: auto;
159
+ z-index: 1001;
160
+ width: 100%;
161
+ top: 50%;
162
+ }
163
+ @media (min-width: 32.5em) {
164
+ .klaro .cookie-modal .cm-modal.cm-klaro {
165
+ border-radius: 0.25rem;
166
+ position: relative;
167
+ max-width: 40rem;
168
+ margin: 0 auto;
169
+ height: auto;
170
+ width: auto;
171
+ }
172
+ }
173
+ .klaro .cookie-modal .cm-modal .cm-header {
174
+ border-bottom: 1px solid #757575;
175
+ padding: 1rem 3.15rem 1rem 1rem;
176
+ font-size: 0.875rem;
177
+ }
178
+ .klaro .cookie-modal .cm-modal .cm-header h1 {
179
+ font-size: 1.75rem;
180
+ }
181
+ .klaro .cookie-modal .cm-modal .cm-header p {
182
+ color: #a5a5a5;
183
+ }
184
+ .klaro .cookie-modal .cm-modal .cm-body {
185
+ padding: 1rem;
186
+ }
187
+ .klaro .cookie-modal .cm-modal .cm-body span {
188
+ display: inline-block;
189
+ width: auto;
190
+ }
191
+ .klaro .cookie-modal .cm-modal .cm-body ul {
192
+ display: block;
193
+ }
194
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services {
195
+ padding: 0;
196
+ margin: 0;
197
+ }
198
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose,
199
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose,
200
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service {
201
+ margin-bottom: 0.625rem;
202
+ vertical-align: middle;
203
+ padding-left: 3.75rem;
204
+ line-height: 1.25rem;
205
+ min-height: 2.5rem;
206
+ position: relative;
207
+ list-style: none;
208
+ }
209
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose:first-child,
210
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service:first-child, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose:first-child,
211
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service:first-child {
212
+ margin-top: 0;
213
+ }
214
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose:last-of-type,
215
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service:last-of-type, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose:last-of-type,
216
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service:last-of-type {
217
+ margin-bottom: 0;
218
+ }
219
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose span.cm-list-title,
220
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service span.cm-list-title, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose span.cm-list-title,
221
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service span.cm-list-title {
222
+ font-weight: bold;
223
+ }
224
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose p.purposes,
225
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service p.purposes, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose p.purposes,
226
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service p.purposes {
227
+ display: none;
228
+ }
229
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose.cm-toggle-all,
230
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-service.cm-toggle-all, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose.cm-toggle-all,
231
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-service.cm-toggle-all {
232
+ border-top: 1px solid #757575;
233
+ padding-top: 1rem;
234
+ }
235
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose .cm-services .cm-content, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose .cm-services .cm-content {
236
+ margin-left: -40px;
237
+ display: none;
238
+ }
239
+ .klaro .cookie-modal .cm-modal .cm-body ul.cm-purposes li.cm-purpose .cm-services .cm-content.expanded, .klaro .cookie-modal .cm-modal .cm-body ul.cm-services li.cm-purpose .cm-services .cm-content.expanded {
240
+ margin-top: 10px;
241
+ display: block;
242
+ }
243
+ .klaro .cookie-modal .cm-modal .cm-footer {
244
+ border-top: 1px solid #757575;
245
+ padding: 1rem;
246
+ }
247
+ .klaro .cookie-modal .cm-modal .cm-footer .cm-powered-by {
248
+ display: none;
249
+ }
250
+ .klaro .cookie-modal .cm-modal .cm-footer-buttons {
251
+ justify-content: space-between;
252
+ flex-flow: row;
253
+ display: flex;
254
+ }
255
+ .klaro .cookie-modal .cm-modal .cm-list-label.focus-visible {
256
+ box-shadow: 0 0 0 0.25rem #353535, 0 0 0 0.375rem #f6f6f6;
257
+ outline: none;
258
+ }
259
+ .klaro .cookie-modal .cm-modal .cm-required {
260
+ font-size: 0.875rem;
261
+ margin-left: 0.25rem;
262
+ }
263
+ .klaro .cookie-modal .cm-modal .hide {
264
+ border-style: none;
265
+ position: absolute;
266
+ background: none;
267
+ padding: 1.25rem;
268
+ line-height: 1.1;
269
+ z-index: 1;
270
+ right: 0;
271
+ top: 0;
272
+ }
273
+ .klaro .cookie-modal .cm-modal .hide:focus {
274
+ outline: none;
275
+ }
276
+ .klaro .cookie-modal .cm-modal .hide.focus-visible {
277
+ outline: none;
278
+ }
279
+ .klaro .cookie-modal .cm-modal .hide.focus-visible svg {
280
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #fff;
281
+ }
282
+ .klaro .cookie-modal .cm-modal .hide svg {
283
+ stroke: #ddd;
284
+ }
285
+ .klaro .cookie-notice {
286
+ font-size: 1rem;
287
+ }
288
+ .klaro .cookie-notice a {
289
+ text-decoration: underline;
290
+ color: inherit;
291
+ }
292
+ .klaro .cookie-notice a.focus-visible {
293
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #f6f6f6;
294
+ background-color: #353535;
295
+ outline: none;
296
+ }
297
+ .klaro .cookie-notice .slider {
298
+ box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
299
+ }
300
+ .klaro .cookie-notice .cm-switch {
301
+ display: inline-block;
302
+ position: relative;
303
+ height: 30px;
304
+ width: 50px;
305
+ }
306
+ .klaro .cookie-notice .cm-list-title {
307
+ font-size: 0.875rem;
308
+ }
309
+ .klaro .cookie-notice .cm-list-description {
310
+ color: #a5a5a5;
311
+ font-size: 0.875rem;
312
+ padding-top: 0.25rem;
313
+ }
314
+ .klaro .cookie-notice .cm-list-input {
315
+ position: absolute;
316
+ height: 30px;
317
+ width: 50px;
318
+ opacity: 0;
319
+ left: 0;
320
+ top: 0;
321
+ }
322
+ .klaro .cookie-notice .cm-list-input:focus + .cm-list-label .slider {
323
+ box-shadow: 0 0 0 0.25rem #353535, 0 0 0 0.375rem #fff;
324
+ }
325
+ .klaro .cookie-notice .cm-list-input:checked + .cm-list-label .slider {
326
+ background-color: #006ebd;
327
+ }
328
+ .klaro .cookie-notice .cm-list-input:checked + .cm-list-label .slider::before {
329
+ -ms-transform: translateX(20px);
330
+ transform: translateX(20px);
331
+ }
332
+ .klaro .cookie-notice .cm-list-label .cm-switch {
333
+ position: absolute;
334
+ left: 0;
335
+ }
336
+ .klaro .cookie-notice .cm-list-label .slider {
337
+ background-color: #757575;
338
+ display: inline-block;
339
+ position: absolute;
340
+ cursor: pointer;
341
+ width: 50px;
342
+ top: 0;
343
+ left: 0;
344
+ right: 0;
345
+ bottom: 0;
346
+ }
347
+ .klaro .cookie-notice .cm-list-label .slider.round {
348
+ border-radius: 30px;
349
+ }
350
+ .klaro .cookie-notice .cm-list-label .slider.round::before {
351
+ border-radius: 50%;
352
+ }
353
+ .klaro .cookie-notice .cm-list-label .slider::before {
354
+ background-color: #fff;
355
+ position: absolute;
356
+ transition: 0.3s;
357
+ height: 1.25rem;
358
+ width: 1.25rem;
359
+ content: "";
360
+ bottom: 5px;
361
+ left: 5px;
362
+ }
363
+ .klaro .cookie-notice .cm-btn {
364
+ background: #757575;
365
+ border-radius: 0.25rem;
366
+ font-size: 0.875rem;
367
+ padding: 0.5em 0.75em;
368
+ margin-right: 1em;
369
+ cursor: pointer;
370
+ border: 0;
371
+ }
372
+ .klaro .cookie-notice .cm-btn:focus {
373
+ outline: none;
374
+ }
375
+ .klaro .cookie-notice .cm-btn:last-of-type {
376
+ margin-right: 0;
377
+ }
378
+ .klaro .cookie-notice .cm-btn.focus-visible {
379
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #fff;
380
+ }
381
+ .klaro .cookie-notice .cm-btn.cm-btn-success {
382
+ background: #006ebd;
383
+ }
384
+ .klaro .cookie-notice .cm-btn.cm-btn-success-var {
385
+ background: #006ebd;
386
+ }
387
+ .klaro .cookie-notice:not(.cookie-modal-notice) {
388
+ position: fixed;
389
+ z-index: 999;
390
+ width: 100%;
391
+ bottom: 0;
392
+ right: 0;
393
+ background: #353535;
394
+ }
395
+ @media (min-width: 60em) {
396
+ .klaro .cookie-notice:not(.cookie-modal-notice) {
397
+ box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
398
+ border-radius: 0.25rem;
399
+ max-width: 28rem;
400
+ bottom: 1.25rem;
401
+ right: 1.25rem;
402
+ }
403
+ }
404
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body {
405
+ padding: 1.25rem;
406
+ margin-bottom: 0;
407
+ margin-right: 0;
408
+ bottom: 0;
409
+ }
410
+ @media (min-width: 60em) {
411
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body {
412
+ padding: 1rem;
413
+ }
414
+ }
415
+ @media (max-width: 25.98em) {
416
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body p {
417
+ margin-bottom: 0.5rem;
418
+ }
419
+ }
420
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body p p {
421
+ color: #a5a5a5;
422
+ }
423
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body p.cn-changes {
424
+ text-decoration: underline;
425
+ }
426
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons {
427
+ display: inline-block;
428
+ }
429
+ @media (max-width: 25.98em) {
430
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons {
431
+ width: 100%;
432
+ }
433
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-buttons button.cm-btn {
434
+ width: calc(50% - 0.5em);
435
+ }
436
+ }
437
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more {
438
+ background: #757575;
439
+ border-radius: 0.25rem;
440
+ text-decoration: none;
441
+ display: inline-block;
442
+ font-size: 0.875rem;
443
+ font-weight: bold;
444
+ padding: 0.5rem;
445
+ color: #fff;
446
+ }
447
+ @media (max-width: 32.48em) {
448
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more {
449
+ margin-bottom: 1rem;
450
+ margin-right: 0;
451
+ width: 10rem;
452
+ }
453
+ }
454
+ @media (min-width: 32.5em) {
455
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more {
456
+ margin-right: 1rem;
457
+ }
458
+ }
459
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-learn-more:focus {
460
+ outline: none;
461
+ }
462
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok {
463
+ padding-top: 1.5rem;
464
+ }
465
+ @media (max-width: 25.98em) {
466
+ .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body .cn-ok {
467
+ text-align: center;
468
+ }
469
+ }
470
+ .klaro .cookie-notice .cm-btn {
471
+ background: #757575;
472
+ border-radius: 0.25rem;
473
+ font-size: 0.875rem;
474
+ padding: 0.5em 0.75em;
475
+ margin-right: 1em;
476
+ cursor: pointer;
477
+ border: 0;
478
+ }
479
+ .klaro .cookie-notice .cm-btn:focus {
480
+ outline: none;
481
+ }
482
+ .klaro .cookie-notice .cm-btn:last-of-type {
483
+ margin-right: 0;
484
+ }
485
+ .klaro .cookie-notice .cm-btn.focus-visible {
486
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #fff;
487
+ }
488
+ .klaro .cookie-notice .cm-btn.cm-btn-success {
489
+ background: #006ebd;
490
+ }
491
+ .klaro .cookie-notice .cm-btn.cm-btn-success-var {
492
+ background: #006ebd;
493
+ }
494
+ .klaro .context-notice {
495
+ font-size: 1rem;
496
+ }
497
+ .klaro .context-notice a {
498
+ text-decoration: underline;
499
+ color: inherit;
500
+ }
501
+ .klaro .context-notice a.focus-visible {
502
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #f6f6f6;
503
+ background-color: #353535;
504
+ outline: none;
505
+ }
506
+ .klaro .context-notice .slider {
507
+ box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
508
+ }
509
+ .klaro .context-notice .cm-switch {
510
+ display: inline-block;
511
+ position: relative;
512
+ height: 30px;
513
+ width: 50px;
514
+ }
515
+ .klaro .context-notice .cm-list-title {
516
+ font-size: 0.875rem;
517
+ }
518
+ .klaro .context-notice .cm-list-description {
519
+ color: #a5a5a5;
520
+ font-size: 0.875rem;
521
+ padding-top: 0.25rem;
522
+ }
523
+ .klaro .context-notice .cm-list-input {
524
+ position: absolute;
525
+ height: 30px;
526
+ width: 50px;
527
+ opacity: 0;
528
+ left: 0;
529
+ top: 0;
530
+ }
531
+ .klaro .context-notice .cm-list-input:focus + .cm-list-label .slider {
532
+ box-shadow: 0 0 0 0.25rem #353535, 0 0 0 0.375rem #fff;
533
+ }
534
+ .klaro .context-notice .cm-list-input:checked + .cm-list-label .slider {
535
+ background-color: #006ebd;
536
+ }
537
+ .klaro .context-notice .cm-list-input:checked + .cm-list-label .slider::before {
538
+ -ms-transform: translateX(20px);
539
+ transform: translateX(20px);
540
+ }
541
+ .klaro .context-notice .cm-list-label .cm-switch {
542
+ position: absolute;
543
+ left: 0;
544
+ }
545
+ .klaro .context-notice .cm-list-label .slider {
546
+ background-color: #757575;
547
+ display: inline-block;
548
+ position: absolute;
549
+ cursor: pointer;
550
+ width: 50px;
551
+ top: 0;
552
+ left: 0;
553
+ right: 0;
554
+ bottom: 0;
555
+ }
556
+ .klaro .context-notice .cm-list-label .slider.round {
557
+ border-radius: 30px;
558
+ }
559
+ .klaro .context-notice .cm-list-label .slider.round::before {
560
+ border-radius: 50%;
561
+ }
562
+ .klaro .context-notice .cm-list-label .slider::before {
563
+ background-color: #fff;
564
+ position: absolute;
565
+ transition: 0.3s;
566
+ height: 1.25rem;
567
+ width: 1.25rem;
568
+ content: "";
569
+ bottom: 5px;
570
+ left: 5px;
571
+ }
572
+ .klaro .context-notice .cm-btn {
573
+ background: #757575;
574
+ border-radius: 0.25rem;
575
+ font-size: 0.875rem;
576
+ padding: 0.5em 0.75em;
577
+ margin-right: 1em;
578
+ cursor: pointer;
579
+ border: 0;
580
+ }
581
+ .klaro .context-notice .cm-btn:focus {
582
+ outline: none;
583
+ }
584
+ .klaro .context-notice .cm-btn:last-of-type {
585
+ margin-right: 0;
586
+ }
587
+ .klaro .context-notice .cm-btn.focus-visible {
588
+ box-shadow: 0 0 0 md #353535, 0 0 0 0.375rem #fff;
589
+ }
590
+ .klaro .context-notice .cm-btn.cm-btn-success {
591
+ background: #006ebd;
592
+ }
593
+ .klaro .context-notice .cm-btn.cm-btn-success-var {
594
+ background: #006ebd;
595
+ }
596
+
597
+ .cookie-confirmation {
598
+ position: fixed;
599
+ z-index: 999;
600
+ width: 100%;
601
+ bottom: 0;
602
+ right: 0;
603
+ background: #006ebd;
604
+ padding: 1rem;
605
+ color: #fff;
606
+ opacity: 0;
607
+ }
608
+ @media (min-width: 60em) {
609
+ .cookie-confirmation {
610
+ box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 5px 5px 10px 0 rgba(0, 0, 0, 0.2);
611
+ border-radius: 0.25rem;
612
+ max-width: 28rem;
613
+ bottom: 1.25rem;
614
+ right: 1.25rem;
615
+ }
616
+ }
617
+
618
+ @font-face {
619
+ font-family: "FuturaLTPro";
620
+ src: url("~barbican-reset/fonts/FuturaLTPro-Book.woff") format("woff"), url("~barbican-reset/fonts/FuturaLTPro-Book.woff2") format("woff2");
621
+ font-style: normal;
622
+ }
623
+ @font-face {
624
+ font-family: "FuturaLTPro";
625
+ src: url("~barbican-reset/fonts/FuturaLTPro-BookOblique.woff") format("woff"), url("~barbican-reset/fonts/FuturaLTPro-BookOblique.woff2") format("woff2");
626
+ font-style: italic;
627
+ }
628
+ @font-face {
629
+ font-family: "FuturaLTPro";
630
+ src: url("~barbican-reset/fonts/FuturaLTPro-Bold.woff") format("woff"), url("~barbican-reset/fonts/FuturaLTPro-Bold.woff2") format("woff2");
631
+ font-style: normal;
632
+ font-weight: bold;
633
+ }
634
+ @font-face {
635
+ font-family: "FuturaLTPro";
636
+ src: url("~barbican-reset/fonts/FuturaLTPro-BoldOblique.woff") format("woff"), url("~barbican-reset/fonts/FuturaLTPro-BoldOblique.woff2") format("woff2");
637
+ font-style: italic;
638
+ font-weight: bold;
639
+ }
640
+ .card.loading-animation {
641
+ background-color: transparent;
642
+ border: none;
643
+ }
644
+ .card.loading-animation .card-body {
645
+ align-items: center;
646
+ display: flex;
647
+ }
648
+
649
+ .wrap.loading-animation {
650
+ padding-bottom: 2rem;
651
+ margin-right: auto;
652
+ margin-left: auto;
653
+ padding-top: 2rem;
654
+ height: 6.5rem;
655
+ width: 8.5rem;
656
+ }
657
+
658
+ .icon.loading-animation {
659
+ vertical-align: middle;
660
+ display: inline-block;
661
+ position: relative;
662
+ }
663
+ .icon.loading-animation:not(:last-child) {
664
+ margin-right: 1.53125rem;
665
+ }
666
+ .icon.loading-animation:before {
667
+ vertical-align: middle;
668
+ display: inline-block;
669
+ border-radius: 50%;
670
+ position: absolute;
671
+ height: 0.75rem;
672
+ width: 0.75rem;
673
+ content: "";
674
+ background-color: #adb5bd;
675
+ animation: animation-before 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
676
+ }
677
+ .icon.loading-animation:after {
678
+ vertical-align: middle;
679
+ display: inline-block;
680
+ border-radius: 50%;
681
+ position: absolute;
682
+ height: 0.75rem;
683
+ width: 0.75rem;
684
+ content: "";
685
+ background-color: #ced4da;
686
+ animation: animation-after 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
687
+ }
688
+ .icon.loading-animation:nth-child(1):before, .icon.loading-animation:nth-child(1):after {
689
+ animation-delay: 0.2s;
690
+ }
691
+ .icon.loading-animation:nth-child(2):before, .icon.loading-animation:nth-child(2):after {
692
+ animation-delay: 0.4s;
693
+ }
694
+ .icon.loading-animation:nth-child(3):before, .icon.loading-animation:nth-child(3):after {
695
+ animation-delay: 0.6s;
696
+ }
697
+ .icon.loading-animation:nth-child(4):before, .icon.loading-animation:nth-child(4):after {
698
+ animation-delay: 0.8s;
699
+ }
700
+ .icon.loading-animation:nth-child(5):before, .icon.loading-animation:nth-child(5):after {
701
+ animation-delay: 1s;
702
+ }
703
+ .icon.loading-animation:nth-child(6):before, .icon.loading-animation:nth-child(6):after {
704
+ animation-delay: 1.2s;
705
+ }
706
+ .icon.loading-animation:nth-child(7):before, .icon.loading-animation:nth-child(7):after {
707
+ animation-delay: 1.4s;
708
+ }
709
+ .icon.loading-animation:nth-child(8):before, .icon.loading-animation:nth-child(8):after {
710
+ animation-delay: 1.6s;
711
+ }
712
+ .icon.loading-animation:nth-child(9):before, .icon.loading-animation:nth-child(9):after {
713
+ animation-delay: 1.8s;
714
+ }
715
+ .icon.loading-animation:nth-child(10):before, .icon.loading-animation:nth-child(10):after {
716
+ animation-delay: 2s;
717
+ }
718
+
719
+ @keyframes animation-before {
720
+ 0% {
721
+ top: -0.875rem;
722
+ z-index: 2;
723
+ }
724
+ 25% {
725
+ transform: scale(1.25);
726
+ z-index: 2;
727
+ }
728
+ 50% {
729
+ top: 0.875rem;
730
+ z-index: 1;
731
+ }
732
+ 75% {
733
+ transform: scale(0.75);
734
+ z-index: 1;
735
+ }
736
+ 100% {
737
+ top: -0.875rem;
738
+ z-index: 2;
739
+ }
740
+ }
741
+ @keyframes animation-after {
742
+ 0% {
743
+ top: 0.875rem;
744
+ z-index: 1;
745
+ }
746
+ 25% {
747
+ background-color: #dee2e6;
748
+ transform: scale(0.75);
749
+ z-index: 1;
750
+ }
751
+ 50% {
752
+ top: -0.875rem;
753
+ z-index: 2;
754
+ }
755
+ 75% {
756
+ transform: scale(1.25);
757
+ z-index: 2;
758
+ }
759
+ 100% {
760
+ top: 0.875rem;
761
+ z-index: 2;
762
+ }
763
+ }
764
+ @media (max-width: 25.98em) {
765
+ .component.notification {
766
+ font-size: 0.875rem;
767
+ }
768
+ }
769
+ .component.notification.margin-sm {
770
+ margin-bottom: 1rem;
771
+ }
772
+ .component.notification.margin-md {
773
+ margin-bottom: 1.25rem;
774
+ }
775
+ @media (min-width: 48em) {
776
+ .component.notification.margin-md {
777
+ margin-bottom: 2rem;
778
+ }
779
+ }
780
+ .component.notification.center {
781
+ text-align: center;
782
+ }
783
+ .component.notification.center .wrap.notification {
784
+ justify-content: center;
785
+ }
786
+
787
+ .wrap.notification {
788
+ background-color: #e6f4ff;
789
+ border-color: #80caff;
790
+ border-radius: 0.25rem;
791
+ border-width: 1px;
792
+ color: #006ebd;
793
+ border-style: solid;
794
+ padding: 0.625rem;
795
+ }
796
+ .wrap.notification.inline {
797
+ vertical-align: middle;
798
+ display: inline-block;
799
+ }
800
+ .wrap.notification.toggle {
801
+ justify-content: space-between;
802
+ align-items: center;
803
+ display: flex;
804
+ gap: 0.625rem;
805
+ }
806
+ .wrap.notification.toggle.inline {
807
+ display: inline-flex;
808
+ }
809
+ .wrap.notification a {
810
+ color: inherit;
811
+ }
812
+ .wrap.notification a:hover, .wrap.notification a:focus {
813
+ color: inherit;
814
+ }
815
+ .wrap.notification a.focus-visible {
816
+ box-shadow: 0 0 0 0.25rem #006ebd;
817
+ background-color: #006ebd;
818
+ color: #e6f4ff;
819
+ outline: none;
820
+ }
821
+ .wrap.notification p {
822
+ margin-bottom: 0;
823
+ }
824
+ .wrap.notification p + p {
825
+ margin-top: 1rem;
826
+ }
827
+ .wrap.notification.headline {
828
+ margin-bottom: 2rem;
829
+ }
830
+ .wrap.notification .close-icon-svg {
831
+ width: 1.375rem;
832
+ }
833
+ .wrap.notification .close-icon-svg path.fill {
834
+ fill: #e6f4ff;
835
+ }
836
+ .wrap.notification .close-icon-svg path.outline,
837
+ .wrap.notification .close-icon-svg path.cross {
838
+ fill: #006ebd;
839
+ }
840
+ .wrap.notification.focus-visible path.fill {
841
+ fill: #006ebd;
842
+ }
843
+ .wrap.notification.focus-visible path.cross {
844
+ fill: #e6f4ff;
845
+ }
846
+ .wrap.notification.error {
847
+ background-color: #f8eded;
848
+ border-color: #dca3a3;
849
+ color: #893434;
850
+ }
851
+ .wrap.notification.error .close-icon-svg {
852
+ width: 1.375rem;
853
+ }
854
+ .wrap.notification.error .close-icon-svg path.fill {
855
+ fill: #f8eded;
856
+ }
857
+ .wrap.notification.error .close-icon-svg path.outline,
858
+ .wrap.notification.error .close-icon-svg path.cross {
859
+ fill: #893434;
860
+ }
861
+ .wrap.notification.error.focus-visible path.fill {
862
+ fill: #893434;
863
+ }
864
+ .wrap.notification.error.focus-visible path.cross {
865
+ fill: #f8eded;
866
+ }
867
+ .wrap.notification.success {
868
+ background-color: #eef6ee;
869
+ border-color: #acd2ac;
870
+ color: #427b42;
871
+ }
872
+ .wrap.notification.success .close-icon-svg {
873
+ width: 1.375rem;
874
+ }
875
+ .wrap.notification.success .close-icon-svg path.fill {
876
+ fill: #eef6ee;
877
+ }
878
+ .wrap.notification.success .close-icon-svg path.outline,
879
+ .wrap.notification.success .close-icon-svg path.cross {
880
+ fill: #427b42;
881
+ }
882
+ .wrap.notification.success.focus-visible path.fill {
883
+ fill: #427b42;
884
+ }
885
+ .wrap.notification.success.focus-visible path.cross {
886
+ fill: #eef6ee;
887
+ }
888
+
889
+ .field-error-message {
890
+ color: #dc3545;
891
+ }
892
+
893
+ .discounted-price {
894
+ color: #d14900;
895
+ }
896
+
897
+ .btn.btn-close-notification {
898
+ background-color: transparent;
899
+ padding: 0;
900
+ }
901
+ .btn.btn-close-notification:hover, .btn.btn-close-notification:focus {
902
+ background-color: transparent;
903
+ box-shadow: none;
904
+ }
905
+
906
+ .component.related-title {
907
+ text-align: center;
908
+ }
909
+ .component.related-title .title {
910
+ font-size: 1.25rem;
911
+ margin-bottom: 2rem;
912
+ font-weight: bold;
913
+ }
914
+ @media (min-width: 48em) {
915
+ .component.related-title .title {
916
+ font-size: 1.5rem;
917
+ }
918
+ }
919
+ .component.related-title .title.hasTagline {
920
+ margin-bottom: 1rem;
921
+ }
922
+ @media (min-width: 48em) {
923
+ .component.related-title .title.hasTagline {
924
+ margin-bottom: 0.5rem;
925
+ }
926
+ }
927
+ @media (min-width: 48em) {
928
+ .component.related-title .title {
929
+ grid-template-columns: 1fr auto 1fr;
930
+ display: grid;
931
+ gap: 1rem;
932
+ }
933
+ }
934
+ @media (max-width: 47.98em) {
935
+ .component.related-title .title .text {
936
+ vertical-align: middle;
937
+ display: inline-block;
938
+ padding-bottom: 0.75rem;
939
+ padding-top: 0.75rem;
940
+ }
941
+ }
942
+ .component.related-title .title .line {
943
+ background-color: #a5a5a5;
944
+ height: 1px;
945
+ }
946
+ @media (min-width: 48em) {
947
+ .component.related-title .title .line {
948
+ margin-top: 1.125rem;
949
+ }
950
+ }
951
+ .component.related-title .tagline {
952
+ display: inline-block;
953
+ margin-bottom: 1.25rem;
954
+ }
955
+ @media (min-width: 48em) {
956
+ .component.related-title .tagline {
957
+ margin-bottom: 2rem;
958
+ }
959
+ }
960
+ .component.related-title .tagline a:hover {
961
+ color: inherit;
962
+ }
963
+ .component.related-title .tagline.focus-visible {
964
+ box-shadow: 0 0 0 0.25rem #fff, 0 0 0 0.375rem #353535;
965
+ border-radius: 0.25rem;
966
+ outline: none;
967
+ }
968
+ .component.related-title .tagline:hover {
969
+ color: inherit;
970
+ }
971
+
972
+ .loading-message {
973
+ min-height: 2.25rem;
974
+ }
975
+ .loading-message:not(.slim) {
976
+ font-size: 1.5rem;
977
+ margin: 3.75rem 1.875rem;
978
+ text-align: center;
979
+ }
980
+
981
+ .close-icon-svg {
982
+ cursor: pointer;
983
+ width: 1.875rem;
984
+ }
985
+ .close-icon-svg .outline, .close-icon-svg .cross {
986
+ fill: #353535;
987
+ }
988
+ .close-icon-svg .fill {
989
+ fill: #fefbfa;
990
+ }
991
+
992
+ .btn.close-icon-btn {
993
+ margin-top: 0.625rem;
994
+ }
995
+ .btn.close-icon-btn:focus, .btn.close-icon-btn:active, .btn.close-icon-btn:hover {
996
+ margin-top: 0.625rem;
997
+ }
998
+ .btn.close-icon-btn.focus-visible {
999
+ box-shadow: 0 0 0 0.25rem #353535;
1000
+ background-color: #fff;
1001
+ border-radius: 50%;
1002
+ }
1003
+ .btn.close-icon-btn.focus-visible .outline, .btn.close-icon-btn.focus-visible .cross {
1004
+ fill: #fff;
1005
+ }
1006
+ .btn.close-icon-btn.focus-visible .fill {
1007
+ fill: #353535;
1008
+ }
1009
+
1010
+ body {
1011
+ line-height: 1.4;
1012
+ font-family: FuturaLTPro, "Helvetica", "Arial", sans-serif;
1013
+ color: #353535;
1014
+ }
1015
+
1016
+ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
1017
+ font-weight: 700;
1018
+ }
package/index.js CHANGED
@@ -3,11 +3,17 @@ import Notification from './vue/Notification'
3
3
  import RelatedTitle from './vue/RelatedTitle'
4
4
  import TypeText from './vue/TypeText'
5
5
  import CloseIcon from './vue/icons/Close'
6
+ import Container from './vue/Container'
7
+ import Wrap from './vue/Wrap'
8
+ import Card from './vue/Card'
6
9
 
7
10
  export {
8
11
  LoadingAnimation,
9
12
  Notification,
10
13
  RelatedTitle,
11
14
  TypeText,
12
- CloseIcon
15
+ CloseIcon,
16
+ Container,
17
+ Wrap,
18
+ Card
13
19
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "0.8.2",
3
+ "version": "0.8.6",
4
4
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,6 +16,7 @@
16
16
  "fonts/*.{woff,woff2}",
17
17
  "focus-visible.min.js",
18
18
  "helpers/**/*",
19
+ "dist/**/*",
19
20
  "scss/**/*",
20
21
  "vue/**/*",
21
22
  "logos/*"
package/vue/.DS_Store ADDED
Binary file
@@ -0,0 +1,15 @@
1
+
2
+ .container {
3
+ border: 1px solid $c-grey-concrete;
4
+ border-color: $c-grey-pearl;
5
+ background-color: $white;
6
+ border-radius: 0.5rem;
7
+ padding: 1.25rem;
8
+ display: grid;
9
+ gap: 1.25rem;
10
+
11
+ &_wrap {
12
+ composes: container;
13
+ background-color: $gray-100;
14
+ }
15
+ }
@@ -0,0 +1,23 @@
1
+ <template>
2
+ <div :class="styleContainer">
3
+ <slot></slot>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ export default {
9
+ props: {
10
+ wrap: {
11
+ type: Boolean,
12
+ default: false,
13
+ }
14
+ },
15
+ computed: {
16
+ styleContainer() {
17
+ return this.wrap ? this.$style.container_wrap : this.$style.container;
18
+ }
19
+ }
20
+ }
21
+ </script>
22
+
23
+ <style src="./card.scss" lang="scss" module></style>
@@ -0,0 +1,15 @@
1
+
2
+ .outer {
3
+ padding-right: 10%;
4
+ padding-left: 10%;
5
+ }
6
+
7
+ .inner {
8
+ max-width: $constrained_content_width--wide;
9
+ padding: 1.5rem 0;
10
+ margin: 0 auto;
11
+
12
+ @include media-breakpoint-up(sm) {
13
+ padding: 2.5rem 0;
14
+ }
15
+ }
@@ -0,0 +1,9 @@
1
+ <template>
2
+ <div :class="$style.outer">
3
+ <div :class="$style.inner">
4
+ <slot />
5
+ </div>
6
+ </div>
7
+ </template>
8
+
9
+ <style src="./container.scss" lang="scss" module></style>
@@ -0,0 +1,6 @@
1
+
2
+ .wrap {
3
+ max-width: $constrained_content_width--wide;
4
+ margin-right: auto;
5
+ margin-left: auto;
6
+ }
@@ -0,0 +1,7 @@
1
+ <template>
2
+ <div :class="$style.wrap">
3
+ <slot></slot>
4
+ </div>
5
+ </template>
6
+
7
+ <style src="./index.scss" lang="scss" module></style>