summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar f0x52 <f@0x52.eu>2021-07-09 10:44:10 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-09 10:44:10 +0200
commit606ee5c615f4bb0b9d91c8655abdbfa6102f80f0 (patch)
treed9602a80f9ee3cc3d729213530e55599b545b9de
parentreadme updating (#92) (diff)
downloadgotosocial-606ee5c615f4bb0b9d91c8655abdbfa6102f80f0.tar.xz
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
-rw-r--r--web/assets/bundle.css11
-rw-r--r--web/source/style.css9
2 files changed, 7 insertions, 13 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;
+ 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
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;