PluginProbe
CookieAdmin – Cookie Consent Banner / 1.2.2
CookieAdmin – Cookie Consent Banner v1.2.2
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.2, at assets/css/consent.css

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