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

523 lines 8.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 .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 }
298
299 .cookieadmin_re_consent{
300 display: none;
301 position: fixed;
302 bottom: 15px;
303 left: 15px;
304 background-color: #374FD4;
305 height: 50px;
306 width: 50px;
307 border-radius: 50% !important;
308 cursor: pointer;
309 border: 0px;
310 z-index: 99999;
311 padding: 5px !important;
312 box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
313 align-items: center;
314 justify-content: center;
315 }
316
317 .cookieadmin-cookie-card {
318 background: ghostwhite;
319 border-radius: 10px;
320 padding: 16px;
321 font-family: 'Open Sans', 'Segoe UI', sans-serif;
322 box-shadow: 0 2px 6px rgba(0,0,0,0.1);
323 margin: 10px auto;
324 text-align: left;
325 }
326
327 .cookieadmin-cookie-header {
328 display: flex;
329 justify-content: space-between;
330 font-size: 1rem;
331 margin-bottom: 6px;
332 }
333
334 .cookieadmin-cookie-name {
335 font-weight: bold;
336 color: #333;
337 }
338
339 .cookieadmin-cookie-duration {
340 font-size: 0.85rem;
341 }
342
343 .cookieadmin-cookie-duration > b {
344 font-weight: bold;
345 }
346
347 .cookieadmin-cookie-description {
348 font-size: 0.9rem;
349 margin-bottom: 12px;
350 }
351
352 .cookieadmin-cookie-tags {
353 display: flex;
354 gap: 8px;
355 }
356
357 .cookieadmin-tag {
358 background: #e0e0e0;
359 padding: 4px 10px;
360 border-radius: 12px;
361 font-size: 0.75rem;
362 color: #333;
363 }
364
365 /* Website consent box End*/
366
367
368
369
370
371 /* Checkbox switch Start */
372
373 .cookieadmin_toggle {
374 position: relative;
375 display: inline-block;
376 width: 24px;
377 height: 11px;
378 }
379
380 /* Hide the checkbox input */
381 .cookieadmin_toggle input{
382 display: none;
383 }
384
385 /* Describe slider's look and position. */
386 .cookieadmin_slider {
387 position: absolute;
388 cursor: pointer;
389 top: 0;
390 left: 0;
391 right: 0;
392 bottom: 0;
393 height: 21px;
394 width: 34px;
395 background-color: gray;
396 transition: .4s;
397 border-radius: 34px;
398 }
399
400 /* Describe the white ball's location
401 and appearance in the slider. */
402 .cookieadmin_slider:before {
403 position: absolute;
404 content: "";
405 height: 15px;
406 width: 15px;
407 left: 3.2px;
408 bottom: 3.2px;
409 background-color: white;
410 transition: .2s;
411 border-radius: 50%;
412 }
413
414 /* Modify the slider's background color to
415 green once the checkbox has been selected. */
416 input:checked+.cookieadmin_slider {
417 background-color: #3582c4;
418 }
419
420 /* When the checkbox is checked, shift the
421 white ball towards the right within the slider. */
422 input:checked+.cookieadmin_slider:before {
423 transform: translateX(13px);
424 }
425
426 /* Checkbox switch End */
427
428 .cookieadmin-poweredby{
429 margin-top: 10px;
430 }
431
432 .cookieadmin-poweredby a img{
433 height: 15px;
434 }
435
436 .cookieadmin-poweredby a{
437 color : unset;
438 cursor: pointer;
439 display: flex;
440 justify-content: center;
441 align-items: center;
442 font-size: 11px;
443 gap: 2px;
444 text-decoration: none;
445 }
446
447 .cookieadmin_modal_footer .cookieadmin-poweredby a{
448 justify-content: end;
449 }
450
451 /* CSS for phones only */
452 @media (max-width: 767px) {
453
454 .cookieadmin_center{
455 top: 10%;
456 left: 5%;
457 max-width: 90vw;
458 }
459
460 .cookieadmin_show_pref_cookies{
461 font-size: 14px;
462 }
463
464 .cookieadmin_law_container, .cookieadmin_box{
465 width: 90%;
466 }
467
468 .cookieadmin_side{
469 width: 100%;
470 }
471 }
472
473 /* CSS for tablet */
474 @media (min-width: 768px) and (max-width: 991px) {
475
476 .cookieadmin_box{
477 width: 45%;
478 }
479 }
480
481 /* CSS for small laptop */
482 @media (min-width: 992px) and (max-width: 1199px) {
483
484 .cookieadmin_box{
485 width: 35%;
486 }
487
488 }
489 /* CSS for HD TV screens */
490 @media (min-width: 1200px) and (max-width: 1360px) {
491
492 .cookieadmin_box{
493 width: 30%;
494 }
495 }
496
497 /* Desktop Layout */
498 @media (min-width: 768px) {
499 .cookieadmin_notice_group {
500 flex-direction: row;
501 justify-content: space-between;
502 align-items: center;
503 }
504
505 .cookieadmin_notice_con {
506 flex: 1; /* take remaining space */
507 }
508
509 .cookieadmin_consent_btns {
510 flex-shrink: 0;
511 }
512 }
513
514 @media (max-width:480px){
515 .cookieadmin_consent_inside .cookieadmin_btn {
516 width: 100%;
517 margin: 5px 0;
518 }
519
520 .cookieadmin_modal_footer{
521 padding: 8px;
522 }
523 }