-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cloth.html
314 lines (312 loc) · 9.02 KB
/
Cloth.html
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="C:\Users\CMO\Desktop\Html\W3.CSS">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="C:\Users\CMO\Desktop\Project\Shy.css">
<link rel="icon" type="image/x-icon" href="C:\xampp\htdocs\Project\logo.jpeg">
<title>Aashraya: Donate Cloth!</title>
<h1 style="background-color:black">
<img src="C:\Users\CMO\Downloads\WhatsApp-Video-2022-06-24-at-728.gif" width="150" height="150">
<br>
<img src="C:\Users\CMO\Downloads\Cloth.jpeg" width="100%">
<br>
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<style>
html, body {
min-height: 100%;
}
body, div, form, input, select, textarea, label {
padding: 0;
margin: 0;
outline: none;
font-family: Roboto, Arial, sans-serif;
font-size: 14px;
color: #666;
line-height: 22px;
}
h1 {
position: absolute;
margin:0;
font-size: 60px;
color: #fff;
z-index: 2;
line-height: 83px;
top:30px;
}
legend {
padding: 10px;
font-family: Roboto, Arial, sans-serif;
font-size: 18px;
color: #fff;
background-color: #1c87c9;
}
textarea {
width: calc(100% - 12px);
padding: 5px;
}
.testbox {
display: flex;
justify-content: center;
align-items: center;
height: inherit;
padding: 20px;
}
form {
width: 100%;
padding: 20px;
border-radius: 6px;
background: #fff;
box-shadow: 0 0 8px #006622;
}
.banner {
position: relative;
height: 250px;
background-image: url("/uploads/media/default/0001/02/cc6bc584f236c7234947015b89151ab6d04c4cbf.jpeg");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.banner::after {
content: "";
background-color: rgba(0, 0, 0, 0.4);
position: absolute;
width: 100%;
height: 100%;
}
input, select, textarea {
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 3px;
}
input {
width: calc(100% - 10px);
padding: 5px;
}
input[type="date"] {
padding: 4px 5px;
}
textarea {
width: calc(100% - 12px);
padding: 5px;
}
.item:hover p, .item:hover i, .question:hover p, .question label:hover, input:hover::placeholder {
color: #006622;
}
.checkbox input[type=checkbox] {
display:inline-block;
height:15px;
width:15px;
margin-right:5px;
vertical-align:text-top;
}
.item input:hover, .item select:hover, .item textarea:hover {
border: 1px solid transparent;
box-shadow: 0 0 3px 0 #006622;
color: #006622;
}
.item {
position: relative;
margin: 10px 0;
}
.item span {
color: red;
}
.week {
display:flex;
justfiy-content:space-between;
}
.colums {
display:flex;
justify-content:space-between;
flex-direction:row;
flex-wrap:wrap;
}
.colums div {
width:48%;
}
input[type=radio], input[type=checkbox] {
display: none;
}
label.radio {
position: relative;
display: inline-block;
margin: 5px 20px 15px 0;
cursor: pointer;
}
.question span {
margin-left: 30px;
}
.question-answer label {
display: block;
}
label.radio:before {
content: "";
position: absolute;
left: 0;
width: 17px;
height: 17px;
border-radius: 50%;
border: 2px solid #ccc;
}
input[type=radio]:checked + label:before, label.radio:hover:before {
border: 2px solid #006622;
}
label.radio:after {
content: "";
position: absolute;
top: 6px;
left: 5px;
width: 8px;
height: 4px;
border: 3px solid #006622;
border-top: none;
border-right: none;
transform: rotate(-45deg);
opacity: 0;
}
input[type=radio]:checked + label:after {
opacity: 1;
}
.flax {
display:flex;
justify-content:space-around;
}
.btn-block {
margin-top: 10px;
text-align: center;
}
button {
width: 150px;
padding: 10px;
border: none;
border-radius: 5px;
background: #1c87c9;
font-size: 16px;
color: #fff;
cursor: pointer;
}
button:hover {
background: #0692e8;
}
@media (min-width: 568px) {
.name-item, .city-item {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.name-item input, .name-item div {
width: calc(50% - 20px);
}
.name-item div input {
width:97%;}
.name-item div label {
display:block;
padding-bottom:5px;
}
}
</style>
</head>
<body>
<br>
<fieldset>
<legend>Donation Form</legend>
<div class="colums">
<div class="item">
<label for="fname">First Name<span>*</span></label>
<input id="fname" type="text" name="fname" />
</div>
<div class="item">
<label for="lname"> Last Name<span>*</span></label>
<input id="lname" type="text" name="lname" />
</div>
<div class="item">
<label for="address">Email Address<span>*</span></label>
<input id="address" type="text" name="address" />
</div>
<div class="item">
<label for="phone">Phone Number</label>
<input id="phone" type="tel" name="phone"/>
</div>
<div class="item">
<label for="saddress">Street Address</label>
<input id="saddress" type="text" name="city" />
</div>
<div class="item">
<label for="city">City</label>
<select>
<option value="1">Chennai<option>
<option value="2">Bengaluru<option>
<option value="3">Thiruvananthapuram<option>
<option value="4">Hyderabad<option>
<option value="5">Mumbai<option>
<option value="6">Panaji<option>
<option value="7">Delhi<option>
<option value="8">Tirupati<option>
<option value="9">Chandigarh<option>
<option value="10">Bhopal<option>
</select>
</div>
<div class="item">
<label for="zip">Zip/Postal Code</label>
<input id="zip" type="text" name="zip" />
</div>
</fieldset>
<br/>
<fieldset>
<legend>Donation Details</legend>
<div class="colums">
</div>
<hr>
<p>All set!</p>
<p>And now can you tell us, more information about your cloth donation?</p>
<div class="item">
<label for="zip">Number of clothes you would like to offer (Minimum quantity: 5 no.s)</label>
<input id="num" type="number" name="num" />
</div>
<table>
<div class="item">
<tr><td> <label for="food">Type Of Cloth:</label></td>
<td><select>
<option value="bab">Babies & Kidswear<option>
<option value="wom">Women wear<option>
<option value="men">Mens wear<option>
<option value="clo">Clothing for Old People<option>
</select></td></tr>
<div class="item">
<tr><td><label for="food">Collection Time:</label></td>
<td><select>
<option value="slot1">10:00am-12:30pm<option>
<option value="slot2">12:30pm-02:30pm<option>
<option value="slot3">02:30pm-05:00pm<option>
<option value="slot4">05:00pm-06:30pm<option>
<option value="slot5">06:30pm-09:00pm<option>
</select></td></tr>
<div class="item">
<tr><td><label for="food">Convenient day:</label></td>
<td><select>
<option value="day1">Sunday</option>
<option value="day2">Monday</option>
<option value="day3">Tuesday</option>
<option value="day4">Wednseday</option>
<option value="day5">Thursday</option>
<option value="day6">Friday</option>
<option value="day7">Saturday</option>
</select></td></tr></table>
<div class="item">
<label for="donation">Any Special Notes for us? We are happy to hear from You!</label>
<textarea id="donation" rows="3"></textarea>
</div>
</fieldset>
<div class="btn-block">
<button type="order" onclick="window.open('file:///C:/Users/CMO/Desktop/Project/Thank%20you.html')">Confirm Donation</button>
<br>
</div>
</form>
</div>
</body>
</html>