@el7ven/cookie-kit 0.2.15

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,744 @@
1
+ /**
2
+ * Cookie Consent Drawer — Default Theme
3
+ * Uses CSS custom properties for easy customization
4
+ */
5
+
6
+ :root {
7
+ /* Colors */
8
+ --cc-primary: #0026aa;
9
+ --cc-primary-hover: #002699;
10
+ --cc-secondary: #0097d4;
11
+ --cc-secondary-hover: #0088bf;
12
+ --cc-surface-dark: #0D0B3D;
13
+ --cc-surface-dark2: #080826;
14
+ --cc-surface-black-t10: rgba(8, 8, 38, 0.1);
15
+ --cc-surface-gray: #1E1C52;
16
+
17
+ --cc-bg: #ffffff;
18
+ --cc-bg-secondary: #f8f9fa;
19
+ --cc-text: rgba(13, 11, 61, 1);
20
+ --cc-text-secondary: #666666;
21
+ --cc-text-subtle: rgba(13, 11, 61, 0.7);
22
+ --cc-border: #e0e0e0;
23
+ --cc-backdrop: rgba(0, 0, 0, 0.4);
24
+ --cc-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
25
+ --cc-toggle-bg: rgba(8, 8, 38, 0.25);
26
+ --cc-toggle-active: var(--cc-primary);
27
+
28
+ /* Layout */
29
+ --cc-border-radius: 48px;
30
+ --cc-border-radius-btn: 64px;
31
+ --cc-border-radius-toggle: 24px;
32
+ --cc-border-radius-pill: 4px;
33
+ --cc-max-width: 900px;
34
+ --cc-z-index: 10000;
35
+ --cc-padding: 48px;
36
+ --cc-padding-lg: 24px;
37
+ --cc-padding-sm: 16px;
38
+ --cc-padding-xs: 12px;
39
+ --cc-padding-btn: 24px 39px;
40
+ --cc-padding-btn-mobile: 16px 24px;
41
+ --cc-padding-tab: 12px 24px;
42
+ --cc-padding-close: 11px;
43
+ --cc-padding-close-mobile: 7px;
44
+ --cc-width-toggle: 48px;
45
+ --cc-width-toggle-small: 36px;
46
+ --cc-height-toggle: 24px;
47
+
48
+ /* Typography */
49
+ /*--cc-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
50
+ --cc-font-size-sm: 14px;
51
+ --cc-line-height-sm: 20px;
52
+ --cc-font-size-lg: 16px;
53
+ --cc-line-height-lg: 24px;
54
+ --cc-font-size-btn: 16px;
55
+ --cc-line-height-btn: 22px;
56
+ --cc-font-size-title: 32px;
57
+ --cc-line-height-title: 44px;
58
+
59
+ /* Animation */
60
+ --cc-transition: 0.3s ease;
61
+ --cc-transition-fast: 0.2s ease;
62
+
63
+ /* Focus */
64
+ --cc-focus-color: #007bff;
65
+ --cc-focus-width: 2px;
66
+ --cc-focus-offset: 2px;
67
+ }
68
+
69
+ /* ============================================
70
+ Responsive Breakpoints
71
+ ============================================ */
72
+
73
+ /* Desktop Large */
74
+ @media (max-width: 1199px) {
75
+ :root {
76
+ --cc-border-radius: 32px;
77
+ --cc-padding: 32px;
78
+ }
79
+ }
80
+
81
+ /* Desktop Small */
82
+ @media (max-width: 991px) {
83
+ :root {
84
+ --cc-border-radius: 24px;
85
+ --cc-padding: 24px;
86
+ }
87
+ }
88
+
89
+ /* Tablet */
90
+ @media (max-width: 767px) {
91
+ :root {
92
+ --cc-font-size-title: 24px;
93
+ --cc-line-height-title: 28px;
94
+ }
95
+ }
96
+
97
+ /* Mobile */
98
+ @media (max-width: 640px) {
99
+ :root {
100
+ --cc-border-radius: 16px;
101
+ --cc-padding: 16px;
102
+ }
103
+ }
104
+
105
+ /* ============================================
106
+ Dark Theme
107
+ ============================================ */
108
+
109
+ [data-cookie-kit-theme="dark"],
110
+ [data-cc-theme="dark"] {
111
+ --cc-primary: #4da3ff;
112
+ --cc-primary-hover: #2b8aff;
113
+ --cc-secondary: #8a9199;
114
+ --cc-secondary-hover: #6e767e;
115
+ --cc-bg: #1e1e2e;
116
+ --cc-bg-secondary: #2a2a3e;
117
+ --cc-text: #e0e0e0;
118
+ --cc-text-secondary: #a0a0b0;
119
+ --cc-border: #3a3a4e;
120
+ --cc-backdrop: rgba(0, 0, 0, 0.6);
121
+ --cc-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
122
+ --cc-toggle-bg: #4a4a5e;
123
+ }
124
+
125
+
126
+ /* ============================================
127
+ Base Components
128
+ ============================================ */
129
+
130
+ .cookie-consent {
131
+ position: relative;
132
+ }
133
+
134
+ .cookie-consent--has-modal {
135
+ min-height: 100vh;
136
+ }
137
+
138
+ /* ============================================
139
+ Drawer Layout
140
+ ============================================ */
141
+
142
+ /* Backdrop */
143
+ .cookie-drawer__backdrop {
144
+ position: fixed;
145
+ top: 0;
146
+ left: 0;
147
+ right: 0;
148
+ bottom: 0;
149
+ background: var(--cc-backdrop);
150
+ z-index: var(--cc-z-index);
151
+ }
152
+
153
+ /* Hide backdrop for essential mode */
154
+ .cookie-drawer--essential-mode .cookie-drawer__backdrop {
155
+ display: none;
156
+ }
157
+
158
+ /* Content wrapper */
159
+ .cookie-drawer__content-wrapper {
160
+ position: fixed;
161
+ top: 0;
162
+ left: 0;
163
+ right: 0;
164
+ bottom: 0;
165
+ z-index: calc(var(--cc-z-index) + 1);
166
+ display: flex;
167
+ align-items: flex-start;
168
+ justify-content: flex-end;
169
+ padding: 24px;
170
+ pointer-events: none;
171
+ font-size: var(--cc-font-size-sm);
172
+ line-height: var(--cc-line-height-sm);
173
+ }
174
+
175
+ .cookie-drawer__content-wrapper.cookie-drawer--mobile {
176
+ align-items: flex-end;
177
+ justify-content: center;
178
+ padding: 0;
179
+ }
180
+
181
+ /* Essential mode - compact banner at bottom center */
182
+ .cookie-drawer--essential-mode .cookie-drawer__content-wrapper {
183
+ align-items: flex-end;
184
+ justify-content: center;
185
+ padding: 20px;
186
+ }
187
+
188
+ /* ============================================
189
+ Drawer Content
190
+ ============================================ */
191
+
192
+ .cookie-drawer__content {
193
+ background: var(--cc-bg);
194
+ border-radius: var(--cc-border-radius);
195
+ max-width: var(--cc-max-width);
196
+ width: 100%;
197
+ height: fit-content;
198
+ max-height: 100%;
199
+ overflow: hidden;
200
+ box-shadow: var(--cc-shadow);
201
+ display: flex;
202
+ flex-direction: column;
203
+ pointer-events: auto;
204
+ }
205
+
206
+ .cookie-drawer--mobile .cookie-drawer__content {
207
+ max-width: 100%;
208
+ height: 100%;
209
+ max-height: 85vh;
210
+ border-radius: var(--cc-border-radius) var(--cc-border-radius) 0 0;
211
+ }
212
+
213
+ /* Essential mode - compact content */
214
+ .cookie-drawer--essential-mode .cookie-drawer__content {
215
+ max-width: 640px;
216
+ height: auto;
217
+ max-height: none;
218
+ border-radius: var(--cc-border-radius);
219
+ }
220
+
221
+ @media (max-width: 767px) {
222
+ .cookie-drawer__content {
223
+ max-width: 100%;
224
+ height: 100%;
225
+ max-height: 85vh;
226
+ border-radius: var(--cc-border-radius) var(--cc-border-radius) 0 0;
227
+ }
228
+
229
+ /* Essential mode stays compact on mobile */
230
+ .cookie-drawer--essential-mode .cookie-drawer__content {
231
+ height: auto;
232
+ max-height: none;
233
+ border-radius: var(--cc-border-radius);
234
+ }
235
+ }
236
+
237
+ /* Header */
238
+ .cookie-drawer__header {
239
+ display: flex;
240
+ gap: 12px;
241
+ flex-wrap: wrap;
242
+ align-items: center;
243
+ justify-content: space-between;
244
+ padding: var(--cc-padding) var(--cc-padding) var(--cc-padding-sm);
245
+ border-bottom: 1px solid var(--cc-border);
246
+ flex-shrink: 0;
247
+ }
248
+
249
+ /* Essential mode - hide header border and reduce padding */
250
+ .cookie-drawer--essential-mode .cookie-drawer__header {
251
+ border-bottom: none;
252
+ padding: var(--cc-padding-sm) var(--cc-padding) 0;
253
+ }
254
+
255
+ .cookie-drawer__title {
256
+ font-size: var(--cc-font-size-title);
257
+ color: var(--cc-text);
258
+ margin: 0;
259
+ }
260
+
261
+ .cookie-drawer__close,
262
+ .cookie-drawer__close-btn {
263
+ display: flex;
264
+ background: none;
265
+ border: 1px solid var(--cc-border);
266
+ color: var(--cc-text);
267
+ cursor: pointer;
268
+ padding: var(--cc-padding-close);
269
+ border-radius: 50%;
270
+ transition: all var(--cc-transition-fast);
271
+ }
272
+
273
+ .cookie-drawer__close:hover,
274
+ .cookie-drawer__close-btn:hover {
275
+ background: var(--cc-bg-secondary);
276
+ color: var(--cc-text);
277
+ }
278
+
279
+ /* Banner */
280
+ .cookie-drawer__banner {
281
+ padding: var(--cc-padding-sm) var(--cc-padding) 12px;
282
+ flex: 1;
283
+ overflow-y: auto;
284
+ }
285
+
286
+ /* Essential banner - compact styling */
287
+ .cookie-drawer--essential-mode .cookie-drawer__banner {
288
+ padding: var(--cc-padding-sm) var(--cc-padding);
289
+ }
290
+
291
+ .cookie-drawer__essential {
292
+ display: flex;
293
+ flex-direction: column;
294
+ gap: 12px;
295
+ }
296
+
297
+ .cookie-drawer__message--essential {
298
+ font-size: var(--cc-font-size-sm);
299
+ line-height: var(--cc-line-height-sm);
300
+ color: var(--cc-text);
301
+ }
302
+
303
+ .cookie-drawer__body {
304
+ padding: var(--cc-padding);
305
+ flex: 1;
306
+ overflow-y: auto;
307
+ }
308
+
309
+ .cookie-drawer__message {
310
+ color: var(--cc-text);
311
+ width: 100%;
312
+ }
313
+
314
+ .cookie-drawer__intro,
315
+ .cookie-drawer__intro-text {
316
+ color: var(--cc-text-secondary);
317
+ margin-bottom: 16px;
318
+ }
319
+
320
+ .cookie-drawer__intro-title {
321
+ font-size: var(--cc-font-size-lg);
322
+ line-height: var(--cc-line-height-lg);
323
+ color: var(--cc-text);
324
+ margin-bottom: 12px;
325
+ }
326
+
327
+ /* Categories */
328
+ .cookie-drawer__categories {
329
+ margin-bottom: 24px;
330
+ }
331
+
332
+ .cookie-drawer__category {
333
+ display: flex;
334
+ flex-direction: column;
335
+ }
336
+
337
+ .cookie-drawer__category-header {
338
+ display: flex;
339
+ align-items: center;
340
+ justify-content: space-between;
341
+ padding: var(--cc-padding-sm ) 0;
342
+ border-bottom: 1px solid var(--cc-border);
343
+ }
344
+
345
+ .cookie-drawer__category-info {
346
+ display: flex;
347
+ align-items: flex-start;
348
+ gap: 12px;
349
+ flex: 1;
350
+ }
351
+
352
+ .cookie-drawer__category-icon {
353
+ font-size: 24px;
354
+ flex-shrink: 0;
355
+ }
356
+
357
+ .cookie-drawer__category-details {
358
+ flex: 1;
359
+ }
360
+
361
+ .cookie-drawer__category-name,
362
+ .cookie-drawer__category-title {
363
+ font-size: var(--cc-font-size-lg);
364
+ line-height: var(--cc-line-height-lg);
365
+ margin: 0!important;
366
+ }
367
+
368
+ .cookie-drawer__category-description {
369
+ color: var(--cc-text);
370
+ font-size: var(--cc-font-size-sm);
371
+ line-height: var(--cc-line-height-sm);
372
+ margin-top: 24px;
373
+ }
374
+
375
+ .cookie-drawer__category-toggle {
376
+ position: relative;
377
+ width: var(--cc-width-toggle);
378
+ height: var(--cc-height-toggle);
379
+ background: var(--cc-toggle-bg);
380
+ border: none;
381
+ border-radius: var(--cc-border-radius-toggle);
382
+ cursor: pointer;
383
+ transition: var(--cc-transition);
384
+ flex-shrink: 0;
385
+ }
386
+
387
+ .cookie-drawer__category-toggle--active {
388
+ background: var(--cc-toggle-active);
389
+ }
390
+
391
+ .cookie-drawer__category-toggle--disabled {
392
+ opacity: 0.6;
393
+ cursor: not-allowed;
394
+ }
395
+
396
+ .cookie-drawer__toggle-slider {
397
+ position: absolute;
398
+ width: 18px;
399
+ height: 18px;
400
+ left: 3px;
401
+ top: 3px;
402
+ background: white;
403
+ border-radius: 50%;
404
+ transition: var(--cc-transition);
405
+ }
406
+
407
+ .cookie-drawer__category-toggle--active .cookie-drawer__toggle-slider {
408
+ transform: translateX(24px);
409
+ }
410
+
411
+ /* Settings link */
412
+ .cookie-drawer__settings-link {
413
+
414
+ }
415
+
416
+ .cookie-drawer__settings-button {
417
+ background: none;
418
+ border: none;
419
+ color: var(--cc-primary);
420
+ text-decoration: underline;
421
+ font-size: var(--cc-font-size-sm);
422
+ line-height: var(--cc-line-height-sm);
423
+ cursor: pointer;
424
+ padding: 0;
425
+ }
426
+
427
+ .cookie-drawer__settings-button:hover {
428
+ color: var(--cc-primary-hover);
429
+ }
430
+
431
+ /* Actions */
432
+ .cookie-drawer__actions_essential {
433
+ display: flex;
434
+ justify-content: end;
435
+ }
436
+
437
+ .cookie-drawer__actions,
438
+ .cookie-drawer__footer {
439
+ display: flex;
440
+ gap: 24px;
441
+ flex-shrink: 0;
442
+ padding: 12px var(--cc-padding) var(--cc-padding);
443
+ }
444
+
445
+ @media (max-width: 767px) {
446
+ .cookie-drawer__actions,
447
+ .cookie-drawer__footer {
448
+ flex-direction: column;
449
+ margin-top: 16px;
450
+ }
451
+ .cookie-drawer__close,
452
+ .cookie-drawer__close-btn {
453
+ padding: var(--cc-padding-close-mobile);
454
+ }
455
+ }
456
+
457
+ /* Buttons */
458
+ .cookie-drawer__button,
459
+ .cookie-drawer__btn {
460
+ padding: var(--cc-padding-btn);
461
+ border-radius: var(--cc-border-radius-btn);
462
+ font-size: var(--cc-font-size-btn);
463
+ line-height: var(--cc-line-height-btn);
464
+ cursor: pointer;
465
+ transition: all var(--cc-transition-fast);
466
+ border: 1px solid transparent;
467
+ flex: 1;
468
+ max-width: fit-content;
469
+ }
470
+
471
+ @media (max-width: 767px) {
472
+ .cookie-drawer__actions{
473
+ margin: 0;
474
+ }
475
+ .cookie-drawer__button,
476
+ .cookie-drawer__btn {
477
+ width: 100%;
478
+ max-width: unset;
479
+ margin: 0;
480
+ padding: var(--cc-padding-btn-mobile);
481
+ }
482
+ }
483
+
484
+ .cookie-drawer__button--primary,
485
+ .cookie-drawer__btn--primary {
486
+ background: var(--cc-primary);
487
+ color: white;
488
+ border-color: var(--cc-primary);
489
+ }
490
+
491
+ .cookie-drawer__button--primary:hover:not(:disabled),
492
+ .cookie-drawer__btn--primary:hover:not(:disabled) {
493
+ background: var(--cc-primary-hover);
494
+ border-color: var(--cc-primary-hover);
495
+ transform: translateY(-1px);
496
+ }
497
+
498
+ .cookie-drawer__button--primary:disabled,
499
+ .cookie-drawer__btn--primary:disabled {
500
+ opacity: 0.6;
501
+ cursor: not-allowed;
502
+ }
503
+
504
+ .cookie-drawer__button--secondary,
505
+ .cookie-drawer__btn--secondary {
506
+ background: var(--cc-surface-dark);
507
+ color: white;
508
+ border-color: var(--cc-surface-dark);
509
+ }
510
+
511
+ .cookie-drawer__button--secondary:hover,
512
+ .cookie-drawer__btn--secondary:hover {
513
+ background: var(--cc-surface-dark2);
514
+ border-color: var(--cc-surface-dark2);
515
+ transform: translateY(-1px);
516
+ }
517
+
518
+ .cookie-drawer__button--outline,
519
+ .cookie-drawer__btn--outline {
520
+ background: transparent;
521
+ color: var(--cc-text);
522
+ border-color: var(--cc-border);
523
+ margin-right: auto;
524
+ }
525
+
526
+ .cookie-drawer__button--outline:hover,
527
+ .cookie-drawer__btn--outline:hover {
528
+ border-color: var(--cc-text-secondary);
529
+ color: var(--cc-primary);
530
+ transform: translateY(-1px);
531
+ }
532
+
533
+ .cookie-drawer__button:active,
534
+ .cookie-drawer__btn:active {
535
+ transform: translateY(0);
536
+ }
537
+
538
+ /* Settings */
539
+ .cookie-drawer__settings {
540
+ display: flex;
541
+ flex-direction: column;
542
+ height: 100%;
543
+ flex: 1;
544
+ overflow-y: auto;
545
+ }
546
+
547
+ /* Tabs */
548
+ .cookie-drawer__tabs {
549
+ display: flex;
550
+ padding: 0 var(--cc-padding);
551
+ overflow-x: auto;
552
+ flex-shrink: 0;
553
+ }
554
+
555
+ @media (max-width: 767px) {
556
+ .cookie-drawer__tabs {
557
+ padding: 0 var(--cc-padding-sm);
558
+ }
559
+ }
560
+
561
+ .cookie-drawer__tab {
562
+ background: none;
563
+ border: none;
564
+ padding: var(--cc-padding-tab);
565
+ font-size: var(--cc-font-size-lg);
566
+ line-height: var(--cc-line-height-lg);
567
+ color: var(--cc-text-subtle);
568
+ cursor: pointer;
569
+ border-bottom: 1px solid transparent;
570
+ white-space: nowrap;
571
+ transition: all var(--cc-transition-fast);
572
+ }
573
+
574
+ .cookie-drawer__tab--active {
575
+ color: var(--cc-text);
576
+ border-bottom-color: var(--cc-text);
577
+ }
578
+
579
+ .cookie-drawer__tab:hover:not(.cookie-drawer__tab--active) {
580
+ color: var(--cc-primary);
581
+ }
582
+
583
+ .cookie-drawer__tab-content {
584
+ flex: 1;
585
+ padding: var(--cc-padding-lg) var(--cc-padding) 12px;
586
+ overflow-y: auto;
587
+ }
588
+
589
+ @media (max-width: 767px) {
590
+ .cookie-drawer__tab-content {
591
+ padding: var(--cc-padding-sm);
592
+ }
593
+ }
594
+
595
+ /* Privacy */
596
+ .cookie-drawer__text{
597
+
598
+ }
599
+
600
+ .cookie-drawer__link {
601
+ color: var(--cc-primary);
602
+ text-decoration: underline;
603
+ font-size: var(--cc-font-size-sm);
604
+ line-height: var(--cc-line-height-sm);
605
+ margin-top: 8px;
606
+ width: fit-content;
607
+ }
608
+ .cookie-drawer__link:hover {
609
+ text-decoration: underline;
610
+ }
611
+
612
+ /* Toggle */
613
+ .cookie-drawer__toggle {
614
+ position: relative;
615
+ width: var(--cc-width-toggle-small);
616
+ height: var(--cc-height-toggle);
617
+ }
618
+
619
+ .cookie-drawer__toggle-input {
620
+ opacity: 0;
621
+ width: 0;
622
+ height: 0;
623
+ }
624
+
625
+ .cookie-drawer__toggle-input:checked + .cookie-drawer__toggle-label {
626
+ background: var(--cc-toggle-active);
627
+ }
628
+
629
+ .cookie-drawer__toggle-input:checked + .cookie-drawer__toggle-label::after {
630
+ transform: translateX(12px);
631
+ }
632
+
633
+ .cookie-drawer__toggle-input:disabled + .cookie-drawer__toggle-label {
634
+ opacity: 0.3;
635
+ cursor: not-allowed;
636
+ }
637
+
638
+ .cookie-drawer__toggle-label {
639
+ position: absolute;
640
+ cursor: pointer;
641
+ top: 0;
642
+ left: 0;
643
+ right: 0;
644
+ bottom: 0;
645
+ background: var(--cc-toggle-bg);
646
+ transition: var(--cc-transition);
647
+ border-radius: var(--cc-border-radius-pill);
648
+ }
649
+
650
+ .cookie-drawer__toggle-label::after {
651
+ content: "";
652
+ position: absolute;
653
+ width: 16px;
654
+ height: 16px;
655
+ left: 4px;
656
+ bottom: 4px;
657
+ background: white;
658
+ transition: var(--cc-transition);
659
+ border-radius: var(--cc-border-radius-pill);
660
+ }
661
+
662
+ .cookie-drawer__toggle-label--disabled {
663
+ cursor: not-allowed;
664
+ }
665
+
666
+ /* Drawer animations */
667
+ .drawer-slide-right-enter-active,
668
+ .drawer-slide-right-leave-active {
669
+ transition: all var(--cc-transition);
670
+ }
671
+
672
+ .drawer-slide-right-enter-from {
673
+ transform: translateX(100%);
674
+ }
675
+
676
+ .drawer-slide-right-leave-to {
677
+ transform: translateX(100%);
678
+ }
679
+
680
+ .drawer-slide-left-enter-active,
681
+ .drawer-slide-left-leave-active {
682
+ transition: all var(--cc-transition);
683
+ }
684
+
685
+ .drawer-slide-left-enter-from {
686
+ transform: translateX(-100%);
687
+ }
688
+
689
+ .drawer-slide-left-leave-to {
690
+ transform: translateX(-100%);
691
+ }
692
+
693
+ .drawer-slide-up-enter-active,
694
+ .drawer-slide-up-leave-active {
695
+ transition: all var(--cc-transition);
696
+ }
697
+
698
+ .drawer-slide-up-enter-from {
699
+ transform: translateY(100%);
700
+ }
701
+
702
+ .drawer-slide-up-leave-to {
703
+ transform: translateY(100%);
704
+ }
705
+
706
+ .drawer-slide-down-enter-active,
707
+ .drawer-slide-down-leave-active {
708
+ transition: all var(--cc-transition);
709
+ }
710
+
711
+ .drawer-slide-down-enter-from {
712
+ transform: translateY(-100%);
713
+ }
714
+
715
+ .drawer-slide-down-leave-to {
716
+ transform: translateY(-100%);
717
+ }
718
+
719
+ /* Backdrop animations */
720
+ .backdrop-fade-enter-active,
721
+ .backdrop-fade-leave-active {
722
+ transition: opacity var(--cc-transition);
723
+ }
724
+
725
+ .backdrop-fade-enter-from,
726
+ .backdrop-fade-leave-to {
727
+ opacity: 0;
728
+ }
729
+
730
+ /* Focus styles */
731
+ .cookie-drawer__close:focus-visible,
732
+ .cookie-drawer__settings-button:focus-visible,
733
+ .cookie-drawer__button:focus-visible,
734
+ .cookie-drawer__tab:focus-visible,
735
+ .cookie-drawer__toggle-input:focus-visible + .cookie-drawer__toggle-label,
736
+ .cookie-drawer__link:focus-visible {
737
+ outline: var(--cc-focus-width) solid var(--cc-focus-color);
738
+ outline-offset: var(--cc-focus-offset);
739
+ }
740
+
741
+ .cookie-drawer__tab:focus-visible {
742
+ outline-offset: calc(var(--cc-focus-offset) * -1);
743
+ }
744
+