aboutsummaryrefslogtreecommitdiff
path: root/src/views/login/scss/login.scss
blob: 1b2be6250e98265d951caf6c8371ca5c389e04d2 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@import "../../../colors";
@import "../../../components/editors/scss/editor";

.login-page-wrapper, .register-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 7rem);
}

.login-page, .register-page {
    @include label;
    @include button;
    width: 95%;
    max-width: 25rem;
    margin-top: -6rem;
    h1, p {
        margin: 0.5rem 0;
        text-align: center;
    }

    label {
        margin: auto;
        width: 98%;
        max-width: none;
    }

    hr {
        margin-top: 1rem;
    }

    .input-with-icon {
        width: 100%;
        max-width: 15rem;
        input {
            margin-right: 0.5rem;
            width: 87%;
        }
        .icon {
            cursor: pointer;
            transition: color 0.2s;
        }
        .icon.active {color: $primaryAccentColor;}
    }

    input.wider {
        max-width: 15rem;
    }

    .buttons {
        margin: 1rem 0;
        display: flex;
        justify-content: center;
        button {width: 10rem;}
        button, input[type=submit] {
            margin: 0 1rem;
        }
    }

    input[type=submit]:disabled {
        border-color: $warningColor;
    }
    input[type=submit]:disabled:hover {
        background-color: $warningColor;
    }
}