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

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