@qite/tide-booking-component 1.2.3 → 1.2.5
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.
- package/.vs/ProjectSettings.json +3 -3
- package/.vs/VSWorkspaceState.json +5 -5
- package/README.md +8 -8
- package/build/build-cjs/booking-product/components/footer.d.ts +1 -0
- package/build/build-cjs/booking-product/components/rooms.d.ts +2 -0
- package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +1 -1
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option-flight.d.ts +1 -1
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option.d.ts +1 -1
- package/build/build-cjs/booking-wizard/types.d.ts +5 -0
- package/build/build-cjs/index.js +1453 -735
- package/build/build-cjs/shared/utils/localization-util.d.ts +4 -0
- package/build/build-esm/booking-product/components/footer.d.ts +1 -0
- package/build/build-esm/booking-product/components/rooms.d.ts +2 -0
- package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +1 -1
- package/build/build-esm/booking-wizard/features/flight-options/flight-option-flight.d.ts +1 -1
- package/build/build-esm/booking-wizard/features/flight-options/flight-option.d.ts +1 -1
- package/build/build-esm/booking-wizard/types.d.ts +5 -0
- package/build/build-esm/index.js +1455 -737
- package/build/build-esm/shared/utils/localization-util.d.ts +4 -0
- package/package.json +75 -77
- package/src/booking-product/components/age-select.tsx +35 -41
- package/src/booking-product/components/amount-input.tsx +78 -64
- package/src/booking-product/components/date-range-picker/calendar-day.tsx +58 -54
- package/src/booking-product/components/date-range-picker/calendar.tsx +178 -176
- package/src/booking-product/components/date-range-picker/index.tsx +196 -181
- package/src/booking-product/components/dates.tsx +136 -132
- package/src/booking-product/components/footer.tsx +69 -64
- package/src/booking-product/components/header.tsx +79 -68
- package/src/booking-product/components/icon.tsx +251 -208
- package/src/booking-product/components/product.tsx +314 -277
- package/src/booking-product/components/rooms.tsx +195 -177
- package/src/booking-product/index.tsx +30 -30
- package/src/booking-product/settings-context.ts +14 -14
- package/src/booking-product/types.ts +28 -28
- package/src/booking-product/utils/api.ts +25 -25
- package/src/booking-product/utils/price.ts +29 -27
- package/src/booking-wizard/api-settings-slice.ts +24 -24
- package/src/booking-wizard/components/icon.tsx +508 -60
- package/src/booking-wizard/components/message.tsx +34 -34
- package/src/booking-wizard/components/multi-range-filter.tsx +113 -113
- package/src/booking-wizard/components/product-card.tsx +37 -37
- package/src/booking-wizard/components/step-indicator.tsx +51 -51
- package/src/booking-wizard/components/step-route.tsx +27 -27
- package/src/booking-wizard/declarations.d.ts +4 -4
- package/src/booking-wizard/features/booking/api.ts +49 -45
- package/src/booking-wizard/features/booking/booking-self-contained.tsx +384 -357
- package/src/booking-wizard/features/booking/booking-slice.ts +662 -603
- package/src/booking-wizard/features/booking/booking.tsx +356 -349
- package/src/booking-wizard/features/booking/constants.ts +16 -16
- package/src/booking-wizard/features/booking/selectors.ts +441 -408
- package/src/booking-wizard/features/confirmation/confirmation.tsx +97 -94
- package/src/booking-wizard/features/error/error.tsx +78 -75
- package/src/booking-wizard/features/flight-options/flight-filter.tsx +432 -344
- package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +385 -351
- package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +229 -214
- package/src/booking-wizard/features/flight-options/flight-option.tsx +81 -66
- package/src/booking-wizard/features/flight-options/flight-utils.ts +516 -401
- package/src/booking-wizard/features/flight-options/index.tsx +196 -177
- package/src/booking-wizard/features/price-details/price-details-api.ts +24 -24
- package/src/booking-wizard/features/price-details/price-details-slice.ts +178 -171
- package/src/booking-wizard/features/price-details/util.ts +155 -155
- package/src/booking-wizard/features/product-options/no-options.tsx +21 -21
- package/src/booking-wizard/features/product-options/none-option.tsx +120 -120
- package/src/booking-wizard/features/product-options/option-booking-airline-group.tsx +64 -66
- package/src/booking-wizard/features/product-options/option-booking-group.tsx +216 -210
- package/src/booking-wizard/features/product-options/option-item.tsx +317 -318
- package/src/booking-wizard/features/product-options/option-pax-card.tsx +201 -117
- package/src/booking-wizard/features/product-options/option-pax-group.tsx +175 -169
- package/src/booking-wizard/features/product-options/option-room.tsx +321 -314
- package/src/booking-wizard/features/product-options/option-unit-group.tsx +198 -192
- package/src/booking-wizard/features/product-options/option-units-card.tsx +185 -102
- package/src/booking-wizard/features/product-options/options-form.tsx +459 -437
- package/src/booking-wizard/features/room-options/index.tsx +187 -172
- package/src/booking-wizard/features/room-options/room-utils.ts +190 -143
- package/src/booking-wizard/features/room-options/room.tsx +160 -124
- package/src/booking-wizard/features/room-options/traveler-rooms.tsx +75 -63
- package/src/booking-wizard/features/sidebar/index.tsx +76 -76
- package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +68 -68
- package/src/booking-wizard/features/sidebar/sidebar-util.ts +177 -177
- package/src/booking-wizard/features/sidebar/sidebar.tsx +364 -346
- package/src/booking-wizard/features/summary/summary-booking-option-pax.tsx +25 -25
- package/src/booking-wizard/features/summary/summary-booking-option-unit.tsx +25 -25
- package/src/booking-wizard/features/summary/summary-flight.tsx +39 -39
- package/src/booking-wizard/features/summary/summary-per-booking-option-group.tsx +69 -57
- package/src/booking-wizard/features/summary/summary-per-pax-option-group.tsx +63 -51
- package/src/booking-wizard/features/summary/summary-per-unit-option-group.tsx +66 -54
- package/src/booking-wizard/features/summary/summary-slice.ts +28 -28
- package/src/booking-wizard/features/summary/summary.tsx +674 -641
- package/src/booking-wizard/features/travelers-form/travelers-form-slice.ts +164 -164
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +754 -755
- package/src/booking-wizard/features/travelers-form/type-ahead-input.tsx +101 -101
- package/src/booking-wizard/features/travelers-form/validate-form.ts +245 -245
- package/src/booking-wizard/index.tsx +36 -36
- package/src/booking-wizard/settings-context.ts +60 -60
- package/src/booking-wizard/store.ts +31 -31
- package/src/booking-wizard/types.ts +276 -271
- package/src/index.ts +4 -5
- package/src/shared/components/loader.tsx +16 -16
- package/src/shared/translations/en-GB.json +232 -0
- package/src/shared/translations/fr-BE.json +233 -233
- package/src/shared/translations/nl-BE.json +232 -232
- package/src/shared/types.ts +4 -4
- package/src/shared/utils/localization-util.ts +62 -56
- package/src/shared/utils/query-string-util.ts +119 -116
- package/src/shared/utils/tide-api-utils.ts +36 -36
- package/styles/booking-product-variables.scss +394 -288
- package/styles/booking-product.scss +446 -440
- package/styles/booking-wizard-variables.scss +871 -0
- package/styles/booking-wizard.scss +59 -4
- package/styles/components/_animations.scss +39 -39
- package/styles/components/_base.scss +107 -106
- package/styles/components/_booking.scss +879 -0
- package/styles/components/_button.scss +238 -185
- package/styles/components/_checkbox.scss +219 -0
- package/styles/components/_cta.scss +208 -67
- package/styles/components/_date-list.scss +41 -0
- package/styles/components/_date-range-picker.scss +225 -224
- package/styles/components/_decrement-increment.scss +35 -37
- package/styles/components/_dropdown.scss +72 -74
- package/styles/components/_flight-option.scss +1429 -0
- package/styles/components/_form.scss +1583 -136
- package/styles/components/_info-message.scss +71 -0
- package/styles/components/_input.scss +25 -0
- package/styles/components/_list.scss +187 -0
- package/styles/components/_loader.scss +72 -71
- package/styles/components/_mixins.scss +550 -518
- package/styles/components/_placeholders.scss +166 -166
- package/styles/components/_pricing-summary.scss +155 -0
- package/styles/components/_qsm.scss +17 -20
- package/styles/components/_radiobutton.scss +170 -0
- package/styles/components/_select-wrapper.scss +80 -0
- package/styles/components/_spinner.scss +29 -0
- package/styles/components/_step-indicators.scss +168 -0
- package/styles/components/_table.scss +81 -0
- package/styles/components/_tree.scss +530 -0
- package/styles/components/_typeahead.scss +281 -0
- package/styles/components/_variables.scss +89 -89
|
@@ -1,224 +1,225 @@
|
|
|
1
|
-
.date-range-picker {
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 100%;
|
|
4
|
-
padding: 15px;
|
|
5
|
-
gap: 30px;
|
|
6
|
-
flex-flow: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
|
|
11
|
-
@include media-md {
|
|
12
|
-
flex-flow: row;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
* {
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__from,
|
|
20
|
-
&__to {
|
|
21
|
-
flex-basis: 50%;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.calendar {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-flow: column;
|
|
28
|
-
|
|
29
|
-
&__header {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-flow: column;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&__pager {
|
|
35
|
-
@include h4;
|
|
36
|
-
position: relative;
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: center;
|
|
39
|
-
height: 30px;
|
|
40
|
-
gap: 5px;
|
|
41
|
-
color: var(--tide-booking-datepicker-month-color);
|
|
42
|
-
font-family: var(--tide-booking-datepicker-month-font);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&__current-month {
|
|
46
|
-
flex-grow: 1;
|
|
47
|
-
text-align: center;
|
|
48
|
-
|
|
49
|
-
&:first-letter {
|
|
50
|
-
text-transform: uppercase;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&__previous,
|
|
55
|
-
&__next {
|
|
56
|
-
width: auto;
|
|
57
|
-
height: 30px;
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
color: var(--tide-booking-datepicker-prev-next-color);
|
|
62
|
-
fill: var(--tide-booking-datepicker-prev-next-color);
|
|
63
|
-
background: var(--tide-booking-datepicker-prev-next-background);
|
|
64
|
-
cursor: pointer;
|
|
65
|
-
|
|
66
|
-
&--disabled {
|
|
67
|
-
visibility: hidden;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.icon {
|
|
71
|
-
position: relative !important;
|
|
72
|
-
top: 0 !important;
|
|
73
|
-
left: 0 !important;
|
|
74
|
-
width: 15px !important;
|
|
75
|
-
height: 15px !important;
|
|
76
|
-
display: block !important;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&__next {
|
|
81
|
-
@media (max-width: 991px) {
|
|
82
|
-
position: absolute;
|
|
83
|
-
top: initial;
|
|
84
|
-
right: 0;
|
|
85
|
-
justify-content: flex-end;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&__previous {
|
|
90
|
-
transform: rotate(180deg);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&__day-labels {
|
|
94
|
-
display: flex;
|
|
95
|
-
justify-content: stretch;
|
|
96
|
-
margin: 10px 0;
|
|
97
|
-
font-size: 16px;
|
|
98
|
-
color: var(--tide-booking-datepicker-day-labels-color);
|
|
99
|
-
|
|
100
|
-
@include media-lg {
|
|
101
|
-
font-size: 18px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__day-label {
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
justify-content: center;
|
|
109
|
-
flex: 1;
|
|
110
|
-
width: 55px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&__body {
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-flow: column;
|
|
116
|
-
gap: 3px;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
border: var(--tide-booking-datepicker-day-border);
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
transition-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
color: var(--tide-booking-datepicker-day-
|
|
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
|
-
}
|
|
1
|
+
.date-range-picker {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
padding: 15px;
|
|
5
|
+
gap: 30px;
|
|
6
|
+
flex-flow: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
|
|
11
|
+
@include media-md {
|
|
12
|
+
flex-flow: row;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
* {
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__from,
|
|
20
|
+
&__to {
|
|
21
|
+
flex-basis: 50%;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.calendar {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-flow: column;
|
|
28
|
+
|
|
29
|
+
&__header {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-flow: column;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__pager {
|
|
35
|
+
@include h4;
|
|
36
|
+
position: relative;
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
height: 30px;
|
|
40
|
+
gap: 5px;
|
|
41
|
+
color: var(--tide-booking-datepicker-month-color);
|
|
42
|
+
font-family: var(--tide-booking-datepicker-month-font);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__current-month {
|
|
46
|
+
flex-grow: 1;
|
|
47
|
+
text-align: center;
|
|
48
|
+
|
|
49
|
+
&:first-letter {
|
|
50
|
+
text-transform: uppercase;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__previous,
|
|
55
|
+
&__next {
|
|
56
|
+
width: auto;
|
|
57
|
+
height: 30px;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
color: var(--tide-booking-datepicker-prev-next-color);
|
|
62
|
+
fill: var(--tide-booking-datepicker-prev-next-color);
|
|
63
|
+
background: var(--tide-booking-datepicker-prev-next-background);
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
|
|
66
|
+
&--disabled {
|
|
67
|
+
visibility: hidden;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.icon {
|
|
71
|
+
position: relative !important;
|
|
72
|
+
top: 0 !important;
|
|
73
|
+
left: 0 !important;
|
|
74
|
+
width: 15px !important;
|
|
75
|
+
height: 15px !important;
|
|
76
|
+
display: block !important;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&__next {
|
|
81
|
+
@media (max-width: 991px) {
|
|
82
|
+
position: absolute;
|
|
83
|
+
top: initial;
|
|
84
|
+
right: 0;
|
|
85
|
+
justify-content: flex-end;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__previous {
|
|
90
|
+
transform: rotate(180deg);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__day-labels {
|
|
94
|
+
display: flex;
|
|
95
|
+
justify-content: stretch;
|
|
96
|
+
margin: 10px 0;
|
|
97
|
+
font-size: 16px;
|
|
98
|
+
color: var(--tide-booking-datepicker-day-labels-color);
|
|
99
|
+
|
|
100
|
+
@include media-lg {
|
|
101
|
+
font-size: 18px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__day-label {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
flex: 1;
|
|
110
|
+
width: 55px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&__body {
|
|
114
|
+
display: flex;
|
|
115
|
+
flex-flow: column;
|
|
116
|
+
gap: 3px;
|
|
117
|
+
width: 100%;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&__week {
|
|
121
|
+
display: flex;
|
|
122
|
+
gap: 3px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&__day {
|
|
126
|
+
position: relative;
|
|
127
|
+
width: calc(100% / 7);
|
|
128
|
+
height: 45px;
|
|
129
|
+
padding: 2px 0;
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-flow: column;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
border-radius: var(--tide-booking-datepicker-day-border-radius);
|
|
135
|
+
border: var(--tide-booking-datepicker-day-border);
|
|
136
|
+
font-size: 16px;
|
|
137
|
+
line-height: 1;
|
|
138
|
+
background: var(--tide-booking-datepicker-day-background);
|
|
139
|
+
color: var(--tide-booking-datepicker-day-color);
|
|
140
|
+
transition-property: border, background-color, color;
|
|
141
|
+
transition-duration: 200ms;
|
|
142
|
+
box-sizing: border-box;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
|
|
146
|
+
@include media-lg {
|
|
147
|
+
font-size: 18px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&:hover {
|
|
151
|
+
color: var(--tide-booking-datepicker-day-color-hover);
|
|
152
|
+
background: var(--tide-booking-datepicker-day-background-hover);
|
|
153
|
+
border: var(--tide-booking-datepicker-day-border-hover);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&--selected {
|
|
157
|
+
border: var(--tide-booking-datepicker-day-border-selected);
|
|
158
|
+
background-color: var(--tide-booking-datepicker-day-background-selected);
|
|
159
|
+
color: var(--tide-booking-datepicker-day-color-selected);
|
|
160
|
+
|
|
161
|
+
&:hover {
|
|
162
|
+
border: var(--tide-booking-datepicker-day-border-selected-hover);
|
|
163
|
+
background: var(
|
|
164
|
+
--tide-booking-datepicker-day-background-selected-hover
|
|
165
|
+
);
|
|
166
|
+
color: var(--tide-booking-datepicker-day-color-selected-hover);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&--disabled {
|
|
171
|
+
color: var(--tide-booking-datepicker-day-color-disabled);
|
|
172
|
+
background: var(--tide-booking-datepicker-day-background-disabled);
|
|
173
|
+
border: var(--tide-booking-datepicker-day-border-disabled);
|
|
174
|
+
cursor: not-allowed;
|
|
175
|
+
|
|
176
|
+
&:hover {
|
|
177
|
+
color: var(--tide-booking-datepicker-day-color-disabled);
|
|
178
|
+
background: var(--tide-booking-datepicker-day-background-disabled);
|
|
179
|
+
border: var(--tide-booking-datepicker-day-border-disabled);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&--outside-month {
|
|
184
|
+
color: var(--tide-booking-datepicker-day-color-outside-month);
|
|
185
|
+
background: var(--tide-booking-datepicker-day-background-outside-month);
|
|
186
|
+
border: var(--tide-booking-datepicker-day-border-outside-month);
|
|
187
|
+
opacity: var(--tide-booking-datepicker-day-opacity-outside-month);
|
|
188
|
+
|
|
189
|
+
&:hover {
|
|
190
|
+
color: var(--tide-booking-datepicker-day-color-outside-month);
|
|
191
|
+
background: var(--tide-booking-datepicker-day-background-outside-month);
|
|
192
|
+
border: var(--tide-booking-datepicker-day-border-outside-month);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.qsm__panel--mobile {
|
|
199
|
+
top: 0;
|
|
200
|
+
position: fixed;
|
|
201
|
+
bottom: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.qsm__panel .date-range-picker {
|
|
205
|
+
margin: auto;
|
|
206
|
+
|
|
207
|
+
&__from,
|
|
208
|
+
&__to {
|
|
209
|
+
width: 100%;
|
|
210
|
+
flex-basis: initial;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.product-intro .qsm--inline .qsm__panel--dates-pricing {
|
|
215
|
+
@include media-sm {
|
|
216
|
+
width: 100% !important;
|
|
217
|
+
left: 2px !important;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
@include media-lg {
|
|
221
|
+
width: auto !important;
|
|
222
|
+
left: initial !important;
|
|
223
|
+
padding: 15px;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
.decrement-increment {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
gap: 15px;
|
|
6
|
-
min-height: var(--tide-booking-decrement-increment-height);
|
|
7
|
-
|
|
8
|
-
@include media-xs {
|
|
9
|
-
display: grid;
|
|
10
|
-
grid-template-columns: 125px auto;
|
|
11
|
-
justify-content: flex-start;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__label {
|
|
15
|
-
margin-bottom: 0;
|
|
16
|
-
display: flex;
|
|
17
|
-
font-family: var(--tide-booking-decrement-increment-label-font);
|
|
18
|
-
font-weight: var(--tide-booking-decrement-increment-label-font-weight);
|
|
19
|
-
color: var(--tide-booking-decrement-increment-label-color);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__ui {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
gap: 8px;
|
|
26
|
-
|
|
27
|
-
span{
|
|
28
|
-
min-width: 30px;
|
|
29
|
-
text-align: center;
|
|
30
|
-
font-family: var(--tide-booking-decrement-increment-number-font);
|
|
31
|
-
font-weight: var(--tide-booking-decrement-increment-number-font-weight);
|
|
32
|
-
color: var(--tide-booking-decrement-increment-number-color);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
.decrement-increment {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
gap: 15px;
|
|
6
|
+
min-height: var(--tide-booking-decrement-increment-height);
|
|
7
|
+
|
|
8
|
+
@include media-xs {
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: 125px auto;
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__label {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
display: flex;
|
|
17
|
+
font-family: var(--tide-booking-decrement-increment-label-font);
|
|
18
|
+
font-weight: var(--tide-booking-decrement-increment-label-font-weight);
|
|
19
|
+
color: var(--tide-booking-decrement-increment-label-color);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__ui {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
|
|
27
|
+
span {
|
|
28
|
+
min-width: 30px;
|
|
29
|
+
text-align: center;
|
|
30
|
+
font-family: var(--tide-booking-decrement-increment-number-font);
|
|
31
|
+
font-weight: var(--tide-booking-decrement-increment-number-font-weight);
|
|
32
|
+
color: var(--tide-booking-decrement-increment-number-color);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1,74 +1,72 @@
|
|
|
1
|
-
.dropdown {
|
|
2
|
-
position: relative;
|
|
3
|
-
@include column;
|
|
4
|
-
|
|
5
|
-
&:after {
|
|
6
|
-
content: "";
|
|
7
|
-
position: absolute;
|
|
8
|
-
width: 8px;
|
|
9
|
-
height: 8px;
|
|
10
|
-
right: 10px;
|
|
11
|
-
top: 43%;
|
|
12
|
-
border-bottom: 1.5px solid;
|
|
13
|
-
border-left: 1.5px solid;
|
|
14
|
-
border-color: var(--tide-booking-dropdown-arrow-color);
|
|
15
|
-
transform: rotate(-45deg) translateY(-50%);
|
|
16
|
-
@include transitionEasing($duration: 0.2s);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
&:after {
|
|
21
|
-
border-color: var(--tide-booking-dropdown-arrow-color-hover);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
select {
|
|
26
|
-
@extend %reset;
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 45px;
|
|
29
|
-
border: var(--tide-booking-dropdown-border);
|
|
30
|
-
border-radius: var(--tide-booking-dropdown-border-radius);
|
|
31
|
-
font-family: var(--tide-booking-dropdown-font-family);
|
|
32
|
-
font-size: 16px;
|
|
33
|
-
background: var(--tide-booking-dropdown-background);
|
|
34
|
-
outline: none;
|
|
35
|
-
box-shadow: none;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
@extend %transition-easing;
|
|
38
|
-
-moz-appearance: none;
|
|
39
|
-
-webkit-appearance: none;
|
|
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
|
-
padding-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
1
|
+
.dropdown {
|
|
2
|
+
position: relative;
|
|
3
|
+
@include column;
|
|
4
|
+
|
|
5
|
+
&:after {
|
|
6
|
+
content: "";
|
|
7
|
+
position: absolute;
|
|
8
|
+
width: 8px;
|
|
9
|
+
height: 8px;
|
|
10
|
+
right: 10px;
|
|
11
|
+
top: 43%;
|
|
12
|
+
border-bottom: 1.5px solid;
|
|
13
|
+
border-left: 1.5px solid;
|
|
14
|
+
border-color: var(--tide-booking-dropdown-arrow-color);
|
|
15
|
+
transform: rotate(-45deg) translateY(-50%);
|
|
16
|
+
@include transitionEasing($duration: 0.2s);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
&:after {
|
|
21
|
+
border-color: var(--tide-booking-dropdown-arrow-color-hover);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
select {
|
|
26
|
+
@extend %reset;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 45px;
|
|
29
|
+
border: var(--tide-booking-dropdown-border);
|
|
30
|
+
border-radius: var(--tide-booking-dropdown-border-radius);
|
|
31
|
+
font-family: var(--tide-booking-dropdown-font-family);
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
background: var(--tide-booking-dropdown-background);
|
|
34
|
+
outline: none;
|
|
35
|
+
box-shadow: none;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
@extend %transition-easing;
|
|
38
|
+
-moz-appearance: none;
|
|
39
|
+
-webkit-appearance: none;
|
|
40
|
+
padding-left: 15px;
|
|
41
|
+
|
|
42
|
+
@include media-lg {
|
|
43
|
+
font-size: 18px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:focus,
|
|
47
|
+
&:active {
|
|
48
|
+
border: var(--tide-booking-dropdown-border-focus);
|
|
49
|
+
outline: none;
|
|
50
|
+
box-shadow: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:disabled {
|
|
54
|
+
cursor: not-allowed;
|
|
55
|
+
|
|
56
|
+
.dropdown::after {
|
|
57
|
+
border-color: var(--tide-booking-dropdown-arrow-color-disabled);
|
|
58
|
+
|
|
59
|
+
&hover {
|
|
60
|
+
border-color: var(--tide-booking-dropdown-arrow-color-disabled);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&--small {
|
|
67
|
+
select {
|
|
68
|
+
padding-right: 30px;
|
|
69
|
+
padding-left: 10px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|