@qite/tide-booking-component 1.2.4 → 1.3.0

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 (119) hide show
  1. package/build/build-cjs/booking-wizard/components/print-offer-button.d.ts +17 -0
  2. package/build/build-cjs/booking-wizard/features/flight-options/flight-option-flight.d.ts +1 -1
  3. package/build/build-cjs/booking-wizard/features/flight-options/flight-option.d.ts +1 -1
  4. package/build/build-cjs/booking-wizard/types.d.ts +13 -0
  5. package/build/build-cjs/booking-wizard/use-offer-printer.d.ts +13 -0
  6. package/build/build-cjs/index.js +1392 -754
  7. package/build/build-cjs/shared/utils/localization-util.d.ts +6 -0
  8. package/build/build-cjs/shared/utils/tide-api-utils.d.ts +1 -0
  9. package/build/build-esm/booking-wizard/components/print-offer-button.d.ts +17 -0
  10. package/build/build-esm/booking-wizard/features/flight-options/flight-option-flight.d.ts +1 -1
  11. package/build/build-esm/booking-wizard/features/flight-options/flight-option.d.ts +1 -1
  12. package/build/build-esm/booking-wizard/types.d.ts +13 -0
  13. package/build/build-esm/booking-wizard/use-offer-printer.d.ts +13 -0
  14. package/build/build-esm/index.js +1394 -756
  15. package/build/build-esm/shared/utils/localization-util.d.ts +6 -0
  16. package/build/build-esm/shared/utils/tide-api-utils.d.ts +1 -0
  17. package/package.json +4 -6
  18. package/src/booking-product/components/age-select.tsx +2 -8
  19. package/src/booking-product/components/amount-input.tsx +36 -22
  20. package/src/booking-product/components/date-range-picker/calendar-day.tsx +5 -1
  21. package/src/booking-product/components/date-range-picker/calendar.tsx +9 -7
  22. package/src/booking-product/components/date-range-picker/index.tsx +20 -5
  23. package/src/booking-product/components/dates.tsx +22 -18
  24. package/src/booking-product/components/footer.tsx +40 -41
  25. package/src/booking-product/components/header.tsx +44 -33
  26. package/src/booking-product/components/icon.tsx +188 -145
  27. package/src/booking-product/components/product.tsx +66 -33
  28. package/src/booking-product/components/rooms.tsx +70 -55
  29. package/src/booking-product/index.tsx +9 -9
  30. package/src/booking-product/settings-context.ts +3 -3
  31. package/src/booking-product/types.ts +3 -3
  32. package/src/booking-product/utils/api.ts +4 -4
  33. package/src/booking-product/utils/price.ts +5 -3
  34. package/src/booking-wizard/components/icon.tsx +428 -229
  35. package/src/booking-wizard/components/multi-range-filter.tsx +15 -15
  36. package/src/booking-wizard/components/print-offer-button.tsx +66 -0
  37. package/src/booking-wizard/components/step-indicator.tsx +1 -1
  38. package/src/booking-wizard/declarations.d.ts +2 -2
  39. package/src/booking-wizard/features/booking/api.ts +9 -5
  40. package/src/booking-wizard/features/booking/booking-self-contained.tsx +46 -19
  41. package/src/booking-wizard/features/booking/booking-slice.ts +108 -49
  42. package/src/booking-wizard/features/booking/booking.tsx +64 -57
  43. package/src/booking-wizard/features/booking/selectors.ts +45 -22
  44. package/src/booking-wizard/features/confirmation/confirmation.tsx +8 -5
  45. package/src/booking-wizard/features/error/error.tsx +6 -3
  46. package/src/booking-wizard/features/flight-options/flight-filter.tsx +147 -72
  47. package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +53 -21
  48. package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +34 -19
  49. package/src/booking-wizard/features/flight-options/flight-option.tsx +37 -22
  50. package/src/booking-wizard/features/flight-options/flight-utils.ts +220 -105
  51. package/src/booking-wizard/features/flight-options/index.tsx +62 -43
  52. package/src/booking-wizard/features/price-details/price-details-slice.ts +11 -4
  53. package/src/booking-wizard/features/product-options/no-options.tsx +1 -1
  54. package/src/booking-wizard/features/product-options/option-booking-airline-group.tsx +48 -50
  55. package/src/booking-wizard/features/product-options/option-booking-group.tsx +9 -3
  56. package/src/booking-wizard/features/product-options/option-item.tsx +1 -2
  57. package/src/booking-wizard/features/product-options/option-pax-card.tsx +39 -26
  58. package/src/booking-wizard/features/product-options/option-pax-group.tsx +9 -3
  59. package/src/booking-wizard/features/product-options/option-room.tsx +23 -16
  60. package/src/booking-wizard/features/product-options/option-unit-group.tsx +9 -3
  61. package/src/booking-wizard/features/product-options/option-units-card.tsx +68 -57
  62. package/src/booking-wizard/features/product-options/options-form.tsx +250 -124
  63. package/src/booking-wizard/features/room-options/index.tsx +27 -12
  64. package/src/booking-wizard/features/room-options/room-utils.ts +97 -50
  65. package/src/booking-wizard/features/room-options/room.tsx +56 -20
  66. package/src/booking-wizard/features/room-options/traveler-rooms.tsx +34 -22
  67. package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +1 -1
  68. package/src/booking-wizard/features/sidebar/sidebar-util.ts +1 -1
  69. package/src/booking-wizard/features/sidebar/sidebar.tsx +173 -155
  70. package/src/booking-wizard/features/summary/summary-flight.tsx +1 -1
  71. package/src/booking-wizard/features/summary/summary-per-booking-option-group.tsx +45 -33
  72. package/src/booking-wizard/features/summary/summary-per-pax-option-group.tsx +41 -29
  73. package/src/booking-wizard/features/summary/summary-per-unit-option-group.tsx +43 -31
  74. package/src/booking-wizard/features/summary/summary.tsx +325 -294
  75. package/src/booking-wizard/features/travelers-form/travelers-form.tsx +421 -422
  76. package/src/booking-wizard/features/travelers-form/type-ahead-input.tsx +1 -1
  77. package/src/booking-wizard/features/travelers-form/validate-form.ts +1 -1
  78. package/src/booking-wizard/settings-context.ts +7 -0
  79. package/src/booking-wizard/types.ts +19 -7
  80. package/src/booking-wizard/use-offer-printer.ts +136 -0
  81. package/src/index.ts +0 -1
  82. package/src/shared/translations/en-GB.json +237 -0
  83. package/src/shared/translations/fr-BE.json +7 -2
  84. package/src/shared/translations/nl-BE.json +5 -0
  85. package/src/shared/types.ts +1 -1
  86. package/src/shared/utils/localization-util.ts +9 -3
  87. package/src/shared/utils/query-string-util.ts +6 -3
  88. package/src/shared/utils/tide-api-utils.ts +1 -1
  89. package/styles/booking-product-variables.scss +174 -68
  90. package/styles/booking-product.scss +294 -288
  91. package/styles/booking-wizard-variables.scss +872 -529
  92. package/styles/booking-wizard.scss +35 -2
  93. package/styles/components/_base.scss +3 -2
  94. package/styles/components/_booking.scss +149 -679
  95. package/styles/components/_button.scss +55 -2
  96. package/styles/components/_checkbox.scss +7 -3
  97. package/styles/components/_cta.scss +86 -11
  98. package/styles/components/_date-list.scss +41 -0
  99. package/styles/components/_date-range-picker.scss +3 -3
  100. package/styles/components/_decrement-increment.scss +1 -3
  101. package/styles/components/_dropdown.scss +2 -4
  102. package/styles/components/_flight-option.scss +454 -414
  103. package/styles/components/_form.scss +1266 -77
  104. package/styles/components/_info-message.scss +71 -0
  105. package/styles/components/_input.scss +25 -0
  106. package/styles/components/_list.scss +111 -6
  107. package/styles/components/_loader.scss +4 -3
  108. package/styles/components/_mixins.scss +30 -10
  109. package/styles/components/_placeholders.scss +11 -11
  110. package/styles/components/_pricing-summary.scss +40 -2
  111. package/styles/components/_qsm.scss +1 -4
  112. package/styles/components/_radiobutton.scss +170 -0
  113. package/styles/components/_select-wrapper.scss +18 -4
  114. package/styles/components/_spinner.scss +29 -0
  115. package/styles/components/_step-indicators.scss +14 -6
  116. package/styles/components/_table.scss +9 -9
  117. package/styles/components/_tree.scss +31 -41
  118. package/styles/components/_typeahead.scss +281 -0
  119. package/styles/components/_variables.scss +15 -15
