@licklist/design 0.50.1-dev.9 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dashboard/addImage.svg.js +1 -1
- package/dist/assets/dashboard/chartBar.svg.js +1 -1
- package/dist/assets/dashboard/genderFemale.svg.js +1 -1
- package/dist/assets/dashboard/genderMale.svg.js +1 -1
- package/dist/assets/dashboard/increment.svg.js +1 -1
- package/dist/assets/dashboard/info.svg.js +1 -1
- package/dist/assets/dashboard/managerRole.svg.js +1 -1
- package/dist/assets/dashboard/subManagerRole.svg.js +1 -1
- package/dist/assets/dashboard/viewerRole.svg.js +1 -1
- package/dist/assets/dashboard/visitedProviderLink.svg.js +1 -1
- package/dist/assets/dashboard/warning.svg.js +1 -1
- package/dist/assets/editor/bold.svg.js +1 -1
- package/dist/assets/editor/double-quotes-l.svg.js +1 -1
- package/dist/assets/editor/format-clear.svg.js +1 -1
- package/dist/assets/editor/h1.svg.js +1 -1
- package/dist/assets/editor/h2.svg.js +1 -1
- package/dist/assets/editor/italic.svg.js +1 -1
- package/dist/assets/editor/paragraph.svg.js +1 -1
- package/dist/assets/editor/separator.svg.js +1 -1
- package/dist/assets/editor/strikethrough.svg.js +1 -1
- package/dist/assets/editor/text-wrap.svg.js +1 -1
- package/dist/assets/iframe/available.svg.js +1 -1
- package/dist/assets/iframe/calendar.svg.js +1 -1
- package/dist/assets/iframe/clock.svg.js +1 -1
- package/dist/assets/iframe/close.svg.js +1 -1
- package/dist/assets/iframe/limited.svg.js +1 -1
- package/dist/assets/iframe/selectArrow.svg.js +1 -1
- package/dist/assets/iframe/soldOut.svg.js +1 -1
- package/dist/assets/iframe/success.svg.js +1 -1
- package/dist/assets/iframe/ticket.svg.js +1 -1
- package/dist/assets/logo/bookedit.svg.js +1 -1
- package/dist/assets/logo/licklist.sm.svg.js +1 -1
- package/dist/assets/logo/licklist.svg.js +1 -1
- package/dist/calendar/Calendar.d.ts +0 -3
- package/dist/calendar/Calendar.d.ts.map +1 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
- package/dist/calendar/utils/index.d.ts +1 -2
- package/dist/calendar/utils/index.d.ts.map +1 -1
- package/dist/calendar/utils/index.js +1 -1
- package/dist/date-time-button/DateTimeButton.d.ts +2 -3
- package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
- package/dist/date-time-button/DateTimeButton.js +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/event-card/EventCard.d.ts +1 -2
- package/dist/events/event-card/EventCard.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.js +1 -1
- package/dist/events/event-venue-map/components/Scrollbars/Scrollbars.js +1 -1
- package/dist/iframe/event/event-booking-products/EventBookingProducts.js +1 -1
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts +2 -2
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts.map +1 -1
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.js +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts +1 -2
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +1 -2
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -2
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +0 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -3
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +1 -1
- package/dist/index.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.js +1 -1
- package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts +1 -2
- package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts.map +1 -1
- package/dist/sales/manual-booking/summary/ManualBookingSummary.js +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.js +1 -1
- package/dist/styles/affiliate/AffiliateCard.scss +6 -26
- package/dist/styles/events/EventCard.scss +6 -3
- package/dist/styles/product-set/ProductSetCard.scss +0 -4
- package/dist/styles/resources-blocking/_index.scss +0 -6
- package/dist/styles/sales/BookingFilter.scss +0 -18
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/styles/sales/BookingTabs.scss +5 -63
- package/dist/styles/sales/LifeTimeSales.scss +0 -1
- package/dist/styles/sales/ManualBooking.scss +3 -62
- package/dist/styles/sales/SourceOfSales.scss +0 -3
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +2 -3
- package/dist/styles/static/Tabs.scss +0 -6
- package/dist/styles/themes/bookedit/_index.scss +8 -9
- package/dist/table/TableHelperComponent.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/calendar/Calendar.tsx +0 -5
- package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +3 -3
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +2 -5
- package/src/calendar/utils/index.ts +6 -15
- package/src/date-time-button/DateTimeButton.tsx +3 -16
- package/src/events/edit-event-modal/IntervalInput.tsx +80 -8
- package/src/events/event-card/EventCard.stories.tsx +0 -1
- package/src/events/event-card/EventCard.tsx +2 -27
- package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +1 -1
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +8 -8
- package/src/iframe/event/event-card/IframeEventCard.tsx +1 -3
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +5 -5
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +0 -2
- package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +6 -12
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -5
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +0 -1
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +4 -2
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +23 -13
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +1 -1
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +5 -11
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +1 -1
- package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +1 -1
- package/src/notification/email-template/control/EmailTemplateControl.tsx +15 -5
- package/src/sales/booking/results/components/ResultCard.tsx +4 -6
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +1 -4
- package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +1 -9
- package/src/static/date-range-input/DateRangeInput.tsx +2 -23
- package/src/static/switch/BooleanSwitch.tsx +1 -1
- package/src/styles/affiliate/AffiliateCard.scss +6 -26
- package/src/styles/events/EventCard.scss +6 -3
- package/src/styles/product-set/ProductSetCard.scss +0 -4
- package/src/styles/resources-blocking/_index.scss +0 -6
- package/src/styles/sales/BookingFilter.scss +0 -18
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/styles/sales/BookingTabs.scss +5 -63
- package/src/styles/sales/LifeTimeSales.scss +0 -1
- package/src/styles/sales/ManualBooking.scss +3 -62
- package/src/styles/sales/SourceOfSales.scss +0 -3
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +2 -3
- package/src/styles/static/Tabs.scss +0 -6
- package/src/styles/themes/bookedit/_index.scss +8 -9
- package/src/table/TableHelperComponent.tsx +13 -11
- package/dist/events/edit-event-modal/hooks/index.d.ts +0 -3
- package/dist/events/edit-event-modal/hooks/index.d.ts.map +0 -1
- package/dist/events/edit-event-modal/hooks/useFormattedDuration.d.ts +0 -2
- package/dist/events/edit-event-modal/hooks/useFormattedDuration.d.ts.map +0 -1
- package/dist/events/edit-event-modal/hooks/useFormattedDuration.js +0 -1
- package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts +0 -11
- package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts.map +0 -1
- package/dist/events/edit-event-modal/hooks/useValidationOptions.js +0 -1
- package/src/events/edit-event-modal/hooks/index.ts +0 -2
- package/src/events/edit-event-modal/hooks/useFormattedDuration.tsx +0 -40
- package/src/events/edit-event-modal/hooks/useValidationOptions.tsx +0 -36
|
@@ -201,7 +201,15 @@ export const EmailTemplateControl = React.forwardRef(
|
|
|
201
201
|
return (
|
|
202
202
|
<>
|
|
203
203
|
<Row>
|
|
204
|
-
<Form.Group
|
|
204
|
+
<Form.Group
|
|
205
|
+
as={Col}
|
|
206
|
+
controlId="type"
|
|
207
|
+
xs
|
|
208
|
+
sm={12}
|
|
209
|
+
md={8}
|
|
210
|
+
lg={10}
|
|
211
|
+
xl={12}
|
|
212
|
+
>
|
|
205
213
|
<Form.Label>{t("type")}</Form.Label>
|
|
206
214
|
<Form.Control
|
|
207
215
|
as="select"
|
|
@@ -364,7 +372,9 @@ export const EmailTemplateControl = React.forwardRef(
|
|
|
364
372
|
if (option.type === OPTION_TYPE.checkbox) {
|
|
365
373
|
return (
|
|
366
374
|
<Form.Check
|
|
367
|
-
{...register(
|
|
375
|
+
{...register(
|
|
376
|
+
`templateOptionValues.${option?.id}.value` as any
|
|
377
|
+
)}
|
|
368
378
|
type="checkbox"
|
|
369
379
|
label={t(`Design:${option.name}`)}
|
|
370
380
|
id={option.name + option.id}
|
|
@@ -387,7 +397,7 @@ export const EmailTemplateControl = React.forwardRef(
|
|
|
387
397
|
onChange={() => {
|
|
388
398
|
setIsIncludePDF(!isIncludePDF);
|
|
389
399
|
setValue(
|
|
390
|
-
`templateOptionValues.${option.id}.value
|
|
400
|
+
`templateOptionValues.${option.id}.value` as any,
|
|
391
401
|
""
|
|
392
402
|
);
|
|
393
403
|
}}
|
|
@@ -403,7 +413,7 @@ export const EmailTemplateControl = React.forwardRef(
|
|
|
403
413
|
<Form.Control
|
|
404
414
|
as="select"
|
|
405
415
|
{...register(
|
|
406
|
-
`templateOptionValues.${option.id}.value`
|
|
416
|
+
`templateOptionValues.${option.id}.value` as any
|
|
407
417
|
)}
|
|
408
418
|
defaultValue={option.selectedValue || ""}
|
|
409
419
|
>
|
|
@@ -432,7 +442,7 @@ export const EmailTemplateControl = React.forwardRef(
|
|
|
432
442
|
</Form.Label>
|
|
433
443
|
<Form.Control
|
|
434
444
|
{...register(
|
|
435
|
-
`templateOptionValues.${option?.id}.value`
|
|
445
|
+
`templateOptionValues.${option?.id}.value` as any
|
|
436
446
|
)}
|
|
437
447
|
type="number"
|
|
438
448
|
placeholder={t(`Design:${option.name}`)}
|
|
@@ -12,7 +12,7 @@ import { TIME_FORMAT } from "@licklist/core/dist/Config";
|
|
|
12
12
|
import * as Config from "@licklist/core/dist/Config";
|
|
13
13
|
import { formatDateStringForEvent } from "@licklist/plugins/dist/utils/formatDate";
|
|
14
14
|
import { getOrderSourceTitle } from "@licklist/plugins/dist/utils/sourceTitle";
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
import Icon from "../../../../static/Icon";
|
|
17
17
|
|
|
18
18
|
export type ResultCardProps = {
|
|
@@ -22,6 +22,8 @@ export type ResultCardProps = {
|
|
|
22
22
|
onCardClick?: (id: number) => void;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
+
// @TODO integrate when API will be available
|
|
26
|
+
// activity and staff keys
|
|
25
27
|
export const ResultCard = ({
|
|
26
28
|
order,
|
|
27
29
|
className,
|
|
@@ -43,14 +45,10 @@ export const ResultCard = ({
|
|
|
43
45
|
event,
|
|
44
46
|
menu,
|
|
45
47
|
remainingToPay,
|
|
46
|
-
payments,
|
|
47
48
|
} = order;
|
|
48
49
|
|
|
49
|
-
const discount = calculateTotalDiscount(payments);
|
|
50
|
-
|
|
51
50
|
const productList = products.map((product) => product.name)?.join(", ") || "";
|
|
52
51
|
const activityName = event?.name || menu?.name || "";
|
|
53
|
-
const totalAmountWithDiscount = totalAmount - discount;
|
|
54
52
|
|
|
55
53
|
const onClick = () => {
|
|
56
54
|
if (!onCardClick) return;
|
|
@@ -110,7 +108,7 @@ export const ResultCard = ({
|
|
|
110
108
|
)}
|
|
111
109
|
<p>
|
|
112
110
|
{t("paidAmount")}:{" "}
|
|
113
|
-
{formatNumber(
|
|
111
|
+
{formatNumber(totalAmount, {
|
|
114
112
|
style: "currency",
|
|
115
113
|
currency: Config.Currency.GBP,
|
|
116
114
|
})}
|
|
@@ -46,10 +46,7 @@ export const SelectEvent = ({
|
|
|
46
46
|
return (
|
|
47
47
|
<EventCardManualBooking
|
|
48
48
|
key={`${event.id}-${event.createdAt}`}
|
|
49
|
-
coverImageUrl={MediaService.getImageSrcByEvent(
|
|
50
|
-
event,
|
|
51
|
-
event?.providers[0]?.images
|
|
52
|
-
)}
|
|
49
|
+
coverImageUrl={MediaService.getImageSrcByEvent(event)}
|
|
53
50
|
title={event?.name}
|
|
54
51
|
rrule={event?.rrule}
|
|
55
52
|
startAt={event?.startAt}
|
|
@@ -24,7 +24,6 @@ export interface ManualBookingSummaryProps {
|
|
|
24
24
|
isFeeFetching: boolean;
|
|
25
25
|
orderDate: string;
|
|
26
26
|
relyOnPeopleType?: RelyOnPeopleType | null;
|
|
27
|
-
isMobileView?: boolean;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
export const ManualBookingSummary = ({
|
|
@@ -36,7 +35,6 @@ export const ManualBookingSummary = ({
|
|
|
36
35
|
orderDate,
|
|
37
36
|
relyOnPeopleType,
|
|
38
37
|
hasBookingCategory,
|
|
39
|
-
isMobileView,
|
|
40
38
|
}: ManualBookingSummaryProps) => {
|
|
41
39
|
const { t } = useTranslation(["Design", "Sale"]);
|
|
42
40
|
const { formatNumber } = useIntl();
|
|
@@ -46,13 +44,7 @@ export const ManualBookingSummary = ({
|
|
|
46
44
|
const date = currentDate.toFormat(DATE_TIME_MANUAL_BOOKING_FORMAT);
|
|
47
45
|
const time = currentDate.toFormat(TIME_FORMAT);
|
|
48
46
|
return (
|
|
49
|
-
<div
|
|
50
|
-
className={
|
|
51
|
-
isMobileView
|
|
52
|
-
? "manual-booking-summary-mobile"
|
|
53
|
-
: "manual-booking-summary"
|
|
54
|
-
}
|
|
55
|
-
>
|
|
47
|
+
<div className="manual-booking-summary">
|
|
56
48
|
<div className="receipt-title">{t("Sale:receipt")}</div>
|
|
57
49
|
<div className="event-name border-summary-item">{eventName}</div>
|
|
58
50
|
<div className="border-summary-item">{date}</div>
|
|
@@ -11,13 +11,10 @@ import {
|
|
|
11
11
|
rangeDatesToStringDates,
|
|
12
12
|
stringDatesToInputValue,
|
|
13
13
|
} from "./utils";
|
|
14
|
-
import { MOBILE_WIDTH } from "../../iframe/order-process/components/BookingSummary/types";
|
|
15
14
|
|
|
16
15
|
import "react-date-range/dist/styles.css";
|
|
17
16
|
import "react-date-range/dist/theme/default.css";
|
|
18
17
|
|
|
19
|
-
type DateRangeDirection = "vertical" | "horizontal";
|
|
20
|
-
|
|
21
18
|
type DateRangeInputProps = {
|
|
22
19
|
placeholder: string;
|
|
23
20
|
startDate?: string;
|
|
@@ -36,7 +33,7 @@ export const DateRangeInput = ({
|
|
|
36
33
|
disabled,
|
|
37
34
|
}: DateRangeInputProps) => {
|
|
38
35
|
const { t } = useTranslation("Design");
|
|
39
|
-
|
|
36
|
+
|
|
40
37
|
const [state, setState] = useState<Range[]>([
|
|
41
38
|
{
|
|
42
39
|
startDate: new Date(),
|
|
@@ -85,24 +82,6 @@ export const DateRangeInput = ({
|
|
|
85
82
|
}
|
|
86
83
|
}, [startDate, endDate]);
|
|
87
84
|
|
|
88
|
-
useEffect(() => {
|
|
89
|
-
const resizeBodyInMobile = () => {
|
|
90
|
-
if (window.innerWidth > MOBILE_WIDTH) {
|
|
91
|
-
setDirection("horizontal");
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
setDirection("vertical");
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
resizeBodyInMobile();
|
|
99
|
-
window.addEventListener("resize", resizeBodyInMobile);
|
|
100
|
-
|
|
101
|
-
return () => {
|
|
102
|
-
window.removeEventListener("resize", resizeBodyInMobile);
|
|
103
|
-
};
|
|
104
|
-
}, []);
|
|
105
|
-
|
|
106
85
|
return (
|
|
107
86
|
<div>
|
|
108
87
|
<OverlayTrigger
|
|
@@ -115,7 +94,7 @@ export const DateRangeInput = ({
|
|
|
115
94
|
moveRangeOnFirstSelection={false}
|
|
116
95
|
ranges={state}
|
|
117
96
|
months={months}
|
|
118
|
-
direction=
|
|
97
|
+
direction="horizontal"
|
|
119
98
|
/>
|
|
120
99
|
<div className="mt-3 d-flex justify-content-end">
|
|
121
100
|
<Button onClick={onReset} variant="link">
|
|
@@ -23,7 +23,7 @@ export function BooleanSwitch({
|
|
|
23
23
|
const { t } = useTranslation("Design");
|
|
24
24
|
|
|
25
25
|
const options: SelectItem[] = [
|
|
26
|
-
{ id: 1, value: firstValueTitle ??
|
|
26
|
+
{ id: 1, value: firstValueTitle ?? t("yes") },
|
|
27
27
|
{ id: 0, value: secondValueTitle ?? t("no") },
|
|
28
28
|
];
|
|
29
29
|
|
|
@@ -3,10 +3,7 @@ $affiliate-card-box-shadow-focus: $btn-focus-box-shadow !default;
|
|
|
3
3
|
$affiliate-card-transition: $btn-transition !default;
|
|
4
4
|
|
|
5
5
|
$affiliate-card-link-background-color: $affiliate-card-background-color !default;
|
|
6
|
-
$affiliate-card-link-background-color-hover: theme-color-level(
|
|
7
|
-
"primary",
|
|
8
|
-
-10.5
|
|
9
|
-
) !default;
|
|
6
|
+
$affiliate-card-link-background-color-hover: theme-color-level("primary", -10.5) !default;
|
|
10
7
|
$affiliate-card-link-box-shadow-focus: $affiliate-card-box-shadow-focus !default;
|
|
11
8
|
$affiliate-card-link-padding-x: sp(10) !default;
|
|
12
9
|
$affiliate-card-link-padding-y: sp(10) !default;
|
|
@@ -15,20 +12,12 @@ $affiliate-card-link-text-color-hover: theme-color("primary") !default;
|
|
|
15
12
|
$affiliate-card-link-text-font-weight: $font-weight-normal !default;
|
|
16
13
|
$affiliate-card-link-transition: $affiliate-card-transition !default;
|
|
17
14
|
|
|
18
|
-
$affiliate-card-menu-button-background-color-hover: theme-color(
|
|
19
|
-
"primary"
|
|
20
|
-
) !default;
|
|
15
|
+
$affiliate-card-menu-button-background-color-hover: theme-color("primary") !default;
|
|
21
16
|
$affiliate-card-menu-button-border-radius: $border-radius !default;
|
|
22
17
|
$affiliate-card-menu-button-box-shadow-focus: $affiliate-card-box-shadow-focus !default;
|
|
23
|
-
$affiliate-card-menu-button-icon-color: adjust-color(
|
|
24
|
-
theme-color("primary"),
|
|
25
|
-
$alpha: -1/3
|
|
26
|
-
) !default;
|
|
18
|
+
$affiliate-card-menu-button-icon-color: adjust-color(theme-color("primary"), $alpha: -1/3) !default;
|
|
27
19
|
$affiliate-card-menu-button-icon-color-hover: $affiliate-card-background-color !default;
|
|
28
|
-
$affiliate-card-menu-button-icon-color-container-hover: adjust-color(
|
|
29
|
-
theme-color("primary"),
|
|
30
|
-
$alpha: -1 / 12
|
|
31
|
-
) !default;
|
|
20
|
+
$affiliate-card-menu-button-icon-color-container-hover: adjust-color(theme-color("primary"), $alpha: -1 / 12) !default;
|
|
32
21
|
$affiliate-card-menu-button-icon-size: sp(4) !default;
|
|
33
22
|
$affiliate-card-menu-button-inset: sp(2) !default;
|
|
34
23
|
$affiliate-card-menu-button-size: sp(8) !default;
|
|
@@ -150,14 +139,12 @@ $affiliate-card-menu-icon-size: sp(3.5) !default;
|
|
|
150
139
|
}
|
|
151
140
|
}
|
|
152
141
|
|
|
153
|
-
.affiliate-card-popover
|
|
154
|
-
#event-product-set-popover {
|
|
142
|
+
.affiliate-card-popover {
|
|
155
143
|
border-radius: $affiliate-card-popover-border-radius;
|
|
156
144
|
border: none;
|
|
157
145
|
filter: $affiliate-card-popover-box-shadow-filter;
|
|
158
146
|
|
|
159
|
-
.affiliate-card-menu
|
|
160
|
-
.event-product-set-card {
|
|
147
|
+
.affiliate-card-menu {
|
|
161
148
|
padding: $affiliate-card-menu-padding-x $affiliate-card-menu-padding-y;
|
|
162
149
|
border-radius: $affiliate-card-popover-border-radius;
|
|
163
150
|
|
|
@@ -188,12 +175,5 @@ $affiliate-card-menu-icon-size: sp(3.5) !default;
|
|
|
188
175
|
}
|
|
189
176
|
}
|
|
190
177
|
|
|
191
|
-
#event-product-set-popover {
|
|
192
|
-
.event-product-set-card {
|
|
193
|
-
padding-left: 1rem;
|
|
194
|
-
padding-right: 1rem;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
178
|
$snippet-template-card-background-color: color("red") !default;
|
|
199
179
|
$snippet-template-card-border: 1px solid red;
|
|
@@ -7,6 +7,8 @@ $event-card-title-font-weight: $font-weight-semibold !default;
|
|
|
7
7
|
$event-card-title-font-size: sp(5) !default;
|
|
8
8
|
$event-card-title-line-height: 4 / 3 !default;
|
|
9
9
|
|
|
10
|
+
$event-card-footer-height: sp(6) !default;
|
|
11
|
+
|
|
10
12
|
$event-card-image-container-overflow-top: sp(3) !default;
|
|
11
13
|
$event-card-image-container-overflow-x: sp(3) !default;
|
|
12
14
|
$event-card-image-container-aspect-ratio: 1.6 !default;
|
|
@@ -32,7 +34,7 @@ $event-card-views-gutter: sp(3) !default;
|
|
|
32
34
|
transition: ease-in 0.25s;
|
|
33
35
|
border-radius: $event-card-border-radius;
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
>*+* {
|
|
36
38
|
margin-top: $event-card-contents-gutter;
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -52,7 +54,7 @@ $event-card-views-gutter: sp(3) !default;
|
|
|
52
54
|
min-height: 13.75rem;
|
|
53
55
|
max-height: 22rem;
|
|
54
56
|
}
|
|
55
|
-
|
|
57
|
+
}
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
.card-title {
|
|
@@ -72,6 +74,7 @@ $event-card-views-gutter: sp(3) !default;
|
|
|
72
74
|
border: unset;
|
|
73
75
|
border-radius: unset;
|
|
74
76
|
padding: 0;
|
|
77
|
+
height: $event-card-footer-height;
|
|
75
78
|
|
|
76
79
|
svg {
|
|
77
80
|
height: 100%;
|
|
@@ -172,4 +175,4 @@ $event-card-views-gutter: sp(3) !default;
|
|
|
172
175
|
color: #504f4f;
|
|
173
176
|
width: 1.7rem;
|
|
174
177
|
}
|
|
175
|
-
}
|
|
178
|
+
}
|
|
@@ -157,19 +157,6 @@
|
|
|
157
157
|
margin-bottom: 0;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
|
|
161
|
-
.apply-container{
|
|
162
|
-
display: flex;
|
|
163
|
-
justify-content: space-around;
|
|
164
|
-
column-gap: 2rem;
|
|
165
|
-
margin-left: 3rem;
|
|
166
|
-
|
|
167
|
-
@include media-breakpoint-down(sm) {
|
|
168
|
-
flex-direction: row;
|
|
169
|
-
margin-left: 0rem;
|
|
170
|
-
column-gap: 1rem;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
160
|
}
|
|
174
161
|
|
|
175
162
|
.additional-filter-container {
|
|
@@ -243,11 +230,6 @@
|
|
|
243
230
|
transform: rotate(45deg);
|
|
244
231
|
}
|
|
245
232
|
}
|
|
246
|
-
|
|
247
|
-
@include media-breakpoint-down(sm) {
|
|
248
|
-
flex-direction: column;
|
|
249
|
-
justify-content: flex-start;
|
|
250
|
-
}
|
|
251
233
|
}
|
|
252
234
|
}
|
|
253
235
|
}
|
|
@@ -1,49 +1,24 @@
|
|
|
1
1
|
.booking-tabs-pane {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
|
-
justify-content: space-between;
|
|
5
4
|
align-items: center;
|
|
6
5
|
height: 2.75rem;
|
|
7
6
|
background-color: $white;
|
|
8
7
|
|
|
9
8
|
.booking-tabs {
|
|
10
9
|
svg {
|
|
11
|
-
g>rect:first-child {
|
|
12
|
-
fill: $white;
|
|
10
|
+
g > rect:first-child {
|
|
11
|
+
fill: $white;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
|
-
|
|
14
|
+
|
|
16
15
|
.active {
|
|
17
16
|
svg {
|
|
18
|
-
g>rect:first-child {
|
|
19
|
-
fill: $blue;
|
|
17
|
+
g > rect:first-child {
|
|
18
|
+
fill: $blue;
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
|
-
|
|
24
|
-
@include media-breakpoint-down(sm) {
|
|
25
|
-
width: 4rem;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.content {
|
|
30
|
-
display: flex;
|
|
31
|
-
justify-content: space-between;
|
|
32
|
-
width: 85%;
|
|
33
|
-
flex-direction: row;
|
|
34
|
-
|
|
35
|
-
@include media-breakpoint-down(sm) {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
align-items: start;
|
|
39
|
-
height: 4rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.booking {
|
|
43
|
-
@include media-breakpoint-down(sm) {
|
|
44
|
-
height: 13rem;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
22
|
}
|
|
48
23
|
|
|
49
24
|
.separator {
|
|
@@ -54,12 +29,6 @@
|
|
|
54
29
|
.children {
|
|
55
30
|
flex: 1;
|
|
56
31
|
margin-left: 1rem;
|
|
57
|
-
|
|
58
|
-
@include media-breakpoint-down(sm) {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
align-items: start;
|
|
62
|
-
}
|
|
63
32
|
}
|
|
64
33
|
|
|
65
34
|
.buttons {
|
|
@@ -92,33 +61,6 @@
|
|
|
92
61
|
border-radius: 0.625rem;
|
|
93
62
|
margin-right: 0.5rem;
|
|
94
63
|
}
|
|
95
|
-
@include media-breakpoint-down(sm) {
|
|
96
|
-
width: 12.5rem;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@include media-breakpoint-down(sm) {
|
|
102
|
-
display: flex;
|
|
103
|
-
flex-direction: column;
|
|
104
|
-
align-items: start;
|
|
105
|
-
gap: .5rem;
|
|
106
|
-
margin-top: .5rem;
|
|
107
|
-
white-space: nowrap;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@include media-breakpoint-down(sm) {
|
|
112
|
-
display: flex;
|
|
113
|
-
align-items: start;
|
|
114
|
-
gap: 1rem;
|
|
115
|
-
margin-top: 1rem;
|
|
116
|
-
height: 100%;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.booking {
|
|
120
|
-
@include media-breakpoint-down(sm) {
|
|
121
|
-
height: 13rem;
|
|
122
64
|
}
|
|
123
65
|
}
|
|
124
66
|
}
|
|
@@ -361,11 +361,10 @@
|
|
|
361
361
|
width: inherit;
|
|
362
362
|
|
|
363
363
|
@include media-breakpoint-down(sm) {
|
|
364
|
-
|
|
364
|
+
padding: 0 0.5rem;
|
|
365
|
+
padding-top: 2rem;
|
|
365
366
|
}
|
|
366
367
|
|
|
367
|
-
|
|
368
|
-
|
|
369
368
|
.form-control {
|
|
370
369
|
margin-bottom: 1.5rem;
|
|
371
370
|
}
|
|
@@ -412,64 +411,6 @@
|
|
|
412
411
|
}
|
|
413
412
|
}
|
|
414
413
|
|
|
415
|
-
.manual-booking-summary-mobile {
|
|
416
|
-
display: none;
|
|
417
|
-
|
|
418
|
-
@include media-breakpoint-down(sm) {
|
|
419
|
-
display: block;
|
|
420
|
-
padding: 0 1.5rem;
|
|
421
|
-
padding-top: 2rem;
|
|
422
|
-
height: max-content;
|
|
423
|
-
margin-bottom: 1.5rem;
|
|
424
|
-
width: inherit;
|
|
425
|
-
|
|
426
|
-
.form-control {
|
|
427
|
-
margin-bottom: .5rem;
|
|
428
|
-
}
|
|
429
|
-
.receipt-title {
|
|
430
|
-
font-size: 1.125rem;
|
|
431
|
-
font-weight: 600;
|
|
432
|
-
padding-bottom: 0.4rem;
|
|
433
|
-
margin-bottom: 1rem;
|
|
434
|
-
border-bottom: 2px solid $gray-400;
|
|
435
|
-
}
|
|
436
|
-
.event-name {
|
|
437
|
-
font-size: 0.94rem;
|
|
438
|
-
font-weight: 600;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.border-summary-item {
|
|
442
|
-
padding-bottom: 0.9rem;
|
|
443
|
-
margin-bottom: 1%;
|
|
444
|
-
border-bottom: 2px solid $gray-100;
|
|
445
|
-
flex-wrap: wrap;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.total-container {
|
|
449
|
-
display: flex;
|
|
450
|
-
justify-content: space-between;
|
|
451
|
-
font-size: 1rem;
|
|
452
|
-
font-weight: 600;
|
|
453
|
-
|
|
454
|
-
@include media-breakpoint-down(lg) {
|
|
455
|
-
flex-wrap: wrap;
|
|
456
|
-
}
|
|
457
|
-
.total-amount {
|
|
458
|
-
padding-left: 1rem;
|
|
459
|
-
@include media-breakpoint-down(lg) {
|
|
460
|
-
padding-left: 0;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.summary-item-container {
|
|
466
|
-
.border-summary-item:nth-last-child(2) {
|
|
467
|
-
border-bottom: 2px solid $gray-400;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
414
|
.menu-list-manual-booking {
|
|
474
415
|
display: flex;
|
|
475
416
|
align-items: center;
|
|
@@ -496,4 +437,4 @@
|
|
|
496
437
|
color: $blue;
|
|
497
438
|
}
|
|
498
439
|
}
|
|
499
|
-
}
|
|
440
|
+
}
|
|
@@ -28,13 +28,12 @@ $snippet-template-card-button-transition: $product-set-card-transition !default;
|
|
|
28
28
|
border: 1px solid #ccc;
|
|
29
29
|
border-radius: $border-radius;
|
|
30
30
|
height: 10rem;
|
|
31
|
-
|
|
31
|
+
width: 15rem;
|
|
32
32
|
padding: 1rem;
|
|
33
33
|
|
|
34
34
|
@include media-breakpoint-down(sm) {
|
|
35
35
|
height: 100%;
|
|
36
36
|
max-height: 10rem;
|
|
37
|
-
width: 100%;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
p {
|
|
@@ -110,4 +109,4 @@ $snippet-template-card-button-transition: $product-set-card-transition !default;
|
|
|
110
109
|
&:hover {
|
|
111
110
|
border: 2px solid $blue;
|
|
112
111
|
}
|
|
113
|
-
}
|
|
112
|
+
}
|
|
@@ -11,12 +11,6 @@ $tab-nav-link-active-border-bottom: 1px solid $tab-nav-link-active-color !defaul
|
|
|
11
11
|
margin-left: -1.25rem;
|
|
12
12
|
border-bottom: 1px solid $nav-tabs-border-color;
|
|
13
13
|
|
|
14
|
-
@include media-breakpoint-down(sm) {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
white-space: nowrap;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
14
|
.nav-link {
|
|
21
15
|
color: $tab-nav-link-color;
|
|
22
16
|
background-color: transparent;
|
|
@@ -98,8 +98,7 @@
|
|
|
98
98
|
color: gray("600");
|
|
99
99
|
|
|
100
100
|
&.sortable {
|
|
101
|
-
&::before,
|
|
102
|
-
&::after {
|
|
101
|
+
&::before, &::after {
|
|
103
102
|
opacity: 1;
|
|
104
103
|
}
|
|
105
104
|
|
|
@@ -133,20 +132,20 @@
|
|
|
133
132
|
width: 2.5rem;
|
|
134
133
|
height: 2.5rem;
|
|
135
134
|
background-color: transparent;
|
|
136
|
-
|
|
135
|
+
|
|
137
136
|
svg {
|
|
138
137
|
margin-bottom: 2.5px;
|
|
139
138
|
}
|
|
140
139
|
|
|
141
140
|
&:hover {
|
|
142
141
|
cursor: pointer;
|
|
143
|
-
border-radius:
|
|
142
|
+
border-radius: .5rem;
|
|
144
143
|
background-color: lighten($primary, 40);
|
|
145
144
|
}
|
|
146
145
|
}
|
|
147
146
|
|
|
148
147
|
.page-item {
|
|
149
|
-
margin-left:
|
|
148
|
+
margin-left: .4rem;
|
|
150
149
|
min-width: 15px;
|
|
151
150
|
width: 2.5rem;
|
|
152
151
|
height: 2.5rem;
|
|
@@ -154,7 +153,7 @@
|
|
|
154
153
|
.page-link {
|
|
155
154
|
border: 0;
|
|
156
155
|
padding: 0;
|
|
157
|
-
border-radius:
|
|
156
|
+
border-radius: .5rem;
|
|
158
157
|
height: 100%;
|
|
159
158
|
display: flex;
|
|
160
159
|
align-items: center;
|
|
@@ -163,13 +162,13 @@
|
|
|
163
162
|
color: $black;
|
|
164
163
|
font-weight: 600;
|
|
165
164
|
font-size: 0.875rem;
|
|
166
|
-
|
|
165
|
+
|
|
167
166
|
&:hover {
|
|
168
|
-
border-radius:
|
|
167
|
+
border-radius: .5rem;
|
|
169
168
|
background-color: lighten($primary, 40);
|
|
170
169
|
}
|
|
171
170
|
}
|
|
172
|
-
|
|
171
|
+
|
|
173
172
|
&.active {
|
|
174
173
|
.page-link {
|
|
175
174
|
border: 2px solid $primary;
|