commit 606ee5c615f4bb0b9d91c8655abdbfa6102f80f0
parent 1dac7eb9e0aa55d845f01404a518e150d61b09d0
Author: f0x52 <f@0x52.eu>
Date: Fri, 9 Jul 2021 10:44:10 +0200
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
Diffstat:
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git 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;
+ border: none;
+ cursor: pointer;
}
-a.button:hover, button:hover {
+.button:hover, button:hover {
background: #c76d33;
}
-button {
- border: none;
- cursor: pointer;
-}
-
.count {
background: rgb(70, 79, 88);
border-radius: 0.3rem;
diff --git 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;