@hotelcard/ui 0.0.11 → 0.0.13
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.
Potentially problematic release.
This version of @hotelcard/ui might be problematic. Click here for more details.
- package/README.md +99 -2
- package/dist/index.cjs +755 -302
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +531 -146
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +188 -30
- package/dist/index.d.ts +188 -30
- package/dist/index.js +751 -301
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/index.css
CHANGED
|
@@ -1047,152 +1047,6 @@
|
|
|
1047
1047
|
top: 0;
|
|
1048
1048
|
}
|
|
1049
1049
|
|
|
1050
|
-
/* src/components/CompactCard/CompactCard.css */
|
|
1051
|
-
.hc-compact-card {
|
|
1052
|
-
width: 100%;
|
|
1053
|
-
min-width: var(--size-rem-10, 160px);
|
|
1054
|
-
display: inline-flex;
|
|
1055
|
-
flex-direction: column;
|
|
1056
|
-
justify-content: flex-start;
|
|
1057
|
-
align-items: flex-start;
|
|
1058
|
-
gap: var(--layout-comp-1-gap, 8px);
|
|
1059
|
-
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
1060
|
-
}
|
|
1061
|
-
.hc-compact-card--clickable {
|
|
1062
|
-
cursor: pointer;
|
|
1063
|
-
}
|
|
1064
|
-
.hc-compact-imageContainer {
|
|
1065
|
-
position: relative;
|
|
1066
|
-
width: 100%;
|
|
1067
|
-
aspect-ratio: 1 / 1;
|
|
1068
|
-
padding: var(--layout-comp-1-padding-horizontal, 8px);
|
|
1069
|
-
border-radius: var(--radius-lg, 12px);
|
|
1070
|
-
display: flex;
|
|
1071
|
-
flex-direction: column;
|
|
1072
|
-
justify-content: flex-start;
|
|
1073
|
-
align-items: flex-end;
|
|
1074
|
-
overflow: hidden;
|
|
1075
|
-
}
|
|
1076
|
-
.hc-compact-image {
|
|
1077
|
-
position: absolute;
|
|
1078
|
-
top: 0;
|
|
1079
|
-
left: 0;
|
|
1080
|
-
width: 100%;
|
|
1081
|
-
height: 100%;
|
|
1082
|
-
object-fit: cover;
|
|
1083
|
-
z-index: 0;
|
|
1084
|
-
}
|
|
1085
|
-
.hc-compact-shadowOverlay {
|
|
1086
|
-
position: absolute;
|
|
1087
|
-
left: 0;
|
|
1088
|
-
top: 0;
|
|
1089
|
-
width: 100%;
|
|
1090
|
-
height: 100%;
|
|
1091
|
-
background:
|
|
1092
|
-
linear-gradient(
|
|
1093
|
-
180deg,
|
|
1094
|
-
rgba(0, 0, 0, 0) 65%,
|
|
1095
|
-
rgba(0, 0, 0, 0.2) 100%);
|
|
1096
|
-
border-radius: var(--radius-lg, 12px);
|
|
1097
|
-
pointer-events: none;
|
|
1098
|
-
z-index: 1;
|
|
1099
|
-
}
|
|
1100
|
-
.hc-compact-badgeWrapper {
|
|
1101
|
-
position: relative;
|
|
1102
|
-
z-index: 2;
|
|
1103
|
-
}
|
|
1104
|
-
.hc-compact-badge {
|
|
1105
|
-
display: inline-flex;
|
|
1106
|
-
align-items: center;
|
|
1107
|
-
justify-content: center;
|
|
1108
|
-
padding: 4px 8px;
|
|
1109
|
-
border-radius: 9999px;
|
|
1110
|
-
font-size: var(--text-label-small-font-size, 14px);
|
|
1111
|
-
font-weight: var(--font-weight-medium, 500);
|
|
1112
|
-
line-height: var(--text-label-small-line-height, 20px);
|
|
1113
|
-
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
1114
|
-
}
|
|
1115
|
-
.hc-compact-badge--primary {
|
|
1116
|
-
background-color: var(--background-action-primary-idle, #C81E4C);
|
|
1117
|
-
color: white;
|
|
1118
|
-
}
|
|
1119
|
-
.hc-compact-badge--secondary {
|
|
1120
|
-
background-color: var(--color-gray-100, #F3F4F6);
|
|
1121
|
-
color: var(--content-general-primary, #1F2937);
|
|
1122
|
-
}
|
|
1123
|
-
.hc-compact-textContainer {
|
|
1124
|
-
align-self: stretch;
|
|
1125
|
-
display: flex;
|
|
1126
|
-
flex-direction: column;
|
|
1127
|
-
justify-content: flex-start;
|
|
1128
|
-
align-items: flex-start;
|
|
1129
|
-
gap: var(--size-rem-0-25, 4px);
|
|
1130
|
-
}
|
|
1131
|
-
.hc-compact-starsRow {
|
|
1132
|
-
align-self: stretch;
|
|
1133
|
-
display: flex;
|
|
1134
|
-
align-items: center;
|
|
1135
|
-
justify-content: space-between;
|
|
1136
|
-
gap: var(--size-rem-0-25, 4px);
|
|
1137
|
-
}
|
|
1138
|
-
.hc-compact-starsContainer {
|
|
1139
|
-
display: flex;
|
|
1140
|
-
justify-content: flex-start;
|
|
1141
|
-
align-items: flex-start;
|
|
1142
|
-
}
|
|
1143
|
-
.hc-compact-superiorBadge {
|
|
1144
|
-
color: var(--content-general-secondary, #6B7280);
|
|
1145
|
-
font-size: var(--text-label-tiny-font-size, 12px);
|
|
1146
|
-
font-weight: var(--text-label-tiny-font-weight, 500);
|
|
1147
|
-
line-height: var(--text-label-tiny-line-height, 16px);
|
|
1148
|
-
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
1149
|
-
display: flex;
|
|
1150
|
-
position: relative;
|
|
1151
|
-
top: -4px;
|
|
1152
|
-
left: 2px;
|
|
1153
|
-
}
|
|
1154
|
-
.hc-compact-swissLodge {
|
|
1155
|
-
color: var(--content-general-secondary, #6B7280);
|
|
1156
|
-
font-size: var(--text-label-small-font-size, 14px);
|
|
1157
|
-
font-weight: var(--text-label-small-font-weight, 500);
|
|
1158
|
-
line-height: var(--text-label-small-line-height, 20px);
|
|
1159
|
-
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
1160
|
-
display: flex;
|
|
1161
|
-
align-items: center;
|
|
1162
|
-
height: 9px;
|
|
1163
|
-
}
|
|
1164
|
-
.hc-compact-starsPlaceholder {
|
|
1165
|
-
height: var(--size-rem-1-25, 20px);
|
|
1166
|
-
}
|
|
1167
|
-
.hc-compact-label {
|
|
1168
|
-
align-self: stretch;
|
|
1169
|
-
color: var(--content-general-secondary, #6B7280);
|
|
1170
|
-
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
1171
|
-
font-size: var(--text-paragraph-large-font-size, 18px);
|
|
1172
|
-
font-weight: var(--font-weight-medium, 500);
|
|
1173
|
-
line-height: var(--text-paragraph-large-line-height, 28px);
|
|
1174
|
-
max-height: var(--size-rem-4, 64px);
|
|
1175
|
-
overflow: hidden;
|
|
1176
|
-
word-wrap: break-word;
|
|
1177
|
-
}
|
|
1178
|
-
.hc-compact-label--noRating {
|
|
1179
|
-
position: relative;
|
|
1180
|
-
top: calc(-1 * var(--size-rem-0-25, 4px));
|
|
1181
|
-
}
|
|
1182
|
-
.hc-compact-price {
|
|
1183
|
-
align-self: stretch;
|
|
1184
|
-
font-size: var(--text-paragraph-base-font-size, 16px);
|
|
1185
|
-
font-weight: var(--text-paragraph-base-font-weight, 400);
|
|
1186
|
-
line-height: var(--text-paragraph-base-line-height, 24px);
|
|
1187
|
-
color: var(--content-general-primary, #1F2937);
|
|
1188
|
-
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
1189
|
-
word-wrap: break-word;
|
|
1190
|
-
}
|
|
1191
|
-
.hc-compact-price--noRating {
|
|
1192
|
-
position: relative;
|
|
1193
|
-
top: calc(-1 * var(--size-rem-0-25, 4px));
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
1050
|
/* src/components/Dropdown/Dropdown.css */
|
|
1197
1051
|
.hc-dropdown-container {
|
|
1198
1052
|
position: relative;
|
|
@@ -2497,4 +2351,535 @@
|
|
|
2497
2351
|
.hc-date-selector__dropdown--mobile.hc-date-selector__dropdown--open {
|
|
2498
2352
|
transform: translateY(0);
|
|
2499
2353
|
}
|
|
2354
|
+
|
|
2355
|
+
/* src/components/GuestSelector/GuestContent.css */
|
|
2356
|
+
.hc-guest-content {
|
|
2357
|
+
display: flex;
|
|
2358
|
+
flex-direction: column;
|
|
2359
|
+
width: 100%;
|
|
2360
|
+
}
|
|
2361
|
+
.hc-guest-content__row {
|
|
2362
|
+
display: flex;
|
|
2363
|
+
align-items: center;
|
|
2364
|
+
justify-content: space-between;
|
|
2365
|
+
height: 76px;
|
|
2366
|
+
padding: var(--size-rem-1, 16px) 0;
|
|
2367
|
+
}
|
|
2368
|
+
.hc-guest-content__row--children {
|
|
2369
|
+
flex-direction: column;
|
|
2370
|
+
align-items: unset !important;
|
|
2371
|
+
justify-content: unset !important;
|
|
2372
|
+
height: auto;
|
|
2373
|
+
min-height: auto;
|
|
2374
|
+
}
|
|
2375
|
+
.hc-guest-content__row-header {
|
|
2376
|
+
display: flex;
|
|
2377
|
+
align-items: center;
|
|
2378
|
+
justify-content: space-between;
|
|
2379
|
+
margin-bottom: var(--size-rem-1, 16px);
|
|
2380
|
+
}
|
|
2381
|
+
.hc-guest-content__row:not(:last-child) {
|
|
2382
|
+
border-bottom: 1px solid var(--border-general-divider, #E5E7EB);
|
|
2383
|
+
}
|
|
2384
|
+
.hc-guest-content__label {
|
|
2385
|
+
display: flex;
|
|
2386
|
+
flex-direction: column;
|
|
2387
|
+
gap: var(--size-rem-0-25, 4px);
|
|
2388
|
+
}
|
|
2389
|
+
.hc-guest-content__name {
|
|
2390
|
+
color: var(--content-general-primary, #1F2937);
|
|
2391
|
+
font-family: var(--text-label-large-font-family, system-ui, -apple-system, sans-serif);
|
|
2392
|
+
font-size: var(--text-label-large-font-size, 18px);
|
|
2393
|
+
font-style: normal;
|
|
2394
|
+
font-weight: 500;
|
|
2395
|
+
line-height: var(--text-label-large-line-height, 1.56);
|
|
2396
|
+
}
|
|
2397
|
+
.hc-guest-content__counter {
|
|
2398
|
+
display: flex;
|
|
2399
|
+
align-items: center;
|
|
2400
|
+
gap: var(--size-rem-0-5, 8px);
|
|
2401
|
+
}
|
|
2402
|
+
.hc-guest-content__counter-button {
|
|
2403
|
+
border-radius: 88888888px !important;
|
|
2404
|
+
border: 2px solid var(--border-action-secondary-idle, #D1D5DB) !important;
|
|
2405
|
+
background: var(--background-action-secondary-idle, #FFFFFF) !important;
|
|
2406
|
+
display: flex;
|
|
2407
|
+
width: 44px !important;
|
|
2408
|
+
height: 44px !important;
|
|
2409
|
+
padding: 12px !important;
|
|
2410
|
+
justify-content: center !important;
|
|
2411
|
+
align-items: center;
|
|
2412
|
+
aspect-ratio: 1 / 1;
|
|
2413
|
+
cursor: pointer !important;
|
|
2414
|
+
transition: all 0.2s ease;
|
|
2415
|
+
}
|
|
2416
|
+
.hc-guest-content__counter-button svg {
|
|
2417
|
+
width: 20px;
|
|
2418
|
+
height: 20px;
|
|
2419
|
+
flex-shrink: 0;
|
|
2420
|
+
}
|
|
2421
|
+
.hc-guest-content__counter-button:hover:not(:disabled) {
|
|
2422
|
+
border-color: var(--color-red-500, #EF4444);
|
|
2423
|
+
color: var(--color-red-500, #EF4444);
|
|
2424
|
+
}
|
|
2425
|
+
.hc-guest-content__counter-button:active:not(:disabled) {
|
|
2426
|
+
transform: scale(0.95);
|
|
2427
|
+
}
|
|
2428
|
+
.hc-guest-content__counter-button:disabled {
|
|
2429
|
+
cursor: not-allowed;
|
|
2430
|
+
border-radius: 88888888px !important;
|
|
2431
|
+
background: var(--background-action-disabled-idle, #F3F4F6) !important;
|
|
2432
|
+
border: none !important;
|
|
2433
|
+
}
|
|
2434
|
+
.hc-guest-content__counter-value {
|
|
2435
|
+
color: var(--content-general-primary, #1F2937);
|
|
2436
|
+
text-align: center;
|
|
2437
|
+
font-family: var(--text-paragraph-base-font-family, system-ui, -apple-system, sans-serif);
|
|
2438
|
+
font-size: var(--text-paragraph-base-font-size, 16px);
|
|
2439
|
+
font-style: normal;
|
|
2440
|
+
font-weight: var(--text-paragraph-base-font-weight, 400);
|
|
2441
|
+
line-height: var(--text-paragraph-base-line-height, 1.5);
|
|
2442
|
+
width: 24px;
|
|
2443
|
+
min-width: 24px;
|
|
2444
|
+
}
|
|
2445
|
+
.hc-guest-content__toggle-wrapper {
|
|
2446
|
+
display: flex;
|
|
2447
|
+
align-items: center;
|
|
2448
|
+
}
|
|
2449
|
+
.hc-guest-content__toggle {
|
|
2450
|
+
position: relative;
|
|
2451
|
+
display: inline-block;
|
|
2452
|
+
width: 50px;
|
|
2453
|
+
height: 28px;
|
|
2454
|
+
aspect-ratio: 25/14;
|
|
2455
|
+
}
|
|
2456
|
+
.hc-guest-content__toggle input {
|
|
2457
|
+
opacity: 0;
|
|
2458
|
+
width: 0;
|
|
2459
|
+
height: 0;
|
|
2460
|
+
}
|
|
2461
|
+
.hc-guest-content__slider {
|
|
2462
|
+
position: absolute;
|
|
2463
|
+
cursor: pointer;
|
|
2464
|
+
inset: 0;
|
|
2465
|
+
transition: 0.3s;
|
|
2466
|
+
border-radius: 999px;
|
|
2467
|
+
border-radius: 88888888px;
|
|
2468
|
+
background: var(--background-action-disabled-idle, #F3F4F6);
|
|
2469
|
+
}
|
|
2470
|
+
.hc-guest-content__slider::before {
|
|
2471
|
+
position: absolute;
|
|
2472
|
+
content: "";
|
|
2473
|
+
height: 24px;
|
|
2474
|
+
width: 24px;
|
|
2475
|
+
left: 2px;
|
|
2476
|
+
top: 2px;
|
|
2477
|
+
background-color: var(--color-ink-base-white, #FFFFFF);
|
|
2478
|
+
transition: 0.3s;
|
|
2479
|
+
border-radius: 88888888px;
|
|
2480
|
+
}
|
|
2481
|
+
.hc-guest-content__toggle input:checked + .hc-guest-content__slider {
|
|
2482
|
+
border-radius: 88888888px;
|
|
2483
|
+
background: var(--content-action-highlight-idle, #C81E4C);
|
|
2484
|
+
}
|
|
2485
|
+
.hc-guest-content__toggle input:checked + .hc-guest-content__slider::before {
|
|
2486
|
+
transform: translateX(22px);
|
|
2487
|
+
}
|
|
2488
|
+
.hc-guest-content__children-dropdowns {
|
|
2489
|
+
display: grid;
|
|
2490
|
+
gap: 12px;
|
|
2491
|
+
width: 100%;
|
|
2492
|
+
max-height: max-content;
|
|
2493
|
+
padding: var(--size-rem-1, 16px);
|
|
2494
|
+
overflow: auto;
|
|
2495
|
+
border-radius: var(--size-rem-0-75, 12px);
|
|
2496
|
+
background: var(--background-general-tertiary, #F9FAFB);
|
|
2497
|
+
box-sizing: border-box;
|
|
2498
|
+
}
|
|
2499
|
+
.hc-guest-content__child-dropdown {
|
|
2500
|
+
display: flex;
|
|
2501
|
+
flex-direction: column;
|
|
2502
|
+
align-items: flex-start;
|
|
2503
|
+
gap: var(--size-rem-0-5, 8px);
|
|
2504
|
+
align-self: stretch;
|
|
2505
|
+
border-radius: var(--size-rem-0-75, 12px);
|
|
2506
|
+
height: max-content;
|
|
2507
|
+
}
|
|
2508
|
+
.hc-guest-content__child-dropdown label {
|
|
2509
|
+
color: var(--content-general-primary, #1F2937);
|
|
2510
|
+
font-family: var(--text-label-medium-font-family, system-ui, -apple-system, sans-serif);
|
|
2511
|
+
font-size: var(--text-label-medium-font-size, 14px);
|
|
2512
|
+
font-style: normal;
|
|
2513
|
+
font-weight: 500;
|
|
2514
|
+
line-height: var(--text-label-medium-line-height, 1.5);
|
|
2515
|
+
}
|
|
2516
|
+
.hc-guest-content__select {
|
|
2517
|
+
appearance: none;
|
|
2518
|
+
-webkit-appearance: none;
|
|
2519
|
+
-moz-appearance: none;
|
|
2520
|
+
width: 100%;
|
|
2521
|
+
display: flex;
|
|
2522
|
+
padding: var(--size-rem-0-75, 12px);
|
|
2523
|
+
align-items: center;
|
|
2524
|
+
gap: var(--size-rem-0-75, 12px);
|
|
2525
|
+
align-self: stretch;
|
|
2526
|
+
border-radius: var(--size-rem-0-5, 8px);
|
|
2527
|
+
border: 1px solid var(--border-action-secondary-idle, #D1D5DB);
|
|
2528
|
+
background: var(--background-general-primary, #FFFFFF);
|
|
2529
|
+
color: var(--content-general-primary, #1F2937);
|
|
2530
|
+
font-family: var(--text-paragraph-base-font-family, system-ui, -apple-system, sans-serif);
|
|
2531
|
+
font-size: var(--text-paragraph-base-font-size, 16px);
|
|
2532
|
+
font-style: normal;
|
|
2533
|
+
font-weight: var(--text-paragraph-base-font-weight, 400);
|
|
2534
|
+
line-height: var(--text-paragraph-base-line-height, 1.5);
|
|
2535
|
+
}
|
|
2536
|
+
.hc-guest-content__select-wrapper {
|
|
2537
|
+
position: relative;
|
|
2538
|
+
width: 100%;
|
|
2539
|
+
}
|
|
2540
|
+
.hc-guest-content__select-icon {
|
|
2541
|
+
position: absolute;
|
|
2542
|
+
right: 12px;
|
|
2543
|
+
top: 50%;
|
|
2544
|
+
transform: translateY(-50%);
|
|
2545
|
+
pointer-events: none;
|
|
2546
|
+
transition: transform 0.2s ease;
|
|
2547
|
+
}
|
|
2548
|
+
.hc-guest-content__select--error {
|
|
2549
|
+
border: 1px solid var(--color-red-500, #EF4444) !important;
|
|
2550
|
+
}
|
|
2551
|
+
.hc-guest-content__error-text {
|
|
2552
|
+
color: var(--color-red-500, #EF4444);
|
|
2553
|
+
font-size: 12px;
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
/* src/components/HotelCard/HotelCard.css */
|
|
2557
|
+
.hc-hotel-card {
|
|
2558
|
+
width: 100%;
|
|
2559
|
+
background-color: var(--color-ink-base-white, #ffffff);
|
|
2560
|
+
border-radius: 24px;
|
|
2561
|
+
border: 1px solid var(--border-general-divider, #E5E7EB);
|
|
2562
|
+
overflow: hidden;
|
|
2563
|
+
display: flex;
|
|
2564
|
+
flex-direction: column;
|
|
2565
|
+
transition: box-shadow 0.2s ease;
|
|
2566
|
+
}
|
|
2567
|
+
.hc-hotel-card:hover {
|
|
2568
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
2569
|
+
}
|
|
2570
|
+
.hc-hotel-card__image-section {
|
|
2571
|
+
position: relative;
|
|
2572
|
+
width: 100%;
|
|
2573
|
+
height: 128px;
|
|
2574
|
+
overflow: hidden;
|
|
2575
|
+
}
|
|
2576
|
+
.hc-hotel-card__image {
|
|
2577
|
+
width: 100%;
|
|
2578
|
+
height: 100%;
|
|
2579
|
+
object-fit: cover;
|
|
2580
|
+
}
|
|
2581
|
+
.hc-hotel-card__image-overlay {
|
|
2582
|
+
position: absolute;
|
|
2583
|
+
top: 0;
|
|
2584
|
+
left: 0;
|
|
2585
|
+
right: 0;
|
|
2586
|
+
bottom: 0;
|
|
2587
|
+
background:
|
|
2588
|
+
linear-gradient(
|
|
2589
|
+
0deg,
|
|
2590
|
+
rgba(31, 41, 55, 0.00) 65%,
|
|
2591
|
+
rgba(31, 41, 55, 0.20) 100%);
|
|
2592
|
+
pointer-events: none;
|
|
2593
|
+
}
|
|
2594
|
+
.hc-hotel-card__top-overlay {
|
|
2595
|
+
position: absolute;
|
|
2596
|
+
top: 12px;
|
|
2597
|
+
left: 12px;
|
|
2598
|
+
right: 12px;
|
|
2599
|
+
display: flex;
|
|
2600
|
+
justify-content: space-between;
|
|
2601
|
+
align-items: flex-start;
|
|
2602
|
+
z-index: 2;
|
|
2603
|
+
}
|
|
2604
|
+
.hc-hotel-card__badges-column {
|
|
2605
|
+
display: flex;
|
|
2606
|
+
flex-direction: column;
|
|
2607
|
+
gap: 4px;
|
|
2608
|
+
}
|
|
2609
|
+
.hc-hotel-card__new-badge {
|
|
2610
|
+
display: flex;
|
|
2611
|
+
align-items: center;
|
|
2612
|
+
gap: 4px;
|
|
2613
|
+
padding: 4px 10px;
|
|
2614
|
+
background: #00857C;
|
|
2615
|
+
border-radius: 9999px;
|
|
2616
|
+
color: white;
|
|
2617
|
+
font-size: var(--text-label-small-font-size, 14px);
|
|
2618
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2619
|
+
line-height: var(--text-label-small-line-height, 20px);
|
|
2620
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2621
|
+
}
|
|
2622
|
+
.hc-hotel-card__favorite-button {
|
|
2623
|
+
width: 44px;
|
|
2624
|
+
height: 44px;
|
|
2625
|
+
background-color: transparent;
|
|
2626
|
+
border: none;
|
|
2627
|
+
display: flex;
|
|
2628
|
+
align-items: center;
|
|
2629
|
+
justify-content: center;
|
|
2630
|
+
cursor: pointer;
|
|
2631
|
+
transition: transform 0.2s ease;
|
|
2632
|
+
padding: 8px;
|
|
2633
|
+
margin: -8px -8px 0 0;
|
|
2634
|
+
}
|
|
2635
|
+
.hc-hotel-card__favorite-button:hover {
|
|
2636
|
+
transform: scale(1.1);
|
|
2637
|
+
}
|
|
2638
|
+
.hc-hotel-card__favorite-button:active {
|
|
2639
|
+
transform: scale(0.95);
|
|
2640
|
+
}
|
|
2641
|
+
.hc-hotel-card__heart-icon {
|
|
2642
|
+
width: 24px;
|
|
2643
|
+
height: 24px;
|
|
2644
|
+
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
|
|
2645
|
+
}
|
|
2646
|
+
.hc-hotel-card__heart-icon--filled {
|
|
2647
|
+
width: 24px;
|
|
2648
|
+
height: 24px;
|
|
2649
|
+
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(4431%) hue-rotate(346deg) brightness(93%) contrast(95%);
|
|
2650
|
+
}
|
|
2651
|
+
.hc-hotel-card__nav-button {
|
|
2652
|
+
position: absolute;
|
|
2653
|
+
top: 50%;
|
|
2654
|
+
transform: translateY(-50%);
|
|
2655
|
+
width: 44px;
|
|
2656
|
+
height: 44px;
|
|
2657
|
+
padding: 12px;
|
|
2658
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
2659
|
+
border: none;
|
|
2660
|
+
border-radius: 50%;
|
|
2661
|
+
display: flex;
|
|
2662
|
+
align-items: center;
|
|
2663
|
+
justify-content: center;
|
|
2664
|
+
cursor: pointer;
|
|
2665
|
+
z-index: 2;
|
|
2666
|
+
transition: background-color 0.2s ease;
|
|
2667
|
+
}
|
|
2668
|
+
.hc-hotel-card__nav-button:hover {
|
|
2669
|
+
background-color: rgba(255, 255, 255, 0.95);
|
|
2670
|
+
}
|
|
2671
|
+
.hc-hotel-card__nav-button--left {
|
|
2672
|
+
left: 12px;
|
|
2673
|
+
}
|
|
2674
|
+
.hc-hotel-card__nav-button--right {
|
|
2675
|
+
right: 12px;
|
|
2676
|
+
}
|
|
2677
|
+
.hc-hotel-card__image-indicator {
|
|
2678
|
+
position: absolute;
|
|
2679
|
+
bottom: 12px;
|
|
2680
|
+
left: 50%;
|
|
2681
|
+
transform: translateX(-50%);
|
|
2682
|
+
display: flex;
|
|
2683
|
+
gap: 6px;
|
|
2684
|
+
z-index: 2;
|
|
2685
|
+
}
|
|
2686
|
+
.hc-hotel-card__indicator-dot {
|
|
2687
|
+
width: 6px;
|
|
2688
|
+
height: 6px;
|
|
2689
|
+
border-radius: 50%;
|
|
2690
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
2691
|
+
transition: background-color 0.2s ease;
|
|
2692
|
+
}
|
|
2693
|
+
.hc-hotel-card__indicator-dot--active {
|
|
2694
|
+
background-color: white;
|
|
2695
|
+
}
|
|
2696
|
+
.hc-hotel-card__usp-banner {
|
|
2697
|
+
width: 100%;
|
|
2698
|
+
padding: 8px 24px;
|
|
2699
|
+
background-color: var(--background-status-success-idle, #ECFDF5);
|
|
2700
|
+
text-align: center;
|
|
2701
|
+
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2702
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2703
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2704
|
+
color: var(--content-status-success-idle, #006962);
|
|
2705
|
+
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2706
|
+
}
|
|
2707
|
+
.hc-hotel-card__content {
|
|
2708
|
+
padding: 12px;
|
|
2709
|
+
display: flex;
|
|
2710
|
+
flex-direction: column;
|
|
2711
|
+
gap: 2px;
|
|
2712
|
+
}
|
|
2713
|
+
.hc-hotel-card__header-section {
|
|
2714
|
+
display: flex;
|
|
2715
|
+
flex-direction: column;
|
|
2716
|
+
gap: 2px;
|
|
2717
|
+
}
|
|
2718
|
+
.hc-hotel-card__rating-section {
|
|
2719
|
+
display: flex;
|
|
2720
|
+
justify-content: space-between;
|
|
2721
|
+
align-items: center;
|
|
2722
|
+
}
|
|
2723
|
+
.hc-hotel-card__stars {
|
|
2724
|
+
display: flex;
|
|
2725
|
+
align-items: center;
|
|
2726
|
+
gap: 2px;
|
|
2727
|
+
}
|
|
2728
|
+
.hc-hotel-card__stars-indicator {
|
|
2729
|
+
position: relative;
|
|
2730
|
+
top: -4px;
|
|
2731
|
+
left: 2px;
|
|
2732
|
+
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2733
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2734
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2735
|
+
color: var(--content-general-tertiary, #6B7280);
|
|
2736
|
+
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2737
|
+
}
|
|
2738
|
+
.hc-hotel-card__swiss-lodge {
|
|
2739
|
+
font-size: var(--text-label-small-font-size, 14px);
|
|
2740
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2741
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2742
|
+
color: var(--content-general-secondary, #374151);
|
|
2743
|
+
line-height: var(--text-label-small-line-height, 20px);
|
|
2744
|
+
}
|
|
2745
|
+
.hc-hotel-card__rating-wrapper {
|
|
2746
|
+
display: flex;
|
|
2747
|
+
align-items: center;
|
|
2748
|
+
gap: 6px;
|
|
2749
|
+
}
|
|
2750
|
+
.hc-hotel-card__rating-text {
|
|
2751
|
+
color: var(--content-general-secondary, #6B7280);
|
|
2752
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2753
|
+
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2754
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2755
|
+
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2756
|
+
}
|
|
2757
|
+
.hc-hotel-card__rating-badge {
|
|
2758
|
+
position: relative;
|
|
2759
|
+
display: flex;
|
|
2760
|
+
align-items: center;
|
|
2761
|
+
justify-content: center;
|
|
2762
|
+
width: 32px;
|
|
2763
|
+
height: 24px;
|
|
2764
|
+
}
|
|
2765
|
+
.hc-hotel-card__rating-badge-bg {
|
|
2766
|
+
position: absolute;
|
|
2767
|
+
top: 0;
|
|
2768
|
+
left: 0;
|
|
2769
|
+
width: 100%;
|
|
2770
|
+
height: 100%;
|
|
2771
|
+
}
|
|
2772
|
+
.hc-hotel-card__rating-number {
|
|
2773
|
+
position: relative;
|
|
2774
|
+
z-index: 2;
|
|
2775
|
+
color: white;
|
|
2776
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2777
|
+
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2778
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2779
|
+
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2780
|
+
}
|
|
2781
|
+
.hc-hotel-card__hotel-name {
|
|
2782
|
+
color: var(--content-general-primary, #1F2937);
|
|
2783
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2784
|
+
font-size: var(--text-label-large-font-size, 18px);
|
|
2785
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2786
|
+
line-height: var(--text-label-large-line-height, 28px);
|
|
2787
|
+
margin: 0;
|
|
2788
|
+
}
|
|
2789
|
+
.hc-hotel-card__location-section {
|
|
2790
|
+
display: flex;
|
|
2791
|
+
align-items: center;
|
|
2792
|
+
gap: 4px;
|
|
2793
|
+
margin-bottom: 8px;
|
|
2794
|
+
}
|
|
2795
|
+
.hc-hotel-card__pin-icon {
|
|
2796
|
+
width: 16px;
|
|
2797
|
+
height: 16px;
|
|
2798
|
+
flex-shrink: 0;
|
|
2799
|
+
}
|
|
2800
|
+
.hc-hotel-card__location {
|
|
2801
|
+
color: var(--content-general-secondary, #6B7280);
|
|
2802
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2803
|
+
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2804
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2805
|
+
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2806
|
+
text-decoration: underline;
|
|
2807
|
+
}
|
|
2808
|
+
.hc-hotel-card__benefits-section {
|
|
2809
|
+
display: flex;
|
|
2810
|
+
flex-direction: column;
|
|
2811
|
+
gap: 4px;
|
|
2812
|
+
margin-bottom: 8px;
|
|
2813
|
+
}
|
|
2814
|
+
.hc-hotel-card__benefit {
|
|
2815
|
+
display: flex;
|
|
2816
|
+
align-items: center;
|
|
2817
|
+
gap: 4px;
|
|
2818
|
+
}
|
|
2819
|
+
.hc-hotel-card__benefit-icon {
|
|
2820
|
+
width: 16px;
|
|
2821
|
+
height: 16px;
|
|
2822
|
+
flex-shrink: 0;
|
|
2823
|
+
}
|
|
2824
|
+
.hc-hotel-card__benefit-text {
|
|
2825
|
+
font-size: var(--text-label-small-font-size, 14px);
|
|
2826
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2827
|
+
font-weight: var(--font-weight-regular, 400);
|
|
2828
|
+
color: var(--content-status-success-idle, #006962);
|
|
2829
|
+
line-height: var(--text-label-small-line-height, 20px);
|
|
2830
|
+
}
|
|
2831
|
+
.hc-hotel-card__pricing-section {
|
|
2832
|
+
display: flex;
|
|
2833
|
+
flex-direction: column;
|
|
2834
|
+
gap: 2px;
|
|
2835
|
+
}
|
|
2836
|
+
.hc-hotel-card__price-label {
|
|
2837
|
+
font-size: var(--text-label-tiny-font-size, 12px);
|
|
2838
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2839
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2840
|
+
color: var(--content-general-secondary, #6B7280);
|
|
2841
|
+
line-height: var(--text-label-tiny-line-height, 16px);
|
|
2842
|
+
}
|
|
2843
|
+
.hc-hotel-card__not-available {
|
|
2844
|
+
font-size: var(--text-label-small-font-size, 14px);
|
|
2845
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2846
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2847
|
+
color: var(--content-general-tertiary, #9CA3AF);
|
|
2848
|
+
line-height: var(--text-label-small-line-height, 20px);
|
|
2849
|
+
font-style: italic;
|
|
2850
|
+
}
|
|
2851
|
+
.hc-hotel-card__price-container {
|
|
2852
|
+
display: flex;
|
|
2853
|
+
align-items: center;
|
|
2854
|
+
gap: 8px;
|
|
2855
|
+
flex-wrap: wrap;
|
|
2856
|
+
}
|
|
2857
|
+
.hc-hotel-card__current-price {
|
|
2858
|
+
color: var(--content-general-primary, #1F2937);
|
|
2859
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2860
|
+
font-size: var(--text-label-large-font-size, 18px);
|
|
2861
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2862
|
+
line-height: var(--text-label-large-line-height, 28px);
|
|
2863
|
+
}
|
|
2864
|
+
.hc-hotel-card__original-price {
|
|
2865
|
+
font-size: var(--text-paragraph-base-font-size, 16px);
|
|
2866
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2867
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2868
|
+
color: var(--content-general-tertiary, #9CA3AF);
|
|
2869
|
+
text-decoration: line-through;
|
|
2870
|
+
line-height: var(--text-paragraph-base-line-height, 24px);
|
|
2871
|
+
}
|
|
2872
|
+
.hc-hotel-card__discount-badge {
|
|
2873
|
+
display: inline-flex;
|
|
2874
|
+
align-items: center;
|
|
2875
|
+
justify-content: center;
|
|
2876
|
+
padding: 2px 8px;
|
|
2877
|
+
background-color: var(--background-action-primary-idle, #C81E4C);
|
|
2878
|
+
border-radius: 9999px;
|
|
2879
|
+
color: white;
|
|
2880
|
+
font-size: var(--text-label-small-font-size, 14px);
|
|
2881
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2882
|
+
line-height: var(--text-label-small-line-height, 20px);
|
|
2883
|
+
font-family: var(--font-primary, system-ui, -apple-system, sans-serif);
|
|
2884
|
+
}
|
|
2500
2885
|
/*# sourceMappingURL=index.css.map */
|