-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.scss
More file actions
108 lines (97 loc) · 2.01 KB
/
style.scss
File metadata and controls
108 lines (97 loc) · 2.01 KB
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
background-image: url(./back.png);
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
// background: #8cccff;
}
.box{
position: relative;
width: 300px;
height: 400px;
align-content: center;
align-items: center;
border-radius: 30px;
padding-top: 70px;
padding-left: 20px;
padding-right: 20px;
background-color: rgba(237, 226, 226, 0.789);
}
.box .inputbox{
position: relative;
width: 100%;
background: #fff;
padding: 5px;
border-radius: 8px;
box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.box .inputbox input{
position: relative;
width: 100%;
outline: none;
border: none;
padding: 10px 5px;
}
.box .inputbox #toggleBtn{
position: absolute;
top: 8px;
right: 10px;
width: 34px;
height: 34px;
background: rgba(0,0,0,0.05);
border-radius: 50%;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.box .inputbox #toggleBtn::before{
content: '\f06e';
font-family: fontAwesome;
}
.box .inputbox #toggleBtn.hide::before{
content: '\f070';
}
.validation{
background: #376488;
padding: 10px;
margin-top: 30px;
border-radius: 8px;
box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.validation ul{
position: relative;
display: flex;
flex-direction: column;
gap: 8px;
}
.validation ul li{
position: relative;
list-style: none;
color: #fff;
font-size: 0.85em;
transition: 0.5s;
}
.validation ul li.valid{
color: rgba(255, 255,255, 0.5);
}
.validation ul li::before{
content: '\f192';
width: 20px;
height: 10px;
display: inline-flex;
font-family: fontAwesome;
}
.validation ul li.valid::before{
content: '\f00c';
color: #0f0;
}