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
|
:host, .border {
display: flex;
flex-direction: column;
max-width: 300px;
gap: 5px
}
.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;
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;
}
|