From ce5f914c1afc70ef51f9a5f0ee43f4a3e4750e2c Mon Sep 17 00:00:00 2001 From: cptn-cosmo Date: Sat, 10 May 2025 18:57:41 +0200 Subject: [PATCH] added theming for the Hope Dice toggle and labels --- assets/roll.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/assets/roll.css b/assets/roll.css index da895f9..8fdce96 100644 --- a/assets/roll.css +++ b/assets/roll.css @@ -33,6 +33,7 @@ h1 { .field-title { font-size: 1rem; color: #e7c74b; + font-weight: bold; } input[type="number"], @@ -89,3 +90,26 @@ select:-moz-focusring { color: transparent; text-shadow: 0 0 0 #ffffff; } + +/* Modern checkbox styling */ +.modern-checkbox { + appearance: none; + width: 1.5em; + height: 1.5em; + border: 2px solid #555; + border-radius: 4px; + background-color: #fff; + cursor: pointer; + display: inline-block; + vertical-align: middle; + margin-left: 0.5em; +} + +.modern-checkbox:checked { + background-color: #4caf50; + border-color: #4caf50; + background-image: url('data:image/svg+xml;charset=UTF-8,'); + background-repeat: no-repeat; + background-position: center; + background-size: 1em; +}