@qite/tide-components 1.0.13 → 1.0.15

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 (73) hide show
  1. package/build/build-cjs/index.js +11 -11
  2. package/build/build-esm/index.js +11 -11
  3. package/package.json +91 -91
  4. package/styles/abstracts/_mixins.scss +74 -74
  5. package/styles/abstracts/_variables.scss +57 -57
  6. package/styles/base/_fonts.scss +2 -2
  7. package/styles/base/_normalize.scss +227 -227
  8. package/styles/base/_typography.scss +35 -35
  9. package/styles/booking-joker-variables.scss +596 -596
  10. package/styles/booking-product-variables.scss +330 -330
  11. package/styles/booking-product.scss +438 -438
  12. package/styles/booking-qsm-variables.scss +501 -501
  13. package/styles/booking-qsm.scss +52 -52
  14. package/styles/booking-search-results-variables.scss +734 -734
  15. package/styles/booking-search-results.scss +53 -53
  16. package/styles/booking-wizard-variables.scss +603 -603
  17. package/styles/booking-wizard.scss +61 -61
  18. package/styles/components/_accordion.scss +67 -67
  19. package/styles/components/_animations.scss +39 -39
  20. package/styles/components/_base.scss +107 -107
  21. package/styles/components/_booking.scss +906 -906
  22. package/styles/components/_breadcrumb.scss +92 -92
  23. package/styles/components/_button.scss +238 -238
  24. package/styles/components/_checkbox.scss +230 -230
  25. package/styles/components/_contact.scss +255 -255
  26. package/styles/components/_content.scss +336 -336
  27. package/styles/components/_cta.scss +238 -238
  28. package/styles/components/_date-list.scss +41 -41
  29. package/styles/components/_date-range-picker.scss +223 -223
  30. package/styles/components/_decrement-increment.scss +35 -35
  31. package/styles/components/_dropdown.scss +77 -77
  32. package/styles/components/_error.scss +50 -50
  33. package/styles/components/_faq.scss +30 -30
  34. package/styles/components/_flight-option.scss +1444 -1444
  35. package/styles/components/_flyin.scss +830 -830
  36. package/styles/components/_footer.scss +135 -135
  37. package/styles/components/_form.scss +1704 -1704
  38. package/styles/components/_gallery.scss +317 -317
  39. package/styles/components/_header.scss +113 -113
  40. package/styles/components/_image-with-text.scss +206 -206
  41. package/styles/components/_img-slider.scss +175 -175
  42. package/styles/components/_info-message.scss +75 -75
  43. package/styles/components/_input.scss +35 -35
  44. package/styles/components/_list.scss +185 -185
  45. package/styles/components/_loader.scss +152 -152
  46. package/styles/components/_login.scss +140 -140
  47. package/styles/components/_map-view.scss +1100 -1100
  48. package/styles/components/_mixins.scss +579 -579
  49. package/styles/components/_navbar.scss +765 -765
  50. package/styles/components/_passenger-picker.scss +306 -306
  51. package/styles/components/_phone-input.scss +8 -8
  52. package/styles/components/_placeholders.scss +165 -165
  53. package/styles/components/_pricing-summary.scss +163 -163
  54. package/styles/components/_qsm.scss +17 -17
  55. package/styles/components/_radiobutton.scss +170 -170
  56. package/styles/components/_search.scss +2197 -2197
  57. package/styles/components/_select-wrapper.scss +81 -81
  58. package/styles/components/_slider.scss +120 -120
  59. package/styles/components/_spinner.scss +29 -29
  60. package/styles/components/_step-indicators.scss +187 -187
  61. package/styles/components/_table.scss +81 -81
  62. package/styles/components/_tide-form.scss +578 -578
  63. package/styles/components/_tree.scss +648 -648
  64. package/styles/components/_typeahead.scss +275 -275
  65. package/styles/components/_variables.scss +89 -89
  66. package/styles/content-blocks-variables.scss +543 -543
  67. package/styles/content-blocks.scss +66 -66
  68. package/styles/font.scss +2 -2
  69. package/styles/qsm/_calendar.scss +274 -274
  70. package/styles/qsm/_qsm.scss +1097 -1097
  71. package/styles/search.scss +1200 -1200
  72. package/styles/tide-form-variables.scss +275 -275
  73. package/styles/tide-form.scss +56 -56
