PluginProbe
CookieAdmin – Cookie Consent Banner / 1.2.3
CookieAdmin – Cookie Consent Banner v1.2.3
1.2.3 1.2.2 1.2.1 1.2.0 1.1.9 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8
cookieadmin / assets / css / consent.css

consent.css in CookieAdmin – Cookie Consent Banner 1.2.3, at assets/css/consent.css

599 lines 9.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 :root {
2 --cookieadmin-primary-color: #001d39;
3 --cookieadmin-primary-hover-color: #985e23;
4
5 --cookieadmin-secondary-color: #0046b2;
6 --cookieadmin-secondary-hover-color: #0065ff;
7
8 --cookieadmin-txcolor: #0f172a;
9
10 --cookieadmin-green-txtcolor: #3a8356;
11 --cookieadmin-warning-txtcolor: #9c7930;
12 --cookieadmin-red-txtcolor: #b55355;
13
14 --cookieadmin-green-color: #15a448;
15 --cookieadmin-warning-color: #e9b306;
16 --cookieadmin-red-color: #dd2727;
17 }
18
19 /* Consent page css */
20
21 .cookieadmin_cookie_modal label, .cookieadmin_cookie_modal input {
22 padding: 5px;
23 margin-right: 5px;
24 font-size: 15px;
25 }
26
27 .cookieadmin_cookie_modal label{
28 font-weight: 501;
29 }
30
31 .cookieadmin_bottom{
32 bottom:20px;
33 }
34
35 .cookieadmin_top{
36 top: 20px;
37 }
38
39 .cookieadmin_right{
40 right: 15px;
41 }
42
43 .cookieadmin_left{
44 left:15px;
45 }
46
47
48
49 /* Modal animations */
50 @keyframes cookieadmin_slideUp {
51 from {
52 transform: translateY(100%);
53 opacity: 0;
54 }
55 to {
56 transform: translateY(0);
57 opacity: 1;
58 }
59 }
60
61 @keyframes cookieadmin_slideSide {
62 from {
63 transform: translateX(-100%);
64 opacity: 0;
65 }
66 to {
67 transform: translateX(0);
68 opacity: 1;
69 }
70 }
71
72 /* Modal animations Ends */
73
74
75 /* Consent page css End*/
76
77
78 /* Website consent box */
79
80 .cookieadmin_law_container{
81 position: fixed;
82 width: 25%;
83 box-sizing: border-box;
84 z-index: 99999;
85 display: none;
86 }
87
88 .cookieadmin_law_container:focus{
89 outline: none;
90 }
91
92 .cookieadmin_consent_btns{
93 align-content: center;
94 display: flex;
95 justify-content: space-evenly;
96 flex-wrap: wrap;
97 }
98
99 .cookieadmin_box{
100 /*position: fixed;*/
101 width: 25%;
102 box-sizing: border-box;
103 display: none;
104 }
105
106 .cookieadmin_notice_group{
107 display: flex;
108 flex-direction: column;
109 gap: 10px; /* spacing between content and buttons */
110 align-items: flex-start;
111 }
112
113
114 .cookieadmin_consent_inside{
115 color: black;
116 background-color: #FFFFFF;
117 border: 1px solid #f4f4f4;
118 padding:15px;
119 border-radius: 4px;
120 box-shadow:1px 3px 10px rgba(0, 0, 0, 0.2);
121 }
122
123 #cookieadmin_notice_title{
124 font-weight: 601;
125 margin: 0px;
126 padding-left: 5px;
127 }
128
129 .cookieadmin_notice_con{
130 font-size: initial;
131 padding: 0px 6px;
132 flex: 1;
133 }
134
135 .cookieadmin_cookie_modal{
136 display: none;
137 flex-direction: column;
138 position: fixed;
139 max-height: 80vh;
140 background-color: #FFFFFF;
141 border: 1px solid #F4F4F4;
142 border-radius: 8px;
143 box-shadow: 0 4px 8px rgba(0,0,0,0.2);
144 z-index: 999999;
145 }
146
147 .cookieadmin_center{
148 top: 10%;
149 left: 22%;
150 max-width: 60vw;
151 }
152
153 .cookieadmin_side{
154 flex-direction: column;
155 position: fixed;
156 width: 35vw;
157 bottom: 0px;
158 animation: 0.5s ease-out forwards cookieadmin_slideSide;
159 max-height: 100vh;
160 left: 0px;
161 top: 0px;
162 border-radius: 0px;
163 }
164
165 .cookieadmin_down{
166 position: fixed;
167 max-width: 100%;
168 max-height: 55vh;
169 bottom: 0px;
170 animation: 0.5s ease-out forwards cookieadmin_slideUp;
171 }
172
173 .cookieadmin_cookie_modal:focus{
174 outline: none;
175 }
176
177 .cookieadmin_modal_overlay{
178 display: none;
179 position: fixed;
180 top: 0;
181 left: 0;
182 width: 100%;
183 height: 100%;
184 background-color: rgba(0, 0, 0, 0.5);
185 z-index: 1000;
186 }
187
188 .cookieadmin_mod_head{
189 display: flex;
190 justify-content: space-between;
191 }
192
193 .cookieadmin_mod_head, .cookieadmin_wrapper{
194 padding: 15px;
195 border-bottom: 1px solid #CCCCCC;
196 }
197
198 .cookieadmin_close_pref{
199 background: none;
200 border: none;
201 align-self: baseline;
202 color: gray;
203 cursor: pointer;
204 padding: 0px;
205 }
206
207 .cookieadmin_preference_title{
208 font-size: 20px;
209 font-weight: 801;
210 margin: 9px;
211 }
212
213 .cookieadmin_preference_details{
214 padding: 0px 10px;
215 }
216
217 .cookieadmin_preference{
218 overflow: auto;
219 font-size: 15px;
220 height: auto;
221 padding: 10px 0px;
222 }
223
224 .cookieadmin_details_wrapper{
225 padding: 0px 15px;
226 height: calc(100% - 6%);
227 overflow: auto;
228 scrollbar-width: thin;
229 }
230
231 .cookieadmin_types{
232 padding: 10px 10px;
233 border-top: 1px solid #CCCCCC;
234 }
235
236 .cookieadmin_header{
237 display: flex;
238 justify-content: space-between;
239 }
240
241 .cookieadmin_header > span > label{
242 cursor:pointer;
243 }
244
245 .cookieadmin_remark{
246 display:none;
247 justify-self:right;
248 }
249
250 .cookieadmin_act{
251 display: inline;
252 color: #1863dc;
253 }
254
255 .cookieadmin-modal-cookies-list{
256 display:none;
257 padding:1px;
258 border-radius: 10px;
259 margin: 0px 20px;
260 margin-right: 4rem;
261 font-size: smaller;
262 font-size: 1rem;
263 text-align: center;
264 }
265
266 .cookieadmin_desc{
267 padding:5px 20px;
268 font-size: 15px;
269 padding-right: 4rem;
270 }
271
272 .cookieadmin_footer{
273 left: 0px;
274 padding: 15px;
275 flex-wrap: wrap;
276 width: 100%;
277 }
278
279 .cookieadmin_modal_footer{
280 left: 0px;
281 padding: 15px;
282 flex-wrap: wrap;
283 border-top: 1px solid #CCCCCC;
284 }
285
286 button.cookieadmin_btn{
287 background-color: transparent;
288 border: 1px solid gray;
289 color: #1863dc;
290 padding: 0.4rem 0.9rem;
291 border-radius: 4px;
292 margin: 2px 5px;
293 cursor: pointer;
294 flex: auto;
295 text-wrap: auto;
296 }
297
298 .cookieadmin_btn:hover{
299 opacity: 0.8;
300 }
301
302 .cookieadmin_show_pref_cookies{
303 cursor: pointer;
304 font-size: 18px;
305 font-family: initial;
306 background: none;
307 border: none;
308 padding: 0;
309 color: inherit;
310 }
311
312 button.cookieadmin_re_consent{
313 display: none;
314 position: fixed;
315 bottom: 15px;
316 left: 15px;
317 background-color: #374FD4;
318 height: 50px;
319 width: 50px;
320 border-radius: 50% !important;
321 cursor: pointer;
322 border: 0px;
323 z-index: 99999;
324 padding: 5px !important;
325 box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
326 align-items: center;
327 justify-content: center;
328 }
329
330 .cookieadmin-cookie-card {
331 /* background: ghostwhite; */
332 border: 1px solid ghostwhite;
333 border-radius: 10px;
334 padding: 16px;
335 font-family: 'Open Sans', 'Segoe UI', sans-serif;
336 box-shadow: 0 2px 6px rgba(0,0,0,0.1);
337 margin: 10px auto;
338 text-align: left;
339 }
340
341 .cookieadmin-cookie-header {
342 display: flex;
343 justify-content: space-between;
344 font-size: 1rem;
345 margin-bottom: 6px;
346 }
347
348 .cookieadmin-cookie-name {
349 font-weight: bold;
350 color: #333;
351 }
352
353 .cookieadmin-cookie-duration {
354 font-size: 0.85rem;
355 }
356
357 .cookieadmin-cookie-duration > b {
358 font-weight: bold;
359 }
360
361 .cookieadmin-cookie-description {
362 font-size: 0.9rem;
363 margin-bottom: 12px;
364 }
365
366 .cookieadmin-cookie-tags {
367 display: flex;
368 gap: 8px;
369 }
370
371 .cookieadmin-tag {
372 background: #e0e0e0;
373 padding: 4px 10px;
374 border-radius: 12px;
375 font-size: 0.75rem;
376 color: #333;
377 }
378
379 /* Website consent box End*/
380
381
382
383
384
385 /* Checkbox switch Start */
386
387 .cookieadmin_toggle {
388 position: relative;
389 display: inline-block;
390 width: 24px;
391 height: 11px;
392 }
393
394 /* Hide the checkbox input */
395 .cookieadmin_toggle input{
396 /* display: none; */
397 opacity: 0;
398 width: 0;
399 height: 0;
400 }
401
402 /* Keyboard accessibility: When the checkbox is focused, add a visible outline to indicate focus. */
403 .cookieadmin_show_pref_cookies:focus-visible{
404 outline: 1px solid #000;
405 }
406 .cookieadmin_toggle input:focus + .cookieadmin_slider {
407 outline: 1px solid #000;
408 }
409 /* end keyboard accessibility */
410
411 /* Describe slider's look and position. */
412 .cookieadmin_slider {
413 position: absolute;
414 cursor: pointer;
415 top: 0;
416 left: 0;
417 right: 0;
418 bottom: 0;
419 height: 21px;
420 width: 34px;
421 background-color: gray;
422 transition: .4s;
423 border-radius: 34px;
424 }
425
426 /* Describe the white ball's location
427 and appearance in the slider. */
428 .cookieadmin_slider:before {
429 position: absolute;
430 content: "";
431 height: 15px;
432 width: 15px;
433 left: 3.2px;
434 bottom: 3.2px;
435 background-color: white;
436 transition: .2s;
437 border-radius: 50%;
438 }
439
440 /* Modify the slider's background color to
441 green once the checkbox has been selected. */
442 input:checked+.cookieadmin_slider {
443 background-color: #3582c4;
444 }
445
446 /* When the checkbox is checked, shift the
447 white ball towards the right within the slider. */
448 input:checked+.cookieadmin_slider:before {
449 transform: translateX(13px);
450 }
451
452 /* Checkbox switch End */
453
454 .cookieadmin_law_container .cookieadmin-poweredby{
455 margin-top: 10px;
456 }
457
458 .cookieadmin_modal_footer_links .cookieadmin-poweredby{
459 margin-left: auto;
460 }
461
462 .cookieadmin-poweredby a img{
463 height: 15px;
464 }
465
466 .cookieadmin-poweredby a{
467 color : unset;
468 cursor: pointer;
469 display: flex;
470 justify-content: center;
471 align-items: center;
472 font-size: 11px;
473 gap: 2px;
474 text-decoration: none;
475 }
476
477 .cookieadmin_modal_footer .cookieadmin-poweredby a{
478 justify-content: end;
479 }
480
481 #cookieadmin-gpc-toast{
482 display:flex;
483 visibility: hidden;
484 position: fixed;
485 bottom: 24px;
486 right: 24px;
487 color: #ffffff;
488 padding: 10px 14px;
489 border-radius: 6px;
490 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
491 align-items: center;
492 justify-content: space-between;
493 gap: 10px;
494 font-size: 14px;
495 z-index: 99999;
496 opacity: 0;
497 transform: translateY(20px);
498 transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
499 line-height:1.5;
500 }
501
502 #cookieadmin_gpc_override{
503 padding-bottom:10px;
504 }
505
506 /* Policy Links */
507 .cookieadmin_policy_link_box{
508 display: flex;
509 justify-content: space-around;
510 font-size: 13px;
511 flex-wrap: wrap;
512 }
513
514 .cookieadmin_modal_policy_link_box{
515 display: flex;
516 gap: 5px;
517 font-size: 13px;
518 flex-wrap: wrap;
519 }
520
521 .cookieadmin_modal_footer_links{
522 display:flex;
523 justify-content:space-between;
524 margin:9px 9px 0 9px;
525 }
526
527 /* CSS for phones only */
528 @media (max-width: 767px) {
529
530 .cookieadmin_center{
531 top: 10%;
532 left: 5%;
533 max-width: 90vw;
534 }
535
536 .cookieadmin_show_pref_cookies{
537 font-size: 14px;
538 }
539
540 .cookieadmin_law_container, .cookieadmin_box{
541 width: 90%;
542 }
543
544 .cookieadmin_side{
545 width: 100%;
546 }
547 }
548
549 /* CSS for tablet */
550 @media (min-width: 768px) and (max-width: 991px) {
551
552 .cookieadmin_box{
553 width: 45%;
554 }
555 }
556
557 /* CSS for small laptop */
558 @media (min-width: 992px) and (max-width: 1199px) {
559
560 .cookieadmin_box{
561 width: 35%;
562 }
563
564 }
565 /* CSS for HD TV screens */
566 @media (min-width: 1200px) and (max-width: 1360px) {
567
568 .cookieadmin_box{
569 width: 30%;
570 }
571 }
572
573 /* Desktop Layout */
574 @media (min-width: 768px) {
575 .cookieadmin_notice_group {
576 flex-direction: row;
577 justify-content: space-between;
578 align-items: center;
579 }
580
581 .cookieadmin_notice_con {
582 flex: 1; /* take remaining space */
583 }
584
585 .cookieadmin_consent_btns {
586 flex-shrink: 0;
587 }
588 }
589
590 @media (max-width:480px){
591 .cookieadmin_consent_inside .cookieadmin_btn {
592 width: 100%;
593 margin: 5px 0;
594 }
595
596 .cookieadmin_modal_footer{
597 padding: 8px;
598 }
599 }