-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
119 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
/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #4070f4;
}
/* Container */
.container {
position: relative;
max-width: 370px;
width: 100%;
padding: 25px;
border-radius: 8px;
background-color: #fff;
}
/* Main Childs */
.container header {
font-size: 22px;
font-weight: 600;
color: #333;
}
.container form {
margin-top: 30px;
}
/* Form */
form .field {
margin-bottom: 20px;
}
form .input-field {
position: relative;
height: 55px;
width: 100%;
}
.input-field input {
height: 100%;
width: 100%;
outline: none;
border: none;
border-radius: 8px;
padding: 0 15px;
border: 1px solid #d1d1d1;
}
.input-field .show-hide {
position: absolute;
right: 13px;
top: 50%;
transform: translateY(-50%);
font-size: 18px;
color: #919191;
cursor: pointer;
padding: 3px;
}
.field .error {
display: flex;
align-items: center;
margin-top: 6px;
color: #d93025;
font-size: 13px;
display: none;
}
.error .error-icon {
margin-right: 6px;
font-size: 15px;
}
/* icon in create password field */
.create-password .error {
align-items: flex-start;
}
.create-password .error-icon {
margin-top: 4px;
}
/* Submit Button */
.button {
margin: 25px 0 6px;
}
.button input {
color: #fff;
font-size: 16px;
font-weight: 500;
background-color: #4070f4;
cursor: pointer;
transition: all 0.3s ease;
}
.button input:hover {
background-color: #0e4bf1;
}
/* Invalid */
.invalid input {
border-color: #d93025;
}
.invalid .error {
display: flex;
}
/* Media Queries */
/* For Screens lesser than 375px */
@media (max-width: 375px) {
.container {
max-width: 310px;
}
}