-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
186 lines (172 loc) · 3.38 KB
/
style.css
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
body{
height:100vh;
display:flex;
justify-content: center;
align-items:center;
background-color:hsl(203, 77%, 55%);
font-family: 'Poppins', sans-serif;
}
.container{
width:450px;
border:2px solid black;
background-color: rgb(255, 255, 255);
border-radius:8px;
padding:5px;
border: none;
box-shadow:5px 5px 30px 4px rgb(0, 0, 0);
}
.main-title{
text-align: center;
/* border:2px solid black; */
font-size:2rem;
margin-top:0.3rem;
font-family: 'Poppins', sans-serif;
color:hsl(203, 77%, 55%);
}
.wrapper{
margin:1rem;
/* border:2px solid black; */
border-top:2px solid #9d9999;
}
.inputbox{
/* border:2px solid black; */
position:relative;
margin-top:1rem;
}
.inputbox input{
width:100%;
padding:0.7rem 2rem 0.7rem 1.2rem;
font-size:1.2rem;
letter-spacing:1px;
border-radius: 8px;
color:#003566;
/* background: none; */
border:2px solid #9d9999;
outline: none;
font-family: 'Poppins', sans-serif;
}
.inputbox span{
/* border:2px solid black; */
position:absolute;
right:0px;
top:10px;
font-size:1.9rem;
cursor: pointer;
color:#322f2f;
}
/* ----------------- */
.pass-indicator{
width:100%;
height:4px;
background-color:#c5c2c2;
margin-top:0.7rem;
border-radius: 25px;
position: relative;
transition: width 0.3s ease;
}
.pass-indicator#weak::before{
position:absolute;
content:"";
width:20%;
height:100%;
background-color: rgb(255, 0, 0);
height:100%;
border-radius: inherit;
}
.pass-indicator#medium::before{
position:absolute;
content:"";
width:50%;
height:100%;
background-color:#ffbe0b;
height:100%;
border-radius: inherit;
}
.pass-indicator#strong::before{
position:absolute;
content:"";
width:100%;
height: 100%;
background-color: rgb(0, 131, 96);
height:100%;
border-radius: inherit;
}
/* ------------------------------ */
.pass-length{
/* border:2px solid black; */
margin:1rem 0rem;
}
.pass-length .pass-details{
display: flex;
/* border:2px solid black; */
justify-content: space-between;
font-size:1.3rem;
margin-bottom:0.3rem;
}
.pass-length input{
width:100%;
height:5px;
cursor: pointer;
background:yellow;
}
/* ------------------------ */
.pass-settings{
/* border:2px solid black; */
font-weight:100;
}
.pass-settings .title{
font-size:1.3rem;
}
.pass-settings .options{
/* border:2px solid black; */
display: flex;
/* flex-direction: column; */
list-style-type:none;
flex-wrap: wrap;
margin-top:1rem;
}
.options .option{
display:flex;
margin-bottom:1rem;
width:calc(100%/2);
align-items: center;
}
.options .option:first-child{
pointer-events: none;
}
.options .option:first-child input{
opacity: 0.7
;
}
.option input{
width:16px;
height:16px;
cursor: pointer;
}
.option label{
padding-left:0.6rem;
cursor: pointer;
}
.wrapper .btn{
/* border:2px solid black; */
width:100%;
color:white;
background-color:#faa307;
padding:0.6rem 0;
font-size:1.07rem;
margin:0.5rem 0 1.3rem;
border-radius: 5px;
border: none;
outline: none;
text-transform: uppercase;
}
.wrapper .btn:hover{
color:white;
background-color:#c78407;
}