| @@ -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,14 +84,17 @@ | ||
| 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; |
| 158 | 96 | flex-wrap: wrap; |
| 159 | - gap: 10px; | |
| 160 | 97 | } |
| 161 | 98 | |
| 162 | 99 | .cookieadmin_box{ |
| 163 | 100 | /*position: fixed;*/ |
| @@ -232,8 +169,12 @@ | ||
| 232 | 169 | bottom: 0px; |
| 233 | 170 | animation: 0.5s ease-out forwards cookieadmin_slideUp; |
| 234 | 171 | } |
| 235 | 172 | |
| 173 | +.cookieadmin_cookie_modal:focus{ | |
| 174 | + outline: none; | |
| 175 | +} | |
| 176 | + | |
| 236 | 177 | .cookieadmin_modal_overlay{ |
| 237 | 178 | display: none; |
| 238 | 179 | position: fixed; |
| 239 | 180 | top: 0; |
| @@ -273,23 +214,16 @@ | ||
| 273 | 214 | padding: 0px 10px; |
| 274 | 215 | } |
| 275 | 216 | |
| 276 | 217 | .cookieadmin_preference{ |
| 277 | - overflow: hidden; | |
| 278 | - height: 83px; | |
| 218 | + overflow: auto; | |
| 279 | 219 | font-size: 15px; |
| 220 | + height: auto; | |
| 221 | + padding: 10px 0px; | |
| 280 | 222 | } |
| 281 | 223 | |
| 282 | -.cookieadmin_showmore{ | |
| 283 | - background: none; | |
| 284 | - border: none; | |
| 285 | - color: #1863dc; | |
| 286 | - padding: 0px; | |
| 287 | - cursor: pointer; | |
| 288 | -} | |
| 289 | - | |
| 290 | 224 | .cookieadmin_details_wrapper{ |
| 291 | - padding: 15px; | |
| 225 | + padding: 0px 15px; | |
| 292 | 226 | height: calc(100% - 6%); |
| 293 | 227 | overflow: auto; |
| 294 | 228 | scrollbar-width: thin; |
| 295 | 229 | } |
| @@ -317,9 +251,9 @@ | ||
| 317 | 251 | display: inline; |
| 318 | 252 | color: #1863dc; |
| 319 | 253 | } |
| 320 | 254 | |
| 321 | -.cookieadmin-nece-cookies{ | |
| 255 | +.cookieadmin-modal-cookies-list{ | |
| 322 | 256 | display:none; |
| 323 | 257 | padding:1px; |
| 324 | 258 | border-radius: 10px; |
| 325 | 259 | margin: 0px 20px; |
| @@ -348,9 +282,9 @@ | ||
| 348 | 282 | flex-wrap: wrap; |
| 349 | 283 | border-top: 1px solid #CCCCCC; |
| 350 | 284 | } |
| 351 | 285 | |
| 352 | -.cookieadmin_btn{ | |
| 286 | +button.cookieadmin_btn{ | |
| 353 | 287 | background-color: transparent; |
| 354 | 288 | border: 1px solid gray; |
| 355 | 289 | color: #1863dc; |
| 356 | 290 | padding: 0.4rem 0.9rem; |
| @@ -356,8 +290,10 @@ | ||
| 356 | 290 | padding: 0.4rem 0.9rem; |
| 357 | 291 | border-radius: 4px; |
| 358 | 292 | margin: 2px 5px; |
| 359 | 293 | cursor: pointer; |
| 294 | + flex: auto; | |
| 295 | + text-wrap: auto; | |
| 360 | 296 | } |
| 361 | 297 | |
| 362 | 298 | .cookieadmin_btn:hover{ |
| 363 | 299 | opacity: 0.8; |
| @@ -365,27 +301,36 @@ | ||
| 365 | 301 | |
| 366 | 302 | .cookieadmin_show_pref_cookies{ |
| 367 | 303 | cursor: pointer; |
| 368 | 304 | font-size: 18px; |
| 305 | + font-family: initial; | |
| 306 | + background: none; | |
| 307 | + border: none; | |
| 308 | + padding: 0; | |
| 309 | + color: inherit; | |
| 369 | 310 | } |
| 370 | 311 | |
| 371 | -.cookieadmin_re_consent{ | |
| 312 | +button.cookieadmin_re_consent{ | |
| 372 | 313 | display: none; |
| 373 | 314 | position: fixed; |
| 374 | 315 | bottom: 15px; |
| 375 | 316 | left: 15px; |
| 376 | - background: linear-gradient(to left, rgb(0, 51, 204) 0%, rgb(102, 102, 255) 100%); | |
| 317 | + background-color: #374FD4; | |
| 377 | 318 | height: 50px; |
| 378 | 319 | width: 50px; |
| 379 | - border-radius: 50%; | |
| 320 | + border-radius: 50% !important; | |
| 380 | 321 | cursor: pointer; |
| 381 | 322 | border: 0px; |
| 382 | 323 | z-index: 99999; |
| 383 | - 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; | |
| 384 | 328 | } |
| 385 | 329 | |
| 386 | 330 | .cookieadmin-cookie-card { |
| 387 | - background: ghostwhite; | |
| 331 | + /* background: ghostwhite; */ | |
| 332 | + border: 1px solid ghostwhite; | |
| 388 | 333 | border-radius: 10px; |
| 389 | 334 | padding: 16px; |
| 390 | 335 | font-family: 'Open Sans', 'Segoe UI', sans-serif; |
| 391 | 336 | box-shadow: 0 2px 6px rgba(0,0,0,0.1); |
| @@ -438,9 +383,9 @@ | ||
| 438 | 383 | |
| 439 | 384 | |
| 440 | 385 | /* Checkbox switch Start */ |
| 441 | 386 | |
| 442 | -.cookieadmin_toggle, .cookieadmin_toggle_disabled { | |
| 387 | +.cookieadmin_toggle { | |
| 443 | 388 | position: relative; |
| 444 | 389 | display: inline-block; |
| 445 | 390 | width: 24px; |
| 446 | 391 | height: 11px; |
| @@ -446,12 +391,24 @@ | ||
| 446 | 391 | height: 11px; |
| 447 | 392 | } |
| 448 | 393 | |
| 449 | 394 | /* Hide the checkbox input */ |
| 450 | -.cookieadmin_toggle input, .cookieadmin_toggle_disabled input { | |
| 451 | - display: none; | |
| 395 | +.cookieadmin_toggle input{ | |
| 396 | + /* display: none; */ | |
| 397 | + opacity: 0; | |
| 398 | + width: 0; | |
| 399 | + height: 0; | |
| 452 | 400 | } |
| 453 | 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 | + | |
| 454 | 411 | /* Describe slider's look and position. */ |
| 455 | 412 | .cookieadmin_slider { |
| 456 | 413 | position: absolute; |
| 457 | 414 | cursor: pointer; |
| @@ -491,16 +448,82 @@ | ||
| 491 | 448 | input:checked+.cookieadmin_slider:before { |
| 492 | 449 | transform: translateX(13px); |
| 493 | 450 | } |
| 494 | 451 | |
| 495 | -input:disabled+.cookieadmin_slider { | |
| 496 | - background-color: #3582c4; | |
| 452 | +/* Checkbox switch End */ | |
| 453 | + | |
| 454 | +.cookieadmin_law_container .cookieadmin-poweredby{ | |
| 455 | +margin-top: 10px; | |
| 497 | 456 | } |
| 498 | -input:disabled+.cookieadmin_slider:before { | |
| 499 | - transform: translateX(13px); | |
| 457 | + | |
| 458 | +.cookieadmin_modal_footer_links .cookieadmin-poweredby{ | |
| 459 | +margin-left: auto; | |
| 500 | 460 | } |
| 501 | 461 | |
| 502 | -/* Checkbox switch End */ | |
| 462 | +.cookieadmin-poweredby a img{ | |
| 463 | +height: 15px; | |
| 464 | +} | |
| 465 | + | |
| 466 | +.cookieadmin-poweredby a{ | |
| 467 | +color : unset; | |
| 468 | +cursor: pointer; | |
| 469 | +display: flex; | |
| 470 | +justify-content: center; | |
| 471 | +align-items: center; | |
| 472 | +font-size: 11px; | |
| 473 | +gap: 2px; | |
| 474 | +text-decoration: none; | |
| 475 | +} | |
| 476 | + | |
| 477 | +.cookieadmin_modal_footer .cookieadmin-poweredby a{ | |
| 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; | |
| 525 | +} | |
| 503 | 526 | |
| 504 | 527 | /* CSS for phones only */ |
| 505 | 528 | @media (max-width: 767px) { |
| 506 | 529 | |