aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/signup/signup.component.css
blob: 4073931f55289441ae34cb192a31c4bd4148c5b2 (plain) (blame)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
:host {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-top: -66px;
    background: rgba(0, 0, 0, .65) url("https://4kwallpapers.com/images/walls/thumbs_2t/13136.png");
    background-blend-mode: darken;
    background-size: cover;

}

#box {
    animation: ease-in-out fadeIn .1s;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 10px;
    backdrop-filter: blur(10px);
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    padding: 90px 30px;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--highlight-color);
    z-index: 2;

    & > div {
        display: flex;
        flex-direction: column;
    }
}

#password {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.border {
    border-style: solid;
    border-width: 1px;
    padding: 10px;
    margin: 10px;
    position: absolute;
    background-color: white;
    box-shadow: 0 0 10px 10px black;
}

#bar {
    height: 5px;
    width: 100%;
    appearance: none;
    overflow: hidden;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    /*margin-top: -5px;*/
}

#bar::-webkit-progress-bar {
    background-color: lightgray;
    transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.color0::-webkit-progress-value { background: rgba(255, 0 ,0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }
.color1::-webkit-progress-value { background: rgba(255, 0 ,0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }
.color2::-webkit-progress-value { background: rgba(255, 165, 0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }
.color3::-webkit-progress-value { background: rgba(255, 255, 0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }
.color4::-webkit-progress-value { background: rgba(173, 255, 47, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }
.color5::-webkit-progress-value { background: rgba(50, 205, 50, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }
.color6::-webkit-progress-value { background: rgba(0, 128, 0, 1); transition: background-color 0.5s ease-in-out, width 0.5s ease-in-out; }

#requirement2, #statusText, #passwordStatusText, #usernameStatusText {
    color: red;
}

#passReq {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

#box > div {

    div {
        display: flex;
        flex-direction: column;
    }
}

h1 {
    margin-top: 0;
}

#bg-cr {
    position: absolute;
    margin-top: -150px;
    top:0;
    width: 100vw;
    height: calc(100vh + 150px);
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)), url("/login-cr.jpg");
    background-size: cover;
    opacity: calc(var(--opacity-cr));
    z-index: 1;
}

#bg-jf {
    position: absolute;
    top:0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/login-jf.jpg");
    /*backdrop-filter: brightness(1%);*/
    background-size: cover;
    opacity: var(--opacity-jf);
    z-index: 1;
}

@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0
    }
    to {
        opacity: 1
    }
}