@@ -1,26 +1,25 @@
1
- .flight{
1
+ .flight {
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 2rem;
5
5
 
6
- &__option{
6
+ &__option {
7
7
  background: var(--tide-booking-flight-options-card-background);
8
8
  border-radius: var(--tide-booking-flight-options-card-border-radius);
9
- border: var(--tide-booking-flight-options-card-border);
9
+ outline: var(--tide-booking-flight-options-card-border);
10
10
  display: flex;
11
11
  flex-direction: column-reverse;
12
12
  overflow: hidden;
13
13
 
14
-
15
14
  @include media-sm {
16
15
  }
17
16
 
18
- &__header{
17
+ &__header {
19
18
  display: flex;
20
19
  align-items: center;
21
20
  gap: 10px;
22
21
 
23
- &__wrapper{
22
+ &__wrapper {
24
23
  display: grid;
25
24
  align-items: center;
26
25
  grid-template-columns: repeat(3, 1fr);
@@ -28,18 +27,18 @@
28
27
  width: 100%;
29
28
  }
30
29
 
31
- .radiobutton{
30
+ .radiobutton {
32
31
  padding: 0;
33
32
 
34
- &__input{
33
+ &__input {
35
34
  position: relative;
36
35
  margin-right: 0;
37
36
  margin-top: 0;
38
37
 
39
- &:checked{
40
- .flight__option{
41
- background: $color-primary;
42
- }
38
+ &:checked {
39
+ .flight__option {
40
+ background: var(--tide-booking-color-primary);
41
+ }
43
42
  }
44
43
  }
45
44
  }
@@ -63,7 +62,7 @@
63
62
  // }
64
63
  }
65
64
 
66
- &__footer{
65
+ &__footer {
67
66
  display: flex;
68
67
  justify-content: space-between;
69
68
  align-items: center;
@@ -74,7 +73,7 @@
74
73
  // border-left: 2px solid $gray-border-light;
75
74
  // }
76
75
 
77
- &__wrapper{
76
+ &__wrapper {
78
77
  display: flex;
79
78
  justify-content: space-between;
80
79
  align-items: center;
@@ -82,14 +81,13 @@
82
81
  }
83
82
  }
84
83
 
85
-
86
- &__operator{
84
+ &__operator {
87
85
  width: 45px;
88
86
  height: 45px;
89
87
  border-radius: 8px;
90
88
  overflow: hidden;
91
89
 
92
- &__img{
90
+ &__img {
93
91
  width: 100%;
94
92
  height: 100%;
95
93
  object-fit: cover;
@@ -97,7 +95,7 @@
97
95
  }
98
96
  }
99
97
 
100
- &__price{
98
+ &__price {
101
99
  text-align: right;
102
100
  display: flex;
103
101
  align-items: center;
@@ -107,7 +105,7 @@
107
105
  // align-items: center;
108
106
  // }
109
107
 
110
- button{
108
+ button {
111
109
  width: 100%;
112
110
  text-align: center;
113
111
  justify-content: center;
@@ -118,24 +116,24 @@
118
116
  }
119
117
  }
120
118
 
121
- strong{
119
+ strong {
122
120
  font-weight: 600;
123
121
  font-size: 20px;
124
122
  }
125
123
  }
126
124
 
127
- &__content{
125
+ &__content {
128
126
  display: flex;
129
127
  flex-direction: column;
130
- }
128
+ }
131
129
 
132
- &__flights{
130
+ &__flights {
133
131
  display: flex;
134
132
  flex-direction: column;
135
133
  background: var(--tide-booking-flight-options-card-background);
136
134
  }
137
135
 
138
- &__flight{
136
+ &__flight {
139
137
  display: flex;
140
138
  flex-direction: column;
141
139
  gap: 0rem;
@@ -144,23 +142,23 @@
144
142
  // border-top: 2px solid $gray-border-light;
145
143
  // }
146
144
 
147
- &__header{
145
+ &__header {
148
146
  display: flex;
149
147
  align-items: center;
150
148
  justify-content: space-between;
151
149
  gap: 10px;
152
- padding: 20px;
150
+ padding: 15px;
153
151
  background: var(--tide-booking-flight-options-card-header-background);
154
152
  border-bottom: var(--tide-booking-flight-options-card-header-border);
155
153
  }
156
154
 
157
- &__container{
155
+ &__container {
158
156
  display: grid;
159
157
  align-items: center;
160
158
  grid-template-columns: 1fr auto;
161
159
  gap: 0rem;
162
160
  position: relative;
163
- padding: 20px;
161
+ padding: 20px 15px;
164
162
 
165
163
  @include media-md {
166
164
  gap: 1rem;
@@ -168,24 +166,23 @@
168
166
  }
169
167
  }
170
168
 
171
- &__wrapper{
169
+ &__wrapper {
172
170
  display: grid;
173
171
  grid-template-rows: repeat(1, 1fr);
174
172
  gap: 20px;
175
173
 
176
-
177
174
  @include media-md {
178
175
  gap: 10px;
179
176
  grid-template-columns: 20% 1fr;
180
177
  }
181
178
  }
182
179
 
183
- &__airport{
180
+ &__airport {
184
181
  display: flex;
185
182
  align-items: center;
186
183
  }
187
184
 
188
- &__operator{
185
+ &__operator {
189
186
  font-size: 14px;
190
187
 
191
188
  @include media-lg {
@@ -194,7 +191,7 @@
194
191
  }
195
192
  }
196
193
 
197
- &__logo{
194
+ &__logo {
198
195
  width: auto;
199
196
  max-height: 30px;
200
197
 
@@ -205,7 +202,7 @@
205
202
  // object-position: center;
206
203
  // }
207
204
 
208
- &__wrapper{
205
+ &__wrapper {
209
206
  display: flex;
210
207
  flex-direction: row;
211
208
  align-items: center;
@@ -219,19 +216,19 @@
219
216
  }
220
217
  }
221
218
 
222
- &__info{
219
+ &__info {
223
220
  display: grid;
224
- grid-template-columns: repeat(3,1fr);
221
+ grid-template-columns: repeat(3, 1fr);
225
222
  gap: 10px;
226
223
 
227
- &__times{
224
+ &__times {
228
225
  display: flex;
229
226
  flex-direction: column;
230
227
  gap: 0rem;
231
228
  font-size: 16px;
232
229
  line-height: 20px;
233
230
 
234
- &__wrapper{
231
+ &__wrapper {
235
232
  display: flex;
236
233
  flex-direction: column-reverse;
237
234
  justify-content: flex-end;
@@ -243,16 +240,16 @@
243
240
  gap: 10px;
244
241
  }
245
242
 
246
- svg{
243
+ svg {
247
244
  fill: var(--tide-booking-flight-options-dapart-arrive-icon--color);
248
245
 
249
246
  @include media-sm {
250
- margin:0 20px;
247
+ margin: 0 20px;
251
248
  margin-top: 10px;
252
249
  }
253
250
  }
254
251
 
255
- &--arrival{
252
+ &--arrival {
256
253
  display: flex;
257
254
  flex-direction: column;
258
255
  align-items: flex-end;
@@ -267,32 +264,31 @@
267
264
  }
268
265
  }
269
266
 
270
- strong{
267
+ strong {
271
268
  color: var(--tide-booking-flight-options-times-title-color);
272
269
  font-family: var(--tide-booking-flight-options-times-title-font-family);
273
270
  font-weight: var(--tide-booking-flight-options-times-title-font-weight);
274
271
  }
275
272
 
276
- p{
273
+ p {
277
274
  margin: 0;
278
275
  font-family: var(--tide-booking-flight-options-times-font-family);
279
276
  color: var(--tide-booking-flight-options-times-color);
280
277
  }
281
278
 
282
- &__days{
279
+ &__days {
283
280
  font-size: 12px;
284
281
  font-weight: 300;
285
- color: $invalid;
282
+ color: var(--tide-booking-invalid);
286
283
  }
287
284
 
288
- &--arrival{
285
+ &--arrival {
289
286
  align-items: flex-end;
290
287
  text-align: right;
291
288
  }
292
-
293
289
  }
294
290
 
295
- &__duration{
291
+ &__duration {
296
292
  line-height: 1.5;
297
293
  display: flex;
298
294
  flex-direction: column;
@@ -300,11 +296,15 @@
300
296
  gap: 3px;
301
297
  font-size: 12px;
302
298
 
303
- &--waittime{
299
+ span {
300
+ text-align: center;
301
+ }
302
+
303
+ &--waittime {
304
304
  gap: 8px;
305
305
  }
306
306
 
307
- &__stops{
307
+ &__stops {
308
308
  display: flex;
309
309
  justify-content: space-evenly;
310
310
  align-items: center;
@@ -313,20 +313,21 @@
313
313
  background: var(--tide-booking-flight-options-stops-line-color);
314
314
  z-index: 1;
315
315
 
316
- &--stoptime{
316
+ &--stoptime {
317
317
  background-color: transparent;
318
- border-top: 1.5px dashed $black;
318
+ border-top: 1.5px dashed
319
+ var(--tide-booking-flight-options-stoptime-border-color);
319
320
  height: 0;
320
321
  }
321
322
  }
322
323
 
323
- &__stoptime{
324
+ &__stoptime {
324
325
  display: flex;
325
326
  flex-direction: column;
326
327
  align-items: center;
327
328
  }
328
329
 
329
- &__stop{
330
+ &__stop {
330
331
  height: 6px;
331
332
  width: 6px;
332
333
  background: var(--tide-booking-flight-options-stop-color);
@@ -334,65 +335,66 @@
334
335
  border-radius: 50%;
335
336
  }
336
337
 
337
- strong{
338
+ strong {
338
339
  font-weight: 700;
339
340
  }
340
341
 
341
- p{
342
+ p {
342
343
  margin: 0;
343
344
  }
344
345
  }
345
346
  }
346
347
 
347
- &__detail{
348
+ &__detail {
348
349
  display: flex;
349
- flex-direction: column;
350
- gap: 20px;
351
- overflow: hidden;;
350
+ flex-direction: column;
351
+ gap: 20px;
352
+ overflow: hidden;
353
+ background-color: var(--tide-booking-flight-options-detail-card-background);
354
+ margin: 0 15px;
355
+ padding: 0 20px;
356
+ border: var(--tide-booking-flight-options-detail-card-border);
357
+ border-radius: var(--tide-booking-flight-options-detail-card-border-radius);
358
+ opacity: 0;
359
+ transform: scaleY(0.95);
360
+ transform-origin: top;
361
+ height: 0;
362
+ transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease,
363
+ padding 0.4s ease, margin-bottom 0.4s ease,
364
+ height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
365
+
366
+ @include media-md {
367
+ margin: 0 15px;
368
+ }
369
+
370
+ &--active {
371
+ transform: scaleY(1);
372
+ opacity: 1;
352
373
  height: auto;
353
- max-height: 0px;
354
- background-color: var(--tide-booking-flight-options-detail-card-background);
355
- margin: 0 20px;
356
- padding: 0 20px;
357
- margin-bottom: 0rem;
358
- border: var(--tide-booking-flight-options-detail-card-border);
359
- border-radius: var(--tide-booking-flight-options-detail-card-border-radius);
360
- // transform: scaleY(0);
361
- // transform-origin: top;
362
- opacity: 0;
363
- transition: all .3s ease, max-height 0.5s ease, opacity 0.5s ease, transform .5s ease-in-out, padding 0.3s ease-in-out;
364
-
374
+ padding: 20px;
375
+ margin-bottom: 20px;
376
+
365
377
  @include media-md {
366
- margin: 0 20px;
367
- }
368
-
369
- &--active{
370
- max-height: 1000px;
371
- min-height: auto;
372
- transform: scaleY(1);
373
- opacity: 1;
374
- padding: 20px;
375
378
  margin-bottom: 20px;
376
-
377
- @include media-md {
378
- margin-bottom: 20px;
379
- }
380
379
  }
380
+ }
381
381
 
382
- &__btn{
382
+ &__btn {
383
383
  display: flex;
384
384
  align-items: center;
385
385
  justify-content: center;
386
386
  padding: 10px;
387
- border-radius: var(--tide-booking-flight-options-detail-toggle-border-radius);
387
+ border-radius: var(
388
+ --tide-booking-flight-options-detail-toggle-border-radius
389
+ );
388
390
  font-size: 14px;
389
391
  color: var(--tide-booking-flight-options-detail-toggle-icon-color);
390
392
  background: var(--tide-booking-flight-options-detail-toggle-background);
391
393
  border: var(--tide-booking-flight-options-detail-toggle-border);
392
394
  cursor: pointer;
393
- transition: all .3s ease-in-out;
395
+ transition: all 0.3s ease-in-out;
394
396
 
395
- &__wrapper{
397
+ &__wrapper {
396
398
  position: absolute;
397
399
  top: 20px;
398
400
  right: 20px;
@@ -408,34 +410,41 @@
408
410
  right: 0;
409
411
  }
410
412
  }
411
-
412
- svg{
413
+
414
+ svg {
413
415
  fill: var(--tide-booking-flight-options-detail-toggle-icon-color);
414
- transition: all .3s ease-in-out;
416
+ transition: all 0.3s ease-in-out;
415
417
  }
416
418
 
417
- &:hover, &:focus{
418
- color: var(--tide-booking-flight-options-detail-toggle-icon-color-hover);
419
- background: var(--tide-booking-flight-options-detail-toggle-background-hover);
419
+ &:hover,
420
+ &:focus {
421
+ color: var(
422
+ --tide-booking-flight-options-detail-toggle-icon-color-hover
423
+ );
424
+ background: var(
425
+ --tide-booking-flight-options-detail-toggle-background-hover
426
+ );
420
427
  border: var(--tide-booking-flight-options-detail-toggle-border-hover);
421
428
 
422
- svg{
423
- fill: var(--tide-booking-flight-options-detail-toggle-icon-color-hover);
429
+ svg {
430
+ fill: var(
431
+ --tide-booking-flight-options-detail-toggle-icon-color-hover
432
+ );
424
433
  }
425
434
  }
426
435
 
427
- &--active{
428
- .flight__detail__btn__arrow{
436
+ &--active {
437
+ .flight__detail__btn__arrow {
429
438
  transform: rotate(90deg);
430
439
  }
431
440
  }
432
441
  }
433
442
 
434
- .flight__info{
435
- &__times{
443
+ .flight__info {
444
+ &__times {
436
445
  font-size: 14px;
437
446
 
438
- p{
447
+ p {
439
448
  font-size: 12px;
440
449
 
441
450
  @include media-md {
@@ -446,19 +455,16 @@
446
455
  }
447
456
  }
448
457
 
449
- &__rate{
458
+ &__rate {
450
459
  display: flex;
451
460
  flex-direction: column;
452
461
  // border-top: 2px solid $gray-border-light;
453
462
  overflow-y: hidden;
454
- background-color: $white;
455
463
  height: 100%;
456
464
  max-height: 1.5px;
457
- transition: all .3s ease-in-out;
458
-
459
-
465
+ transition: all 0.3s ease-in-out;
460
466
 
461
- &__container{
467
+ &__container {
462
468
  display: flex;
463
469
  flex-direction: column;
464
470
  gap: 20px;
@@ -472,27 +478,27 @@
472
478
  }
473
479
  }
474
480
 
475
- &__title{
481
+ &__title {
476
482
  display: flex;
477
483
  flex-direction: column;
478
- h2{
484
+ h2 {
479
485
  font-size: 20px;
480
- font-family: proxima-nova, sans-serif;
481
- color: $gray-dark;
486
+ font-family: var(--tide-booking-font-heading);
487
+ color: var(--tide-booking-gray-dark);
482
488
  margin-bottom: 0rem;
483
489
 
484
490
  @include media-md {
485
491
  font-size: 30px;
486
492
  }
487
493
 
488
- strong{
494
+ strong {
489
495
  font-weight: 600;
490
- color: $black;
496
+ color: #000;
491
497
  }
492
498
  }
493
499
  }
494
500
 
495
- &__wrapper{
501
+ &__wrapper {
496
502
  display: flex;
497
503
  align-items: center;
498
504
  gap: 20px;
@@ -501,41 +507,41 @@
501
507
  margin: -20px;
502
508
  padding: 20px;
503
509
 
504
- @include media-md{
510
+ @include media-md {
505
511
  overflow-x: visible;
506
512
  }
507
513
  }
508
514
 
509
- &__card{
510
- border: solid 1px $gray-border-medium;
511
- border-top: 3px solid $economy;
515
+ &__card {
516
+ border: solid 1px var(--tide-booking-gray-medium);
517
+ border-top: 3px solid #334eac;
512
518
  border-radius: 10px;
513
519
  max-width: 180px;
514
520
  min-width: 180px;
515
521
  // opacity: 0.7;
516
522
  cursor: pointer;
517
523
  transform: scale(1);
518
- transition: all .3s ease-in-out;
524
+ transition: all 0.3s ease-in-out;
519
525
 
520
- &__header{
526
+ &__header {
521
527
  display: flex;
522
528
  justify-content: space-between;
523
529
  align-items: center;
524
530
  gap: 10px;
525
531
  padding: 10px;
526
- background: $economy-background;
532
+ background: #ebedf7;
527
533
  border-radius: 1rem 1rem 0 0;
528
-
529
- &__title{
530
- font-family: "proxima-nova", sans-serif;
534
+
535
+ &__title {
536
+ font-family: var(--tide-booking-font-heading);
531
537
  font-size: 18px;
532
538
  font-weight: 500;
533
- color: $economy;
539
+ color: #334eac;
534
540
  margin: 0;
535
541
  }
536
542
  }
537
-
538
- &__content{
543
+
544
+ &__content {
539
545
  display: flex;
540
546
  flex-direction: column;
541
547
  justify-content: flex-end;
@@ -544,118 +550,116 @@
544
550
  min-height: 70px;
545
551
  max-height: 70px;
546
552
  }
547
-
548
- &__item{
553
+
554
+ &__item {
549
555
  display: flex;
550
556
  align-items: center;
551
557
  justify-content: space-between;
552
558
  gap: 3px;
553
- color: $gray-dark;
559
+ color: var(--tide-booking-gray-dark);
554
560
  font-size: 20px;
555
561
  font-weight: 500;
556
-
557
-
558
- svg{
559
- fill: $economy;
562
+
563
+ svg {
564
+ fill: #334eac;
560
565
  transform: rotate(0deg);
561
- transition: all .3s ease-in-out;
566
+ transition: all 0.3s ease-in-out;
562
567
  }
563
-
564
568
  }
565
-
566
- &__chairs{
569
+
570
+ &__chairs {
567
571
  font-size: 12px;
568
572
  font-weight: lighter;
569
- color: $price-increase;
573
+ color: var(--tide-booking-price-increase);
570
574
  }
571
-
572
- &__lowest{
575
+
576
+ &__lowest {
573
577
  font-size: 14px;
574
578
  font-weight: bold;
575
- color: $price-decrease;
579
+ color: var(--tide-booking-price-decrease);
576
580
  }
577
581
 
578
- &--active{
582
+ &--active {
579
583
  border-width: 2px;
580
- border-color: $economy;
581
- border-top: 3px solid $economy;
584
+ border-color: #334eac;
585
+ border-top: 3px solid #334eac;
582
586
 
583
- .flight__rate__card__item svg{
587
+ .flight__rate__card__item svg {
584
588
  transform: rotate(90deg);
585
589
  }
586
590
  }
587
591
 
588
- &:hover{
592
+ &:hover {
589
593
  transform: scale(1.05);
590
594
  }
591
595
 
592
- &--premium{
593
- border-top: 3px solid $premium;
596
+ &--premium {
597
+ border-top: 3px solid #85204b;
594
598
 
595
- .flight__rate__card__header{
596
- background: $premium-background;
599
+ .flight__rate__card__header {
600
+ background: #f1e6eb;
597
601
  }
598
602
 
599
- .flight__rate__card__header__title{
600
- color: $premium;
603
+ .flight__rate__card__header__title {
604
+ color: #85204b;
601
605
  }
602
606
 
603
- .flight__rate__card__item svg{
604
- fill: $premium;
607
+ .flight__rate__card__item svg {
608
+ fill: #85204b;
605
609
  }
606
610
 
607
- &--active{
611
+ &--active {
608
612
  border-width: 2px;
609
- border-color: $premium;
610
- border-top: 3px solid $premium;
613
+ border-color: #85204b;
614
+ border-top: 3px solid #85204b;
611
615
 
612
- .flight__rate__card__item svg{
616
+ .flight__rate__card__item svg {
613
617
  transform: rotate(90deg);
614
618
  }
615
619
  }
616
620
  }
617
621
 
618
- &--business{
619
- border-top: 3px solid $business;
622
+ &--business {
623
+ border-top: 3px solid #8e8347;
620
624
 
621
- .flight__rate__card__header{
622
- background: $business-background;
625
+ .flight__rate__card__header {
626
+ background: #f5f4ed;
623
627
  }
624
628
 
625
- .flight__rate__card__header__title{
626
- color: $business;
629
+ .flight__rate__card__header__title {
630
+ color: #8e8347;
627
631
  }
628
632
 
629
- .flight__rate__card__item svg{
630
- fill: $business;
633
+ .flight__rate__card__item svg {
634
+ fill: #8e8347;
631
635
  }
632
636
 
633
- &--active{
637
+ &--active {
634
638
  border-width: 2px;
635
- border-color: $business;
636
- border-top: 3px solid $business;
639
+ border-color: #8e8347;
640
+ border-top: 3px solid #8e8347;
637
641
 
638
- .flight__rate__card__item svg{
642
+ .flight__rate__card__item svg {
639
643
  transform: rotate(90deg);
640
644
  }
641
645
  }
642
646
  }
643
647
  }
644
648
 
645
- p{
649
+ p {
646
650
  font-size: 12px;
647
651
  margin: 0;
648
652
 
649
- strong{
653
+ strong {
650
654
  font-weight: 700;
651
655
  }
652
656
  }
653
657
 
654
- &__change{
658
+ &__change {
655
659
  font-size: 12px;
656
660
  }
657
661
 
658
- &__modal{
662
+ &__modal {
659
663
  background: #f9f9f9;
660
664
  border-radius: 10px;
661
665
  width: 100%;
@@ -669,14 +673,14 @@
669
673
 
670
674
  @include media-sm {
671
675
  margin: 45px 20px;
672
- height: calc(100vh - 90px);
676
+ height: calc(100vh - 90px);
673
677
  }
674
678
 
675
679
  @include media-lg {
676
680
  margin: 45px;
677
681
  }
678
682
 
679
- &__container{
683
+ &__container {
680
684
  position: fixed;
681
685
  height: 100vh;
682
686
  width: 100vw;
@@ -687,7 +691,7 @@
687
691
  top: 0;
688
692
  left: 0;
689
693
 
690
- &::after{
694
+ &::after {
691
695
  content: "";
692
696
  position: absolute;
693
697
  height: 100%;
@@ -696,31 +700,31 @@
696
700
  z-index: 100;
697
701
  }
698
702
 
699
- &--active{
703
+ &--active {
700
704
  display: flex;
701
705
  }
702
706
  }
703
707
 
704
- &__header{
708
+ &__header {
705
709
  display: flex;
706
710
  justify-content: space-between;
707
711
  align-items: center;
708
712
  gap: 10px;
709
713
  padding: 20px;
710
- background-color: $white;
714
+ background-color: #fff;
711
715
  border-radius: 10px 10px 0px 0px;
712
716
  box-shadow: 0px 3px 10px 0px #00000021;
713
717
  position: relative;
714
718
  z-index: 1;
715
719
 
716
- &__title{
717
- font-family: "proxima-nova", sans-serif;
720
+ &__title {
721
+ font-family: var(--tide-booking-font-heading);
718
722
  font-size: 16px;
719
723
  font-weight: 500;
720
724
  margin: 0;
721
725
  }
722
726
 
723
- &__close{
727
+ &__close {
724
728
  font-size: 16px;
725
729
  background-color: transparent;
726
730
  border: none;
@@ -729,7 +733,7 @@
729
733
  }
730
734
  }
731
735
 
732
- &__content{
736
+ &__content {
733
737
  padding: 2rem;
734
738
  overflow: auto;
735
739
  @extend %scrollbar-thin;
@@ -739,125 +743,126 @@
739
743
  gap: 20px;
740
744
  }
741
745
 
742
- &__tabs{
746
+ &__tabs {
743
747
  display: flex;
744
748
  gap: 1rem;
745
749
  padding: 0 20px;
746
750
  margin-bottom: 10px;
747
- background-color: $white;
751
+ background-color: #fff;
748
752
  height: 60px;
749
753
  }
750
754
 
751
- &__tab{
755
+ &__tab {
752
756
  font-size: 12px;
753
- color: $gray-medium;
757
+ color: #cbcbcb;
754
758
  background: transparent;
755
759
  border: none;
756
- border-bottom: solid 2px $white;
760
+ border-bottom: solid 2px #fff;
757
761
  cursor: pointer;
758
- transition: border .3s ease-in-out;
762
+ transition: border 0.3s ease-in-out;
759
763
  height: 100%;
760
764
 
761
765
  @include media-md {
762
766
  font-size: 16px;
763
767
  }
764
768
 
765
- &:hover, &:focus{
766
- color: $btn-hover;
769
+ &:hover,
770
+ &:focus {
771
+ color: rgba(255, 255, 255, 0.325);
767
772
  }
768
773
 
769
- &--active{
770
- color: $color-primary;
771
- border-bottom: solid 2px $color-primary;
774
+ &--active {
775
+ color: var(--tide-booking-color-primary);
776
+ border-bottom: solid 2px var(--tide-booking-color-primary);
772
777
  }
773
778
  }
774
779
 
775
- &__card{
776
- background: $white;
780
+ &__card {
781
+ background: #fff;
777
782
  border-radius: 10px;
778
783
  display: flex;
779
784
  flex-direction: column;
780
785
  justify-content: space-between;
781
786
  gap: 1rem;
782
787
  height: auto;
783
- border: solid 1px $gray-border-medium;
784
- border-top: 3px solid $economy;
788
+ border: solid 1px var(--tide-booking-gray-medium);
789
+ border-top: 3px solid #334eac;
785
790
  // min-height: calc(100% - 40px);
786
791
 
787
- &__header{
792
+ &__header {
788
793
  padding: 0 20px;
789
794
  padding-top: 20px;
790
- background: $economy-background;
795
+ background: #ebedf7;
791
796
  border-radius: 10px 10px 0 0;
792
797
 
793
- &__title{
798
+ &__title {
794
799
  font-family: "proxima-nova", sans-serif;
795
800
  font-size: 20px;
796
801
  margin: 0;
797
- color: $economy;
802
+ color: #334eac;
798
803
  }
799
804
 
800
- &__class{
805
+ &__class {
801
806
  font-size: 12px;
802
807
  font-weight: 300;
803
808
  margin: 0;
804
809
  }
805
810
  }
806
811
 
807
- &__items{
812
+ &__items {
808
813
  display: flex;
809
814
  flex-direction: column;
810
815
  gap: 10px;
811
816
  padding: 20px;
812
817
 
813
- &--top{
814
- background: $economy-background;
818
+ &--top {
819
+ background: #ebedf7;
815
820
  }
816
821
  }
817
822
 
818
- &__item{
823
+ &__item {
819
824
  display: grid;
820
825
  grid-template-columns: 20px 1fr;
821
826
  align-items: center;
822
827
  gap: 10px;
823
828
 
824
- svg{
825
- fill: $gray-dark;
829
+ svg {
830
+ fill: var(--tide-booking-gray-dark);
826
831
  }
827
832
 
828
- &__wrapper{
833
+ &__wrapper {
829
834
  font-size: 12px;
830
835
 
831
- p{
836
+ p {
832
837
  margin: 0;
833
838
  }
834
839
 
835
- strong{
840
+ strong {
836
841
  font-weight: 700;
837
842
  }
838
843
  }
839
844
 
840
- &--border{
845
+ &--border {
841
846
  width: 100%;
842
847
  height: 1px;
843
- background: $gray-border-light;
848
+ background: var(--tide-booking-gray-border-light);
844
849
  }
845
850
 
846
- &--disabled{
851
+ &--disabled {
847
852
  opacity: 0.25;
848
853
  }
849
854
  }
850
855
 
851
- &__footer{
856
+ &__footer {
852
857
  display: flex;
853
858
  flex-direction: row-reverse;
854
859
  justify-content: space-between;
855
860
  align-items: center;
856
861
  gap: 10px;
857
- padding:0 20px;
862
+ padding: 0 20px;
858
863
  padding-bottom: 20px;
859
864
 
860
- button{
865
+ button {
861
866
  width: 100%;
862
867
  text-align: center;
863
868
  justify-content: center;
@@ -868,52 +873,54 @@
868
873
 
869
874
  .price {
870
875
  white-space: nowrap;
871
-
876
+
872
877
  &--decrease {
873
- color: $price-decrease;
878
+ color: var(--tide-booking-price-decrease);
874
879
  }
875
-
880
+
876
881
  &--increase {
877
- color: $price-increase;
882
+ color: var(--tide-booking-price-increase);
878
883
  }
879
884
  }
880
885
  }
881
886
 
882
- &--premium{
883
- border-top: 3px solid $premium;
887
+ &--premium {
888
+ border-top: 3px solid #85204b;
884
889
 
885
- .flight__rate__modal__card__header, .flight__rate__modal__card__items--top{
886
- background: $premium-background;
890
+ .flight__rate__modal__card__header,
891
+ .flight__rate__modal__card__items--top {
892
+ background: #f1e6eb;
887
893
  }
888
894
 
889
- .flight__rate__modal__card__header__title{
890
- color: $premium;
895
+ .flight__rate__modal__card__header__title {
896
+ color: #85204b;
891
897
  }
892
898
  }
893
899
 
894
- &--business{
895
- border-top: 3px solid $business;
900
+ &--business {
901
+ border-top: 3px solid #8e8347;
896
902
 
897
- .flight__rate__modal__card__header, .flight__rate__modal__card__items--top{
898
- background: $business-background;
903
+ .flight__rate__modal__card__header,
904
+ .flight__rate__modal__card__items--top {
905
+ background: #f5f4ed;
899
906
  }
900
907
 
901
- .flight__rate__modal__card__header__title{
902
- color: $business;
908
+ .flight__rate__modal__card__header__title {
909
+ color: #8e8347;
903
910
  }
904
911
  }
905
912
  }
906
913
 
907
- &__footer{
914
+ &__footer {
908
915
  display: flex;
909
916
  justify-content: flex-end;
910
917
  gap: 10px;
911
918
  padding: 20px;
912
- background-color: $white;
919
+ background-color: #fff;
913
920
  border-radius: 0px 0px 10px 10px;
914
921
  box-shadow: 0px -3px 10px 0px #00000021;
915
922
 
916
- button{
923
+ button {
917
924
  width: 100%;
918
925
  text-align: center;
919
926
  justify-content: center;
@@ -924,23 +931,24 @@
924
931
  }
925
932
  }
926
933
 
927
- &__detail{
934
+ &__detail {
928
935
  overflow: auto;
929
936
  @extend %scrollbar-thin;
930
937
  display: none;
931
938
  grid-auto-columns: 310px;
932
939
  grid-auto-flow: column;
933
940
  gap: 20px;
934
- padding:0rem 20px;
941
+ padding: 0rem 20px;
935
942
  max-height: 0px;
936
943
  opacity: 0;
937
- transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
944
+ transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out,
945
+ padding-bottom 0.3s ease-in-out;
938
946
 
939
947
  @include media-md {
940
948
  display: grid;
941
949
  }
942
950
 
943
- &--active{
951
+ &--active {
944
952
  display: none;
945
953
  max-height: 1000px;
946
954
  opacity: 1;
@@ -950,22 +958,21 @@
950
958
  display: grid;
951
959
  }
952
960
  }
953
-
954
961
  }
955
962
 
956
- &--active{
963
+ &--active {
957
964
  height: 100%;
958
965
  max-height: 1000px;
959
966
  }
960
967
  }
961
968
 
962
- &__status{
969
+ &__status {
963
970
  display: flex;
964
971
  justify-content: center;
965
972
  align-items: center;
966
973
  gap: 10px;
967
- color: $white;
968
- background: $color-primary;
974
+ color: #fff;
975
+ background: var(--tide-booking-color-primary);
969
976
  border-radius: 50%;
970
977
  padding: 10px;
971
978
  font-size: 12px;
@@ -973,12 +980,12 @@
973
980
  width: 30px;
974
981
  height: 30px;
975
982
 
976
- &--pub{
977
- background: $price-decrease;
983
+ &--pub {
984
+ background: var(--tide-booking-price-decrease);
978
985
  }
979
986
  }
980
987
 
981
- &__airport{
988
+ &__airport {
982
989
  display: none;
983
990
  align-items: center;
984
991
  gap: 5px;
@@ -988,12 +995,12 @@
988
995
  }
989
996
  }
990
997
 
991
- &__times{
998
+ &__times {
992
999
  display: flex;
993
1000
  flex-direction: column;
994
1001
  align-items: flex-end;
995
1002
 
996
- &__date{
1003
+ &__date {
997
1004
  font-size: 14px;
998
1005
 
999
1006
  @include media-lg {
@@ -1002,8 +1009,7 @@
1002
1009
  }
1003
1010
  }
1004
1011
 
1005
- &__filter{
1006
- max-width: 360px;
1012
+ &__filter {
1007
1013
  position: fixed;
1008
1014
  left: 0%;
1009
1015
  top: 0;
@@ -1011,107 +1017,141 @@
1011
1017
  display: flex;
1012
1018
  flex-direction: column;
1013
1019
  gap: 20px;
1014
- background: $white;
1020
+ background: #fff;
1015
1021
  height: 100%;
1016
1022
  max-height: 97.3vh;
1017
- width: 100%;
1023
+ width: calc(100vw - 40px);
1018
1024
  padding: 20px;
1019
1025
  box-shadow: 0px 0px 5px rgba(158, 158, 158, 0.447);
1020
1026
  transform: translateX(-100%);
1021
- transition: all .3s ease-in-out;
1027
+ transition: all 0.3s ease-in-out;
1022
1028
  overflow-y: auto;
1023
1029
  @extend %scrollbar-thin;
1030
+ scrollbar-gutter: stable;
1031
+
1032
+ @include media-xs {
1033
+ width: 100%;
1034
+ max-width: 360px;
1035
+ }
1024
1036
 
1025
- &--active{
1037
+ &--active {
1026
1038
  transform: translateX(0%);
1027
1039
  }
1028
1040
 
1029
- &__header{
1041
+ &__header {
1042
+ position: relative;
1030
1043
  display: flex;
1031
1044
  justify-content: space-between;
1032
1045
  align-items: flex-start;
1033
1046
  gap: 10px;
1034
1047
 
1035
- &__title{
1036
- h3{
1048
+ &__title {
1049
+ h3 {
1037
1050
  margin-bottom: 0rem;
1038
1051
  }
1039
1052
 
1040
- p{
1041
- font-weight: var(--tide-booking-flight-options-filter-header-text-font-weight);
1053
+ p {
1054
+ font-weight: var(
1055
+ --tide-booking-flight-options-filter-header-text-font-weight
1056
+ );
1042
1057
  color: var(--tide-booking-flight-options-filter-header-text-color);
1043
1058
  font-size: 16px;
1044
1059
  }
1045
1060
 
1046
- strong{
1047
- font-weight: var(--tide-booking-flight-options-filter-header-text-strong-font-weight);
1048
- color: var(--tide-booking-flight-options-filter-header-text-strong-color);
1061
+ strong {
1062
+ font-weight: var(
1063
+ --tide-booking-flight-options-filter-header-text-strong-font-weight
1064
+ );
1065
+ color: var(
1066
+ --tide-booking-flight-options-filter-header-text-strong-color
1067
+ );
1049
1068
  }
1050
1069
  }
1051
1070
  }
1052
1071
 
1053
- &__body{
1072
+ &__body {
1054
1073
  display: flex;
1055
1074
  flex-direction: column;
1056
1075
  gap: 30px;
1057
1076
  }
1058
1077
 
1059
- &__group{
1078
+ &__group {
1060
1079
  display: flex;
1061
1080
  flex-direction: column;
1062
1081
  gap: 20px;
1063
1082
 
1064
- &__title{
1065
- font-family: var(--tide-booking-flight-options-filter-group-title-text-font-family);
1083
+ &__title {
1084
+ font-family: var(
1085
+ --tide-booking-flight-options-filter-group-title-text-font-family
1086
+ );
1066
1087
  font-size: 18px;
1067
- font-weight: var(--tide-booking-flight-options-filter-group-title-text-font-weight);
1088
+ font-weight: var(
1089
+ --tide-booking-flight-options-filter-group-title-text-font-weight
1090
+ );
1068
1091
  color: var(--tide-booking-flight-options-filter-group-title-text-color);
1069
1092
  display: flex;
1070
1093
  justify-content: space-between;
1071
1094
  align-items: center;
1072
1095
  padding-bottom: 5px;
1073
- border-bottom: var(--tide-booking-flight-options-filter-group-title-text-border);
1096
+ border-bottom: var(
1097
+ --tide-booking-flight-options-filter-group-title-text-border
1098
+ );
1074
1099
 
1075
- svg{
1076
- fill: $color-primary;
1100
+ svg {
1101
+ fill: var(--tide-booking-color-primary);
1077
1102
  }
1078
1103
  }
1079
1104
 
1080
- &__wrapper{
1105
+ &__wrapper {
1081
1106
  display: flex;
1082
1107
  flex-direction: column;
1083
1108
  gap: 10px;
1084
1109
 
1085
- p{
1110
+ p {
1086
1111
  margin: 0px;
1087
1112
  font-size: 16px;
1088
1113
  padding: 0rem 10px;
1089
- font-family: var(--tide-booking-flight-options-filter-group-title-subtext-font-family);
1090
- font-weight: var(--tide-booking-flight-options-filter-group-title-subtext-font-weight);
1091
- color: var(--tide-booking-flight-options-filter-group-title-subtext-color);
1114
+ font-family: var(
1115
+ --tide-booking-flight-options-filter-group-title-subtext-font-family
1116
+ );
1117
+ font-weight: var(
1118
+ --tide-booking-flight-options-filter-group-title-subtext-font-weight
1119
+ );
1120
+ color: var(
1121
+ --tide-booking-flight-options-filter-group-title-subtext-color
1122
+ );
1092
1123
  }
1093
1124
  }
1094
1125
 
1095
- .tree{
1126
+ .tree {
1096
1127
  padding: 7.5px 10px;
1128
+ font-size: 16px;
1097
1129
 
1098
- .checkbox, .radiobutton{
1099
- padding: 0rem 15px 0 28px
1130
+ .checkbox,
1131
+ .radiobutton {
1132
+ padding: 0rem 15px 0 28px;
1100
1133
  }
1101
1134
 
1102
- .checkbox__input--parent, .radiobutton__input--parent{
1135
+ .checkbox__input--parent,
1136
+ .radiobutton__input--parent {
1103
1137
  top: -1px;
1104
1138
  }
1105
1139
 
1106
- .radiobutton__label-text{
1140
+ .checkbox__label {
1141
+ padding: 0px;
1142
+ }
1143
+
1144
+ .radiobutton__label-text {
1107
1145
  display: flex;
1108
1146
  flex-direction: row;
1109
1147
  align-items: center;
1110
1148
  gap: 5px;
1111
1149
  color: var(--tide-booking-checkbox-color-text);
1150
+ margin: 0px;
1151
+ padding: 0px;
1112
1152
 
1113
- .amount{
1114
- color: $color-primary;
1153
+ .amount {
1154
+ color: var(--tide-booking-color-primary);
1115
1155
  }
1116
1156
  }
1117
1157
  }
@@ -1123,7 +1163,7 @@
1123
1163
  gap: 10px;
1124
1164
  padding: 7.5px 10px;
1125
1165
 
1126
- &__value{
1166
+ &__value {
1127
1167
  font-size: 12px;
1128
1168
  display: flex;
1129
1169
  justify-content: space-between;
@@ -1139,7 +1179,7 @@
1139
1179
  // outline: none;
1140
1180
  // opacity: 0.7;
1141
1181
  // transition: opacity .15s ease-in-out;
1142
-
1182
+
1143
1183
  // &::-webkit-slider-runnable-track {
1144
1184
  // width: 90%;
1145
1185
  // height: 4px;
@@ -1148,7 +1188,7 @@
1148
1188
  // background: linear-gradient(to right, $color-primary 0%, $color-primary calc((var(--value) - 2) / 5 * 100%), $gray-light calc((var(--value) - 2) / 5 * 100%), $gray-light 100%);
1149
1189
  // border-radius: 5px;
1150
1190
  // }
1151
-
1191
+
1152
1192
  // &::-moz-range-track {
1153
1193
  // width: 90%;
1154
1194
  // height: 4px;
@@ -1157,7 +1197,7 @@
1157
1197
  // background: linear-gradient(to right, $color-primary 0%, $color-primary calc((var(--value) - 2) / 5 * 100%), $gray-light calc((var(--value) - 2) / 5 * 100%), $gray-light 100%);
1158
1198
  // border-radius: 5px;
1159
1199
  // }
1160
-
1200
+
1161
1201
  // &::-webkit-slider-thumb {
1162
1202
  // -webkit-appearance: none;
1163
1203
  // appearance: none;
@@ -1168,7 +1208,7 @@
1168
1208
  // cursor: pointer;
1169
1209
  // margin-top: -5px;
1170
1210
  // }
1171
-
1211
+
1172
1212
  // &::-moz-range-thumb {
1173
1213
  // width: 16px;
1174
1214
  // height: 16px;
@@ -1178,135 +1218,135 @@
1178
1218
  // margin-top: -5px;
1179
1219
  // }
1180
1220
  // }
1221
+ }
1181
1222
 
1223
+ .double-slider-box {
1224
+ background-color: transparent;
1225
+ border-radius: 10px;
1226
+ width: 100%;
1227
+ max-width: 97%;
1228
+ margin-left: 10px;
1182
1229
 
1183
-
1184
- }
1185
-
1186
- .double-slider-box {
1187
- background-color: transparent;
1188
- border-radius: 10px;
1189
- width: 100%;
1230
+ @include media-xs {
1190
1231
  max-width: 342px;
1191
- margin-left: 10px;
1192
1232
  }
1193
-
1194
- .range-slider {
1195
- position: relative;
1196
- width: 100%;
1197
- height: 5px;
1198
- margin: 30px 0;
1199
- background-color: var(--tide-booking-slider-range-background);
1200
- border-radius: 5px;
1233
+ }
1201
1234
 
1202
- input{
1203
- padding: 0rem;
1204
- }
1205
- }
1206
-
1207
- .slider-track {
1208
- height: 100%;
1209
- position: absolute;
1210
- background-color: var(--tide-booking-slider-track-background);
1211
- left: 0;
1212
- right: 100%;
1213
- border-radius: 5px;
1214
- }
1215
-
1216
- .range-slider input[type="range"] {
1217
- position: absolute;
1218
- width: 101%;
1219
- left: -3px;
1220
- top: 0;
1221
- transform: translateY(-50%);
1222
- background: none;
1223
- pointer-events: none;
1224
- border: none;
1225
- appearance: none;
1226
- height: 5px;
1227
- }
1228
-
1229
- input[type="range"]::-webkit-slider-thumb {
1230
- height: 25px;
1231
- width: 25px;
1232
- border-radius: 50%;
1233
- border: 3px solid var(--tide-booking-slider-thumb-border-color);
1234
- background: var(--tide-booking-slider-thumb-background);
1235
- pointer-events: auto;
1236
- appearance: none;
1237
- cursor: pointer;
1238
- box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
1239
- position: relative;
1240
- z-index: 2; /* Ensure thumbs appear above the track */
1241
- }
1242
-
1243
- input[type="range"]::-moz-range-thumb {
1244
- height: 25px;
1245
- width: 25px;
1246
- border-radius: 50%;
1247
- border: 3px solid var(--tide-booking-slider-thumb-border-color);
1248
- background: var(--tide-booking-slider-thumb-background);
1249
- pointer-events: auto;
1250
- cursor: pointer;
1251
- box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
1252
- position: relative;
1253
- z-index: 2;
1254
- }
1255
-
1256
- .input-box {
1257
- display: flex;
1258
- justify-content: space-between;
1259
- width: 100%;
1260
- }
1261
-
1262
- .min-box,
1263
- .max-box {
1264
- width: 50%;
1265
- font-size: 16px;
1266
- }
1267
-
1268
- .min-box {
1269
- margin-right: 10px;
1270
- }
1271
-
1272
- .max-box {
1273
- text-align: right;
1274
- }
1275
-
1276
- input[type="number"] {
1277
- width: 40px;
1278
- padding: 10px;
1279
- border: 1px solid #ccc;
1280
- border-radius: 5px;
1281
- text-align: center;
1282
- }
1283
-
1284
- .min-tooltip,
1285
- .max-tooltip {
1286
- position: absolute;
1287
- top: -35px;
1288
- font-size: 12px;
1289
- color: #555;
1290
- background-color: #fff;
1291
- padding: 5px;
1292
- border: 1px solid #ddd;
1293
- border-radius: 5px;
1294
- white-space: nowrap;
1295
- z-index: 1;
1296
- }
1297
-
1298
- .min-tooltip {
1299
- left: 20px;
1300
- transform: translateX(-50%);
1301
- }
1302
-
1303
- .max-tooltip {
1304
- right: 20px;
1305
- transform: translateX(50%);
1235
+ .range-slider {
1236
+ position: relative;
1237
+ width: 100%;
1238
+ height: 5px;
1239
+ margin: 30px 0;
1240
+ background-color: var(--tide-booking-slider-range-background);
1241
+ border-radius: 5px;
1242
+
1243
+ input {
1244
+ padding: 0rem;
1306
1245
  }
1307
1246
  }
1308
- }
1309
1247
 
1248
+ .slider-track {
1249
+ height: 100%;
1250
+ position: absolute;
1251
+ background-color: var(--tide-booking-slider-track-background);
1252
+ left: 0;
1253
+ right: 100%;
1254
+ border-radius: 5px;
1255
+ }
1256
+
1257
+ .range-slider input[type="range"] {
1258
+ position: absolute;
1259
+ width: 101%;
1260
+ left: -3px;
1261
+ top: 0;
1262
+ transform: translateY(-50%);
1263
+ background: none;
1264
+ pointer-events: none;
1265
+ border: none;
1266
+ appearance: none;
1267
+ height: 5px;
1268
+ }
1269
+
1270
+ input[type="range"]::-webkit-slider-thumb {
1271
+ height: 25px;
1272
+ width: 25px;
1273
+ border-radius: 50%;
1274
+ border: 3px solid var(--tide-booking-slider-thumb-border-color);
1275
+ background: var(--tide-booking-slider-thumb-background);
1276
+ pointer-events: auto;
1277
+ appearance: none;
1278
+ cursor: pointer;
1279
+ box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
1280
+ position: relative;
1281
+ z-index: 2; /* Ensure thumbs appear above the track */
1282
+ }
1283
+
1284
+ input[type="range"]::-moz-range-thumb {
1285
+ height: 25px;
1286
+ width: 25px;
1287
+ border-radius: 50%;
1288
+ border: 3px solid var(--tide-booking-slider-thumb-border-color);
1289
+ background: var(--tide-booking-slider-thumb-background);
1290
+ pointer-events: auto;
1291
+ cursor: pointer;
1292
+ box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
1293
+ position: relative;
1294
+ z-index: 2;
1295
+ }
1296
+
1297
+ .input-box {
1298
+ display: flex;
1299
+ justify-content: space-between;
1300
+ width: 100%;
1301
+ }
1302
+
1303
+ .min-box,
1304
+ .max-box {
1305
+ width: 50%;
1306
+ font-size: 16px;
1307
+ }
1308
+
1309
+ .min-box {
1310
+ margin-right: 10px;
1311
+ }
1312
+
1313
+ .max-box {
1314
+ text-align: right;
1315
+ }
1316
+
1317
+ input[type="number"] {
1318
+ width: 40px;
1319
+ padding: 10px;
1320
+ border: 1px solid #ccc;
1321
+ border-radius: 5px;
1322
+ text-align: center;
1323
+ }
1324
+
1325
+ .min-tooltip,
1326
+ .max-tooltip {
1327
+ position: absolute;
1328
+ top: -35px;
1329
+ font-size: 12px;
1330
+ color: #555;
1331
+ background-color: #fff;
1332
+ padding: 5px;
1333
+ border: 1px solid #ddd;
1334
+ border-radius: 5px;
1335
+ white-space: nowrap;
1336
+ z-index: 1;
1337
+ }
1338
+
1339
+ .min-tooltip {
1340
+ left: 20px;
1341
+ transform: translateX(-50%);
1342
+ }
1343
+
1344
+ .max-tooltip {
1345
+ right: 20px;
1346
+ transform: translateX(50%);
1347
+ }
1348
+ }
1349
+ }
1310
1350
 
1311
1351
  // .flight-option {
1312
1352
  // @extend %reset;