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

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