aboutsummaryrefslogtreecommitdiff
path: root/web/style/forms.css
diff options
context:
space:
mode:
Diffstat (limited to 'web/style/forms.css')
-rw-r--r--web/style/forms.css10
1 files changed, 6 insertions, 4 deletions
diff --git a/web/style/forms.css b/web/style/forms.css
index 48a7dba..5927b4c 100644
--- a/web/style/forms.css
+++ b/web/style/forms.css
@@ -5,7 +5,6 @@
Copyright (C) 2023 tpart
*/
input {
- color: var(--font-highlight);
background-color: var(--background-dark);
outline: none;
box-sizing: border-box;
@@ -36,7 +35,8 @@ fieldset {
}
input[type="submit"],
-form button {
+button {
+ color: var(--font-highlight);
padding: 0.5em;
margin: 0.5em;
justify-self: center;
@@ -45,10 +45,12 @@ form button {
border-radius: 8px;
cursor: pointer;
}
-input[type="submit"]:disabled {
+input[type="submit"]:disabled,
+button:disabled {
background-color: var(--background-disable);
}
-input[type="submit"]:hover {
+input[type="submit"]:hover,
+button:hover {
filter: brightness(150%);
}