@qite/tide-booking-component 1.2.0 → 1.2.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.
- package/build/build-cjs/booking-product/components/footer.d.ts +1 -0
- package/build/build-cjs/booking-product/components/icon.d.ts +2 -0
- package/build/build-cjs/booking-product/types.d.ts +2 -1
- package/build/build-cjs/booking-wizard/components/icon.d.ts +2 -0
- package/build/build-cjs/{booking-product → booking-wizard}/components/multi-range-filter.d.ts +0 -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 +1 -0
- package/build/build-cjs/index.js +703 -451
- package/build/build-cjs/shared/utils/localization-util.d.ts +238 -3
- package/build/build-esm/booking-product/components/footer.d.ts +1 -0
- package/build/build-esm/booking-product/components/icon.d.ts +2 -0
- package/build/build-esm/booking-product/types.d.ts +2 -1
- package/build/build-esm/booking-wizard/components/icon.d.ts +2 -0
- package/build/build-esm/{booking-product → booking-wizard}/components/multi-range-filter.d.ts +0 -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 +1 -0
- package/build/build-esm/index.js +704 -452
- package/build/build-esm/shared/utils/localization-util.d.ts +238 -3
- package/package.json +1 -1
- package/src/booking-product/components/amount-input.tsx +8 -20
- package/src/booking-product/components/date-range-picker/calendar.tsx +3 -3
- package/src/booking-product/components/dates.tsx +26 -20
- package/src/booking-product/components/footer.tsx +4 -2
- package/src/booking-product/components/header.tsx +4 -4
- package/src/booking-product/components/icon.tsx +176 -11
- package/src/booking-product/components/product.tsx +31 -16
- package/src/{shared → booking-product}/components/rating.tsx +3 -3
- package/src/booking-product/components/rooms.tsx +116 -113
- package/src/booking-product/settings-context.ts +0 -1
- package/src/booking-product/types.ts +2 -1
- package/src/booking-wizard/components/icon.tsx +42 -15
- package/src/{booking-product → booking-wizard}/components/multi-range-filter.tsx +0 -1
- package/src/booking-wizard/declarations.d.ts +4 -0
- package/src/booking-wizard/features/booking/booking-self-contained.tsx +3 -2
- package/src/booking-wizard/features/booking/booking.tsx +3 -2
- package/src/booking-wizard/features/confirmation/confirmation.tsx +8 -4
- package/src/booking-wizard/features/flight-options/flight-filter.tsx +7 -6
- package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +29 -28
- package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +193 -192
- package/src/booking-wizard/features/room-options/index.tsx +1 -5
- package/src/booking-wizard/features/summary/summary.tsx +23 -26
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +0 -2
- package/src/booking-wizard/features/travelers-form/validate-form.ts +1 -1
- package/src/booking-wizard/index.tsx +2 -2
- package/src/booking-wizard/types.ts +1 -0
- package/src/shared/tide-sprites.svg +117 -0
- package/src/shared/translations/fr-BE.json +229 -222
- package/src/shared/translations/nl-BE.json +229 -222
- package/styles/booking-product-variables.scss +288 -0
- package/styles/booking-product.scss +440 -0
- package/styles/booking-wizard-variables.scss +0 -0
- package/styles/booking-wizard.scss +4 -0
- package/styles/components/_animations.scss +39 -0
- package/styles/components/_base.scss +106 -0
- package/styles/components/_button.scss +185 -0
- package/styles/components/_cta.scss +67 -0
- package/styles/components/_date-range-picker.scss +224 -0
- package/styles/components/_decrement-increment.scss +37 -0
- package/styles/components/_dropdown.scss +74 -0
- package/styles/components/_form.scss +136 -0
- package/styles/components/_loader.scss +71 -0
- package/styles/components/_mixins.scss +518 -0
- package/styles/components/_placeholders.scss +166 -0
- package/styles/components/_qsm.scss +20 -0
- package/styles/components/_variables.scss +89 -0
- package/src/booking-product/components/multi-range-filter.css +0 -115
- /package/build/build-cjs/{shared → booking-product}/components/rating.d.ts +0 -0
- /package/build/build-esm/{shared → booking-product}/components/rating.d.ts +0 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
.button {
|
|
2
|
+
@extend %reset;
|
|
3
|
+
border: none;
|
|
4
|
+
background: transparent;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
outline: none;
|
|
7
|
+
@extend %transition-easing;
|
|
8
|
+
|
|
9
|
+
&:hover,
|
|
10
|
+
&:focus,
|
|
11
|
+
&:active {
|
|
12
|
+
outline: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// &--close {
|
|
16
|
+
// width: 4.5rem;
|
|
17
|
+
// height: 4.5rem;
|
|
18
|
+
// @include flex--centerXY;
|
|
19
|
+
// border: none;
|
|
20
|
+
// background: transparent;
|
|
21
|
+
|
|
22
|
+
// &:before,
|
|
23
|
+
// &:after {
|
|
24
|
+
// content: "";
|
|
25
|
+
// position: absolute;
|
|
26
|
+
// width: 1.7rem;
|
|
27
|
+
// height: 0.1rem;
|
|
28
|
+
// background-color: $black;
|
|
29
|
+
// }
|
|
30
|
+
|
|
31
|
+
// &:before {
|
|
32
|
+
// transform: rotate(45deg);
|
|
33
|
+
// }
|
|
34
|
+
|
|
35
|
+
// &:after {
|
|
36
|
+
// transform: rotate(-45deg);
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
39
|
+
|
|
40
|
+
// &--close-label {
|
|
41
|
+
// position: relative;
|
|
42
|
+
// height: $gutter * 2;
|
|
43
|
+
// padding-right: $gutter * 1.33;
|
|
44
|
+
// @include flex--centerY;
|
|
45
|
+
// font-size: 1.3rem;
|
|
46
|
+
// text-decoration: underline;
|
|
47
|
+
// text-transform: uppercase;
|
|
48
|
+
// color: $color-primary;
|
|
49
|
+
|
|
50
|
+
// &:before,
|
|
51
|
+
// &:after {
|
|
52
|
+
// content: "";
|
|
53
|
+
// position: absolute;
|
|
54
|
+
// width: 1.2rem;
|
|
55
|
+
// height: 0.1rem;
|
|
56
|
+
// right: 0;
|
|
57
|
+
// background-color: $black;
|
|
58
|
+
// }
|
|
59
|
+
|
|
60
|
+
// &:after {
|
|
61
|
+
// transform: rotate(-45deg);
|
|
62
|
+
// }
|
|
63
|
+
|
|
64
|
+
// &:before {
|
|
65
|
+
// transform: rotate(45deg);
|
|
66
|
+
// }
|
|
67
|
+
// }
|
|
68
|
+
|
|
69
|
+
// &--collapse {
|
|
70
|
+
// position: relative;
|
|
71
|
+
// width: 3rem;
|
|
72
|
+
// height: 3rem;
|
|
73
|
+
// @include flex--centerXY;
|
|
74
|
+
// border-radius: $gutter * 0.3;
|
|
75
|
+
// border: 0.1rem solid fade-out($color-primary, 0.65);
|
|
76
|
+
// background-color: $white;
|
|
77
|
+
|
|
78
|
+
// &:before {
|
|
79
|
+
// content: "";
|
|
80
|
+
// width: 0.8rem;
|
|
81
|
+
// height: 0.8rem;
|
|
82
|
+
// margin-top: 0;
|
|
83
|
+
// margin-left: -0.5rem;
|
|
84
|
+
// border-bottom: 0.1rem solid $black;
|
|
85
|
+
// border-left: 0.1rem solid $black;
|
|
86
|
+
// transform-origin: 50%;
|
|
87
|
+
// transform: rotate(-135deg);
|
|
88
|
+
// @include transitionEasing($duration: 0.15s);
|
|
89
|
+
// }
|
|
90
|
+
// }
|
|
91
|
+
|
|
92
|
+
&--decrement,
|
|
93
|
+
&--increment {
|
|
94
|
+
position: relative;
|
|
95
|
+
width: var(--tide-booking-decrement-increment-width);
|
|
96
|
+
height: var(--tide-booking-decrement-increment-height);
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
flex: 0 0 var(--tide-booking-decrement-increment-width);
|
|
101
|
+
border-radius: var(--tide-booking-decrement-increment-border-radius);
|
|
102
|
+
border: var(--tide-booking-decrement-increment-border);
|
|
103
|
+
background: var(--tide-booking-decrement-increment-background);
|
|
104
|
+
transition: all 0.3s ease;
|
|
105
|
+
|
|
106
|
+
.icon {
|
|
107
|
+
width: var(--tide-booking-decrement-increment-icon-width);
|
|
108
|
+
height: var(--tide-booking-decrement-increment-icon-height);
|
|
109
|
+
fill: var(--tide-booking-decrement-increment-icon-color);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:hover {
|
|
113
|
+
background: var(--tide-booking-decrement-increment-background-hover);
|
|
114
|
+
color: var(--tide-booking-decrement-increment-color-hover);
|
|
115
|
+
fill: var(--tide-booking-decrement-increment-icon-color-hover);
|
|
116
|
+
border: var(--tide-booking-decrement-increment-border-hover);
|
|
117
|
+
|
|
118
|
+
.icon {
|
|
119
|
+
fill: var(--tide-booking-decrement-increment-icon-color-hover);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&:focus,
|
|
124
|
+
&:active {
|
|
125
|
+
background: var(--tide-booking-decrement-increment-background-focus);
|
|
126
|
+
color: var(--tide-booking-decrement-increment-color-focus);
|
|
127
|
+
fill: var(--tide-booking-decrement-increment-icon-color-focus);
|
|
128
|
+
border: var(--tide-booking-decrement-increment-border-focus);
|
|
129
|
+
|
|
130
|
+
.icon {
|
|
131
|
+
fill: var(--tide-booking-decrement-increment-icon-color-focus);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
&--disabled {
|
|
138
|
+
opacity: 0.5;
|
|
139
|
+
cursor: not-allowed;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&--min,
|
|
143
|
+
&--plus {
|
|
144
|
+
position: relative;
|
|
145
|
+
width: 3.5rem;
|
|
146
|
+
height: 3.5rem;
|
|
147
|
+
@include flex--centerXY;
|
|
148
|
+
border-radius: 50%;
|
|
149
|
+
background-color: var(--tide-booking-bg-secondary);
|
|
150
|
+
@include activeToColor;
|
|
151
|
+
|
|
152
|
+
&:hover {
|
|
153
|
+
opacity: 1;
|
|
154
|
+
outline: none;
|
|
155
|
+
fill: var(--tide-booking-color-primary);
|
|
156
|
+
color: var(--tide-booking-color-primary);
|
|
157
|
+
background-color: var(--tide-booking-transparent);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:before {
|
|
161
|
+
content: "";
|
|
162
|
+
position: absolute;
|
|
163
|
+
width: 1.2rem;
|
|
164
|
+
height: 0.2rem;
|
|
165
|
+
display: inline-flex;
|
|
166
|
+
background-color: var(--tide-booking-color-primary);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
&--plus {
|
|
172
|
+
&:after {
|
|
173
|
+
content: "";
|
|
174
|
+
position: absolute;
|
|
175
|
+
width: 1.2rem;
|
|
176
|
+
height: 0.2rem;
|
|
177
|
+
transform: rotate(90deg);
|
|
178
|
+
display: inline-flex;
|
|
179
|
+
background-color: var(--tide-booking-color-primary);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.cta {
|
|
2
|
+
@extend %cta;
|
|
3
|
+
@extend %transition-easing;
|
|
4
|
+
|
|
5
|
+
&:not(&--disabled) {
|
|
6
|
+
opacity: 1;
|
|
7
|
+
outline: none;
|
|
8
|
+
fill: var(--tide-booking-cta-icon-color);
|
|
9
|
+
color: var(--tide-booking-cta-color);
|
|
10
|
+
background: var(--tide-booking-cta-background);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include media-xl {
|
|
14
|
+
//font-size: 1.7rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&--add {
|
|
18
|
+
@include media-xs {
|
|
19
|
+
margin: var(--tide-booking-cta-margin-secondary);
|
|
20
|
+
}
|
|
21
|
+
span {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 5px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
&--disabled {
|
|
30
|
+
opacity: 0.5;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
cursor: not-allowed;
|
|
33
|
+
|
|
34
|
+
&:hover,
|
|
35
|
+
&:focus,
|
|
36
|
+
&:active {
|
|
37
|
+
opacity: 0.5;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--icon {
|
|
42
|
+
flex-shrink: 0;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
&--secondary {
|
|
48
|
+
@extend %cta--secondary;
|
|
49
|
+
|
|
50
|
+
&:not(&--disabled) {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
outline: none;
|
|
53
|
+
fill: var(--tide-booking-cta-icon-color-secondary);
|
|
54
|
+
color: var(--tide-booking-cta-color-secondary);
|
|
55
|
+
background: var(--tide-booking-cta-background-secondary);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.icon{
|
|
59
|
+
width: 16px;
|
|
60
|
+
height: 16px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
@@ -0,0 +1,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
|
+
}
|
|
118
|
+
|
|
119
|
+
&__week {
|
|
120
|
+
display: flex;
|
|
121
|
+
gap: 3px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&__day {
|
|
125
|
+
position: relative;
|
|
126
|
+
width: calc(100% / 7);
|
|
127
|
+
height: 45px;
|
|
128
|
+
padding: 2px 0;
|
|
129
|
+
display: flex;
|
|
130
|
+
flex-flow: column;
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
border-radius: var(--tide-booking-datepicker-day-border-radius);
|
|
134
|
+
border: var(--tide-booking-datepicker-day-border);
|
|
135
|
+
font-size: 16px;
|
|
136
|
+
line-height: 1;
|
|
137
|
+
background: var(--tide-booking-datepicker-day-background);
|
|
138
|
+
color: var(--tide-booking-datepicker-day-color);
|
|
139
|
+
transition-property: border, background-color, color;
|
|
140
|
+
transition-duration: 200ms;
|
|
141
|
+
box-sizing: border-box;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
|
|
145
|
+
@include media-lg {
|
|
146
|
+
font-size: 18px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&:hover {
|
|
150
|
+
color: var(--tide-booking-datepicker-day-color-hover);
|
|
151
|
+
background: var(--tide-booking-datepicker-day-background-hover);
|
|
152
|
+
border: var(--tide-booking-datepicker-day-border-hover);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--selected {
|
|
156
|
+
border: var(--tide-booking-datepicker-day-border-selected);
|
|
157
|
+
background-color: var(--tide-booking-datepicker-day-background-selected);
|
|
158
|
+
color: var(--tide-booking-datepicker-day-color-selected);
|
|
159
|
+
|
|
160
|
+
&:hover {
|
|
161
|
+
border: var(--tide-booking-datepicker-day-border-selected-hover);
|
|
162
|
+
background: var(--tide-booking-datepicker-day-background-selected-hover);
|
|
163
|
+
color: var(--tide-booking-datepicker-day-color-selected-hover);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&--disabled {
|
|
168
|
+
color: var(--tide-booking-datepicker-day-color-disabled);
|
|
169
|
+
background: var(--tide-booking-datepicker-day-background-disabled);
|
|
170
|
+
border: var(--tide-booking-datepicker-day-border-disabled);
|
|
171
|
+
cursor: not-allowed;
|
|
172
|
+
|
|
173
|
+
&:hover {
|
|
174
|
+
color: var(--tide-booking-datepicker-day-color-disabled);
|
|
175
|
+
background: var(--tide-booking-datepicker-day-background-disabled);
|
|
176
|
+
border: var(--tide-booking-datepicker-day-border-disabled);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&--outside-month {
|
|
181
|
+
color: var(--tide-booking-datepicker-day-color-outside-month);
|
|
182
|
+
background: var(--tide-booking-datepicker-day-background-outside-month);
|
|
183
|
+
border: var(--tide-booking-datepicker-day-border-outside-month);
|
|
184
|
+
opacity: var(--tide-booking-datepicker-day-opacity-outside-month);
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
&:hover {
|
|
188
|
+
color: var(--tide-booking-datepicker-day-color-outside-month);
|
|
189
|
+
background: var(--tide-booking-datepicker-day-background-outside-month);
|
|
190
|
+
border: var(--tide-booking-datepicker-day-border-outside-month);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.qsm__panel--mobile {
|
|
198
|
+
top: 0;
|
|
199
|
+
position: fixed;
|
|
200
|
+
bottom: 0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.qsm__panel .date-range-picker {
|
|
204
|
+
margin: auto;
|
|
205
|
+
|
|
206
|
+
&__from,
|
|
207
|
+
&__to {
|
|
208
|
+
width: 100%;
|
|
209
|
+
flex-basis: initial;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.product-intro .qsm--inline .qsm__panel--dates-pricing {
|
|
214
|
+
@include media-sm {
|
|
215
|
+
width: 100% !important;
|
|
216
|
+
left: 2px !important;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@include media-lg {
|
|
220
|
+
width: auto !important;
|
|
221
|
+
left: initial !important;
|
|
222
|
+
padding: 15px;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,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
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,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
|
+
|
|
41
|
+
@include media-lg {
|
|
42
|
+
font-size: 18px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:focus,
|
|
46
|
+
&:active {
|
|
47
|
+
border: var(--tide-booking-dropdown-border-focus);
|
|
48
|
+
outline: none;
|
|
49
|
+
box-shadow: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:disabled {
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
|
|
55
|
+
.dropdown::after {
|
|
56
|
+
border-color: var(--tide-booking-dropdown-arrow-color-disabled);
|
|
57
|
+
|
|
58
|
+
&hover {
|
|
59
|
+
border-color: var(--tide-booking-dropdown-arrow-color-disabled);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--small {
|
|
66
|
+
select {
|
|
67
|
+
padding-right: 30px;
|
|
68
|
+
padding-left: 10px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
.form {
|
|
2
|
+
@extend %reset;
|
|
3
|
+
|
|
4
|
+
&__label {
|
|
5
|
+
@extend %reset;
|
|
6
|
+
margin-bottom: 15px * 0.5;
|
|
7
|
+
display: flex;
|
|
8
|
+
text-align: left;
|
|
9
|
+
text-overflow: ellipsis;
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__input {
|
|
15
|
+
width: 100%;
|
|
16
|
+
border: 1.5px solid var(--tide-booking-gray--medium-light);
|
|
17
|
+
background-color: var(--tide-booking-gray-xlight);
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
@extend %transition-easing;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__group {
|
|
23
|
+
@extend %reset;
|
|
24
|
+
width: 100%;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: 20px;
|
|
28
|
+
|
|
29
|
+
&-input {
|
|
30
|
+
position: relative;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--icon {
|
|
35
|
+
&:focus,
|
|
36
|
+
&:focus-within,
|
|
37
|
+
&:active {
|
|
38
|
+
.icon {
|
|
39
|
+
svg {
|
|
40
|
+
fill: var(--tide-booking-color-secondary);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.form {
|
|
46
|
+
&__label {
|
|
47
|
+
position: absolute;
|
|
48
|
+
top: 3px;
|
|
49
|
+
left: 47.5px;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
color: var(--tide-booking-datepicker-input-label-color);
|
|
53
|
+
|
|
54
|
+
@include media-sm {
|
|
55
|
+
left: 17.5px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@include media-lg {
|
|
59
|
+
font-size: 16px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include media-xl {
|
|
63
|
+
left: 47.5px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&__input {
|
|
68
|
+
@include input;
|
|
69
|
+
padding-left: 20px;
|
|
70
|
+
padding-top: 16px;
|
|
71
|
+
|
|
72
|
+
@include media-sm {
|
|
73
|
+
padding-left: 20px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@include media-md {
|
|
77
|
+
padding-left: 20px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@include media-xl {
|
|
81
|
+
font-size: 15.5px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.typeahead {
|
|
86
|
+
&__trigger {
|
|
87
|
+
height: 4.5rem;
|
|
88
|
+
max-height: 4.5rem;
|
|
89
|
+
padding-left: 4rem;
|
|
90
|
+
font-size: 1.6rem;
|
|
91
|
+
background-color: var(--tide-booking-white);
|
|
92
|
+
|
|
93
|
+
@include media-sm {
|
|
94
|
+
padding-left: 1rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@include media-md {
|
|
98
|
+
padding-left: 4rem;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
&--datepicker {
|
|
107
|
+
.form__group-input {
|
|
108
|
+
width: 50%;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&--submit {
|
|
113
|
+
.cta {
|
|
114
|
+
width: 100%;
|
|
115
|
+
justify-content: center;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&--success-message {
|
|
120
|
+
&:before {
|
|
121
|
+
content: "";
|
|
122
|
+
width: 15px * 3.33;
|
|
123
|
+
height: 15px * 1.33;
|
|
124
|
+
border-left: 0.25rem solid var(--tide-booking-black);
|
|
125
|
+
border-bottom: 0.25rem solid var(--tide-booking-black);
|
|
126
|
+
margin: 0 auto 15px * 3 auto;
|
|
127
|
+
transform: rotate(-45deg);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|