stay_commerce-frontend 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/builds/bundle.css +8665 -6069
  3. data/app/assets/builds/bundle.css.map +3 -3
  4. data/app/assets/builds/bundle.js +37877 -27557
  5. data/app/assets/builds/bundle.js.map +4 -4
  6. data/app/assets/builds/styles.css +6328 -5031
  7. data/app/assets/builds/styles.css.map +3 -3
  8. data/app/javascript/react/components/Accountpage/AccountInfo.jsx +2 -1
  9. data/app/javascript/react/components/AddNewProperty/CommonLayout.jsx +0 -2
  10. data/app/javascript/react/components/AddNewProperty/Description.jsx +51 -52
  11. data/app/javascript/react/components/AddNewProperty/Details.jsx +212 -129
  12. data/app/javascript/react/components/AddNewProperty/Images.jsx +122 -45
  13. data/app/javascript/react/components/AddNewProperty/Location.jsx +21 -14
  14. data/app/javascript/react/components/AddNewProperty/Room.jsx +639 -548
  15. data/app/javascript/react/components/AvatarDropdown/AvatarDropDown.jsx +9 -1
  16. data/app/javascript/react/components/FacilitiesSection/Facilities.jsx +18 -0
  17. data/app/javascript/react/components/FixedNavbar/FixedNav.jsx +20 -14
  18. data/app/javascript/react/components/HeroSectionDesign/BookingForm.jsx +136 -88
  19. data/app/javascript/react/components/HeroSectionDesign/MyPropertiesListing.jsx +79 -69
  20. data/app/javascript/react/components/Layout/Layout.js +8 -1
  21. data/app/javascript/react/components/Listing-stay-Detail/ApartmentCard.jsx +3 -3
  22. data/app/javascript/react/components/Listing-stay-Detail/BookingModal.jsx +167 -122
  23. data/app/javascript/react/components/Listing-stay-Detail/CardManager.jsx +285 -0
  24. data/app/javascript/react/components/Listing-stay-Detail/CheckoutForm.jsx +147 -84
  25. data/app/javascript/react/components/Listing-stay-Detail/ListingStayDetailPage.jsx +1 -7
  26. data/app/javascript/react/components/Listing-stay-Detail/PropertiesPage.jsx +464 -0
  27. data/app/javascript/react/components/MobileNav/MobileMenu.jsx +1 -4
  28. data/app/javascript/react/components/PropertyListing/MyProperties.jsx +45 -44
  29. data/app/javascript/react/components/PropertyListing/StayBooking/BookingDetails.jsx +4 -4
  30. data/app/javascript/react/components/PropertyListing/StayBooking/MyBooking.jsx +41 -29
  31. data/app/javascript/react/components/StayCard/StayCard.jsx +5 -3
  32. data/app/javascript/react/packs/index.jsx +1 -0
  33. data/app/javascript/react/packs/routes/Route.jsx +18 -1
  34. data/app/javascript/react/pages/Home.jsx +6 -4
  35. data/app/javascript/react/redux/slices/PropertySlice/PropertySlice.jsx +21 -21
  36. data/app/javascript/react/redux/slices/PropertySlice/Searchslice.jsx +53 -6
  37. data/app/javascript/react/redux/slices/UserSlice/UserSlice.jsx +1 -0
  38. data/app/javascript/react/shared/Avatar/Avatar.jsx +5 -8
  39. data/app/javascript/react/shared/Button/SecondryButton.jsx +9 -0
  40. data/app/javascript/react/shared/Loader.jsx +13 -0
  41. data/app/javascript/react/shared/Pagination.jsx +53 -0
  42. data/app/javascript/react/shared/Schema/FormSchema +143 -0
  43. data/app/javascript/react/styles/BookingDetails.scss +1 -0
  44. data/app/javascript/react/styles/CardManager.scss +608 -0
  45. data/app/javascript/react/styles/Loader.scss +30 -0
  46. data/app/javascript/react/styles/Pagination.scss +33 -0
  47. data/app/javascript/react/styles/PropertiesPage.scss +0 -4
  48. data/app/javascript/react/styles/RenderSection.scss +1 -0
  49. data/app/javascript/react/styles/accountpage.scss +3 -0
  50. data/app/javascript/react/styles/application.scss +13 -1
  51. data/app/javascript/react/styles/bookingform.scss +56 -28
  52. data/app/javascript/react/styles/buttonSecondry.scss +24 -0
  53. data/app/javascript/react/styles/checkbox.scss +34 -35
  54. data/app/javascript/react/styles/commonlayout.scss +7 -2
  55. data/app/javascript/react/styles/commonpage.scss +5 -1
  56. data/app/javascript/react/styles/description.scss +3 -0
  57. data/app/javascript/react/styles/facilities.scss +2 -1
  58. data/app/javascript/react/styles/fixednavbar.scss +8 -0
  59. data/app/javascript/react/styles/listingstaydetailpage.scss +5 -0
  60. data/app/javascript/react/styles/mobilemenu.scss +0 -1
  61. data/app/javascript/react/styles/mybooking.scss +20 -0
  62. data/app/javascript/react/styles/myproperty.scss +26 -0
  63. data/app/javascript/react/styles/propertydetailscard.scss +265 -267
  64. data/app/javascript/react/styles/react-datepicker/react-datepicker.css +869 -0
  65. data/app/javascript/react/styles/room.scss +13 -8
  66. data/app/javascript/react/utils/helpers/ToastErros.js +12 -0
  67. data/db/migrate/20250627101451_add_role_to_stay_users.rb +5 -0
  68. data/lib/stay_commerce/frontend/version.rb +1 -1
  69. metadata +15 -5
  70. data/app/javascript/react/components/HeroSectionDesign/PropertiesPage.jsx +0 -122
  71. data/app/javascript/react/shared/DateField/CustomDatePicker.jsx +0 -69
  72. data/app/javascript/react/styles/customdatepicker.scss +0 -120
