-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUPDATE.css
175 lines (162 loc) · 3.05 KB
/
UPDATE.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins' ,sans-serif;
}
body
{
background: #293241;
padding: 0 10px;
}
.box
{
max-width: 850px;
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background: #ee6c4d;
border-radius: 25px;
margin: 20px auto;
box-shadow: 1px 1px 2px rgba(0,0,0,0.125);
padding: 30px;
}
.box .title
{
font-size: 24px;
font-weight: 700;
margin-bottom: 25px;
color: #293241;
text-transform: uppercase;
text-align: center;
}
.box .form
{
width: 100%;
}
.box .form .inputfield
{
margin-bottom: 15px;
display: flex;
align-items: center;
}
.box .form .inputfield label
{
width: 200px;
color: #fff;
margin-right: 10px;
font-size: 18px;
}
.box .form .inputfield .input,
.box .form .inputfield .textarea
{
width: 100%;
outline: none;
border: 1px solid #2b2d42;
font-size: 15px;
padding: 8px 10px;
border-radius: 3px;
transition: all 0.3s ease;
}
.box .form .inputfield .textarea
{
width: 100%;
height: 150px;
resize: none;
}
.box .form .inputfield .input:focus,
.box .form .inputfield .textarea:focus,
.box .form .inputfield .custom_select select:focus
{
border: 1px solid #e63946;
}
.box .form .inputfield p
{
font-size: 14px;
padding-left: 25px;
color: #fff;
}
.box .form .inputfield .check
{
width: 15px;
height: 15px;
position: relative;
padding-left: 300px;
display: block;
cursor: pointer;
}
.box .form .inputfield .check input[type="checkbox"]
{
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
.box .form .inputfield .check .checkmark
{
width: 15px;
height: 15px;
border: 1px solid #293241;
display: block;
position: relative;
}
.box .form .inputfield .check .checkmark:before
{
content: "";
position: absolute;
top: 1px;
left: 2px;
width: 5px;
height: 2px;
border: 2px solid;
border-color: transparent transparent #fff #fff;
transform: rotate(-45deg);
display: none;
}
.box .form .inputfield .check input[type="checkbox"]:checked ~ .checkmark
{
background: #293241;
}
.box .form .inputfield .check input[type="checkbox"]:checked ~ .checkmark:before
{
display: block;
}
.box .form .inputfield .btn
{
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #000;
padding: 14px 40px;
outline: none;
color: white;
border-radius: 24px;
transition: 0.25px;
cursor: pointer;
}
.box .form .inputfield .btn:hover
{
background: #293241;
}
.box .form .inputfield:last-child
{
margin-bottom: 0;
}
@media (max-width:420px) {
.box .form .inputfield{
flex-direction: column;
align-items: flex-start;
}
.box .form .inputfield label{
margin-bottom: 5px;
}
.box .form .inputfield.terms{
flex-direction: row;
}
}