| @@ -84,8 +84,12 @@ | ||
| 84 | 84 | z-index: 99999; |
| 85 | 85 | display: none; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | +.cookieadmin_law_container:focus{ | |
| 89 | + outline: none; | |
| 90 | +} | |
| 91 | + | |
| 88 | 92 | .cookieadmin_consent_btns{ |
| 89 | 93 | align-content: center; |
| 90 | 94 | display: flex; |
| 91 | 95 | justify-content: space-evenly; |
| @@ -165,8 +169,12 @@ | ||
| 165 | 169 | bottom: 0px; |
| 166 | 170 | animation: 0.5s ease-out forwards cookieadmin_slideUp; |
| 167 | 171 | } |
| 168 | 172 | |
| 173 | +.cookieadmin_cookie_modal:focus{ | |
| 174 | + outline: none; | |
| 175 | +} | |
| 176 | + | |
| 169 | 177 | .cookieadmin_modal_overlay{ |
| 170 | 178 | display: none; |
| 171 | 179 | position: fixed; |
| 172 | 180 | top: 0; |
| @@ -294,8 +302,12 @@ | ||
| 294 | 302 | .cookieadmin_show_pref_cookies{ |
| 295 | 303 | cursor: pointer; |
| 296 | 304 | font-size: 18px; |
| 297 | 305 | font-family: initial; |
| 306 | + background: none; | |
| 307 | + border: none; | |
| 308 | + padding: 0; | |
| 309 | + color: inherit; | |
| 298 | 310 | } |
| 299 | 311 | |
| 300 | 312 | button.cookieadmin_re_consent{ |
| 301 | 313 | display: none; |
| @@ -315,9 +327,10 @@ | ||
| 315 | 327 | justify-content: center; |
| 316 | 328 | } |
| 317 | 329 | |
| 318 | 330 | .cookieadmin-cookie-card { |
| 319 | - background: ghostwhite; | |
| 331 | + /* background: ghostwhite; */ | |
| 332 | + border: 1px solid ghostwhite; | |
| 320 | 333 | border-radius: 10px; |
| 321 | 334 | padding: 16px; |
| 322 | 335 | font-family: 'Open Sans', 'Segoe UI', sans-serif; |
| 323 | 336 | box-shadow: 0 2px 6px rgba(0,0,0,0.1); |
| @@ -379,10 +392,22 @@ | ||
| 379 | 392 | } |
| 380 | 393 | |
| 381 | 394 | /* Hide the checkbox input */ |
| 382 | 395 | .cookieadmin_toggle input{ |
| 383 | - display: none; | |
| 396 | + /* display: none; */ | |
| 397 | + opacity: 0; | |
| 398 | + width: 0; | |
| 399 | + height: 0; | |
| 384 | 400 | } |
| 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 */ | |
| 385 | 410 | |
| 386 | 411 | /* Describe slider's look and position. */ |
| 387 | 412 | .cookieadmin_slider { |
| 388 | 413 | position: absolute; |