@licklist/design 0.58.6-dev.8 → 0.58.6

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 (243) hide show
  1. package/bitbucket-pipelines.yml +8 -0
  2. package/dist/assets/iframe/calendar.svg +2 -2
  3. package/dist/assets/iframe/calendar.svg.js +1 -1
  4. package/dist/assets/iframe/ticket.svg +2 -2
  5. package/dist/assets/iframe/ticket.svg.js +1 -1
  6. package/dist/calendar/Calendar.d.ts +1 -1
  7. package/dist/calendar/Calendar.d.ts.map +1 -1
  8. package/dist/calendar/Calendar.js +1 -1
  9. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -1
  10. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +2 -2
  11. package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  12. package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -1
  13. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  14. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  15. package/dist/iframe/event/event-card/IframeEventCard.d.ts +1 -2
  16. package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
  17. package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
  18. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.js +1 -1
  19. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +2 -2
  20. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  21. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  22. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +2 -4
  23. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  24. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.js +1 -1
  25. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  26. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  27. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.js +1 -1
  28. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +2 -4
  29. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  30. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.js +1 -1
  31. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +0 -4
  32. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  33. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  34. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  35. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
  36. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
  37. package/dist/iframe/page/components/PageBody/constants.d.ts +0 -1
  38. package/dist/iframe/page/components/PageBody/constants.d.ts.map +1 -1
  39. package/dist/iframe/page/components/PageBody/constants.js +1 -1
  40. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
  41. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -1
  42. package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -1
  43. package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +1 -1
  44. package/dist/iframe/payment/payment-form/PaymentForm.js +1 -1
  45. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  46. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  47. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  48. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  49. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  50. package/dist/iframe/ryft/RyftPaymentForm.js +1 -1
  51. package/dist/index.js +1 -1
  52. package/dist/product-set/card/ProductSetCard.d.ts +1 -2
  53. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  54. package/dist/product-set/card/ProductSetCard.js +1 -1
  55. package/dist/product-set/control/ProductSetControl.d.ts +1 -2
  56. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  57. package/dist/product-set/control/ProductSetControl.js +1 -1
  58. package/dist/product-set/control/TutorialGifCard.d.ts +1 -2
  59. package/dist/product-set/control/TutorialGifCard.d.ts.map +1 -1
  60. package/dist/product-set/control/TutorialGifCard.js +1 -1
  61. package/dist/product-set/form/ProductCategoriesControl.d.ts +1 -2
  62. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  63. package/dist/product-set/form/ProductCategoriesControl.js +1 -1
  64. package/dist/product-set/form/ProductSetForm.d.ts +2 -7
  65. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  66. package/dist/product-set/form/ProductSetForm.js +1 -1
  67. package/dist/product-set/form/ProductsControl.d.ts +1 -2
  68. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  69. package/dist/product-set/form/ProductsControl.js +1 -1
  70. package/dist/product-set/form/StepsControl.d.ts +1 -2
  71. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  72. package/dist/product-set/form/StepsControl.js +1 -1
  73. package/dist/product-set/form/SubProductsControl.d.ts +1 -2
  74. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  75. package/dist/product-set/form/SubProductsControl.js +1 -1
  76. package/dist/product-set/form/VenueMapsControl.js +1 -1
  77. package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +1 -2
  78. package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -1
  79. package/dist/product-set/hooks/useSortableTreeFunctions.js +1 -1
  80. package/dist/product-set/item/CreateProductSetItem.d.ts +1 -2
  81. package/dist/product-set/item/CreateProductSetItem.d.ts.map +1 -1
  82. package/dist/product-set/item/CreateProductSetItem.js +1 -1
  83. package/dist/product-set/product/ProductControl.d.ts +1 -3
  84. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  85. package/dist/product-set/product/ProductControl.js +1 -1
  86. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +2 -4
  87. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
  88. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.js +1 -1
  89. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts +0 -1
  90. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  91. package/dist/product-set/product/quantity/ProductQuantityControl.js +1 -1
  92. package/dist/product-set/product-category/ProductCategoryControl.d.ts +1 -2
  93. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  94. package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
  95. package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
  96. package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +1 -1
  97. package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +0 -2
  98. package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
  99. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
  100. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  101. package/dist/sales/booking/results/components/ResultCard.js +1 -1
  102. package/dist/sales/notes/NotesTableRow.js +1 -1
  103. package/dist/setting/dashboard/snippets/card/SnippetCard.js +1 -1
  104. package/dist/snippet/snippet-template/control/PropertyControl.d.ts +1 -3
  105. package/dist/snippet/snippet-template/control/PropertyControl.d.ts.map +1 -1
  106. package/dist/snippet/snippet-template/control/PropertyControl.js +1 -1
  107. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  108. package/dist/sortable-list/SortableList.d.ts +1 -2
  109. package/dist/sortable-list/SortableList.d.ts.map +1 -1
  110. package/dist/sortable-list/SortableList.js +1 -1
  111. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -3
  112. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  113. package/dist/sortable-tree/SortableTreeItem.js +1 -1
  114. package/dist/static/manual-date-picker/ManualDatePicker.js +1 -1
  115. package/dist/static/manual-date-picker/constants/index.d.ts +1 -4
  116. package/dist/static/manual-date-picker/constants/index.d.ts.map +1 -1
  117. package/dist/static/manual-date-picker/constants/index.js +1 -1
  118. package/dist/static/manual-date-picker/utils/index.d.ts +0 -4
  119. package/dist/static/manual-date-picker/utils/index.d.ts.map +1 -1
  120. package/dist/static/manual-date-picker/utils/index.js +1 -1
  121. package/dist/striped-static-table/StripedStaticTable.js +1 -1
  122. package/dist/styles/iframe-events/Card.scss +8 -24
  123. package/dist/styles/iframe-events/PoweredBy.scss +2 -2
  124. package/dist/styles/iframe-order-process/IframeOrderProcess.scss +20 -57
  125. package/dist/styles/iframe-page/Page.scss +0 -1
  126. package/dist/styles/iframe-page/PageBody.scss +12 -34
  127. package/dist/styles/iframe-page/PageHeader.scss +39 -41
  128. package/dist/styles/product-set/EditVenueMapSetModal.scss +1 -1
  129. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +2 -125
  130. package/dist/styles/sales/BookingResults.scss +1 -1
  131. package/dist/venue-map-sets/form/components/VenueMapImageControl.js +1 -1
  132. package/jest.config.js +29 -0
  133. package/package.json +35 -10
  134. package/src/assets/iframe/calendar.svg +2 -2
  135. package/src/assets/iframe/ticket.svg +2 -2
  136. package/src/calendar/Calendar.stories.tsx +0 -23
  137. package/src/calendar/Calendar.tsx +5 -5
  138. package/src/calendar/components/CalendarDates/CalendarDates.tsx +5 -0
  139. package/src/iframe/event/event-card/IframeEventCard.stories.tsx +0 -1
  140. package/src/iframe/event/event-card/IframeEventCard.tsx +8 -7
  141. package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +0 -9
  142. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +7 -58
  143. package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +0 -8
  144. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +4 -4
  145. package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +10 -63
  146. package/src/iframe/order-process/components/BookingSummary/types/index.ts +0 -4
  147. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +1 -1
  148. package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +1 -3
  149. package/src/iframe/page/components/PageBody/constants.ts +0 -2
  150. package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +0 -10
  151. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +6 -6
  152. package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +6 -546
  153. package/src/iframe/payment/payment-page/PaymentPage.tsx +29 -38
  154. package/src/iframe/ryft/RyftPaymentForm.tsx +5 -11
  155. package/src/product-set/card/ProductSetCard.tsx +1 -12
  156. package/src/product-set/control/ProductSetControl.tsx +24 -46
  157. package/src/product-set/control/TutorialGifCard.tsx +3 -11
  158. package/src/product-set/form/ProductCategoriesControl.tsx +1 -12
  159. package/src/product-set/form/ProductSetForm.tsx +1 -10
  160. package/src/product-set/form/ProductsControl.tsx +0 -10
  161. package/src/product-set/form/StepsControl.tsx +2 -8
  162. package/src/product-set/form/SubProductsControl.tsx +0 -3
  163. package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -6
  164. package/src/product-set/item/CreateProductSetItem.tsx +0 -3
  165. package/src/product-set/product/ProductControl.tsx +15 -48
  166. package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +2 -8
  167. package/src/product-set/product/quantity/ProductQuantityControl.tsx +3 -4
  168. package/src/product-set/product-category/ProductCategoryControl.tsx +8 -12
  169. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +18 -4
  170. package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +1 -4
  171. package/src/sales/booking/results/BookingResults.stories.tsx +2 -3
  172. package/src/sales/booking/results/components/ResultCard.tsx +5 -2
  173. package/src/snippet/snippet-template/control/PropertyControl.tsx +2 -6
  174. package/src/sortable-list/SortableList.tsx +0 -3
  175. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  176. package/src/static/manual-date-picker/ManualDatePicker.tsx +3 -3
  177. package/src/static/manual-date-picker/constants/index.ts +2 -6
  178. package/src/static/manual-date-picker/utils/index.ts +0 -11
  179. package/src/static/switch/BooleanSwitch.tsx +1 -1
  180. package/src/styles/iframe-events/Card.scss +8 -24
  181. package/src/styles/iframe-events/PoweredBy.scss +2 -2
  182. package/src/styles/iframe-order-process/IframeOrderProcess.scss +20 -57
  183. package/src/styles/iframe-page/Page.scss +0 -1
  184. package/src/styles/iframe-page/PageBody.scss +12 -34
  185. package/src/styles/iframe-page/PageHeader.scss +39 -41
  186. package/src/styles/product-set/EditVenueMapSetModal.scss +1 -1
  187. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +2 -125
  188. package/src/styles/sales/BookingResults.scss +1 -1
  189. package/tests/Auth/Authorizer.test.tsx +194 -0
  190. package/tests/Auth/Layout/UserNavDropDown.test.tsx +43 -0
  191. package/tests/Auth/Layout/UserNavDropDownToggle.test.tsx +33 -0
  192. package/tests/Auth/Login/LoginComponent.test.tsx +246 -0
  193. package/tests/Auth/Login/LoginFormComponent.test.tsx +182 -0
  194. package/tests/Auth/Register/RegisterComponent.test.tsx +285 -0
  195. package/tests/Auth/Register/RegisterFormComponent.test.tsx +170 -0
  196. package/tests/Auth/Settings/Dashboard/IpInput.test.tsx +130 -0
  197. package/tests/Auth/Social/SocialCallbackComponent.test.tsx +133 -0
  198. package/tests/Auth/Social/SocialFormComponent.test.tsx +118 -0
  199. package/tests/FileUpload/FileUpload.test.tsx +42 -0
  200. package/tests/Notification/EmailTemplate.test.tsx +82 -0
  201. package/tests/ProductSet/ProductSetPopover.test.tsx +40 -0
  202. package/tests/Report/Report.test.tsx +48 -0
  203. package/tests/Sales/Coupon.test.tsx +51 -0
  204. package/tests/Sales/SalesAndVIews.test.tsx +63 -0
  205. package/tests/SnippetTemplates/SnippetTemplates.test.tsx +56 -0
  206. package/tests/Table/FilterHelperComponent.test.tsx +88 -0
  207. package/tests/Table/PaginationHelperComponent.test.tsx +109 -0
  208. package/tests/Table/PerPageHelperComponent.test.tsx +34 -0
  209. package/tests/Table/TableHelperComponent.test.tsx +295 -0
  210. package/tests/TipTapEditor/TipTapEditor.test.tsx +28 -0
  211. package/tests/__mock__/hooks/useAuthApi.ts +13 -0
  212. package/tests/__mock__/hooks/useAuthMock.ts +13 -0
  213. package/tests/__mock__/hooks/useFormMock.ts +27 -0
  214. package/tests/__mock__/hooks/useNotificationMock.ts +13 -0
  215. package/tests/__mock__/hooks/useQueryMock.ts +16 -0
  216. package/tests/__mock__/hooks/useSocialApiMock.ts +20 -0
  217. package/tests/__mock__/hooks/useTranslationMock.ts +17 -0
  218. package/tests/__mock__/hooks/useUserApiMock.ts +18 -0
  219. package/tests/__mock__/hooks/useUserMock.ts +13 -0
  220. package/tests/__mock__/styleMock.js +1 -0
  221. package/tests/__mock__/windowMock.ts +5 -0
  222. package/tests/packages/react-query.tsx +28 -0
  223. package/tests/setupTests.ts +10 -0
  224. package/dist/iframe/ryft/utils/ryft-form.d.ts +0 -5
  225. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +0 -1
  226. package/dist/iframe/ryft/utils/ryft-form.js +0 -1
  227. package/dist/product-set/control/DateInput.d.ts +0 -17
  228. package/dist/product-set/control/DateInput.d.ts.map +0 -1
  229. package/dist/product-set/control/DateInput.js +0 -1
  230. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts +0 -11
  231. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +0 -1
  232. package/dist/product-set/control/ProductSetRecurrenceOverridesControl.js +0 -1
  233. package/dist/recurring-date-picker-input/DatePickerInput.d.ts +0 -19
  234. package/dist/recurring-date-picker-input/DatePickerInput.d.ts.map +0 -1
  235. package/dist/recurring-date-picker-input/DatePickerInput.js +0 -1
  236. package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.d.ts +0 -15
  237. package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.d.ts.map +0 -1
  238. package/dist/recurring-date-picker-input/RecurrenceAndFrequencyInput.js +0 -1
  239. package/src/iframe/ryft/utils/ryft-form.ts +0 -47
  240. package/src/product-set/control/DateInput.tsx +0 -313
  241. package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +0 -63
  242. package/src/recurring-date-picker-input/DatePickerInput.tsx +0 -93
  243. package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +0 -136
