From 606ee5c615f4bb0b9d91c8655abdbfa6102f80f0 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Fri, 9 Jul 2021 10:44:10 +0200 Subject: [PATCH] Css button tweak (#93) * css styling tweaks * bundle * apply styling to textarea as well * bundle, whitespace * generalize .button class styling * bundle * give .button a pointer cursor too * bundle --- web/assets/bundle.css | 13 +++++-------- web/source/style.css | 9 +++------ 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/web/assets/bundle.css b/web/assets/bundle.css index b138c0b7d..ab81b9b3d 100644 --- a/web/assets/bundle.css +++ b/web/assets/bundle.css @@ -51,7 +51,7 @@ a { color: #de8957; } -a.button, button { +.button, button { border-radius: 0.2rem; background: #de8957; color: #fafaff; @@ -59,17 +59,14 @@ a.button, button { font-size: 1.2rem; font-weight: bold; padding: 0.5rem; -} - -a.button:hover, button:hover { - background: #c76d33; - } - -button { border: none; cursor: pointer; } +.button:hover, button:hover { + background: #c76d33; + } + .count { background: rgb(70, 79, 88); border-radius: 0.3rem; diff --git a/web/source/style.css b/web/source/style.css index 17322ae7a..7507460f2 100644 --- a/web/source/style.css +++ b/web/source/style.css @@ -59,7 +59,7 @@ a { color: $acc1; } -a.button, button { +.button, button { border-radius: 0.2rem; background: $acc1; color: $fg; @@ -67,17 +67,14 @@ a.button, button { font-size: 1.2rem; font-weight: bold; padding: 0.5rem; + border: none; + cursor: pointer; &:hover { background: $acc2; } } -button { - border: none; - cursor: pointer; -} - .count { background: $bg_accent; border-radius: 0.3rem;