-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
626 lines (523 loc) · 12.5 KB
/
style.css
File metadata and controls
626 lines (523 loc) · 12.5 KB
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
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
/*SINGIN PAGE KA CODE */
/* Apply this CSS to your sign-in page */
body.signin-page {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 7vh;
}
.signin-container {
background-color: #fff;
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
width: 400px; /* Adjust the width as needed */
text-align: center; /* Center the text */
max-width: 90%; /* Make the container responsive */
margin: 0 auto;
margin-top: 50px; /* Adjust the top margin as needed */
}
.signin-container h2 {
margin-bottom: 20px;
/* Adjust margin as needed */
}
.signin-form input {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 3px;
}
.signin-form button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
margin-top: 10px; /* Adjust the top margin to shift the button down */
}
.signin-form button:hover {
background-color: #0056b3;
}
.checkbox-container {
text-align: left;
white-space: nowrap;
}
.checkbox-container label {
display: flex;
align-items: center;
white-space: nowrap;
}
@keyframes formAni{
0%{
transform: translateY(-100px) ;
opacity: 0;
}
100%{
transform: translateY(0) ;
opacity: 1;
}
}
.signin-form input {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 3px;
}
/* CARDS KA CODE */
/* Modify the car-card class */
/* Add animation classes */
.car-card {
display: block;
transform: translateY(100%); /* Start with the cards off-screen */
transition: transform 0.5s ease-in-out;
transform-origin: center bottom;
}
.car-card.show {
transform: translateY(0); /* Show the cards with a sliding animation */
}
.car-card {
display: block;
transition: transform 0.25s ease-in-out;
transform-origin: center bottom;
transform: translateY(0);
}
.car-card.hidden {
transform: translateY(100%);
}
.car-card {
display: flex;
background-color: #fff;
border-radius: 20px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
margin: 25px;
text-align: left;
}
.car-card img {
max-width: 460px; /* Adjust the max-width to control image size */
height: auto;
margin-right: 20px; /* Add margin between image and text */
}
.car-card h3 {
font-size: 25px;
margin-bottom: 10px;
}
.car-card ul {
list-style-type: none;
padding: 0;
margin-left: 0; /* Remove the default margin */
}
.car-card ul li {
margin-bottom: 8px;
}
.car-card button {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 15px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.3s;
margin-top: 10px; /* Add margin to separate the button from other elements */
}
.car-card button:hover {
background-color: #0056b3;
}
/* Add this CSS to style the "Check Availability" button */
.car-card button {
background-color: #007bff;
color: #fff;
border: none;
border-radius: 3px;
padding: 10px 20px; /* Adjust the padding to add space around the button */
margin-top: 10px; /* Optionally add margin to separate the button from other elements */
cursor: pointer;
transition: background-color 0.3s;
}
.car-card button:hover {
background-color: #0056b3;
}
/* Add this CSS to style the city selector */
.city-selector {
text-align: center;
margin: 20px;
}
#city {
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
font-size: 16px;
}
/* LOGIN KA CODE */
body.login-page {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.login-container {
background-color: #fff;
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
width: 400px;
text-align: center;
max-width: 90%;
}
.login-container h2 {
margin-bottom: 20px;
}
.login-form input {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 3px;
}
.login-form button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
}
.login-form button:hover {
background-color: #0056b3;
}
.checkbox-container {
text-align: left;
}
.checkbox-container label {
display: flex;
align-items: center;
white-space: nowrap;
}
/* Styling for Return to Homepage Button */
.return-home-button {
width: 100%;
padding: 10px;
background-color: #007bff; /* Change the background color as needed */
color: #fff;
border: none;
border-radius: 3px;
cursor: pointer;
margin-top: 15px; /* Add margin to separate the button from the form */
}
.return-home-button:hover {
background-color: #0056b3; /* Change the background color on hover if desired */
}
/* dealer page code */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
:root {
--color-primary: #1743e3;
--color-white: #eaeaea;
--color-dark: #333;
--color-black: #222;
}
.container {
max-width: 1620px;
width: 90%;
margin: 0 auto;
}
/* Header styles */
header {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
}
.header-left {
max-width: 620px;
position: relative;
}
.header-left h1 {
font-size: 54px;
line-height: 1.2;
color: var(--color-black);
}
.header-left h3 {
font-size: 40px;
font-weight: 400;
color: var(--color-primary);
margin-top: 0.5rem;
}
.header-left p {
margin: 15px 0 30px;
line-height: 150%;
font-size: 16px;
}
.header-container {
display: grid;
grid-template-columns: auto auto;
align-items: center;
height: 100%;
justify-content: space-between;
}
/* Sign-in styles */
/* Styling for Go Back Button */
/* Your existing CSS styles */
/* Styling for Go Back Buttons */
.go-back-button,
.go-home-button {
width: 100%;
padding: 10px;
border: none;
border-radius: 3px;
cursor: pointer;
margin-top: 15px; /* Add margin to separate the button from the form */
}
.go-back-button {
background-color: #007bff; /* Match the color with other buttons */
color: #fff;
}
.go-back-button:hover {
background-color: #0056b3; /* Change the background color on hover to match other buttons */
}
.go-home-button {
background-color: #ff8c00; /* Custom color for the "Go to Home Page" button */
color: #fff;
}
.go-home-button:hover {
background-color: #ff6f00; /* Change the background color on hover */
}
/* Additional styling for the signin page if needed */
.signin-container {
background-color: #fff;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
width: 400px;
text-align: center;
margin: 0 auto;
margin-top: 610px;
height: 550px;
}
.signin-container h2 {
margin-bottom: 20px;
}
.signin-form input {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 3px;
}
/* Add your Dealer Page styles here */
/* Example styling for a dealer page section */
.dealer-page {
background-color: #f4f4f4;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.dealer-container {
background-color: #fff;
border-radius: 15px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
width: 400px;
text-align: center;
max-width: 90%;
margin: 0 auto;
}
.dealer-container h2 {
margin-bottom: 20px;
}
/* Styling for the city selector on the Dealer Page */
.city-selector-dealer {
text-align: left;
margin: 20px;
}
#city-dealer {
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
font-size: 16px;
width: 100%; /* Set the width to 100% to make it a full-width input */
}
.button-link {
display: inline-block;
background-color: #007bff;
color: #fff;
text-decoration: none;
padding: 10px 20px;
border-radius: 5px;
transition: background-color 0.3s;
font-weight: 600;
}
.button-link:hover {
background-color: #0056b3;
}
#submitButton {
width: 100%;
margin-top: 10px;
}
/* Your existing CSS styles go here */
/* Updated styles for the navigation bar */
.navbar {
background: var(--color-primary);
color: var(--color-white);
padding: 10px 0;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
color: var(--color-white);
text-decoration: none;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links li a {
color: var(--color-white);
text-decoration: none;
font-size: 18px;
}
.nav-links li a.active {
font-weight: bold;
}
/* Updated styles for the page title and table container */
.page-title {
text-align: center;
font-size: 24px;
padding: 20px;
}
.table-container {
max-width: 800px;
margin: 40px auto; /* Lower the table by 40px and center it */
}
.order-table {
width: 100%;
border-collapse: collapse;
}
.order-table th, .order-table td {
padding: 12px;
text-align: center;
border-bottom: 2px solid var(--color-dark);
}
.order-table th {
background: var(--color-primary);
color: var(--color-white);
font-weight: bold;
}
.complete-button {
background: var(--color-primary);
color: var(--color-white);
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
}
.complete-button:hover {
background: var(--color-dark);
}
.page-title {
text-align: center;
margin-top: 100px;
font-size: 24px;
color: var(--color-primary);
}
.add-car-button {
position: fixed;
right: 20px;
bottom: 20px;
display: block;
width: fit-content;
margin: 20px auto;
padding: 12px 28px;
background: var(--color-primary);
border: 2px solid var(--color-primary);
border-radius: 4px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
color: var(--color-white);
font-weight: 600;
text-decoration: none; /* Remove underlines for links */
text-align: center;
}
.add-car-button:hover {
background: transparent;
color: var(--color-primary);
}
.dealer-name {
font-size: 18px;
color: var(--color-white);
text-align: center;
}
/* Add slide-in animation to elements */
.slide-in {
opacity: 0;
transform: translateY(50px);
transition: opacity 1.5s ease, transform 1.5s ease;
}
/* Define the animation for slide-in */
.slide-in.animated {
opacity: 1;
transform: translateY(0);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
:root {
--color-primary: #1743e3;
--color-white: #eaeaea;
--color-dark: #333;
--color-black: #222;
}
/* Your existing styles here */
.customer-details-page header {
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
padding: 50px;
}
/* Additional styles for the customer details form */
.customer-details-form input {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 3px;
}
.customer-details-form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 3px;
}