mautourco-components 0.2.164 → 0.2.166

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 (43) hide show
  1. package/dist/components/atoms/CardServiceAccom/CardServiceAccom.css +8 -8
  2. package/dist/components/atoms/Radio/Radio.css +52 -0
  3. package/dist/components/atoms/Radio/Radio.d.ts +7 -0
  4. package/dist/components/atoms/Radio/Radio.js +8 -0
  5. package/dist/components/molecules/ActionDropdown/ActionDropdown.css +12 -21
  6. package/dist/components/molecules/BookingPax/BookingPaxClient/BookingPaxClient.css +2 -6
  7. package/dist/components/molecules/BookingResume/BookingResumeLayout/BookingResumeLayout.css +13 -7
  8. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.css +11 -15
  9. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.css +2 -4
  10. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.css +10 -14
  11. package/dist/components/molecules/DetailsInfo/DetailsClient/DetailsClient.css +5 -17
  12. package/dist/components/molecules/DialogContentPolicy/CancellationLayout/CancellationLayout.css +18 -39
  13. package/dist/components/molecules/FeatureRow/FeatureRow.css +14 -6
  14. package/dist/components/molecules/LanguageSelector/LanguageSelector.css +7 -8
  15. package/dist/components/molecules/PaxDisplay/PaxDisplay.css +8 -13
  16. package/dist/components/molecules/ServiceInfo/ServiceInfo.css +7 -5
  17. package/dist/components/molecules/ServiceTitle/ServiceTitle.css +4 -7
  18. package/dist/components/molecules/StepperTimeline/StepperTimeline.css +4 -7
  19. package/dist/components/molecules/TextWithBorderBottom/TextWithBorderBottom.css +4 -15
  20. package/dist/components/molecules/TimelineItem/TimelineHeader.css +7 -29
  21. package/dist/components/molecules/TimelineItem/TimelineItem.css +2 -6
  22. package/dist/components/organisms/Booking/BookingDocket/BookingDocket.css +28 -15
  23. package/dist/components/organisms/Booking/BookingStep/BookingStep.css +6 -5
  24. package/dist/components/organisms/CarBookingCard/CarBookingCard.css +9 -4
  25. package/dist/components/organisms/DialogBookNow/DialogBookNow.css +55 -0
  26. package/dist/components/organisms/DialogBookNow/DialogBookNow.d.ts +17 -0
  27. package/dist/components/organisms/DialogBookNow/DialogBookNow.js +22 -0
  28. package/dist/components/organisms/DialogCancelService/CancelBooking/CancelBooking.css +3 -2
  29. package/dist/components/organisms/DialogCancelService/ConfirmDelete/ConfirmDelete.css +4 -3
  30. package/dist/components/organisms/DialogComparison/DialogComparison.css +3 -2
  31. package/dist/components/organisms/DialogDeleteConfirm/DialogDeleteConfirmMultiple/DialogDeleteConfirmMultiple.css +10 -13
  32. package/dist/components/organisms/QuoteHeader/QuoteHeader.css +27 -62
  33. package/dist/components/organisms/TabCancellationPolicy/PolicyAccom/PolicyAccom.css +8 -6
  34. package/dist/components/organisms/TabCancellationPolicy/TabCancellationPolicyLayout/TabCancellationPolicyLayout.css +16 -21
  35. package/dist/components/organisms/TabServiceDetails/TabServiceDetailsLayout/TabServiceDetailsLayout.css +38 -20
  36. package/dist/components/organisms/Table/Table.css +75 -92
  37. package/dist/index.d.ts +3 -0
  38. package/dist/index.js +2 -0
  39. package/package.json +1 -1
  40. package/src/components/atoms/Radio/Radio.css +38 -0
  41. package/src/components/atoms/Radio/Radio.tsx +27 -0
  42. package/src/components/organisms/DialogBookNow/DialogBookNow.css +29 -0
  43. package/src/components/organisms/DialogBookNow/DialogBookNow.tsx +83 -0
@@ -10,25 +10,15 @@
10
10
 
11
11
  .timeline-header {
12
12
  min-width: 307px;
13
+ }
13
14
 
