From 6f0d42d817392e4341e695ae785cc83a55922fdc Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 12 Jun 2024 12:58:56 +0200 Subject: [PATCH] wip: re-center radio and checkbox inputs --- umap/static/umap/base.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/base.css b/umap/static/umap/base.css index 1cbf2d93..3fd1bac7 100644 --- a/umap/static/umap/base.css +++ b/umap/static/umap/base.css @@ -192,12 +192,13 @@ input[type="checkbox"]:after { border: 1px solid var(--color-lightGray); cursor: pointer; text-align: center; - font-size: 1.3rem; - line-height: 1rem; + font-size: 1rem; + line-height: 0.8rem; } input[type=checkbox]:checked:after { background-color: var(--color-lightCyan); content: '✓'; + color: var(--color-darkGray); } label input[type="radio"] { appearance: none; @@ -220,8 +221,9 @@ label input[type="radio"]:checked:after { background-color: var(--color-lightCyan); content: '•'; font-size: 3rem; - line-height: 1.1rem; + line-height: 0.8rem; color: var(--color-darkGray); + text-indent: -1px; } input[data-modified=true] {