| @@ -15,18 +15,10 @@ | ||
| 15 | 15 | --cookieadmin-warning-color: #e9b306; |
| 16 | 16 | --cookieadmin-red-color: #dd2727; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -/* Buttons End */ | |
| 20 | - | |
| 21 | 19 | /* Consent page css */ |
| 22 | 20 | |
| 23 | -.cookieadmin-postbox-container { | |
| 24 | - max-width: 92vw; | |
| 25 | - float: unset; | |
| 26 | - margin: 10px; | |
| 27 | -} | |
| 28 | - | |
| 29 | 21 | .cookieadmin_cookie_modal label, .cookieadmin_cookie_modal input { |
| 30 | 22 | padding: 5px; |
| 31 | 23 | margin-right: 5px; |
| 32 | 24 | font-size: 15px; |
| @@ -78,67 +70,9 @@ | ||
| 78 | 70 | } |
| 79 | 71 | |
| 80 | 72 | /* Modal animations Ends */ |
| 81 | 73 | |
| 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 | 74 | |
| 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 | 75 | /* Consent page css End*/ |
| 142 | 76 | |
| 143 | 77 | |
| 144 | 78 | /* Website consent box */ |
| @@ -150,8 +84,12 @@ | ||
| 150 | 84 | z-index: 99999; |
| 151 | 85 | display: none; |
| 152 | 86 | } |
| 153 | 87 | |
| 88 | +.cookieadmin_law_container:focus{ | |
| 89 | + outline: none; | |
| 90 | +} | |
| 91 | + | |
| 154 | 92 | .cookieadmin_consent_btns{ |
| 155 | 93 | align-content: center; |
| 156 | 94 | display: flex; |
| 157 | 95 | justify-content: space-evenly; |
| @@ -231,8 +169,12 @@ | ||
| 231 | 169 | bottom: 0px; |
| 232 | 170 | animation: 0.5s ease-out forwards cookieadmin_slideUp; |
| 233 | 171 | } |
| 234 | 172 | |
| 173 | +.cookieadmin_cookie_modal:focus{ | |
| 174 | + outline: none; | |
| 175 | +} | |
| 176 | + | |
| 235 | 177 | .cookieadmin_modal_overlay{ |
| 236 | 178 | display: none; |
| 237 | 179 | position: fixed; |
| 238 | 180 | top: 0; |
| @@ -272,23 +214,16 @@ | ||
| 272 | 214 | padding: 0px 10px; |
| 273 | 215 | } |
| 274 | 216 | |
| 275 | 217 | .cookieadmin_preference{ |
| 276 | - overflow: hidden; | |
| 277 | - height: 83px; | |
| 218 | + overflow: auto; | |
| 278 | 219 | font-size: 15px; |
| 220 | + height: auto; | |
| 221 | + padding: 10px 0px; | |
| 279 | 222 | } |
| 280 | 223 | |
| 281 | -.cookieadmin_showmore{ | |
| 282 | - background: none; | |
| 283 | - border: none; | |
| 284 | - color: #1863dc; | |
| 285 | - padding: 0px; | |
| 286 | - cursor: pointer; | |
| 287 | -} | |
| 288 | - | |
| 289 | 224 | .cookieadmin_details_wrapper{ |
| 290 | - padding: 15px; | |
| 225 | + padding: 0px 15px; | |
| 291 | 226 | height: calc(100% - 6%); |
| 292 | 227 | overflow: auto; |
| 293 | 228 | scrollbar-width: thin; |
| 294 | 229 | } |
| @@ -316,9 +251,9 @@ | ||
| 316 | 251 | display: inline; |
| 317 | 252 | color: #1863dc; |
| 318 | 253 | } |
| 319 | 254 | |
| 320 | -.cookieadmin-nece-cookies{ | |
| 255 | +.cookieadmin-modal-cookies-list{ | |
| 321 | 256 | display:none; |
| 322 | 257 | padding:1px; |
| 323 | 258 | border-radius: 10px; |
| 324 | 259 | margin: 0px 20px; |
| @@ -347,9 +282,9 @@ | ||
| 347 | 282 | flex-wrap: wrap; |
| 348 | 283 | border-top: 1px solid #CCCCCC; |
| 349 | 284 | } |
| 350 | 285 | |
| 351 | -.cookieadmin_btn{ | |
| 286 | +button.cookieadmin_btn{ | |
| 352 | 287 | background-color: transparent; |
| 353 | 288 | border: 1px solid gray; |
| 354 | 289 | color: #1863dc; |
| 355 | 290 | padding: 0.4rem 0.9rem; |
| @@ -366,27 +301,36 @@ | ||
| 366 | 301 | |
| 367 | 302 | .cookieadmin_show_pref_cookies{ |
| 368 | 303 | cursor: pointer; |
| 369 | 304 | font-size: 18px; |
| 305 | + font-family: initial; | |
| 306 | + background: none; | |
| 307 | + border: none; | |
| 308 | + padding: 0; | |
| 309 | + color: inherit; | |
| 370 | 310 | } |
| 371 | 311 | |
| 372 | -.cookieadmin_re_consent{ | |
| 312 | +button.cookieadmin_re_consent{ | |
| 373 | 313 | display: none; |
| 374 | 314 | position: fixed; |
| 375 | 315 | bottom: 15px; |
| 376 | 316 | left: 15px; |
| 377 | - background: linear-gradient(to left, rgb(0, 51, 204) 0%, rgb(102, 102, 255) 100%); | |
| 317 | + background-color: #374FD4; | |
| 378 | 318 | height: 50px; |
| 379 | 319 | width: 50px; |
| 380 | - border-radius: 50%; | |
| 320 | + border-radius: 50% !important; | |
| 381 | 321 | cursor: pointer; |
| 382 | 322 | border: 0px; |
| 383 | 323 | z-index: 99999; |
| 384 | - padding: 5px; | |
| 324 | + padding: 5px !important; | |
| 325 | + box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4); | |
| 326 | + align-items: center; | |
| 327 | + justify-content: center; | |
| 385 | 328 | } |
| 386 | 329 | |
| 387 | 330 | .cookieadmin-cookie-card { |
| 388 | - background: ghostwhite; | |
| 331 | + /* background: ghostwhite; */ | |
| 332 | + border: 1px solid ghostwhite; | |
| 389 | 333 | border-radius: 10px; |
| 390 | 334 | padding: 16px; |
| 391 | 335 | font-family: 'Open Sans', 'Segoe UI', sans-serif; |
| 392 | 336 | box-shadow: 0 2px 6px rgba(0,0,0,0.1); |
| @@ -439,9 +383,9 @@ | ||
| 439 | 383 | |
| 440 | 384 | |
| 441 | 385 | /* Checkbox switch Start */ |
| 442 | 386 | |
| 443 | -.cookieadmin_toggle, .cookieadmin_toggle_disabled { | |
| 387 | +.cookieadmin_toggle { | |
| 444 | 388 | position: relative; |
| 445 | 389 | display: inline-block; |
| 446 | 390 | width: 24px; |
| 447 | 391 | height: 11px; |
| @@ -447,12 +391,24 @@ | ||
| 447 | 391 | height: 11px; |
| 448 | 392 | } |
| 449 | 393 | |
| 450 | 394 | /* Hide the checkbox input */ |
| 451 | -.cookieadmin_toggle input, .cookieadmin_toggle_disabled input { | |
| 452 | - display: none; | |
| 395 | +.cookieadmin_toggle input{ | |
| 396 | + /* display: none; */ | |
| 397 | + opacity: 0; | |
| 398 | + width: 0; | |
| 399 | + height: 0; | |
| 453 | 400 | } |
| 454 | 401 | |
| 402 | +/* Keyboard accessibility: When the checkbox is focused, add a visible outline to indicate focus. */ | |
| 403 | +.cookieadmin_show_pref_cookies:focus-visible{ | |
| 404 | + outline: 1px solid #000; | |
| 405 | +} | |
| 406 | +.cookieadmin_toggle input:focus + .cookieadmin_slider { | |
| 407 | + outline: 1px solid #000; | |
| 408 | +} | |
| 409 | +/* end keyboard accessibility */ | |
| 410 | + | |
| 455 | 411 | /* Describe slider's look and position. */ |
| 456 | 412 | .cookieadmin_slider { |
| 457 | 413 | position: absolute; |
| 458 | 414 | cursor: pointer; |
| @@ -492,21 +448,18 @@ | ||
| 492 | 448 | input:checked+.cookieadmin_slider:before { |
| 493 | 449 | transform: translateX(13px); |
| 494 | 450 | } |
| 495 | 451 | |
| 496 | -input:disabled+.cookieadmin_slider { | |
| 497 | - background-color: #3582c4; | |
| 498 | -} | |
| 499 | -input:disabled+.cookieadmin_slider:before { | |
| 500 | - transform: translateX(13px); | |
| 501 | -} | |
| 502 | - | |
| 503 | 452 | /* Checkbox switch End */ |
| 504 | 453 | |
| 505 | -.cookieadmin-poweredby{ | |
| 454 | +.cookieadmin_law_container .cookieadmin-poweredby{ | |
| 506 | 455 | margin-top: 10px; |
| 507 | 456 | } |
| 508 | 457 | |
| 458 | +.cookieadmin_modal_footer_links .cookieadmin-poweredby{ | |
| 459 | +margin-left: auto; | |
| 460 | +} | |
| 461 | + | |
| 509 | 462 | .cookieadmin-poweredby a img{ |
| 510 | 463 | height: 15px; |
| 511 | 464 | } |
| 512 | 465 | |
| @@ -522,8 +475,54 @@ | ||
| 522 | 475 | } |
| 523 | 476 | |
| 524 | 477 | .cookieadmin_modal_footer .cookieadmin-poweredby a{ |
| 525 | 478 | justify-content: end; |
| 479 | +} | |
| 480 | + | |
| 481 | +#cookieadmin-gpc-toast{ | |
| 482 | +display:flex; | |
| 483 | +visibility: hidden; | |
| 484 | +position: fixed; | |
| 485 | +bottom: 24px; | |
| 486 | +right: 24px; | |
| 487 | +color: #ffffff; | |
| 488 | +padding: 10px 14px; | |
| 489 | +border-radius: 6px; | |
| 490 | +box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | |
| 491 | +align-items: center; | |
| 492 | +justify-content: space-between; | |
| 493 | +gap: 10px; | |
| 494 | +font-size: 14px; | |
| 495 | +z-index: 99999; | |
| 496 | +opacity: 0; | |
| 497 | +transform: translateY(20px); | |
| 498 | +transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s; | |
| 499 | +line-height:1.5; | |
| 500 | +} | |
| 501 | + | |
| 502 | +#cookieadmin_gpc_override{ | |
| 503 | +padding-bottom:10px; | |
| 504 | +} | |
| 505 | + | |
| 506 | +/* Policy Links */ | |
| 507 | +.cookieadmin_policy_link_box{ | |
| 508 | + display: flex; | |
| 509 | + justify-content: space-around; | |
| 510 | + font-size: 13px; | |
| 511 | + flex-wrap: wrap; | |
| 512 | +} | |
| 513 | + | |
| 514 | +.cookieadmin_modal_policy_link_box{ | |
| 515 | + display: flex; | |
| 516 | + gap: 5px; | |
| 517 | + font-size: 13px; | |
| 518 | + flex-wrap: wrap; | |
| 519 | +} | |
| 520 | + | |
| 521 | +.cookieadmin_modal_footer_links{ | |
| 522 | + display:flex; | |
| 523 | + justify-content:space-between; | |
| 524 | + margin:9px 9px 0 9px; | |
| 526 | 525 | } |
| 527 | 526 | |
| 528 | 527 | /* CSS for phones only */ |
| 529 | 528 | @media (max-width: 767px) { |