@@ -1,5 +1,4 @@
1
1
  @import "../snippet-templates/snippetVariables";
2
- @import "../themes//bookedit/variables";
3
2
 
4
3
  .iframe-event-card {
5
4
  position: relative;
@@ -19,27 +18,12 @@
19
18
  background-size: cover;
20
19
  background-position: center;
21
20
  cursor: pointer;
21
+ border: 1px solid transparent;
22
22
  border-radius: 0.5rem;
23
23
  }
24
24
 
25
25
  .card-body {
26
- padding: 0.5rem 0 0.875rem 0;
27
-
28
- @include media-breakpoint-down(sm) {
29
- padding: 1rem 0;
30
- }
31
- }
32
-
33
- &__info-icon {
34
- position: absolute;
35
- right: 1rem;
36
- top: 1rem;
37
- background-color: "#ffffff";
38
- border-radius: 1.5rem;
39
- padding: 0 0.5rem;
40
- font-size: 0.75rem;
41
- font-weight: $white;
42
- border: 1px solid $black;
26
+ padding: 0.5rem 0 0.875rem;
43
27
  }
44
28
 
45
29
  &__title {
@@ -49,7 +33,7 @@
49
33
  line-height: 1.25rem;
50
34
  cursor: pointer;
51
35
  margin-bottom: 0.5rem;
52
- font-size: 0.95rem;
36
+ font-size: 1.125rem;
53
37
  }
