From 99ece97d24c992b8e76273711f318f20d933836a Mon Sep 17 00:00:00 2001 From: Antoine Date: Tue, 22 Aug 2023 20:02:44 +0200 Subject: [PATCH] Fix buttons --- simple.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/simple.css b/simple.css index cfb15c7..b00ff7f 100644 --- a/simple.css +++ b/simple.css @@ -185,7 +185,7 @@ input[type="submit"], input[type="reset"], input[type="button"], label[type="button"] { - border-color: var(--accent); + border: 1px solid var(--accent); background-color: var(--accent); color: var(--bg); padding: 0.5rem 0.9rem; @@ -200,7 +200,8 @@ select:disabled, button[disabled] { cursor: not-allowed; background-color: var(--disabled); - color: var(--text-light) + border-color: var(--disabled); + color: var(--text-light); } input[type="range"] { @@ -412,14 +413,18 @@ button, font-family: inherit; padding: 0.5rem; margin-bottom: 0.5rem; - color: var(--text); - background-color: var(--bg); - border: 1px solid var(--border); border-radius: var(--standard-border-radius); box-shadow: none; max-width: 100%; display: inline-block; } +textarea, +select, +input { + color: var(--text); + background-color: var(--bg); + border: 1px solid var(--border); +} label { display: block; } @@ -673,4 +678,4 @@ sub { border-radius: 5px; padding: 1.5rem; margin: 2rem 0; -} \ No newline at end of file +}