-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
121 lines (110 loc) · 1.88 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
.box{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
}
.form{
width: 400px;
min-height: 400px;
padding: 32px;
border-radius: 6px;
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}
.form img{
display: block;
margin:auto;
}
.form-title{
font-weight: 500;
margin-top: 10px;
margin-bottom: 20px;
font-size: 20px;
}
.form-group{
height: 48px;
margin-bottom: 10px;
position: relative;
}
.error{
font-size: 0.9rem;
margin-bottom: 10px;
color: red;
}
.succes{
font-size: 0.9rem;
margin-bottom: 10px;
color: green;
}
.form-control{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:none;
border:1px solid #a1a1a1;
outline:none;
padding: 16px;
border-radius: 3px;
z-index: 1;
}
.form-label{
position: absolute;
left: 13px;
top: 13px;
color: #a1a1a1;
background-color: white;
padding: 0 6px;
font-size: 14px;
transition:.3s;
}
.form-control:focus+ .form-label{
top: -10px;
z-index: 10;
color: #1B66C9;
font-weight: 500;
}
.form-control:focus{
border: 1px solid #1B66C9;
}
.form-control:not(:focus):valid+label{
top: -10px;
z-index: 10;
}
.showLabel{
font-size: 14px;
}
.bottom-box{
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 35px;
}
.bottom-box a{
color:#1B66C9;
text-decoration: none;
font-size: 14px;
font-weight:500;
}
.form-button{
display: block;
padding: 12px 32px;
border: none;
background-color: #1B66C9;
color: #fff;
border-radius: 3px;
cursor: pointer;
transition: .3s;
}
.form-button:hover{
box-shadow:0 10px 36px rgba(0,0,0,.15);
}