@@ -1,336 +1,336 @@
1
- @use '../components/mixins' as mixins;
2
-
3
- * {
4
- box-sizing: border-box;
5
- }
6
- .content {
7
- position: relative;
8
- margin-bottom: 60px;
9
-
10
- &--background {
11
- background: var(--tide-booking-content-background);
12
- padding: 60px 0px;
13
- }
14
-
15
- &__container {
16
- position: relative;
17
- @include mixins.container-wide();
18
-
19
- &--medium {
20
- @include mixins.container-medium();
21
- }
22
-
23
- &--small {
24
- @include mixins.container-small();
25
- }
26
- }
27
-
28
- &__qsm {
29
- margin-top: -216px;
30
- margin-bottom: 60px;
31
- }
32
-
33
- &__title {
34
- color: var(--tide-booking-content-title-color);
35
- font-family: var(--tide-booking-content-title-font-family);
36
- font-weight: var(--tide-booking-content-title-font-weight);
37
- line-height: var(--tide-booking-content-title-line-height);
38
- text-align: var(--tide-booking-content-title-text-align);
39
- margin: 0;
40
-
41
- &__row {
42
- display: flex;
43
- align-items: center;
44
- gap: 20px;
45
- justify-content: var(--tide-booking-content-title-text-align);
46
- margin-bottom: 30px;
47
- }
48
- }
49
-
50
- &__colums {
51
- display: grid;
52
- grid-template-columns: 1fr;
53
- gap: 30px;
54
-
55
- &--2 {
56
- @include mixins.media-sm {
57
- grid-template-columns: repeat(2, 1fr);
58
- }
59
- }
60
-
61
- &--3 {
62
- @include mixins.media-sm {
63
- grid-template-columns: repeat(2, 1fr);
64
- }
65
-
66
- @include mixins.media-lg {
67
- grid-template-columns: repeat(3, 1fr);
68
- }
69
- }
70
-
71
- &--2-1 {
72
- @include mixins.media-sm {
73
- grid-template-columns: 1.5fr 1fr;
74
- }
75
- }
76
-
77
- &--4 {
78
- @include mixins.media-sm {
79
- grid-template-columns: repeat(2, 1fr);
80
- }
81
-
82
- @include mixins.media-lg {
83
- grid-template-columns: repeat(4, 1fr);
84
- }
85
- }
86
- }
87
- }
88
-
89
- .text-in-image {
90
- background: var(--tide-booking-text-in-image-background-color);
91
- border-radius: var(--tide-booking-text-in-image-border-radius);
92
- border: var(--tide-booking-text-in-image-border);
93
- box-shadow: var(--tide-booking-text-in-image-box-shadow);
94
- overflow: hidden;
95
- position: relative;
96
- display: flex;
97
- align-items: center;
98
- justify-content: center;
99
- min-height: 300px;
100
- padding: 20px;
101
-
102
- &:hover {
103
- .text-in-image__image {
104
- transform: scale(1.05);
105
- }
106
- }
107
-
108
- &::before {
109
- content: ' ';
110
- position: absolute;
111
- inset: 0;
112
- width: 100%;
113
- height: 100%;
114
- background: var(--tide-booking-text-in-image-overlay-background);
115
- z-index: 2;
116
- }
117
-
118
- &__image {
119
- position: absolute;
120
- inset: 0;
121
- width: 100%;
122
- height: 100%;
123
- object-fit: cover;
124
- object-position: center;
125
- display: block;
126
- transition: transform 0.5s ease;
127
-
128
- &__wrapper {
129
- position: absolute;
130
- }
131
- }
132
-
133
- &__content {
134
- position: relative;
135
- background: transparent;
136
- border-radius: none;
137
- display: flex;
138
- flex-direction: column;
139
- align-items: center;
140
- z-index: 3;
141
- }
142
-
143
- &__title {
144
- color: var(--tide-booking-text-in-image-title-color);
145
- font-family: var(--tide-booking-text-in-image-title-font-family);
146
- font-weight: var(--tide-booking-text-in-image-title-font-weight);
147
- line-height: var(--tide-booking-text-in-image-title-line-height);
148
- text-align: var(--tide-booking-text-in-image-title-text-align);
149
- margin: 0;
150
- }
151
-
152
- &__description {
153
- color: var(--tide-booking-text-in-image-description-color);
154
- font-family: var(--tide-booking-text-in-image-description-font-family);
155
- font-weight: var(--tide-booking-text-in-image-description-font-weight);
156
- line-height: var(--tide-booking-text-in-image-description-line-height);
157
- text-align: var(--tide-booking-text-in-image-description-text-align);
158
- margin: 0;
159
- margin-top: 10px;
160
- }
161
-
162
- &__btn {
163
- margin: 0 auto;
164
- margin-top: 20px;
165
- width: auto;
166
-
167
- @include mixins.media-sm {
168
- min-width: 200px;
169
- max-width: 200px;
170
- }
171
- }
172
- }
173
-
174
- .image-card {
175
- background: var(--tide-booking-image-card-background);
176
- border: var(--tide-booking-image-card-border);
177
- border-radius: var(--tide-booking-image-card-border-radius);
178
- box-shadow: var(--tide-booking-image-card-box-shadow);
179
- overflow: hidden;
180
- display: flex;
181
- flex-direction: column;
182
- transition: transform 0.3s ease-in-out;
183
-
184
- &:hover {
185
- transform: translateY(-5px);
186
- }
187
-
188
- &__image {
189
- width: 100%;
190
- height: 200px;
191
- object-fit: cover;
192
- object-position: center;
193
- display: block;
194
- }
195
-
196
- &__content {
197
- padding: 20px;
198
- display: flex;
199
- flex-direction: column;
200
- justify-content: space-between;
201
- gap: 10px;
202
- flex-grow: 1;
203
- }
204
-
205
- &__top {
206
- display: flex;
207
- flex-direction: column;
208
- gap: 10px;
209
- }
210
-
211
- &__title {
212
- color: var(--tide-booking-image-card-title-color);
213
- font-family: var(--tide-booking-image-card-title-font-family);
214
- font-weight: var(--tide-booking-image-card-title-font-weight);
215
- line-height: var(--tide-booking-image-card-title-line-height);
216
- margin: 0;
217
- }
218
-
219
- &__options {
220
- display: flex;
221
- flex-wrap: wrap;
222
- row-gap: 10px;
223
- column-gap: 15px;
224
- }
225
-
226
- &__option {
227
- color: #333;
228
- display: flex;
229
- align-items: center;
230
- gap: 5px;
231
-
232
- span {
233
- color: #333;
234
- font-weight: 300;
235
- }
236
- }
237
-
238
- &__description {
239
- color: var(--tide-booking-image-card-description-color);
240
- font-family: var(--tide-booking-image-card-description-font-family);
241
- font-weight: var(--tide-booking-image-card-description-font-weight);
242
- line-height: var(--tide-booking-image-card-description-line-height);
243
- margin: 0;
244
- }
245
-
246
- &__bottom {
247
- display: flex;
248
- flex-direction: column;
249
- margin-top: 20px;
250
- gap: 10px;
251
- }
252
-
253
- &__price {
254
- margin-top: auto;
255
- display: flex;
256
- flex-direction: column;
257
- align-items: flex-end;
258
- gap: 5px;
259
- color: #666;
260
-
261
- &--amount {
262
- font-size: 18px;
263
- font-weight: 700;
264
- color: #333;
265
- margin: 0px;
266
- }
267
- }
268
- }
269
-
270
- .newsletter {
271
- background: var(--tide-booking-newsletter-background);
272
- border: var(--tide-booking-newsletter-border);
273
- border-radius: var(--tide-booking-newsletter-border-radius);
274
- box-shadow: var(--tide-booking-newsletter-box-shadow);
275
- text-align: center;
276
- display: flex;
277
- flex-direction: column;
278
- align-items: center;
279
- padding: 30px;
280
-
281
- @include mixins.media-sm {
282
- padding: 60px;
283
- }
284
-
285
- &__container {
286
- display: flex;
287
- flex-direction: column;
288
- align-items: flex-start;
289
- width: 100%;
290
- }
291
-
292
- &__title {
293
- color: var(--tide-booking-newsletter-title-color);
294
- font-family: var(--tide-booking-newsletter-title-font-family);
295
- font-weight: var(--tide-booking-newsletter-title-font-weight);
296
- line-height: var(--tide-booking-newsletter-title-line-height);
297
- margin-bottom: 20px;
298
- }
299
-
300
- &__description {
301
- color: var(--tide-booking-newsletter-description-color);
302
- font-family: var(--tide-booking-newsletter-description-font-family);
303
- font-weight: var(--tide-booking-newsletter-description-font-weight);
304
- line-height: var(--tide-booking-newsletter-description-line-height);
305
- margin: 0;
306
- margin-bottom: 30px;
307
- }
308
-
309
- &__form {
310
- width: 100%;
311
-
312
- &__group {
313
- display: flex;
314
- flex-direction: column;
315
- gap: 10px;
316
- width: 100%;
317
-
318
- @include mixins.media-sm {
319
- flex-direction: row;
320
- }
321
-
322
- .cta {
323
- width: 100%;
324
-
325
- @include mixins.media-sm {
326
- min-width: 200px;
327
- max-width: 200px;
328
- }
329
- }
330
- }
331
- }
332
-
333
- &__input {
334
- width: 100%;
335
- }
336
- }
1
+ @use '../components/mixins' as mixins;
2
+
3
+ * {
4
+ box-sizing: border-box;
5
+ }
6
+ .content {
7
+ position: relative;
8
+ margin-bottom: 60px;
9
+
10
+ &--background {
11
+ background: var(--tide-booking-content-background);
12
+ padding: 60px 0px;
13
+ }
14
+
15
+ &__container {
16
+ position: relative;
17
+ @include mixins.container-wide();
18
+
19
+ &--medium {
20
+ @include mixins.container-medium();
21
+ }
22
+
23
+ &--small {
24
+ @include mixins.container-small();
25
+ }
26
+ }
27
+
28
+ &__qsm {
29
+ margin-top: -216px;
30
+ margin-bottom: 60px;
31
+ }
32
+
33
+ &__title {
34
+ color: var(--tide-booking-content-title-color);
35
+ font-family: var(--tide-booking-content-title-font-family);
36
+ font-weight: var(--tide-booking-content-title-font-weight);
37
+ line-height: var(--tide-booking-content-title-line-height);
38
+ text-align: var(--tide-booking-content-title-text-align);
39
+ margin: 0;
40
+
41
+ &__row {
42
+ display: flex;
43
+ align-items: center;
44
+ gap: 20px;
45
+ justify-content: var(--tide-booking-content-title-text-align);
46
+ margin-bottom: 30px;
47
+ }
48
+ }
49
+
50
+ &__colums {
51
+ display: grid;
52
+ grid-template-columns: 1fr;
53
+ gap: 30px;
54
+
55
+ &--2 {
56
+ @include mixins.media-sm {
57
+ grid-template-columns: repeat(2, 1fr);
58
+ }
59
+ }
60
+
61
+ &--3 {
62
+ @include mixins.media-sm {
63
+ grid-template-columns: repeat(2, 1fr);
64
+ }
65
+
66
+ @include mixins.media-lg {
67
+ grid-template-columns: repeat(3, 1fr);
68
+ }
69
+ }
70
+
71
+ &--2-1 {
72
+ @include mixins.media-sm {
73
+ grid-template-columns: 1.5fr 1fr;
74
+ }
75
+ }
76
+
77
+ &--4 {
78
+ @include mixins.media-sm {
79
+ grid-template-columns: repeat(2, 1fr);
80
+ }
81
+
82
+ @include mixins.media-lg {
83
+ grid-template-columns: repeat(4, 1fr);
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ .text-in-image {
90
+ background: var(--tide-booking-text-in-image-background-color);
91
+ border-radius: var(--tide-booking-text-in-image-border-radius);
92
+ border: var(--tide-booking-text-in-image-border);
93
+ box-shadow: var(--tide-booking-text-in-image-box-shadow);
94
+ overflow: hidden;
95
+ position: relative;
96
+ display: flex;
97
+ align-items: center;
98
+ justify-content: center;
99
+ min-height: 300px;
100
+ padding: 20px;
101
+
102
+ &:hover {
103
+ .text-in-image__image {
104
+ transform: scale(1.05);
105
+ }
106
+ }
107
+
108
+ &::before {
109
+ content: ' ';
110
+ position: absolute;
111
+ inset: 0;
112
+ width: 100%;
113
+ height: 100%;
114
+ background: var(--tide-booking-text-in-image-overlay-background);
115
+ z-index: 2;
116
+ }
117
+
118
+ &__image {
119
+ position: absolute;
120
+ inset: 0;
121
+ width: 100%;
122
+ height: 100%;
123
+ object-fit: cover;
124
+ object-position: center;
125
+ display: block;
126
+ transition: transform 0.5s ease;
127
+
128
+ &__wrapper {
129
+ position: absolute;
130
+ }
131
+ }
132
+
133
+ &__content {
134
+ position: relative;
135
+ background: transparent;
136
+ border-radius: none;
137
+ display: flex;
138
+ flex-direction: column;
139
+ align-items: center;
140
+ z-index: 3;
141
+ }
142
+
143
+ &__title {
144
+ color: var(--tide-booking-text-in-image-title-color);
145
+ font-family: var(--tide-booking-text-in-image-title-font-family);
146
+ font-weight: var(--tide-booking-text-in-image-title-font-weight);
147
+ line-height: var(--tide-booking-text-in-image-title-line-height);
148
+ text-align: var(--tide-booking-text-in-image-title-text-align);
149
+ margin: 0;
150
+ }
151
+
152
+ &__description {
153
+ color: var(--tide-booking-text-in-image-description-color);
154
+ font-family: var(--tide-booking-text-in-image-description-font-family);
155
+ font-weight: var(--tide-booking-text-in-image-description-font-weight);
156
+ line-height: var(--tide-booking-text-in-image-description-line-height);
157
+ text-align: var(--tide-booking-text-in-image-description-text-align);
158
+ margin: 0;
159
+ margin-top: 10px;
160
+ }
161
+
162
+ &__btn {
163
+ margin: 0 auto;
164
+ margin-top: 20px;
165
+ width: auto;
166
+
167
+ @include mixins.media-sm {
168
+ min-width: 200px;
169
+ max-width: 200px;
170
+ }
171
+ }
172
+ }
173
+
174
+ .image-card {
175
+ background: var(--tide-booking-image-card-background);
176
+ border: var(--tide-booking-image-card-border);
177
+ border-radius: var(--tide-booking-image-card-border-radius);
178
+ box-shadow: var(--tide-booking-image-card-box-shadow);
179
+ overflow: hidden;
180
+ display: flex;
181
+ flex-direction: column;
182
+ transition: transform 0.3s ease-in-out;
183
+
184
+ &:hover {
185
+ transform: translateY(-5px);
186
+ }
187
+
188
+ &__image {
189
+ width: 100%;
190
+ height: 200px;
191
+ object-fit: cover;
192
+ object-position: center;
193
+ display: block;
194
+ }
195
+
196
+ &__content {
197
+ padding: 20px;
198
+ display: flex;
199
+ flex-direction: column;
200
+ justify-content: space-between;
201
+ gap: 10px;
202
+ flex-grow: 1;
203
+ }
204
+
205
+ &__top {
206
+ display: flex;
207
+ flex-direction: column;
208
+ gap: 10px;
209
+ }
210
+
211
+ &__title {
212
+ color: var(--tide-booking-image-card-title-color);
213
+ font-family: var(--tide-booking-image-card-title-font-family);
214
+ font-weight: var(--tide-booking-image-card-title-font-weight);
215
+ line-height: var(--tide-booking-image-card-title-line-height);
216
+ margin: 0;
217
+ }
218
+
219
+ &__options {
220
+ display: flex;
221
+ flex-wrap: wrap;
222
+ row-gap: 10px;
223
+ column-gap: 15px;
224
+ }
225
+
226
+ &__option {
227
+ color: #333;
228
+ display: flex;
229
+ align-items: center;
230
+ gap: 5px;
231
+
232
+ span {
233
+ color: #333;
234
+ font-weight: 300;
235
+ }
236
+ }
237
+
238
+ &__description {
239
+ color: var(--tide-booking-image-card-description-color);
240
+ font-family: var(--tide-booking-image-card-description-font-family);
241
+ font-weight: var(--tide-booking-image-card-description-font-weight);
242
+ line-height: var(--tide-booking-image-card-description-line-height);
243
+ margin: 0;
244
+ }
245
+
246
+ &__bottom {
247
+ display: flex;
248
+ flex-direction: column;
249
+ margin-top: 20px;
250
+ gap: 10px;
251
+ }
252
+
253
+ &__price {
254
+ margin-top: auto;
255
+ display: flex;
256
+ flex-direction: column;
257
+ align-items: flex-end;
258
+ gap: 5px;
259
+ color: #666;
260
+
261
+ &--amount {
262
+ font-size: 18px;
263
+ font-weight: 700;
264
+ color: #333;
265
+ margin: 0px;
266
+ }
267
+ }
268
+ }
269
+
270
+ .newsletter {
271
+ background: var(--tide-booking-newsletter-background);
272
+ border: var(--tide-booking-newsletter-border);
273
+ border-radius: var(--tide-booking-newsletter-border-radius);
274
+ box-shadow: var(--tide-booking-newsletter-box-shadow);
275
+ text-align: center;
276
+ display: flex;
277
+ flex-direction: column;
278
+ align-items: center;
279
+ padding: 30px;
280
+
281
+ @include mixins.media-sm {
282
+ padding: 60px;
283
+ }
284
+
285
+ &__container {
286
+ display: flex;
287
+ flex-direction: column;
288
+ align-items: flex-start;
289
+ width: 100%;
290
+ }
291
+
292
+ &__title {
293
+ color: var(--tide-booking-newsletter-title-color);
294
+ font-family: var(--tide-booking-newsletter-title-font-family);
295
+ font-weight: var(--tide-booking-newsletter-title-font-weight);
296
+ line-height: var(--tide-booking-newsletter-title-line-height);
297
+ margin-bottom: 20px;
298
+ }
299
+
300
+ &__description {
301
+ color: var(--tide-booking-newsletter-description-color);
302
+ font-family: var(--tide-booking-newsletter-description-font-family);
303
+ font-weight: var(--tide-booking-newsletter-description-font-weight);
304
+ line-height: var(--tide-booking-newsletter-description-line-height);
305
+ margin: 0;
306
+ margin-bottom: 30px;
307
+ }
308
+
309
+ &__form {
310
+ width: 100%;
311
+
312
+ &__group {
313
+ display: flex;
314
+ flex-direction: column;
315
+ gap: 10px;
316
+ width: 100%;
317
+
318
+ @include mixins.media-sm {
319
+ flex-direction: row;
320
+ }
321
+
322
+ .cta {
323
+ width: 100%;
324
+
325
+ @include mixins.media-sm {
326
+ min-width: 200px;
327
+ max-width: 200px;
328
+ }
329
+ }
330
+ }
331
+ }
332
+
333
+ &__input {
334
+ width: 100%;
335
+ }
336
+ }