aboutsummaryrefslogtreecommitdiff
path: root/web/style/forms.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-27 20:53:47 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-27 20:53:47 +0200
commit3e88163603ceefba6672635973fc9658e53f6a4a (patch)
tree4ad832ab4a034b2a8811aca3c9d1ffdd4d9b14cd /web/style/forms.css
parenta1c3e743a79a95cdb30dda79820e1c0a01084d12 (diff)
downloadjellything-3e88163603ceefba6672635973fc9658e53f6a4a.tar
jellything-3e88163603ceefba6672635973fc9658e53f6a4a.tar.bz2
jellything-3e88163603ceefba6672635973fc9658e53f6a4a.tar.zst
dedup some code for themes
Diffstat (limited to 'web/style/forms.css')
-rw-r--r--web/style/forms.css14
1 files changed, 12 insertions, 2 deletions
diff --git a/web/style/forms.css b/web/style/forms.css
index 259d7ef..5e5319d 100644
--- a/web/style/forms.css
+++ b/web/style/forms.css
@@ -5,6 +5,8 @@
Copyright (C) 2023 tpart
*/
input {
+ color: var(--font-highlight);
+ background-color: var(--background-dark);
outline: none;
box-sizing: border-box;
height: 2.5em;
@@ -22,7 +24,15 @@ input[type="password"]:focus {
}
input[type="text"]:disabled,
input[type="password"]:disabled {
- border: 2px solid grey;
+ border: 2px solid var(--background-disable);
+}
+option {
+ font-family: "Cantarell", sans-serif;
+}
+
+fieldset {
+ background-color: var(--background-light);
+ border-radius: 8px;
}
input[type="submit"],
@@ -36,7 +46,7 @@ form button {
cursor: pointer;
}
input[type="submit"]:disabled {
- background-color: grey;
+ background-color: var(--background-disable);
}
input[type="submit"]:hover {
filter: brightness(150%);