54
38
 
55
39
  &__label {
@@ -98,8 +82,7 @@
98
82
  color: $snippet-elements-button-color;
99
83
  border: none;
100
84
  background-color: $snippet-elements-button-background-color;
101
- box-shadow: 0 0 0 $input-btn-focus-width
102
- $snippet-elements-button-background-color;
85
+ box-shadow: 0 0 0 $input-btn-focus-width $snippet-elements-button-background-color;
103
86
  }
104
87
 
105
88
  &:disabled {
@@ -112,14 +95,14 @@
112
95
  &:focus,
113
96
  &.focus {
114
97
  &:not(:disabled) {
115
- opacity: 0.7;
98
+ opacity: .7;
116
99
  }
117
100
  }
118
101
 
119
102
  &:active,
120
103
  &.active {
121
104
  &:not(:disabled) {
122
- opacity: 0.8;
105
+ opacity: .8;
123
106
  }
124
107
  }
125
108
  }
@@ -140,7 +123,7 @@
140
123
  }
141
124
 
142
125
  .card-text {
143
- font-size: 0.82rem;
126
+ font-size: 0.875rem;
144
127
  }
145
128
 
146
129
  &.event-info {
@@ -219,6 +202,7 @@
219
202
 
220
203
  @media (max-width: 576px) {
221
204
  &.list-view {
205
+
222
206
  .card-image {
223
207
  margin-right: 0.5rem;
224
208
  }
@@ -3,7 +3,7 @@
3
3
  display: flex;
4
4
  align-items: center;
5
5
  justify-content: space-between;
6
- padding: 0 0.75rem 0 2rem;
6
+ padding: 0 0.75rem;
7
7
  height: 2rem;
8
8
  width: 100%;
9
9
  font-size: 0.75rem;
@@ -27,4 +27,4 @@
27
27
  color: $blue;
28
28
  }
29
29
  }
30
- }
30
+ }
@@ -46,8 +46,9 @@
46
46
  color: $snippet-page-header-steps-body-color;