14
- &.timeline-header--request {
15
- .timeline-header__icon-container::after {
15
+ .timeline-header.timeline-header--request .timeline-header__icon-container::after {
16
16
  content: '';
17
- }
18
- .timeline-header__icon-container::after {
19
17
  position: absolute;
20
- }
21
- .timeline-header__icon-container::after {
22
18
  top: 50%;
23
- }
24
- .timeline-header__icon-container::after {
25
19
  left: 2.5rem;
26
- }
27
- .timeline-header__icon-container::after {
28
20
  --tw-translate-y: -50%;
29
21
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
30
- }
31
- .timeline-header__icon-container::after {
32
22
  height: 1px;
33
23
  background-color: transparent;
34
24
  background-image: repeating-linear-gradient(
@@ -39,42 +29,30 @@
39
29
  transparent 16px
40
30
  );
41
31
  }
42
- .timeline-header__icon {
32
+
33
+ .timeline-header.timeline-header--request .timeline-header__icon {
43
34
  border-color: var(--color-yellow-600);
44
35
  color: var(--color-yellow-600);
45
36
  background-color: var(--color-yellow-50);
46
37
  }
47
- }
48
- }
49
38
 
50
39
  .timeline-header__icon-container {
51
40
  position: relative;
52
41
  display: flex;
53
42
  align-items: center;
54
- &::after {
43
+ }
44
+
45
+ .timeline-header__icon-container::after {
55
46
  content: '';
56
- }
57
- &::after {
58
47
  position: absolute;
59
- }
60
- &::after {
61
48
  top: 50%;
62
- }
63
- &::after {
64
49
  left: 2.5rem;
65
- }
66
- &::after {
67
50
  right: 0px;
68
- }
69
- &::after {
70
51
  --tw-translate-y: -50%;
71
52
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
72
- }
73
- &::after {
74
53
  height: 1px;
75
54
  background-color: var(--color-border-accent-secondary);
76
55
  }
77
- }
78
56
 
79
57
  .timeline-header__icon {
80
58
  display: flex;
@@ -2,10 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
 
5
- .timeline-item {
6
- &:last-child {
7
- .timeline-header__icon-container::after {
5
+ .timeline-item:last-child .timeline-header__icon-container::after {
8
6
  display: none;
9
- }
10
- }
11
- }
7
+ }
@@ -8,22 +8,29 @@
8
8
  box-sizing: border-box;
9
9
  filter: drop-shadow(0px 4px 8px #3036421a) drop-shadow(0px 1px 8px #3036421c);
10
10
  overflow: hidden;
11
+ }
12
+
13
+ @media (min-width: 1280px) {
11
14
 
12
- @media (min-width: 1280px) {
15
+ .booking-docket {
13
16
  max-height: 790px;
14
- overflow: visible;
17
+ overflow: visible
18
+ }
15
19
  }
16
20
 
17
- .booking-resume {
21
+ .booking-docket .booking-resume {
18
22
  max-height: 350px;
19
23
  overflow-y: auto;
20
24
  margin-right: -20px;
21
25
  padding-right: 8px;
22
- @media (width >= 1280px) {
23
- max-height: 400px;
24
- }
25
26
  }
26
- }
27
+
28
+ @media (width >= 1280px) {
29
+
30
+ .booking-docket .booking-resume {
31
+ max-height: 400px
32
+ }
33
+ }
27
34
 
28
35
  .booking-docket--mobile {
29
36
  max-height: 0;
@@ -37,20 +44,25 @@
37
44
 
38
45
  .booking-docket__container {
39
46
  max-width: 430px;
40
- @media (min-width: 1280px) {
41
- max-width: 665px;
42
- }
43
47
  }
44
48
 
49
+ @media (min-width: 1280px) {
50
+
51
+ .booking-docket__container {
52
+ max-width: 665px
53
+ }
54
+ }
55
+
45
56
  .booking-docket__bg {
46
57
  position: relative;
47
58
  top: -1px;
48
59
  width: 100%;
49
- svg {
60
+ }
61
+
62
+ .booking-docket__bg svg {
50
63
  width: 100%;
51
64
  height: auto;
52
65
  }
53
- }
54
66
 
55
67
  .booking-docket__content {
56
68
  position: relative;
@@ -81,10 +93,11 @@
81
93
  height: 76px;
82
94
  border-radius: var(--border-radius-rounded-xl);
83
95
  transition: background-color 0.2s ease-in-out;
84
- &:hover {
96
+ }
97
+
98
+ .booking-docket__mobile-button:hover {
85
99
  background-color: var(
86
100
  --component-button-color-outline-secondary-background-hover,
87
101
  var(--button-color-outline-secondary-background-hover, #f0fdfb)
88
102
  );
89
- }
90
- }
103
+ }
@@ -15,14 +15,15 @@
15
15
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
16
16
  }
17
17
 
18
+ @media (min-width: 1280px) {
19
+
18
20
  .booking-step {
19
- @media (min-width: 1280px) {
20
21
  max-width: none;
21
22
  flex-direction: row;
22
23
  align-items: center;
23
- column-gap: var(--spacing-gap-gap-6);
24
- > button {
24
+ column-gap: var(--spacing-gap-gap-6)
25
+ }
26
+ .booking-step > button {
25
27
  margin-top: 0;
26
28
  }
27
- }
28
- }
29
+ }
@@ -202,12 +202,17 @@
202
202
  /* Figma uses a slightly larger inter-row gap (14px) */
203
203
  gap: var(--spacing-gap-gap-4, 16px);
204
204
  padding-left: var(--spacing-padding-px-2-5, 10px);
205
- /* Figma: pl 10px for the features block */
206
- @media (width >= 1536px) {
207
- gap: var(--spacing-gap-gap-3-5, 14px);
208
- }
209
205
  }
210
206
 
207
+ /* Figma: pl 10px for the features block */
208
+
209
+ @media (width >= 1536px) {
210
+
211
+ .car-booking-card__features {
212
+ gap: var(--spacing-gap-gap-3-5, 14px)
213
+ }
214
+ }
215
+
211
216
  .car-booking-card__info {
212
217
  display: flex;
213
218
  align-items: center;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ .book-now-form > :not([hidden]) ~ :not([hidden]) {
6
+ --tw-space-y-reverse: 0;
7
+ margin-top: calc(2.25rem * calc(1 - var(--tw-space-y-reverse)));
8
+ margin-bottom: calc(2.25rem * var(--tw-space-y-reverse));
9
+ }
10
+
11
+ @media (width >= 768px) {
12
+
13
+ .book-now-quote-price {
14
+ text-align: right;
15
+ }
16
+ }
17
+
18
+ .book-now-quotes > :not([hidden]) ~ :not([hidden]) {
19
+ --tw-space-y-reverse: 0;
20
+ margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
21
+ margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
22
+ }
23
+
24
+ .book-now-quotes__list > :not([hidden]) ~ :not([hidden]) {
25
+ --tw-space-y-reverse: 0;
26
+ margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
27
+ margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
28
+ }
29
+
30
+ .book-now-quotes li {
31
+ display: flex;
32
+ flex-direction: column;
33
+ }
34
+
35
+ @media (width >= 768px) {
36
+
37
+ .book-now-quotes li {
38
+ flex-direction: row;
39
+ align-items: center;
40
+ justify-content: space-between;
41
+ }
42
+ }
43
+
44
+ .book-now-footer {
45
+ display: grid;
46
+ grid-template-columns: repeat(1, minmax(0, 1fr));
47
+ gap: 1rem;
48
+ }
49
+
50
+ @media (width >= 768px) {
51
+
52
+ .book-now-footer {
53
+ grid-template-columns: 1fr 1fr
54
+ }
55
+ }
@@ -0,0 +1,17 @@
1
+ import './DialogBookNow.css';
2
+ export interface BookNowQuotePrice {
3
+ currency: string;
4
+ amount: number;
5
+ }
6
+ export interface BookNowQuote {
7
+ id: string | number;
8
+ name: string;
9
+ prices: BookNowQuotePrice[];
10
+ }
11
+ export interface DialogBookNowProps {
12
+ open: boolean;
13
+ setOpen: (open: boolean) => void;
14
+ proposals: BookNowQuote[];
15
+ onSubmit?: (quoteId: string | number | null) => void;
16
+ }
17
+ export default function DialogBookNow(props: DialogBookNowProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { priceFormatter } from '../../../lib/price-formatter';
3
+ import { useState } from 'react';
4
+ import Button from '../../atoms/Button/Button';
5
+ import Radio from '../../atoms/Radio/Radio';
6
+ import { Text } from '../../atoms/Typography/Typography';
7
+ import { DialogBookingConfirm } from '../DialogBookingConfirm';
8
+ import './DialogBookNow.css';
9
+ export default function DialogBookNow(props) {
10
+ var open = props.open, setOpen = props.setOpen, proposals = props.proposals, onSubmit = props.onSubmit;
11
+ var _a = useState(null), selectedQuoteId = _a[0], setSelectedQuoteId = _a[1];
12
+ return (_jsx(DialogBookingConfirm, { open: open, setOpen: setOpen, title: "Book quotation", className: "!max-w-[800px]", children: _jsxs("div", { className: "book-now-form", children: [_jsxs("div", { className: "book-now-quotes", children: [_jsx(Text, { children: "To avoid conflicts, you can only book one quotation at a time. Please select a quotation:" }), _jsx("ul", { className: "book-now-quotes__list", children: proposals.map(function (proposal, index) { return (_jsxs("li", { children: [_jsx(Radio, { checked: selectedQuoteId === proposal.id, onChange: function () {
13
+ if (selectedQuoteId === proposal.id) {
14
+ console.log('unselecting');
15
+ setSelectedQuoteId(null);
16
+ return;
17
+ }
18
+ setSelectedQuoteId(proposal.id);
19
+ }, label: proposal.name }), _jsx(Text, { className: "book-now-quote-price", size: "sm", children: proposal.prices
20
+ .map(function (price) { return priceFormatter(price.amount, price.currency); })
21
+ .join(' ') })] }, "dbc-".concat(index))); }) })] }), _jsxs("div", { className: "book-now-footer", children: [_jsx(Button, { variant: "outline-secondary", size: "sm", children: "Cancel" }), _jsx(Button, { variant: "secondary", size: "sm", disabled: !selectedQuoteId, onClick: function () { return onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(selectedQuoteId); }, children: "Book quotation" })] })] }) }));
22
+ }
@@ -12,11 +12,12 @@
12
12
  display: flex;
13
13
  align-items: flex-start;
14
14
  gap: 1rem;
15
- .card-service-accom {
15
+ }
16
+
17
+ .cancel-booking__header .card-service-accom {
16
18
  flex: 0 0 290px;
17
19
  min-height: 0;
18
20
  }
19
- }
20
21
 
21
22
  .cancel-booking__header-info {
22
23
  flex-grow: 1;
@@ -24,7 +24,9 @@
24
24
  padding: 1rem;
25
25
  border: 1px solid transparent;
26
26
  position: relative;
27
- &::after {
27
+ }
28
+
29
+ .confirm-delete__service::after {
28
30
  content: '';
29
31
  position: absolute;
30
32
  inset: -1px;
@@ -66,5 +68,4 @@
66
68
  1px 100%;
67
69
  background-position: top, bottom, left, right;
68
70
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
69
- }
70
- }
71
+ }
@@ -32,10 +32,11 @@
32
32
  justify-content: flex-end;
33
33
  padding-top: 2.25rem;
34
34
  padding-bottom: 0.5rem;
35
- .button {
35
+ }
36
+
37
+ .dialog-comparison__footer .button {
36
38
  width: 250px;
37
39
  }
38
- }
39
40
 
40
41
  .dialog-comparison__filter {
41
42
  margin-bottom: 1.5rem;
@@ -8,22 +8,19 @@
8
8
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
9
9
  }
10
10
 
11
- .confirm-multiple {
12
- .checkbox-container {
13
- display: flex;
14
- }
15
- .checkbox-label {
16
- justify-content: space-between;
17
- }
11
+ .confirm-multiple .checkbox-container {
12
+ display: flex;
13
+ }
18
14
 
19
- ul label > span {
15
+ .confirm-multiple .checkbox-label {
16
+ justify-content: space-between;
17
+ }
18
+
19
+ .confirm-multiple ul label > span {
20
20
  font-weight: var(--font-weight-font-medium);
21
21
  }
22
- }
23
22
 
24
- .confirm-multiple__all {
25
- label > span {
23
+ .confirm-multiple__all label > span {
26
24
  font-size: var(--font-size-text-base);
27
25
  font-weight: var(--font-weight-font-bold);
28
- }
29
- }
26
+ }
@@ -4,87 +4,52 @@
4
4
 
5
5
  .quote-header {
6
6
  width: 100%;
7
- .quote-header__button {
8
- width: 206px;
9
- }
10
-
11
- .quote-header__title {
12
- position: relative;
13
- }
7
+ }
14
8
 
15
- .quote-header__title {
16
- margin-bottom: 2.5rem;
9
+ .quote-header .quote-header__button {
10
+ width: 206px;
17
11
  }
18
12
 
19
- .quote-header__title {
20
- padding-left: 0.5rem;
21
- padding-right: 0.5rem;
22
- }
13
+ .quote-header .quote-header__title {
14
+ position: relative;
15
+ margin-bottom: 2.5rem;
16
+ padding-left: 0.5rem;
17
+ padding-right: 0.5rem;
18
+ }
23
19
 
24
- .quote-header__title {
25
- &::before {
20
+ .quote-header .quote-header__title::before {
26
21
  content: '';
27
- }
28
- &::before {
29
22
  position: absolute;
30
- }
31
- &::before {
32
23
  left: 0;
33
24
  top: 50%;
34
25
  transform: translateY(-50%);
35
- }
36
- &::before {
37
26
  height: 2rem;
38
- }
39
- &::before {
40
27
  width: 0.25rem;
41
- }
42
- &::before {
43
28
  background-color: var(--color-elevation-brand-subtle);
44
29
  }
45
- }
46
30
 
47
- .quote-header__search-container {
48
- margin-top: 3rem;
49
- }
31
+ .quote-header .quote-header__search-container {
32
+ margin-top: 3rem;
33
+ display: flex;
34
+ justify-content: space-between;
35
+ }
50
36
 
51
- .quote-header__search-container {
52
- display: flex;
53
- }
54
-
55
- .quote-header__search-container {
56
- justify-content: space-between;
57
- }
58
-
59
- .quote-header__search-container {
60
- > button {
61
- column-gap: 0.625rem;
62
- }
63
- > button {
37
+ .quote-header .quote-header__search-container > button {
38
+ column-gap: 0.625rem;
64
39
  min-width: 129px;
65
- }
66
- }
40
+ }
67
41
 
68
- .quote-header__search {
42
+ .quote-header .quote-header__search {
69
43
  width: 364px;
70
44
  }
71
45
 
72
- .quote-header__filters {
73
- margin-top: 2rem;
74
- margin-bottom: 2rem;
75
- }
46
+ .quote-header .quote-header__filters {
47
+ margin-top: 2rem;
48
+ margin-bottom: 2rem;
49
+ display: flex;
50
+ gap: 0.75rem;
51
+ }
76
52
 
77
- .quote-header__filters {
78
- display: flex;
79
- }
80
-
81
- .quote-header__filters {
82
- gap: 0.75rem;
83
- }
84
-
85
- .quote-header__filters {
86
- .mtc-dropdown-container {
53
+ .quote-header .quote-header__filters .mtc-dropdown-container {
87
54
  width: 139px;
88
- }
89
- }
90
- }
55
+ }
@@ -10,12 +10,14 @@
10
10
 
11
11
  .policy-accom {
12
12
  padding-top: 1.5rem;
13
- .chip__label {
14
- column-gap: 1rem;
15
- }
16
- + .details-cancellation-policy__layout-content-header {
17
- margin-top: 1.5rem;
18
- }
13
+ }
14
+
15
+ .policy-accom .chip__label {
16
+ column-gap: 1rem;
17
+ }
18
+
19
+ .policy-accom + .details-cancellation-policy__layout-content-header {
20
+ margin-top: 1.5rem;
19
21
  }
20
22
 
21
23
  .policy-accom__period {
@@ -10,25 +10,29 @@
10
10
  .details-cancellation-policy__layout-flex {
11
11
  display: flex;
12
12
  column-gap: 2rem;
13
- figure {
14
- overflow: hidden;
15
- }
16
- figure {
13
+ }
14
+
15
+ .details-cancellation-policy__layout-flex figure {
16
+ overflow: hidden;
17
17
  flex: 0 0 300px;
18
18
  height: 300px;
19
19
  border-radius: var(--border-radius-rounded-2xl);
20
20
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.19);
21
- @media (min-width: 1280px) {
21
+ }
22
+
23
+ @media (min-width: 1280px) {
24
+
25
+ .details-cancellation-policy__layout-flex figure {
22
26
  flex: 0 0 400px;
23
- height: 400px;
24
- }
27
+ height: 400px
25
28
  }
26
- img {
29
+ }
30
+
31
+ .details-cancellation-policy__layout-flex img {
27
32
  width: 100%;
28
33
  height: 100%;
29
34
  object-fit: cover;
30
35
  }
31
- }
32
36
 
33
37
  .details-cancellation-policy__layout-content {
34
38
  flex: 1 1 0%;
@@ -37,22 +41,14 @@
37
41
  .details-cancellation-policy__layout-content-header {
38
42
  position: relative;
39
43
  padding-bottom: 1.5rem;
40
- &::after {
44
+ }
45
+
46
+ .details-cancellation-policy__layout-content-header::after {
41
47
  content: '';
42
- }
43
- &::after {
44
48
  position: absolute;
45
- }
46
- &::after {
47
49
  bottom: 0px;
48
- }
49
- &::after {
50
50
  left: 0px;
51
- }
52
- &::after {
53
51
  right: 0px;
54
- }
55
- &::after {
56
52
  height: 1px;
57
53
  background-color: transparent;
58
54
  background-image: repeating-linear-gradient(
@@ -63,7 +59,6 @@
63
59
  transparent 16px
64
60
  );
65
61
  }
66
- }
67
62
 
68
63
  .details-cancellation-policy__layout-content-body {
69
64
  padding-top: 1.5rem;
@@ -20,48 +20,66 @@
20
20
 
21
21
  .details-service__layout-flex-images {
22
22
  max-width: 300px;
23
- @media (min-width: 1280px) {
24
- max-width: 400px;
25
- }
26
- figure {
27
- overflow: hidden;
23
+ }
24
+
25
+ @media (min-width: 1280px) {
26
+
27
+ .details-service__layout-flex-images {
28
+ max-width: 400px
29
+ }
28
30
  }
29
- figure {
31
+
32
+ .details-service__layout-flex-images figure {
33
+ overflow: hidden;
30
34
  flex: 0 0 300px;
31
35
  height: 181px;
32
36
  border-radius: var(--border-radius-rounded-2xl);
33
37
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.19);
34
- @media (min-width: 1280px) {
38
+ }
39
+
40
+ @media (min-width: 1280px) {
41
+
42
+ .details-service__layout-flex-images figure {
35
43
  flex: 0 0 400px;
36
- height: 241px;
44
+ height: 241px
45
+ }
37
46
  }
38
- &.single-image {
47
+
48
+ .details-service__layout-flex-images figure.single-image {
39
49
  height: 300px;
40
- @media (min-width: 1280px) {
41
- height: 400px;
42
- }
43
50
  }
44
- }
45
- img {
51
+
52
+ @media (min-width: 1280px) {
53
+
54
+ .details-service__layout-flex-images figure.single-image {
55
+ height: 400px
56
+ }
57
+ }
58
+
59
+ .details-service__layout-flex-images img {
46
60
  object-fit: cover;
47
61
  width: 100%;
48
62
  height: 100%;
49
63
  }
50
- }
51
64
 
52
65
  .details-service__layout-flex-images-grid {
53
66
  display: grid;
54
67
  grid-template-columns: repeat(2, minmax(0, 1fr));
55
68
  column-gap: 1rem;
56
- figure {
69
+ }
70
+
71
+ .details-service__layout-flex-images-grid figure {
57
72
  height: 107px;
58
73
  max-width: 100%;
59
- @media (min-width: 1280px) {
74
+ }
75
+
76
+ @media (min-width: 1280px) {
77
+
78
+ .details-service__layout-flex-images-grid figure {
60
79
  max-width: 192px;
61
- height: 143px;
62
- }
80
+ height: 143px
63
81
  }
64
- }
82
+ }
65
83
 
66
84
  .details-service__layout-content {
67
85
  flex: 1 1 0%;