@@ -0,0 +1,608 @@
1
+ // Variables
2
+ $primary-color: #081976;
3
+ $primary-dark: #2563eb;
4
+ $secondary-color: #10b981;
5
+ $secondary-dark: #059669;
6
+ $danger-color: #ef4444;
7
+ $danger-dark: #dc2626;
8
+ $gray-50: #f9fafb;
9
+ $gray-100: #f3f4f6;
10
+ $gray-200: #e5e7eb;
11
+ $gray-300: #d1d5db;
12
+ $gray-400: #9ca3af;
13
+ $gray-500: #6b7280;
14
+ $gray-600: #4b5563;
15
+ $gray-700: #374151;
16
+ $gray-800: #1f2937;
17
+ $white: #ffffff;
18
+ $green-50: #ecfdf5;
19
+ $green-200: #bbf7d0;
20
+ $green-600: #16a34a;
21
+ $green-800: #166534;
22
+
23
+ // Mixins
24
+ @mixin gradient-bg($from, $to) {
25
+ background: linear-gradient(135deg, $from, $to);
26
+ }
27
+
28
+ @mixin card-shadow {
29
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
30
+ 0 4px 6px -2px rgba(0, 0, 0, 0.05);
31
+ }
32
+
33
+ @mixin card-shadow-hover {
34
+ box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.15),
35
+ 0 8px 10px -3px rgba(0, 0, 0, 0.1);
36
+ }
37
+
38
+ @mixin transition-all {
39
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
40
+ }
41
+
42
+ @mixin hover-scale {
43
+ transform: scale(1.02);
44
+ }
45
+ @keyframes spin {
46
+ from {
47
+ transform: rotate(0deg);
48
+ }
49
+ to {
50
+ transform: rotate(360deg);
51
+ }
52
+ }
53
+
54
+ // Main container
55
+ .card-manager {
56
+ min-height: 100vh;
57
+ @include gradient-bg($gray-50, #dbeafe);
58
+ padding: 3rem 1rem;
59
+ margin-top: 80px;
60
+
61
+ &__container {
62
+ max-width: 1200px;
63
+ margin: 0 auto;
64
+ }
65
+
66
+ // Header styles
67
+ &__header {
68
+ text-align: center;
69
+ margin-bottom: 3rem;
70
+
71
+ &-icon {
72
+ display: inline-flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+ width: 4rem;
76
+ height: 4rem;
77
+ @include gradient-bg($primary-color, #8b5cf6);
78
+ border-radius: 50%;
79
+ margin-bottom: 1rem;
80
+
81
+ .icon {
82
+ width: 2rem;
83
+ height: 2rem;
84
+ color: $white;
85
+ }
86
+ }
87
+ }
88
+
89
+ &__title {
90
+ font-size: 2.25rem;
91
+ font-weight: 700;
92
+ color: $gray-800;
93
+ margin-bottom: 0.5rem;
94
+ margin-top: 0;
95
+ }
96
+
97
+ &__subtitle {
98
+ color: $gray-600;
99
+ font-size: 1.125rem;
100
+ margin: 0;
101
+ }
102
+
103
+ // Security badge
104
+ &__security-badge {
105
+ display: flex;
106
+ justify-content: center;
107
+ margin-bottom: 2rem;
108
+
109
+ .security-badge {
110
+ display: inline-flex;
111
+ align-items: center;
112
+ background-color: $green-50;
113
+ border: 1px solid $green-200;
114
+ border-radius: 9999px;
115
+ padding: 0.5rem 1rem;
116
+
117
+ .icon {
118
+ width: 1rem;
119
+ height: 1rem;
120
+ color: $green-600;
121
+ margin-right: 0.5rem;
122
+ }
123
+
124
+ span {
125
+ font-size: 0.875rem;
126
+ font-weight: 500;
127
+ color: $green-800;
128
+ }
129
+ }
130
+ }
131
+
132
+ &__content {
133
+ border-radius: 1.5rem;
134
+ @include card-shadow;
135
+ padding: 2rem;
136
+ margin-bottom: 2rem;
137
+ background-color: white;
138
+ }
139
+
140
+ // Footer
141
+ &__footer {
142
+ text-align: center;
143
+ color: $gray-500;
144
+ font-size: 0.875rem;
145
+
146
+ p {
147
+ display: flex;
148
+ align-items: center;
149
+ justify-content: center;
150
+ margin: 0;
151
+
152
+ .icon {
153
+ width: 1rem;
154
+ height: 1rem;
155
+ margin-right: 0.25rem;
156
+ }
157
+ }
158
+ }
159
+ }
160
+
161
+ .saved-cards {
162
+ margin-bottom: 2rem;
163
+
164
+ &__title {
165
+ font-size: 1.5rem;
166
+ font-weight: 600;
167
+ color: $gray-800;
168
+ margin-bottom: 1.5rem;
169
+ display: flex;
170
+ align-items: center;
171
+ margin-top: 0;
172
+
173
+ .icon {
174
+ width: 1.25rem;
175
+ height: 1.25rem;
176
+ color: $gray-600;
177
+ margin-right: 0.5rem;
178
+ }
179
+ }
180
+
181
+ &__grid {
182
+ display: grid;
183
+ gap: 1.5rem;
184
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
185
+
186
+ // Adjust the layout if there is only one card
187
+ &.single-card {
188
+ width: 50%; // Default for larger screens
189
+
190
+ // Make it 100% width on smaller screens
191
+ @media (max-width: 768px) {
192
+ width: 100%;
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ // Credit card styles
199
+ .credit-card {
200
+ position: relative;
201
+ border-radius: 1rem;
202
+ padding: 1.5rem;
203
+ color: $white;
204
+ @include card-shadow;
205
+ @include transition-all;
206
+ overflow: hidden;
207
+
208
+ &:hover {
209
+ @include hover-scale;
210
+ @include card-shadow-hover;
211
+ }
212
+
213
+ // Card brand variants
214
+ &--visa {
215
+ @include gradient-bg($primary-color, #2563eb);
216
+ }
217
+
218
+ &--mastercard {
219
+ @include gradient-bg($danger-color, #dc2626);
220
+ }
221
+
222
+ &--amex {
223
+ @include gradient-bg($secondary-color, #059669);
224
+ }
225
+
226
+ &--default {
227
+ @include gradient-bg($gray-500, $gray-700);
228
+ }
229
+
230
+ &__pattern {
231
+ position: absolute;
232
+ inset: 0;
233
+ opacity: 0.1;
234
+ background: linear-gradient(45deg, $white, transparent);
235
+ border-radius: 1rem;
236
+ }
237
+
238
+ &__content {
239
+ position: relative;
240
+ z-index: 1;
241
+ }
242
+
243
+ &__header {
244
+ display: flex;
245
+ justify-content: space-between;
246
+ align-items: flex-start;
247
+ margin-bottom: 1.5rem;
248
+ }
249
+
250
+ &__icon {
251
+ font-size: 1.5rem;
252
+ }
253
+
254
+ &__delete-btn {
255
+ padding: 0.5rem;
256
+ border-radius: 50%;
257
+ background-color: rgba(255, 255, 255, 0.2);
258
+ border: none;
259
+ color: $white;
260
+ cursor: pointer;
261
+ @include transition-all;
262
+
263
+ &:hover {
264
+ background-color: rgba(255, 255, 255, 0.3);
265
+ }
266
+
267
+ &:disabled {
268
+ opacity: 0.5;
269
+ cursor: not-allowed;
270
+ }
271
+
272
+ .icon {
273
+ width: 1rem;
274
+ height: 1rem;
275
+ }
276
+ }
277
+
278
+ &__number {
279
+ margin-bottom: 1.5rem;
280
+
281
+ p {
282
+ font-size: 1.25rem;
283
+ font-family: "Courier New", monospace;
284
+ letter-spacing: 0.1em;
285
+ margin: 0;
286
+ }
287
+ }
288
+
289
+ &__details {
290
+ display: flex;
291
+ justify-content: space-between;
292
+ align-items: flex-end;
293
+ }
294
+
295
+ &__expiry,
296
+ &__type {
297
+ .label {
298
+ font-size: 0.75rem;
299
+ opacity: 0.7;
300
+ margin-bottom: 0.25rem;
301
+ margin-top: 0;
302
+ color: white;
303
+ }
304
+
305
+ .value {
306
+ font-size: 0.875rem;
307
+ font-weight: 500;
308
+ text-transform: capitalize;
309
+ margin: 0;
310
+ color: white;
311
+ }
312
+ }
313
+ }
314
+
315
+ // Empty state
316
+ .empty-state {
317
+ text-align: center;
318
+ padding: 3rem 0;
319
+
320
+ &__icon {
321
+ width: 4rem;
322
+ height: 4rem;
323
+ background-color: $gray-100;
324
+ border-radius: 50%;
325
+ display: flex;
326
+ align-items: center;
327
+ justify-content: center;
328
+ margin: 0 auto 1rem;
329
+
330
+ .icon {
331
+ width: 2rem;
332
+ height: 2rem;
333
+ color: $gray-400;
334
+ }
335
+ }
336
+
337
+ &__title {
338
+ color: $gray-500;
339
+ font-size: 1.125rem;
340
+ margin-bottom: 0.5rem;
341
+ margin-top: 0;
342
+ }
343
+
344
+ &__subtitle {
345
+ color: $gray-400;
346
+ font-size: 0.875rem;
347
+ margin: 0;
348
+ }
349
+ }
350
+
351
+ // Card form styles
352
+ .card-form {
353
+ margin-bottom: 1.5rem;
354
+
355
+ &__container {
356
+ border: 2px dashed $gray-200;
357
+ border-radius: 1rem;
358
+ padding: 1.5rem;
359
+ background-color: $gray-50;
360
+ width: 50%;
361
+
362
+ @media screen and (max-width: 768px) {
363
+ width: 100%;
364
+ }
365
+ }
366
+
367
+ &__header {
368
+ display: flex;
369
+ align-items: center;
370
+ justify-content: space-between;
371
+ margin-bottom: 1rem;
372
+ }
373
+
374
+ &__title {
375
+ font-size: 1.125rem;
376
+ font-weight: 600;
377
+ color: $gray-800;
378
+ display: flex;
379
+ align-items: center;
380
+ margin: 0;
381
+
382
+ .icon {
383
+ width: 1.25rem;
384
+ height: 1.25rem;
385
+ color: $primary-color;
386
+ margin-right: 0.5rem;
387
+ }
388
+ }
389
+
390
+ &__close-btn {
391
+ padding: 0.5rem;
392
+ border-radius: 50%;
393
+ background-color: transparent;
394
+ border: none;
395
+ color: $gray-500;
396
+ cursor: pointer;
397
+ @include transition-all;
398
+
399
+ &:hover {
400
+ background-color: $gray-200;
401
+ }
402
+
403
+ .icon {
404
+ width: 1.25rem;
405
+ height: 1.25rem;
406
+ }
407
+ }
408
+
409
+ &__input {
410
+ background-color: $white;
411
+ border: 1px solid $gray-300;
412
+ border-radius: 0.5rem;
413
+ padding: 1rem;
414
+ margin-bottom: 1rem;
415
+ min-height: 3.125rem;
416
+ position: relative;
417
+ @include transition-all;
418
+
419
+ &:focus-within {
420
+ border-color: $primary-color;
421
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
422
+ }
423
+
424
+ // Remove the flex and align-items that were causing issues
425
+ .icon {
426
+ width: 1.25rem;
427
+ height: 1.25rem;
428
+ margin-right: 0.5rem;
429
+ }
430
+ }
431
+
432
+ &__actions {
433
+ display: flex;
434
+ gap: 0.75rem;
435
+ }
436
+ }
437
+
438
+ // FIXED: Stripe Element Styles
439
+ .stripe-card-element {
440
+ width: 100%;
441
+ padding: 0.75rem 0;
442
+ color: $gray-700;
443
+ background-color: transparent;
444
+ border: none;
445
+ outline: none;
446
+ font-size: 1rem;
447
+ line-height: 1.5;
448
+ font-family: inherit;
449
+ }
450
+
451
+ // Stripe element states
452
+ .StripeElement {
453
+ width: 100%;
454
+ padding: 0.75rem 0;
455
+ color: $gray-700;
456
+ background-color: transparent;
457
+ border: none;
458
+ outline: none;
459
+ font-size: 1rem;
460
+ line-height: 1.5;
461
+ font-family: inherit;
462
+ }
463
+
464
+ .StripeElement--focus {
465
+ // Focus styles handled by parent container
466
+ }
467
+
468
+ .StripeElement--invalid {
469
+ color: $danger-color;
470
+ }
471
+
472
+ .StripeElement--webkit-autofill {
473
+ background-color: #fefde5 !important;
474
+ }
475
+
476
+ // Add card section
477
+ .add-card-section {
478
+ text-align: start;
479
+ }
480
+
481
+ // Button styles
482
+ .btn {
483
+ padding: 0.75rem 1.5rem;
484
+ border-radius: 0.75rem;
485
+ font-weight: 500;
486
+ border: none;
487
+ cursor: pointer;
488
+ @include transition-all;
489
+ display: inline-flex;
490
+ align-items: center;
491
+ justify-content: center;
492
+
493
+ .icon {
494
+ width: 1.25rem;
495
+ height: 1.25rem;
496
+ margin-right: 0.5rem;
497
+ }
498
+
499
+ &:disabled {
500
+ opacity: 0.5;
501
+ cursor: not-allowed;
502
+ transform: none !important;
503
+ }
504
+
505
+ &:hover:not(:disabled) {
506
+ @include hover-scale;
507
+ }
508
+
509
+ &--primary {
510
+ @include gradient-bg($primary-color, $primary-dark);
511
+ color: $white;
512
+ flex: 1;
513
+ padding: 0.75rem 1.5rem;
514
+
515
+ &:hover:not(:disabled) {
516
+ @include gradient-bg($primary-dark, #081976);
517
+ }
518
+ }
519
+
520
+ &--secondary {
521
+ padding: 0.75rem 1.5rem;
522
+ border: 1px solid $gray-300;
523
+ color: $gray-700;
524
+ background-color: $white;
525
+
526
+ &:hover:not(:disabled) {
527
+ background-color: $gray-50;
528
+ }
529
+ }
530
+
531
+ &--add-card {
532
+ @include gradient-bg($secondary-color, $secondary-dark);
533
+ color: $white;
534
+ padding: 1rem 2rem;
535
+ font-size: 1rem;
536
+ @include card-shadow;
537
+
538
+ &:hover:not(:disabled) {
539
+ @include gradient-bg($secondary-dark, #047857);
540
+ @include card-shadow-hover;
541
+ }
542
+ }
543
+ }
544
+
545
+ .Card_spinner {
546
+ width: 15px;
547
+ height: 15px;
548
+ border: 2px solid transparent;
549
+ border-top: 2px solid currentColor;
550
+ border-radius: 50%;
551
+ animation: spin 1s linear infinite;
552
+ margin-right: 0.5rem;
553
+ }
554
+
555
+ // Responsive design
556
+ @media (max-width: 768px) {
557
+ .card-manager {
558
+ padding: 1.5rem 1rem;
559
+
560
+ &__title {
561
+ font-size: 1.875rem;
562
+ }
563
+
564
+ &__content {
565
+ padding: 1.5rem;
566
+ }
567
+ }
568
+
569
+ .saved-cards {
570
+ &__grid {
571
+ grid-template-columns: 1fr;
572
+ }
573
+ }
574
+
575
+ .credit-card {
576
+ padding: 1.25rem;
577
+ }
578
+
579
+ .card-form {
580
+ &__actions {
581
+ flex-direction: column;
582
+ }
583
+ }
584
+ }
585
+
586
+ @media (max-width: 480px) {
587
+ .card-manager {
588
+ padding: 1rem 0.5rem;
589
+
590
+ &__header-icon {
591
+ width: 3rem;
592
+ height: 3rem;
593
+
594
+ .icon {
595
+ width: 1.5rem;
596
+ height: 1.5rem;
597
+ }
598
+ }
599
+
600
+ &__title {
601
+ font-size: 1.5rem;
602
+ }
603
+
604
+ &__content {
605
+ padding: 1rem;
606
+ }
607
+ }
608
+ }
@@ -0,0 +1,30 @@
1
+ .app-loader {
2
+ min-height: 60vh;
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
7
+
8
+ &__spinner {
9
+ width: 50px;
10
+ height: 50px;
11
+ border: 5px solid var(--primary-color);
12
+ border-top: 5px solid transparent;
13
+ border-radius: 50%;
14
+ animation: spin 0.8s linear infinite;
15
+ margin-bottom: 20px;
16
+ }
17
+
18
+ &__text {
19
+ font-size: 18px;
20
+ color: var(--primary-color);
21
+ font-weight: 500;
22
+ text-align: center;
23
+ }
24
+ }
25
+
26
+ @keyframes spin {
27
+ 100% {
28
+ transform: rotate(360deg);
29
+ }
30
+ }
@@ -0,0 +1,33 @@
1
+ .pagination {
2
+ display: flex;
3
+ gap: 8px;
4
+ justify-content: center;
5
+ padding: 16px;
6
+
7
+ &__button {
8
+ padding: 8px 12px;
9
+ border: 1px solid var(--primary-color);
10
+ background-color: white;
11
+ color: var(--primary-color);
12
+ border-radius: 4px;
13
+ cursor: pointer;
14
+ font-weight: 500;
15
+ transition: all 0.2s ease;
16
+
17
+ &:hover:not(:disabled) {
18
+ background-color: var(--primary-color);
19
+ color: white;
20
+ }
21
+
22
+ &--active {
23
+ background-color: var(--primary-color);
24
+ color: white;
25
+ border-color: var(--primary-color);
26
+ }
27
+
28
+ &:disabled {
29
+ opacity: 0.5;
30
+ cursor: not-allowed;
31
+ }
32
+ }
33
+ }
@@ -129,10 +129,6 @@
129
129
  color: #666;
130
130
  line-height: 1.5;
131
131
  margin: 0 0 16px 0;
132
- display: -webkit-box;
133
- -webkit-line-clamp: 2;
134
- -webkit-box-orient: vertical;
135
- overflow: hidden;
136
132
  }
137
133
 
138
134
  .card-footer {
@@ -321,6 +321,7 @@ hr {
321
321
  box-sizing: border-box;
322
322
  border-radius: 20px;
323
323
  background-color: white;
324
+ outline: none;
324
325
 
325
326
  @media (min-width: $md) {
326
327
  font-size: 1rem;
@@ -13,6 +13,9 @@
13
13
  border: 1px solid #cbcaca;
14
14
  border-radius: 10px;
15
15
  padding: 40px;
16
+ @media screen and (max-width: 768px) {
17
+ padding: 20px;
18
+ }
16
19
  }
17
20
 
18
21
  .account-description {
@@ -1,3 +1,10 @@
1
+ :root {
2
+ --primary-color: #081976;
3
+ --primary-color-hover: #006be6;
4
+ --primary-text-color: #f8fafc;
5
+ --disabled-color: #ccc;
6
+ }
7
+
1
8
  @import "fixednavbar";
2
9
  @import "listing";
3
10
  @import "herosection";
@@ -48,7 +55,6 @@
48
55
  @import "formitem";
49
56
  @import "ncimage";
50
57
  @import "label";
51
- @import "customdatepicker";
52
58
  @import "forgetpassword";
53
59
  @import "resetpassword";
54
60
  @import "listingstaydetailpage";
@@ -63,6 +69,12 @@
63
69
  @import "PropertiesPage";
64
70
  @import "BookingDetails";
65
71
  @import "Modal.scss";
72
+ @import "Pagination";
73
+ @import "Loader";
74
+ @import "CardManager";
75
+ @import "react-datepicker/react-datepicker.css";
76
+ @import "buttonSecondry";
77
+ // @import "react-datepicker/dist/react-datepicker.css";
66
78
  @import url("https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&display=swap");
67
79
  * {
68
80
  font-family: "Asap", sans-serif;