- commit
- e09ccf2091faef1eb7c38b284981a6cc5fd3d30f
- parent
- 7dabb1cf58158d2c4c9433bfd9723561a5df7989
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-03-25 21:10
fix toggle accessibility
Diffstat
M | www/common.css | 7 | ++++--- |
1 files changed, 4 insertions, 3 deletions
diff --git a/www/common.css b/www/common.css
@@ -31,7 +31,8 @@ button, 31 31 button:hover, 32 32 button:focus, 33 33 .btn:hover,34 -1 .btn:focus {-1 34 .btn:focus, -1 35 .toggle:focus-within .btn { 35 36 border-color: #25a; 36 37 background: #25a; 37 38 } @@ -43,6 +44,6 @@ button:active, 43 44 } 44 45 45 46 .toggle input {46 -1 /* FIXME: hide only visually */47 -1 display: none;-1 47 position: absolute; -1 48 clip-path: inset(50%); 48 49 }