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

574 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-radius: 10px;
321 padding: 16px;
322 font-family: 'Open Sans', 'Segoe UI', sans-serif;
323 box-shadow: 0 2px 6px rgba(0,0,0,0.1);
324 margin: 10px auto;
325 text-align: left;
326 }
327
328 .cookieadmin-cookie-header {
329 display: flex;
330 justify-content: space-between;
331 font-size: 1rem;
332 margin-bottom: 6px;
333 }
334
335 .cookieadmin-cookie-name {
336 font-weight: bold;
337 color: #333;
338 }
339
340 .cookieadmin-cookie-duration {
341 font-size: 0.85rem;
342 }
343
344 .cookieadmin-cookie-duration > b {
345 font-weight: bold;
346 }
347
348 .cookieadmin-cookie-description {
349 font-size: 0.9rem;
350 margin-bottom: 12px;
351 }
352
353 .cookieadmin-cookie-tags {
354 display: flex;
355 gap: 8px;
356 }
357
358 .cookieadmin-tag {
359 background: #e0e0e0;
360 padding: 4px 10px;
361 border-radius: 12px;
362 font-size: 0.75rem;
363 color: #333;
364 }
365
366 /* Website consent box End*/
367
368
369
370
371
372 /* Checkbox switch Start */
373
374 .cookieadmin_toggle {
375 position: relative;
376 display: inline-block;
377 width: 24px;
378 height: 11px;
379 }
380
381 /* Hide the checkbox input */
382 .cookieadmin_toggle input{
383 display: none;
384 }
385
386 /* Describe slider's look and position. */
387 .cookieadmin_slider {
388 position: absolute;
389 cursor: pointer;
390 top: 0;
391 left: 0;
392 right: 0;
393 bottom: 0;
394 height: 21px;
395 width: 34px;
396 background-color: gray;
397 transition: .4s;
398 border-radius: 34px;
399 }
400
401 /* Describe the white ball's location
402 and appearance in the slider. */
403 .cookieadmin_slider:before {
404 position: absolute;
405 content: "";
406 height: 15px;
407 width: 15px;
408 left: 3.2px;
409 bottom: 3.2px;
410 background-color: white;
411 transition: .2s;
412 border-radius: 50%;
413 }
414
415 /* Modify the slider's background color to
416 green once the checkbox has been selected. */
417 input:checked+.cookieadmin_slider {
418 background-color: #3582c4;
419 }
420
421 /* When the checkbox is checked, shift the
422 white ball towards the right within the slider. */
423 input:checked+.cookieadmin_slider:before {
424 transform: translateX(13px);
425 }
426
427 /* Checkbox switch End */
428
429 .cookieadmin_law_container .cookieadmin-poweredby{
430 margin-top: 10px;
431 }
432
433 .cookieadmin_modal_footer_links .cookieadmin-poweredby{
434 margin-left: auto;
435 }
436
437 .cookieadmin-poweredby a img{
438 height: 15px;
439 }
440
441 .cookieadmin-poweredby a{
442 color : unset;
443 cursor: pointer;
444 display: flex;
445 justify-content: center;
446 align-items: center;
447 font-size: 11px;
448 gap: 2px;
449 text-decoration: none;
450 }
451
452 .cookieadmin_modal_footer .cookieadmin-poweredby a{
453 justify-content: end;
454 }
455
456 #cookieadmin-gpc-toast{
457 display:flex;
458 visibility: hidden;
459 position: fixed;
460 bottom: 24px;
461 right: 24px;
462 color: #ffffff;
463 padding: 10px 14px;
464 border-radius: 6px;
465 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
466 align-items: center;
467 justify-content: space-between;
468 gap: 10px;
469 font-size: 14px;
470 z-index: 99999;
471 opacity: 0;
472 transform: translateY(20px);
473 transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
474 line-height:1.5;
475 }
476
477 #cookieadmin_gpc_override{
478 padding-bottom:10px;
479 }
480
481 /* Policy Links */
482 .cookieadmin_policy_link_box{
483 display: flex;
484 justify-content: space-around;
485 font-size: 13px;
486 flex-wrap: wrap;
487 }
488
489 .cookieadmin_modal_policy_link_box{
490 display: flex;
491 gap: 5px;
492 font-size: 13px;
493 flex-wrap: wrap;
494 }
495
496 .cookieadmin_modal_footer_links{
497 display:flex;
498 justify-content:space-between;
499 margin:9px 9px 0 9px;
500 }
501
502 /* CSS for phones only */
503 @media (max-width: 767px) {
504
505 .cookieadmin_center{
506 top: 10%;
507 left: 5%;
508 max-width: 90vw;
509 }
510
511 .cookieadmin_show_pref_cookies{
512 font-size: 14px;
513 }
514
515 .cookieadmin_law_container, .cookieadmin_box{
516 width: 90%;
517 }
518
519 .cookieadmin_side{
520 width: 100%;
521 }
522 }
523
524 /* CSS for tablet */
525 @media (min-width: 768px) and (max-width: 991px) {
526
527 .cookieadmin_box{
528 width: 45%;
529 }
530 }
531
532 /* CSS for small laptop */
533 @media (min-width: 992px) and (max-width: 1199px) {
534
535 .cookieadmin_box{
536 width: 35%;
537 }
538
539 }
540 /* CSS for HD TV screens */
541 @media (min-width: 1200px) and (max-width: 1360px) {
542
543 .cookieadmin_box{
544 width: 30%;
545 }
546 }
547
548 /* Desktop Layout */
549 @media (min-width: 768px) {
550 .cookieadmin_notice_group {
551 flex-direction: row;
552 justify-content: space-between;
553 align-items: center;
554 }
555
556 .cookieadmin_notice_con {
557 flex: 1; /* take remaining space */
558 }
559
560 .cookieadmin_consent_btns {
561 flex-shrink: 0;
562 }
563 }
564
565 @media (max-width:480px){
566 .cookieadmin_consent_inside .cookieadmin_btn {
567 width: 100%;
568 margin: 5px 0;
569 }
570
571 .cookieadmin_modal_footer{
572 padding: 8px;
573 }
574 }