47
47
  transition: $color-transition;
48
48
  margin-left: 0.5rem;
49
+ width: 6rem;
49
50
  word-break: break-word;
50
- font-size: 0.875rem;
51
+ font-size: 0.75rem;
51
52
 
52
53
  @include media-breakpoint-down(sm) {
53
54
  display: none;
@@ -57,35 +58,12 @@
57
58
 
58
59
  .payment-booking-summary {
59
60
  transition: $color-transition;
61
+ background-color: transparent;
62
+ border: 1px solid transparent;
60
63
  border-radius: $iframe-border-radius;
61
64
  font-weight: 400;
62
65
  font-size: 0.875rem;
63
66
 
64
- .payment-page-toggle {
65
- p {
66
- font-size: 1rem;
67
- font-weight: 600;
68
- }
69
- .price {
70
- font-weight: 700;
71
- }
72
- }
73
-
74
- .payment-metadata {
75
- font-weight: 500;
76
- }
77
-
78
- .total {
79
- display: flex;
80
- justify-content: space-between;
81
- align-items: center;
82
-
83
- div {
84
- font-size: 1rem;
85
- font-weight: 700;
86
- }
87
- }
88
-
89
67
  b {
90
68
  display: block;
91
69
  font-size: 1rem;
@@ -137,15 +115,6 @@
137
115
 
138
116
  .cart-items {
139
117
  font-weight: 400;
140
- margin-bottom: 1.4rem;
141
- border-bottom: 2px solid $separator-color;
142
-
143
- .people {
144
- margin-bottom: 0;
145
- p {
146
- margin-bottom: 0;
147
- }
148
- }
149
118
 
150
119
  .empty-cart {
151
120
  margin: 1rem 0;
@@ -158,11 +127,8 @@
158
127
  }
159
128
 
160
129
  .products-by-menu-step {
161
- margin-top: 1.4rem;
162
- font-size: 0.875rem;
163
130
  .title {
164
- font-size: 1rem;
165
- font-weight: 600;
131
+ font-weight: 500;
166
132
  }
167
133
 
168
134
  .categories {
@@ -172,8 +138,8 @@
172
138
  }
173
139
 
174
140
  .products {
175
- margin-top: 1.4rem;
176
- font-size: 0.875rem;
141
+ margin-top: 0.5rem;
142
+
177
143
  .product {
178
144
  margin: 0.5rem 0;
179
145
 
@@ -184,15 +150,6 @@
184
150
  margin-bottom: 0.5rem;
185
151
  }
186
152
  }
187
-
188
- .name {
189
- font-weight: 600;
190
- }
191
-
192
- .price {
193
- font-weight: 400;
194
- font-size: 0.875rem;
195
- }
196
153
  }
197
154
 
198
155
  &:not(:last-child) {
@@ -213,12 +170,6 @@
213
170
  margin: 0 0 0.5rem;
214
171
 
215
172
  .title {
216
- font-size: 1rem;
217
- font-weight: 600;
218
- }
219
-
220
- .metadata {
221
- font-size: 0.95rem;
222
173
  font-weight: 600;
223
174
  }
224
175
  }
@@ -232,7 +183,19 @@
232
183
  }
233
184
 
234
185
  hr {
235
- margin-bottom: 1.5rem;
186
+ margin: 0;
187
+ border-width: 2px;
188
+ border-color: $separator-color;
189
+ }
190
+
191
+ .products {
192
+ font-size: 0.75rem;
193
+
194
+ .product {
195
+ .name {
196
+ font-weight: 500;
197
+ }
198
+ }
236
199
  }
237
200
  }
238
201
 
@@ -21,7 +21,6 @@
21
21
 
22
22
  @include media-breakpoint-down(sm) {
23
23
  height: 100svh;
24
- min-width: auto;
25
24
  }
26
25
 
27
26
  .header-block {
@@ -1,4 +1,3 @@
1
- // TODO when all iframe pages will be ready, think how we can combine it all in page-body style
2
1
  .page-body {
3
2
  display: flex;
4
3
  background-color: transparent;
@@ -13,6 +12,9 @@
13
12
  .left-block {
14
13
  flex: 1;
15
14
  align-items: stretch;
15
+ border-radius: 0.5rem;
16
+ border-bottom-left-radius: 0;
17
+ border-bottom-right-radius: 0;
16
18
  padding: 1rem;
17
19
  background-color: $snippet-page-body-left-block-background-color;
18
20
  border: 0;
@@ -31,6 +33,7 @@
31
33
  display: flex;
32
34
  align-items: flex-start;
33
35
  justify-content: space-between;
36
+
34
37
  .title {
35
38
  color: $snippet-elements-body-color;
36
39
  margin: 0;
@@ -61,7 +64,7 @@
61
64
  overflow-x: hidden;
62
65
  scrollbar-width: thin;
63
66
  .iframe-event-card {
64
- border-bottom: 1px solid $separator-color;
67
+ border-bottom: 2px solid $separator-color;
65
68
  }
66
69
 
67
70
  @include media-breakpoint-down(sm) {
@@ -78,7 +81,9 @@
78
81
  }
79
82
 
80
83
  .right-block {
81
- height: 100%;
84
+ margin-left: 1rem;
85
+ border-radius: 0.5rem;
86
+ height: calc(100% - 1rem);
82
87
  max-width: 17.5rem;
83
88
  min-width: 17.5rem;
84
89
  width: 100%;
@@ -110,7 +115,7 @@
110
115
  }
111
116
 
112
117
  .collapse {
113
- max-height: calc(100vh - 15rem);
118
+ max-height: calc(100vh - 19rem);
114
119
  transition: none 0s ease 0s;
115
120
 
116
121
  &.show {
@@ -120,7 +125,7 @@
120
125
  }
121
126
 
122
127
  @include media-breakpoint-down(sm) {
123
- max-height: 100%;
128
+ max-height: 7.5rem;
124
129
  }
125
130
  }
126
131
  .collapse-with-people-input {
@@ -146,14 +151,8 @@
146
151
  }
147
152
 
148
153
  .iframe-event-card {
149
- border: none;
150
-
151
- .card-image {
152
- border-radius: 0;
153
- }
154
- .card-body {
155
- padding-left: 1rem;
156
- }
154
+ background-color: transparent;
155
+ border-color: transparent;
157
156
  }
158
157
 
159
158
  .price {
@@ -263,24 +262,3 @@
263
262
  }
264
263
  }
265
264
  }
266
-
267
- .event-list-page-body {
268
- overflow: auto;
269
- .left-block {
270
- .navigation {
271
- font-size: 1.125rem;
272
- font-weight: 500;
273
- padding-bottom: 2.625rem;
274
- display: flex;
275
- align-items: flex-start;
276
- justify-content: space-between;
277
- margin-top: 0.125rem;
278
-
279
- .title {
280
- position: absolute;
281
- color: $snippet-elements-body-color;
282
- margin: 0;
283
- }
284
- }
285
- }
286
- }
@@ -20,57 +20,55 @@ $base-height: 2.5rem;
20
20
  transition: $color-transition;
21
21
  border: 0;
22
22
  }
23
- }
24
- }
25
-
26
- .iframe-page {
27
- .button-wrapper {
28
- background-color: $snippet-page-header-steps-close-button-background-color;
29
- height: $base-height;
30
- width: $base-height;
31
- border-radius: $base-height;
32
- transition: $color-transition;
33
23
 
34
- .close-button {
35
- font-size: 1.25rem;
36
- width: $base-height;
24
+ .button-wrapper {
25
+ background-color: $snippet-page-header-steps-close-button-background-color;
37
26
  height: $base-height;
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- color: $snippet-page-header-steps-close-button-border-color;
27
+ width: $base-height;
28
+ border-radius: $base-height;
42
29
  transition: $color-transition;
43
30
 
44
- &:hover {
45
- cursor: pointer;
31
+ .close-button {
32
+ font-size: 1.25rem;
33
+ width: $base-height;
34
+ height: $base-height;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ color: $snippet-page-header-steps-close-button-border-color;
39
+ transition: $color-transition;
40
+
41
+ &:hover {
42
+ cursor: pointer;
43
+ }
46
44
  }
47
- }
48
45
 
49
- &.close-button {
50
- margin-left: 1rem;
51
- }
46
+ &.close-button {
47
+ margin-left: 1rem;
48
+ }
52
49
 
53
- .back-button {
54
- font-size: 2rem;
55
- width: $base-height;
56
- height: $base-height;
57
- display: flex;
58
- align-items: center;
59
- justify-content: center;
60
- font-weight: lighter;
61
- color: $snippet-page-header-steps-close-button-border-color;
62
- transition: $color-transition;
50
+ .back-button {
51
+ font-size: 2rem;
52
+ width: $base-height;
53
+ height: $base-height;
54
+ display: flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ font-weight: lighter;
58
+ color: $snippet-page-header-steps-close-button-border-color;
59
+ transition: $color-transition;
63
60
 
64
- &:hover {
65
- cursor: pointer;
61
+ &:hover {
62
+ cursor: pointer;
63
+ }
66
64
  }
67
- }
68
65
 
69
- &.back-button {
70
- display: flex;
71
- align-items: center;
72
- justify-content: center;
73
- margin-right: 1rem;
66
+ &.back-button {
67
+ display: flex;
68
+ align-items: center;
69
+ justify-content: center;
70
+ margin-right: 1rem;
71
+ }
74
72
  }
75
73
  }
76
74
  }
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  @include media-breakpoint-down(sm) {
94
- top: 100%;
94
+ top: 50%;
95
95
 
96
96
  .step-save-btn {
97
97
  width: 100%;
@@ -1,52 +1,10 @@
1
1
  .payment_link {
2
- padding: 0 0 1rem 0;
3
-
4
- .button-wrapper {
5
- top: 2rem;
6
- right: 2rem;
7
- position: absolute;
8
- z-index: 100;
9
- }
10
-
11
2
  .page-body {
12
- padding: 0;
13
- height: calc(100vh - 2rem) !important;
14
-
15
- .navigation {
16
- display: block;
17
- @include media-breakpoint-down(sm) {
18
- padding: 0;
19
- }
20
- }
21
-
22
- .right-block {
23
- margin-left: 0;
24
- height: calc(100vh - 2rem);
25
- max-height: calc(100vh - 1rem);
26
- @include media-breakpoint-down(sm) {
27
- width: calc(100% - 2rem);
28
- max-width: unset;
29
- position: inherit;
30
- overflow: visible;
31
- margin: 0 1rem 1rem;
32
- height: unset;
33
- min-height: unset;
34
- max-height: 100%;
35
- }
36
- }
37
-
38
3
  .left-block {
39
4
  .left-block-container {
40
5
  position: relative;
41
6
  max-height: 100%;
42
7
 
43
- .payment-title {
44
- font-size: 0.875rem;
45
- font-weight: 600;
46
- align-items: center;
47
- margin-left: 0.5rem;
48
- }
49
-
50
8
  .ryft-payment-form {
51
9
  .submit-button-wrapper {
52
10
  margin: -1rem 0 1rem;
@@ -55,55 +13,7 @@
55
13
  width: 100%;
56
14
  }
57
15
  }
58
- #mobile-pay-divider-container {
59
- display: flex;
60
- position: relative;
61
- margin-bottom: 1rem;
62
- #mobile-pay-divider-text {
63
- margin-right: 1rem;
64
- font-size: 0.875rem;
65
- font-weight: 600;
66
- }
67
- #mobile-pay-divider {
68
- width: 100%;
69
- border-bottom: 1px #dfdfdf solid;
70
- margin-bottom: 0.6rem;
71
- }
72
- }
73
16
 
74
- #card-title-container {
75
- height: auto;
76
- border: none;
77
- margin-bottom: 0.5rem;
78
- text-align: left;
79
- :first-child {
80
- font-size: 1rem;
81
- font-weight: 600;
82
- margin-bottom: 1rem;
83
- }
84
-
85
- .form-label {
86
- margin-bottom: 0.5rem;
87
- }
88
- }
89
- .mobile-pay-title {
90
- display: block;
91
- font-weight: 600;
92
- font-size: 1rem;
93
- color: black;
94
- padding: 0;
95
- font-style: normal;
96
- font-family: inherit;
97
- margin-bottom: 1rem;
98
- }
99
- }
100
- .form {
101
- .input {
102
- border: 2px solid #525252 !important;
103
- }
104
- }
105
-
106
- .ryft-payment-form {
107
17
  @include media-breakpoint-up(md) {
108
18
  .submit-button-wrapper {
109
19
  max-width: 15.5rem;
@@ -112,9 +22,10 @@
112
22
 
113
23
  // it's style for Google and Apple pay container, for unknown reasons we can't move this html elements with appendChild or replaceChild
114
24
  .ryft-pay-grid {
25
+ position: absolute !important;
26
+ top: 10rem;
115
27
  width: 100%;
116
28
  max-width: 15.5rem;
117
- margin-bottom: 1rem;
118
29
  }
119
30
  .ryft-pay-apple-pay-button {
120
31
  border-radius: 0.25rem;
@@ -125,36 +36,6 @@
125
36
  display: none !important;
126
37
  }
127
38
  }
128
- @include media-breakpoint-down(sm) {
129
- .left-block-container {
130
- max-height: 100%;
131
- overflow: visible;
132
- }
133
- }
134
- }
135
-
136
- @include media-breakpoint-down(sm) {
137
- flex-direction: column-reverse;
138
- overflow: scroll;
139
-
140
- @include media-breakpoint-down(sm) {
141
- .left-block {
142
- min-height: 100%;
143
- }
144
- .right-block {
145
- margin: 0 auto;
146
- width: 100%;
147
- .children-wrapper {
148
- .accordion {
149
- .collapse {
150
- overflow: visible;
151
- overflow-x: unset;
152
- scrollbar-width: unset;
153
- }
154
- }
155
- }
156
- }
157
- }
158
39
  }
159
40
  }
160
41
  ::-webkit-scrollbar {
@@ -181,7 +62,3 @@
181
62
  }
182
63
  }
183
64
  }
184
-
185
- #ryft-threeDSMethodIframe {
186
- display: none;
187
- }
@@ -5,7 +5,7 @@
5
5
  flex-wrap: wrap;
6
6
 
7
7
  .result-card {
8
- height: 14rem;
8
+ height: 14.25rem;
9
9
  border: 1px solid $gray-400;
10
10
  max-width: calc(50% - 0.75rem);
11
11
  flex: 0 0 calc(50% - 0.75rem);