aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/style/forms.css
blob: 82a6157a700209ab4247f0962f8d90e88bcae26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2023 metamuffin <metamuffin.org>
    Copyright (C) 2023 tpart
*/
input[type="text"],
input[type="password"] {
    border-radius: 7px;
    padding: 0.3em;
    margin: 0.2em;
    border: 2px solid var(--accent-light);
}
input[type="text"]:disabled,
input[type="password"]:disabled {
    border: 2px solid grey;
}

input[type="submit"] {
    padding: 0.5em;
    margin: 1em;
    justify-self: center;
    border: 0px solid transparent;
    background-color: var(--accent-dark);
    border-radius: 8px;
}
input[type="submit"]:disabled {
    background-color: grey;
}

input[type="submit"]:hover {
    filter: hue-rotate(-20deg);
}

form.account {
    padding: 3em;
    border-radius: 1em;
    background-color: var(--background-light);

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
form.account h1 {
    margin-top: 0px;
}