-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
144 lines (121 loc) · 2.35 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
* {
box-sizing: border-box;
}
body {
background: #344a72;
font-family: "Raleway", sans-serif;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 0;
}
a{
text-decoration: none;
}
.container {
background-color: #fff;
border-radius: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
margin: 30px auto;
overflow: hidden;
width: 400px;
max-width: 100%;
}
.header{
border-bottom: 1px solid #f0f0f0;
background-color: #f7f7f7;
padding: 20px 40px;
text-align: center;
}
.header h1, .header p{
margin: 0;
}
.form{
margin-top: 15px;
padding: 30px 40px;
}
.form-control{
margin-bottom: 10px;
padding-bottom: 10px;
position: relative;
}
.form-control label{
display: inline-block;
margin-bottom: 5px;
}
.form-control input{
border: 2px solid #ddd;
border-radius: 8px;
display: block;
font-family: inherit;
font-size: 14px;
padding: 10px;
width: 100%;
margin-bottom: 5px;
}
.form-control input:focus{
outline: 0;
border-color: #777;
}
.form-control i {
visibility: hidden;
position: absolute;
top: 35px;
right: 10px;
}
/* You made a mistake with the classes. I have fixed it */
.form-control.success input {
border-color: #2ecc71;
}
.form-control.error input {
border-color: #e74c3c;
}
.form-control.success i.fa-check-circle{
color: #2ecc71;
visibility: visible;
}
.form-control.error i.fa-exclamation-circle{
color: #e74c3c;
visibility: visible;
}
.form-control small{
position: absolute;
bottom: 0;
left: 0;
visibility: hidden;
}
.form-control.error small {
color: red;
visibility: visible;
}
.form button{
border: 2px solid;
display: block;
font-family: inherit;
width: 100%;
padding: 10px;
margin-top: 20px;
background-color: #49c1a2;
color: #fff;
border-radius: 10px;
cursor: pointer;
}
.form button:hover{
background: #37a08e;
}
.form .bottom-text{
text-align: center;
font-size: 13px;
margin-top: 15px;
}
.form .bottom-text a{
color: #07ccb2;
}
.container footer{
text-align: center;
}
.container footer a{
color: #07ccb2;
}