@sc-360-v2/storefront-cms-library 0.5.71 → 0.5.73

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 (128) hide show
  1. package/dist/add-existing-form.scss +13 -5
  2. package/dist/add-order.scss +126 -236
  3. package/dist/add-products-tab-details.scss +1048 -2097
  4. package/dist/add-products-tab.scss +666 -1204
  5. package/dist/allocation-header-quota-details.scss +189 -407
  6. package/dist/allocationDetails.scss +1661 -2143
  7. package/dist/allocations-quota-details.scss +159 -323
  8. package/dist/allocations.scss +475 -793
  9. package/dist/amount-estimator.scss +405 -743
  10. package/dist/badge.scss +43 -18
  11. package/dist/brand-basic-elements.scss +76 -124
  12. package/dist/brand.scss +28 -55
  13. package/dist/breadcrumbs.scss +356 -718
  14. package/dist/builder.js +1 -1
  15. package/dist/bulk-variant-picker.scss +1128 -2027
  16. package/dist/bundle.scss +841 -1477
  17. package/dist/bundleCategories.scss +301 -301
  18. package/dist/bundleDetails.scss +3774 -5072
  19. package/dist/button.scss +79 -103
  20. package/dist/buy-for-tab-container.scss +77 -106
  21. package/dist/buyForHeaders.scss +1722 -2976
  22. package/dist/cart-details.scss +481 -1012
  23. package/dist/cart-summary.scss +2234 -2826
  24. package/dist/cart-wrapper.scss +37 -79
  25. package/dist/cart.scss +117 -225
  26. package/dist/cartAttributes.scss +1103 -1422
  27. package/dist/category-groups-element.scss +127 -108
  28. package/dist/category-groups-product-grid.scss +120 -147
  29. package/dist/category-groups-product-image.scss +1162 -1457
  30. package/dist/category-groups-product-options.scss +613 -680
  31. package/dist/category-groups-product-price.scss +1966 -3244
  32. package/dist/category-groups-quota-details.scss +210 -464
  33. package/dist/category.scss +26 -50
  34. package/dist/checkout.scss +24 -16
  35. package/dist/confirm-modal.scss +22 -2
  36. package/dist/container.scss +32 -54
  37. package/dist/countdown.scss +711 -899
  38. package/dist/coupon.scss +1160 -1519
  39. package/dist/default-dropdown.scss +12 -1
  40. package/dist/embroider-template-1-v2.scss +123 -172
  41. package/dist/embroider-template-1.scss +68 -104
  42. package/dist/embroidery.scss +30 -31
  43. package/dist/employee-bulk-order.scss +418 -142
  44. package/dist/faq.scss +228 -408
  45. package/dist/filter-results.scss +125 -265
  46. package/dist/filters.scss +2143 -3040
  47. package/dist/gallery-slider-temp.scss +1458 -1776
  48. package/dist/global-styles.scss +218 -198
  49. package/dist/grid.scss +25 -33
  50. package/dist/hotspot.scss +68 -115
  51. package/dist/image-temp.scss +21 -20
  52. package/dist/item-stock.scss +9 -16
  53. package/dist/kitDetails.scss +2719 -4299
  54. package/dist/kits.scss +24 -19
  55. package/dist/language-selector.scss +211 -361
  56. package/dist/last-x-orders.scss +95 -174
  57. package/dist/layouter-item.scss +75 -103
  58. package/dist/layouter-pro-item.scss +89 -95
  59. package/dist/layouter-pro.scss +87 -92
  60. package/dist/layouter.scss +383 -445
  61. package/dist/light-box-v2.scss +89 -104
  62. package/dist/login.scss +287 -566
  63. package/dist/map.scss +1212 -1359
  64. package/dist/marchandiserSets.scss +95 -104
  65. package/dist/mega-menu-container.scss +96 -109
  66. package/dist/mega-menu.scss +624 -731
  67. package/dist/menu-item.scss +2 -2
  68. package/dist/menu-v2.scss +507 -619
  69. package/dist/multi-select-dropdown.scss +27 -3
  70. package/dist/my-templates.scss +38 -9
  71. package/dist/option-bar.scss +215 -375
  72. package/dist/order-status.scss +1790 -2187
  73. package/dist/overflow-module.scss +6 -7
  74. package/dist/past-orders.scss +118 -149
  75. package/dist/payment-methods.scss +46 -30
  76. package/dist/pickup-locations.scss +558 -1118
  77. package/dist/position-module.scss +20 -17
  78. package/dist/prefix-list.scss +21 -10
  79. package/dist/product-actions.scss +1750 -2055
  80. package/dist/product-basic-elements.scss +108 -169
  81. package/dist/product-highlights.scss +303 -348
  82. package/dist/product-image-allocation.scss +1477 -1477
  83. package/dist/product-image-bundles.scss +337 -642
  84. package/dist/product-inventory.scss +673 -1357
  85. package/dist/product-labels.scss +84 -105
  86. package/dist/product-options.scss +1287 -1444
  87. package/dist/product-price.scss +1283 -2561
  88. package/dist/product-promotions.scss +1388 -2830
  89. package/dist/product-sizechart.scss +516 -905
  90. package/dist/product.scss +28 -61
  91. package/dist/productDetails.scss +19 -39
  92. package/dist/profile.scss +207 -447
  93. package/dist/quantity-selector.scss +837 -1074
  94. package/dist/quick-inventory-check.scss +95 -174
  95. package/dist/quick-links.scss +55 -133
  96. package/dist/quick-order-pad.scss +218 -271
  97. package/dist/quota-details.scss +152 -282
  98. package/dist/quotes.scss +814 -847
  99. package/dist/repeater-embla-controls.scss +35 -15
  100. package/dist/repeater-grid-toggle.scss +156 -166
  101. package/dist/repeater-item.scss +41 -64
  102. package/dist/repeater.scss +671 -814
  103. package/dist/request-for-quotes.scss +66 -16
  104. package/dist/responsive-behaviour.scss +3 -1
  105. package/dist/rfqs.scss +118 -181
  106. package/dist/scroll.scss +93 -172
  107. package/dist/search-results-heading.scss +309 -309
  108. package/dist/search.scss +179 -326
  109. package/dist/section.scss +27 -51
  110. package/dist/shipping-payments.scss +198 -58
  111. package/dist/simple-list.scss +74 -164
  112. package/dist/social.scss +80 -145
  113. package/dist/sort.scss +168 -176
  114. package/dist/stack.scss +23 -34
  115. package/dist/static-global.scss +44 -26
  116. package/dist/stockStatus.scss +11 -19
  117. package/dist/store-locations.scss +577 -1105
  118. package/dist/tab-container.scss +81 -108
  119. package/dist/table-common.scss +217 -408
  120. package/dist/table.scss +271 -502
  121. package/dist/text-temp.scss +8 -7
  122. package/dist/theme-classes.scss +17 -13
  123. package/dist/uom-selector.scss +489 -949
  124. package/dist/user-elements.scss +2588 -2896
  125. package/dist/variant-picker.scss +1281 -2555
  126. package/dist/volume-pricing.scss +541 -1037
  127. package/dist/widget.scss +153 -153
  128. package/package.json +1 -1
package/dist/quotes.scss CHANGED
@@ -1,847 +1,814 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
- @use "./functions.scss" as *;
4
-
5
- $resizerId: "[data-cms-tool='cms-element-resizer']";
6
- $resizeActive: '[data-cms-element-resizer="true"]';
7
-
8
- // Design > Icon Actions: the CSS-variable scope of each quick action's sub-section,
9
- // keyed by the class its span carries. `splitCamelCaseAndJoin` turns the schema's
10
- // selector keys into these codes, e.g. `sendMessageIcon` -> `sd-me-in`.
11
- $quote-action-icons: (
12
- "quotes_send": "sd-me-in",
13
- "quotes_download": "dd-in",
14
- "quotes_print": "pt-in",
15
- "quotes_view": "vw-in",
16
- "quotes_cancel": "cl-in",
17
- );
18
- [data-div-type="element"] {
19
- &[data-element-type="quotes"] {
20
- width: var(
21
- --_sf-el-wh-st-mx,
22
- calc(
23
- 1% *
24
- var(
25
- --_ctm-mob-ele-nw-wh-vl,
26
- var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
27
- )
28
- )
29
- );
30
- margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
31
-
32
- & > div {
33
- &.wrapper {
34
- width: prepareMediaVariable(--_ctm-lt-wh);
35
- padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
36
- &[data-divider-type="true"] .metric_item {
37
- border: 0px !important;
38
- border-top: 2px solid var(--_primary-100) !important;
39
- .quotes_wrapper {
40
- border: 0px !important;
41
- }
42
- }
43
- }
44
- }
45
- .embla__container {
46
- grid-template-columns: max-content !important;
47
- grid-auto-columns: max-content !important;
48
-
49
- .embla__slide {
50
- width: max-content !important;
51
- }
52
- }
53
-
54
- .quotes_wrapper {
55
- display: flex;
56
- flex-direction: column;
57
- align-items: flex-start;
58
- align-self: stretch;
59
- //border-radius: 4px;
60
- //border: 1px solid var(--_primary-100);
61
- //background: #fff;
62
- width: 349px;
63
- font-family: prepareMediaVariable(--_ctm-dn-wt-se-ft-fy);
64
- text-transform: prepareMediaVariable(--_ctm-dn-wt-se-tt-tm);
65
- word-wrap: prepareMediaVariable(--_ctm-dn-wt-se-wd-wp);
66
- word-break: prepareMediaVariable(--_ctm-dn-wt-se-wd-bk);
67
- &.flex__overflow {
68
- white-space: normal;
69
- @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
70
- }
71
- font-size: prepareMediaVariable(--_ctm-dn-wt-se-ft-se);
72
- color: prepareMediaVariable(--_ctm-dn-wt-se-cr);
73
- font-weight: prepareMediaVariable(--_ctm-dn-wt-se-ft-wt);
74
- font-style: prepareMediaVariable(--_ctm-dn-wt-se-ft-se-ic);
75
- text-decoration: prepareMediaVariable(--_ctm-dn-wt-se-ue);
76
- text-align: prepareMediaVariable(--_ctm-dn-wt-se-tt-an);
77
- letter-spacing: prepareMediaVariable(--_ctm-dn-wt-se-lr-sg);
78
- line-height: prepareMediaVariable(--_ctm-dn-wt-se-le-ht);
79
- background-color: prepareMediaVariable(--_ctm-dn-wt-se-bd-cr);
80
- border-width: prepareMediaVariable(--_ctm-dn-wt-se-br-wh);
81
- border-color: prepareMediaVariable(--_ctm-dn-wt-se-br-cr);
82
- border-style: prepareMediaVariable(--_ctm-dn-wt-se-br-se);
83
- border-radius: prepareMediaVariable(--_ctm-dn-wt-se-br-rs);
84
- box-shadow: prepareMediaVariable(--_ctm-dn-wt-se-sw-ae)
85
- prepareMediaVariable(--_ctm-dn-wt-se-sw-br) prepareMediaVariable(--_ctm-dn-wt-se-sw-sd)
86
- prepareMediaVariable(--_ctm-dn-wt-se-sw-cr);
87
- .quotes_card {
88
- display: flex;
89
- flex-direction: column;
90
- align-items: flex-start;
91
- align-self: stretch;
92
- width: 349px;
93
-
94
- .heading_wrapper {
95
- display: flex;
96
- padding: 16px;
97
- align-items: center;
98
- gap: 8px;
99
- align-self: stretch;
100
- //border-bottom: 1px solid var(--_gray-200);
101
-
102
- .heading {
103
- // color: var(--_gray-900);
104
- // font-size: 20px;
105
- // font-weight: 600;
106
- // line-height: 30px;
107
- font-family: prepareMediaVariable(--_ctm-dn-wt-se-ft-fy);
108
- text-transform: prepareMediaVariable(--_ctm-dn-wt-se-tt-tm);
109
- word-wrap: prepareMediaVariable(--_ctm-dn-wt-se-wd-wp);
110
- word-break: prepareMediaVariable(--_ctm-dn-wt-se-wd-bk);
111
- font-size: prepareMediaVariable(--_ctm-dn-wt-se-ft-se);
112
- color: prepareMediaVariable(--_ctm-dn-wt-se-cr);
113
- font-weight: prepareMediaVariable(--_ctm-dn-wt-se-ft-wt);
114
- font-style: prepareMediaVariable(--_ctm-dn-wt-se-ft-se-ic);
115
- text-decoration: prepareMediaVariable(--_ctm-dn-wt-se-ue);
116
- text-align: prepareMediaVariable(--_ctm-dn-wt-se-tt-an);
117
- letter-spacing: prepareMediaVariable(--_ctm-dn-wt-se-lr-sg);
118
- line-height: prepareMediaVariable(--_ctm-dn-wt-se-le-ht);
119
- }
120
- }
121
-
122
- .metric_item {
123
- display: flex;
124
- flex-direction: column;
125
- align-items: center;
126
- flex: 1 0 0;
127
- align-self: stretch;
128
- //border-radius: 0px 0px 6px 6px;
129
-
130
- background-color: prepareMediaVariable(--_ctm-dn-im-se-bd-cr);
131
- border-width: prepareMediaVariable(--_ctm-dn-im-se-br-wh);
132
- border-color: prepareMediaVariable(--_ctm-dn-im-se-br-cr);
133
- border-style: prepareMediaVariable(--_ctm-dn-im-se-br-se);
134
- border-radius: prepareMediaVariable(--_ctm-dn-im-se-br-rs);
135
- box-shadow: prepareMediaVariable(--_ctm-dn-im-se-sw-ae)
136
- prepareMediaVariable(--_ctm-dn-im-se-sw-br) prepareMediaVariable(--_ctm-dn-im-se-sw-sd)
137
- prepareMediaVariable(--_ctm-dn-im-se-sw-cr);
138
-
139
- .content {
140
- display: flex;
141
- padding: 12px 16px;
142
- flex-direction: column;
143
- justify-content: center;
144
- align-items: flex-start;
145
- gap: 12px;
146
- flex: 1 0 0;
147
- align-self: stretch;
148
- font-family: prepareMediaVariable(--_ctm-dn-im-se-ft-fy);
149
- text-transform: prepareMediaVariable(--_ctm-dn-im-se-tt-tm);
150
- word-wrap: prepareMediaVariable(--_ctm-dn-im-se-wd-wp);
151
- word-break: prepareMediaVariable(--_ctm-dn-im-se-wd-bk);
152
- &.flex__overflow {
153
- white-space: normal;
154
- @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
155
- }
156
- font-size: prepareMediaVariable(--_ctm-dn-im-se-ft-se);
157
- color: prepareMediaVariable(--_ctm-dn-im-se-cr);
158
- font-weight: prepareMediaVariable(--_ctm-dn-im-se-ft-wt);
159
- font-style: prepareMediaVariable(--_ctm-dn-im-se-ft-se-ic);
160
- text-decoration: prepareMediaVariable(--_ctm-dn-im-se-ue);
161
- text-align: prepareMediaVariable(--_ctm-dn-im-se-tt-an);
162
- letter-spacing: prepareMediaVariable(--_ctm-dn-im-se-lr-sg);
163
- line-height: prepareMediaVariable(--_ctm-dn-im-se-le-ht);
164
-
165
- .metric_wrapper {
166
- display: flex;
167
- align-items: center;
168
- gap: 16px;
169
- flex: 1 0 0;
170
- align-self: stretch;
171
-
172
- .quote_id {
173
- flex: 1 0 0;
174
- // color: var(--_gray-900);
175
- // font-size: 14px;
176
- // font-weight: 600;
177
- // line-height: 20px;
178
- font-family: prepareMediaVariable(--_ctm-dn-qe-id-ft-fy);
179
- text-transform: prepareMediaVariable(--_ctm-dn-qe-id-tt-tm);
180
- word-wrap: prepareMediaVariable(--_ctm-dn-qe-id-wd-wp);
181
- word-break: prepareMediaVariable(--_ctm-dn-qe-id-wd-bk);
182
- font-size: prepareMediaVariable(--_ctm-dn-qe-id-ft-se);
183
- color: prepareMediaVariable(--_ctm-dn-qe-id-cr);
184
- font-weight: prepareMediaVariable(--_ctm-dn-qe-id-ft-wt);
185
- font-style: prepareMediaVariable(--_ctm-dn-qe-id-ft-se-ic);
186
- text-decoration: prepareMediaVariable(--_ctm-dn-qe-id-ue);
187
- text-align: prepareMediaVariable(--_ctm-dn-qe-id-tt-an);
188
- letter-spacing: prepareMediaVariable(--_ctm-dn-qe-id-lr-sg);
189
- line-height: prepareMediaVariable(--_ctm-dn-qe-id-le-ht);
190
- background-color: prepareMediaVariable(--_ctm-dn-qe-id-bd-cr);
191
- border-width: prepareMediaVariable(--_ctm-dn-qe-id-br-wh);
192
- border-color: prepareMediaVariable(--_ctm-dn-qe-id-br-cr);
193
- border-style: prepareMediaVariable(--_ctm-dn-qe-id-br-se);
194
- border-radius: prepareMediaVariable(--_ctm-dn-qe-id-br-rs);
195
- box-shadow: prepareMediaVariable(--_ctm-dn-qe-id-sw-ae)
196
- prepareMediaVariable(--_ctm-dn-qe-id-sw-br)
197
- prepareMediaVariable(--_ctm-dn-qe-id-sw-sd)
198
- prepareMediaVariable(--_ctm-dn-qe-id-sw-cr);
199
- }
200
-
201
- .status_badge {
202
- display: flex;
203
- padding: 2px 8px 2px 6px;
204
- align-items: center;
205
- gap: 4px;
206
- // border-radius: 16px;
207
- // background: #fff4ed;
208
- mix-blend-mode: multiply;
209
- background-color: prepareMediaVariable(--_ctm-dn-qe-ss-bd-cr);
210
- border-width: prepareMediaVariable(--_ctm-dn-qe-ss-br-wh);
211
- border-color: prepareMediaVariable(--_ctm-dn-qe-ss-br-cr);
212
- border-style: prepareMediaVariable(--_ctm-dn-qe-ss-br-se);
213
- border-radius: prepareMediaVariable(--_ctm-dn-qe-ss-br-rs);
214
- box-shadow: prepareMediaVariable(--_ctm-dn-qe-ss-sw-ae)
215
- prepareMediaVariable(--_ctm-dn-qe-ss-sw-br)
216
- prepareMediaVariable(--_ctm-dn-qe-ss-sw-sd)
217
- prepareMediaVariable(--_ctm-dn-qe-ss-sw-cr);
218
-
219
- .quote_status {
220
- // color: #b93815;
221
- // text-align: center;
222
- // font-size: 12px;
223
- // line-height: 18px;
224
- font-family: prepareMediaVariable(--_ctm-dn-qe-ss-ft-fy);
225
- text-transform: prepareMediaVariable(--_ctm-dn-qe-ss-tt-tm);
226
- word-wrap: prepareMediaVariable(--_ctm-dn-qe-ss-wd-wp);
227
- word-break: prepareMediaVariable(--_ctm-dn-qe-ss-wd-bk);
228
- font-size: prepareMediaVariable(--_ctm-dn-qe-ss-ft-se);
229
- color: prepareMediaVariable(--_ctm-dn-qe-ss-cr);
230
- font-weight: prepareMediaVariable(--_ctm-dn-qe-ss-ft-wt);
231
- font-style: prepareMediaVariable(--_ctm-dn-qe-ss-ft-se-ic);
232
- text-decoration: prepareMediaVariable(--_ctm-dn-qe-ss-ue);
233
- text-align: prepareMediaVariable(--_ctm-dn-qe-ss-tt-an);
234
- letter-spacing: prepareMediaVariable(--_ctm-dn-qe-ss-lr-sg);
235
- line-height: prepareMediaVariable(--_ctm-dn-qe-ss-le-ht);
236
- }
237
- }
238
-
239
- .quote_updated_date {
240
- flex: 1 0 0;
241
- // color: var(--_gray-700);
242
- // font-size: 12px;
243
- // font-weight: 400;
244
- // line-height: 18px;
245
-
246
- font-family: prepareMediaVariable(--_ctm-dn-rd-on-ft-fy);
247
- text-transform: prepareMediaVariable(--_ctm-dn-rd-on-tt-tm);
248
- word-wrap: prepareMediaVariable(--_ctm-dn-rd-on-wd-wp);
249
- word-break: prepareMediaVariable(--_ctm-dn-rd-on-wd-bk);
250
- font-size: prepareMediaVariable(--_ctm-dn-rd-on-ft-se);
251
- color: prepareMediaVariable(--_ctm-dn-rd-on-cr);
252
- font-weight: prepareMediaVariable(--_ctm-dn-rd-on-ft-wt);
253
- font-style: prepareMediaVariable(--_ctm-dn-rd-on-ft-se-ic);
254
- text-decoration: prepareMediaVariable(--_ctm-dn-rd-on-ue);
255
- text-align: prepareMediaVariable(--_ctm-dn-rd-on-tt-an);
256
- letter-spacing: prepareMediaVariable(--_ctm-dn-rd-on-lr-sg);
257
- line-height: prepareMediaVariable(--_ctm-dn-rd-on-le-ht);
258
- background-color: prepareMediaVariable(--_ctm-dn-rd-on-bd-cr);
259
- border-width: prepareMediaVariable(--_ctm-dn-rd-on-br-wh);
260
- border-color: prepareMediaVariable(--_ctm-dn-rd-on-br-cr);
261
- border-style: prepareMediaVariable(--_ctm-dn-rd-on-br-se);
262
- border-radius: prepareMediaVariable(--_ctm-dn-rd-on-br-rs);
263
- box-shadow: prepareMediaVariable(--_ctm-dn-rd-on-sw-ae)
264
- prepareMediaVariable(--_ctm-dn-rd-on-sw-br)
265
- prepareMediaVariable(--_ctm-dn-rd-on-sw-sd)
266
- prepareMediaVariable(--_ctm-dn-rd-on-sw-cr);
267
- }
268
-
269
- .quotes_amount {
270
- // color: var(--_gray-900);
271
- // text-align: right;
272
- // font-size: 14px;
273
- // font-weight: 600;
274
- // line-height: 20px;
275
- font-family: prepareMediaVariable(--_ctm-dn-qe-id-ft-fy);
276
- text-transform: prepareMediaVariable(--_ctm-dn-qe-id-tt-tm);
277
- word-wrap: prepareMediaVariable(--_ctm-dn-qe-id-wd-wp);
278
- word-break: prepareMediaVariable(--_ctm-dn-qe-id-wd-bk);
279
- font-size: prepareMediaVariable(--_ctm-dn-qe-id-ft-se);
280
- color: prepareMediaVariable(--_ctm-dn-qe-id-cr);
281
- font-weight: prepareMediaVariable(--_ctm-dn-qe-id-ft-wt);
282
- font-style: prepareMediaVariable(--_ctm-dn-qe-id-ft-se-ic);
283
- text-decoration: prepareMediaVariable(--_ctm-dn-qe-id-ue);
284
- text-align: prepareMediaVariable(--_ctm-dn-qe-id-tt-an);
285
- letter-spacing: prepareMediaVariable(--_ctm-dn-qe-id-lr-sg);
286
- line-height: prepareMediaVariable(--_ctm-dn-qe-id-le-ht);
287
- background-color: prepareMediaVariable(--_ctm-dn-qe-id-bd-cr);
288
- border-width: prepareMediaVariable(--_ctm-dn-qe-id-br-wh);
289
- border-color: prepareMediaVariable(--_ctm-dn-qe-id-br-cr);
290
- border-style: prepareMediaVariable(--_ctm-dn-qe-id-br-se);
291
- border-radius: prepareMediaVariable(--_ctm-dn-qe-id-br-rs);
292
- box-shadow: prepareMediaVariable(--_ctm-dn-qe-id-sw-ae)
293
- prepareMediaVariable(--_ctm-dn-qe-id-sw-br)
294
- prepareMediaVariable(--_ctm-dn-qe-id-sw-sd)
295
- prepareMediaVariable(--_ctm-dn-qe-id-sw-cr);
296
- }
297
- }
298
- .quotes_action {
299
- display: flex;
300
- align-items: center;
301
- gap: 16px;
302
- flex: 1 0 0;
303
- align-self: stretch;
304
- font-size: 14px;
305
- & > span {
306
- display: inline-flex;
307
- align-items: center;
308
- cursor: pointer;
309
- }
310
-
311
- // Design > Icons gives each action a tab of its own, so each reads its
312
- // own size / color / stroke width rather than one shared set. The
313
- // suffixes match the tabs in quotes-element-data.ts: Send, Download,
314
- // Print, View, Cancel.
315
- // Design > Icon Actions gives each action a sub-section of its own, so
316
- // each reads its own size / color / stroke width rather than one shared
317
- // set. The codes are what `splitCamelCaseAndJoin` makes of those
318
- // sub-sections: sendMessageIcon -> sd-me-in, downloadIcon -> dd-in, and
319
- // so on. The fallbacks keep quotes saved before this section looking as
320
- // they always have.
321
- @each $class, $scope in $quote-action-icons {
322
- .#{$class} span svg {
323
- width: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-in-se, 20px);
324
- height: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-in-se, 20px);
325
-
326
- path {
327
- stroke: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-in-cr, #667085);
328
- // Overrides the stroke-width presentation attribute baked into the icon markup.
329
- stroke-width: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-se-wh, 1.67);
330
- }
331
- }
332
- }
333
- }
334
- }
335
- }
336
- }
337
- }
338
-
339
- .embla {
340
- width: 100%;
341
- height: auto;
342
- position: relative;
343
- display: flex;
344
- flex-direction: column;
345
- // overflow: hidden;
346
-
347
- .embla__viewport {
348
- width: 100%;
349
- height: 100%;
350
- position: relative;
351
- display: flex;
352
- flex-direction: column;
353
-
354
- overflow: hidden;
355
-
356
- .embla__container {
357
- width: 100%;
358
- height: 100%;
359
- display: grid;
360
- grid-template-rows: 100%;
361
-
362
- grid-template-columns: repeat(
363
- var(--_ctm-mob-lt-is-pr-se, var(--_ctm-tab-lt-is-pr-se, var(--_ctm-lt-is-pr-se))),
364
- calc(
365
- 100% /
366
- var(--_ctm-mob-lt-is-pr-se, var(--_ctm-tab-lt-is-pr-se, var(--_ctm-lt-is-pr-se)))
367
- )
368
- );
369
-
370
- grid-auto-flow: column;
371
- gap: var(--_ctm-mob-lt-sg-bn-is, var(--_ctm-tab-lt-sg-bn-is, var(--_ctm-lt-sg-bn-is)));
372
-
373
- &[data-control-type="Bottom"][data-slider-control="Arrows"] {
374
- height: calc(100% - calc(prepareMediaVariable(--_ctm-dn-pn-as-aw-se) + 10px));
375
- }
376
-
377
- &[data-control-type="Bottom"][data-slider-control="Pagination Line"] {
378
- height: calc(
379
- 100% - calc(
380
- var(
381
- --_ctm-mob-dn-pn-le-le-ht,
382
- var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))
383
- ) +
384
- 20px
385
- )
386
- );
387
- }
388
-
389
- &[data-control-type="Bottom"][data-slider-control="Dots"] {
390
- height: calc(
391
- 100% - calc(
392
- var(
393
- --_ctm-mob-dn-pn-ds-dt-se,
394
- var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
395
- ) +
396
- 20px
397
- )
398
- );
399
- }
400
-
401
- .embla__slide {
402
- width: 100%;
403
- height: 100%;
404
- }
405
- }
406
- }
407
- &:not([data-display-style="Column"]) {
408
- .embla__container {
409
- grid-auto-columns: calc(
410
- 100% / var(--_ctm-mob-lt-is-pr-se, var(--_ctm-tab-lt-is-pr-se, var(--_ctm-lt-is-pr-se)))
411
- );
412
- }
413
- }
414
-
415
- &[data-display-style="Grid"][data-scroll-direction="Vertical"] {
416
- // overflow: unset;
417
-
418
- .embla__viewport {
419
- overflow: unset;
420
- height: 80%;
421
- flex-grow: 1;
422
- &:not([data-is-builder-type="true"]) {
423
- height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
424
- }
425
-
426
- .embla__container {
427
- overflow: unset;
428
- height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
429
- // min-height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
430
-
431
- grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
432
- grid-template-rows: unset;
433
-
434
- grid-auto-flow: row;
435
-
436
- &[data-overflow-hidden="true"] {
437
- overflow: hidden;
438
- }
439
- }
440
- }
441
- }
442
-
443
- &[data-display-style="Grid"][data-scroll-direction="Horizontal"] {
444
- .embla__viewport {
445
- .embla__container {
446
- grid-template-rows: repeat(
447
- var(--_ctm-mob-lt-is-pr-cn, var(--_ctm-tab-lt-is-pr-cn, var(--_ctm-lt-is-pr-cn))),
448
- calc(
449
- 100% /
450
- var(--_ctm-mob-lt-is-pr-cn, var(--_ctm-tab-lt-is-pr-cn, var(--_ctm-lt-is-pr-cn)))
451
- )
452
- );
453
- }
454
- }
455
- }
456
-
457
- &[data-display-style="Rows"] {
458
- // overflow: unset;
459
-
460
- .embla__viewport {
461
- overflow: unset;
462
- height: 80%;
463
- flex-grow: 1;
464
-
465
- &:not([data-is-builder-type="true"]) {
466
- height: var(--_ctm-height);
467
- }
468
-
469
- .embla__container {
470
- overflow: hidden;
471
- height: var(--_ctm-height);
472
- // min-height: var(--_ctm-height);
473
-
474
- grid-template-columns: repeat(
475
- var(--_ctm-mob-lt-is-pr-rw, var(--_ctm-tab-lt-is-pr-rw, var(--_ctm-lt-is-pr-rw))),
476
- 1fr
477
- );
478
- grid-template-rows: unset;
479
- grid-auto-flow: row;
480
- }
481
- }
482
- }
483
-
484
- &[data-display-style="Column"] {
485
- // overflow: unset;
486
-
487
- .embla__viewport {
488
- .embla__container {
489
- display: flex;
490
- .embla__slide {
491
- width: unset;
492
- height: 100%;
493
- aspect-ratio: 1 / 2;
494
- }
495
- }
496
- }
497
- }
498
-
499
- .arrow-navigation {
500
- display: flex;
501
- position: absolute;
502
- top: 50%;
503
- left: 50%;
504
- width: 100%;
505
- justify-content: space-between;
506
- transform: translate(-50%, -50%);
507
- // padding-left: 20px;
508
- &[data-control-type="Side"] {
509
- .left-button,
510
- .right-button {
511
- background-color: transparent;
512
- }
513
- }
514
- &[data-background-shape="Round"] {
515
- .left-button,
516
- .right-button {
517
- // Pagination Arrows > Background Color, tinted rather than applied flat:
518
- // 10% of the picked color at rest and 20% on hover, so the arrow reads as
519
- // a soft chip over the card and the hover is a visible step up. Falls back
520
- // to the grey these buttons have always used when no color is picked.
521
- @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 10%);
522
-
523
- // Disabled arrows keep the resting tint — a hover response there would
524
- // suggest a slide that cannot be reached.
525
- &:not(:disabled):hover {
526
- @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 20%);
527
- }
528
- }
529
- }
530
- // Square and None carry the same tint; only the corners differ. The 50% radius
531
- // that rounds these buttons is set on `.left-button` / `.right-button` below,
532
- // so both shapes have to state their own — 6px for Square, square corners for
533
- // None.
534
- &[data-background-shape="Square"] {
535
- .left-button,
536
- .right-button {
537
- border-radius: 4px;
538
- @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 10%);
539
-
540
- &:not(:disabled):hover {
541
- @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 20%);
542
- }
543
- }
544
- }
545
- &[data-background-shape="None"] {
546
- .left-button,
547
- .right-button {
548
- border-radius: 0;
549
- @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 10%);
550
-
551
- &:not(:disabled):hover {
552
- @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 20%);
553
- }
554
- }
555
- }
556
- &[data-control-type="Bottom-Overflow"] {
557
- transform: translateX(-50%);
558
- width: 100%;
559
- justify-content: center;
560
- gap: 12px;
561
- top: unset;
562
- bottom: 6px;
563
- }
564
- // Side-Overflow keeps the cards full width and lays an arrow over each edge,
565
- // which is what the base rules above already do. Stated as its own block so the
566
- // option is anchored to a rule rather than working by falling through — the
567
- // reason the "Left" and "Right" it replaces were indistinguishable.
568
- &[data-control-type="Side-Overflow"] {
569
- justify-content: space-between;
570
- }
571
- &[data-control-type="Bottom"] {
572
- transform: unset;
573
- position: static;
574
- width: 100%;
575
- justify-content: center;
576
- gap: 12px;
577
- margin-top: 10px;
578
- }
579
- &[data-control-type="Top"] {
580
- top: 0px;
581
- position: absolute;
582
- /* right: 0px; */
583
- justify-content: end;
584
- width: 170px;
585
- transform: unset;
586
- gap: 12px;
587
- margin-top: 10px;
588
- }
589
- .left-button {
590
- padding: 10px;
591
- border-radius: 50%;
592
- border: none;
593
- width: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
594
- height: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
595
- display: flex;
596
- align-items: center;
597
- justify-content: center;
598
- cursor: pointer;
599
- outline: none;
600
- margin-left: 12px;
601
- &:disabled {
602
- & svg {
603
- path {
604
- stroke: rgb(192, 192, 192);
605
- }
606
- }
607
- }
608
- }
609
- .right-button {
610
- border-radius: 50%;
611
- border: none;
612
- width: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
613
- height: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
614
-
615
- display: flex;
616
- align-items: center;
617
- justify-content: center;
618
- cursor: pointer;
619
- outline: none;
620
- margin-right: 12px;
621
- padding: 10px;
622
-
623
- &:disabled {
624
- & svg {
625
- path {
626
- stroke: rgb(192, 192, 192);
627
- }
628
- }
629
- }
630
- }
631
- .icon {
632
- display: flex;
633
-
634
- svg {
635
- width: calc(prepareMediaVariable(--_ctm-dn-pn-as-aw-se) * 0.5);
636
- height: calc(prepareMediaVariable(--_ctm-dn-pn-as-aw-se) * 0.5);
637
-
638
- path {
639
- stroke: prepareMediaVariable(--_ctm-dn-pn-as-aw-cr);
640
- }
641
- }
642
- }
643
- }
644
-
645
- &[data-control-type="Side"] {
646
- .embla__viewport {
647
- width: calc(100% - 120px);
648
- margin-inline: auto;
649
- }
650
- .left-button {
651
- position: absolute;
652
- left: 0;
653
- top: 50%;
654
- transform: translateY(-50%);
655
- }
656
- .right-button {
657
- position: absolute;
658
-
659
- right: 0;
660
- top: 50%;
661
- transform: translateY(-50%);
662
- }
663
- }
664
-
665
- &[data-thumbnail-placement="top"] {
666
- flex-direction: column-reverse;
667
- }
668
- &[data-thumbnail-placement="bottom"] {
669
- flex-direction: column;
670
- }
671
- &[data-thumbnail-placement="left"] {
672
- flex-direction: row-reverse;
673
-
674
- .embla__thumbs {
675
- width: var(--_ctm-lt-tl-se);
676
- height: 100%;
677
-
678
- & .embla__thumbs__container {
679
- flex-direction: column;
680
- height: 100%;
681
- }
682
- }
683
- }
684
- &[data-thumbnail-placement="right"] {
685
- flex-direction: row;
686
- .embla__thumbs {
687
- width: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
688
-
689
- height: 100%;
690
-
691
- & .embla__thumbs__container {
692
- flex-direction: column;
693
- height: 100%;
694
- }
695
- }
696
- }
697
- .embla__dots {
698
- display: flex;
699
- flex-wrap: wrap;
700
- justify-content: center;
701
- align-items: center;
702
- margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
703
- gap: 6px;
704
-
705
- &[data-control-type="Bottom-Overflow"] {
706
- position: absolute;
707
- bottom: 10px;
708
- left: 50%;
709
- transform: translateX(-50%);
710
- width: 75%;
711
- }
712
- .embla__dot {
713
- -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
714
- -webkit-appearance: none;
715
- appearance: none;
716
- background-color: var(
717
- --_ctm-mob-dn-pn-ds-or-dt-cr,
718
- var(--_ctm-tab-dn-pn-ds-or-dt-cr, var(--_ctm-dn-pn-ds-or-dt-cr))
719
- );
720
-
721
- touch-action: manipulation;
722
- display: inline-flex;
723
- text-decoration: none;
724
- cursor: pointer;
725
- border: 0;
726
- padding: 0;
727
- margin: 0;
728
- // width: 0.6rem;
729
- // height: 0.6rem;
730
- width: var(
731
- --_ctm-mob-dn-pn-ds-dt-se,
732
- var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
733
- );
734
- height: var(
735
- --_ctm-mob-dn-pn-ds-dt-se,
736
- var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
737
- );
738
-
739
- display: flex;
740
- align-items: center;
741
- justify-content: center;
742
- border-radius: 50%;
743
- }
744
- .embla__dot:after {
745
- // box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
746
- width: var(
747
- --_ctm-mob-dn-pn-ds-dt-se,
748
- var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
749
- );
750
- height: var(
751
- --_ctm-mob-dn-pn-ds-dt-se,
752
- var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
753
- );
754
-
755
- border-radius: 50%;
756
- display: flex;
757
- align-items: center;
758
- content: "";
759
- }
760
- .embla__dot--selected:after {
761
- box-shadow: inset 0 0 0 1px var(--text-body);
762
- background-color: var(
763
- --_ctm-mob-dn-pn-ds-ct-dt-cr,
764
- var(--_ctm-tab-dn-pn-ds-ct-dt-cr, var(--_ctm-dn-pn-ds-ct-dt-cr))
765
- );
766
- }
767
- &[data-slider-control="Pagination Line"] {
768
- .embla__dot {
769
- width: var(
770
- --_ctm-mob-dn-pn-le-le-wh,
771
- var(--_ctm-tab-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh))
772
- );
773
- height: var(
774
- --_ctm-mob-dn-pn-le-le-ht,
775
- var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))
776
- );
777
- background-color: var(
778
- --_ctm-mob-dn-pn-le-or-le-cr,
779
- var(--_ctm-tab-dn-pn-le-or-le-cr, var(--_ctm-dn-pn-le-or-le-cr))
780
- );
781
- border-radius: 6px;
782
- }
783
-
784
- .embla__dot--selected:after {
785
- box-shadow: inset 0 0 0 1px var(--text-body);
786
- border-radius: 6px;
787
- width: var(
788
- --_ctm-mob-dn-pn-le-le-wh,
789
- var(--_ctm-tab-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh))
790
- );
791
- height: var(
792
- --_ctm-mob-dn-pn-le-le-ht,
793
- var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))
794
- );
795
- background-color: var(
796
- --_ctm-mob-dn-pn-le-ct-le-cr,
797
- var(--_ctm-tab-dn-pn-le-ct-le-cr, var(--_ctm-dn-pn-le-ct-le-cr))
798
- );
799
- }
800
- }
801
- }
802
-
803
- .embla__thumbs {
804
- width: 100%;
805
- height: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
806
-
807
- position: relative;
808
- display: grid;
809
- grid-template-columns: 1fr;
810
- overflow: hidden;
811
- // margin: 10px;
812
- padding: 10px;
813
-
814
- .embla__thumbs__viewport {
815
- width: 100%;
816
- height: 100%;
817
- position: relative;
818
- display: flex;
819
- flex-direction: column;
820
-
821
- overflow: hidden;
822
- }
823
- .embla__thumbs__container {
824
- display: flex;
825
- flex-direction: row;
826
- margin-left: calc(var(--thumbs-slide-spacing) * -1);
827
- gap: var(--_ctm-mob-lt-tl-sg, var(--_ctm-tab-lt-tl-sg, var(--_ctm-lt-tl-sg)));
828
-
829
- width: 100%;
830
- // justify-content: center;
831
- // height: 200px;
832
-
833
- .embla__thumbs__slide {
834
- min-width: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
835
- max-width: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
836
- height: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
837
-
838
- & img {
839
- width: 100%;
840
- height: 100%;
841
- }
842
- }
843
- }
844
- }
845
- }
846
- }
847
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+
5
+ $resizerId: "[data-cms-tool='cms-element-resizer']";
6
+ $resizeActive: '[data-cms-element-resizer="true"]';
7
+
8
+ // Design > Icon Actions: the CSS-variable scope of each quick action's sub-section,
9
+ // keyed by the class its span carries. `splitCamelCaseAndJoin` turns the schema's
10
+ // selector keys into these codes, e.g. `sendMessageIcon` -> `sd-me-in`.
11
+ $quote-action-icons: (
12
+ "quotes_send": "sd-me-in",
13
+ "quotes_download": "dd-in",
14
+ "quotes_print": "pt-in",
15
+ "quotes_view": "vw-in",
16
+ "quotes_cancel": "cl-in",
17
+ );
18
+
19
+ [data-div-type="element"] {
20
+ &[data-element-type="quotes"] {
21
+ width: var(--_sf-el-wh-st-mx,
22
+ calc(1% * var(--_ctm-mob-ele-nw-wh-vl,
23
+ var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))))));
24
+ margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
25
+
26
+ &>div {
27
+ &.wrapper {
28
+ width: prepareMediaVariable(--_ctm-lt-wh);
29
+ padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
30
+
31
+ &[data-divider-type="true"] .metric_item {
32
+ border: 0px !important;
33
+ border-top: 2px solid var(--_primary-100) !important;
34
+
35
+ .quotes_wrapper {
36
+ border: 0px !important;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ .embla__container {
43
+ grid-template-columns: max-content !important;
44
+ grid-auto-columns: max-content !important;
45
+
46
+ .embla__slide {
47
+ width: max-content !important;
48
+ }
49
+ }
50
+
51
+ .quotes_wrapper {
52
+ display: flex;
53
+ flex-direction: column;
54
+ align-items: flex-start;
55
+ align-self: stretch;
56
+ //border-radius: 4px;
57
+ //border: 1px solid var(--_primary-100);
58
+ //background: #fff;
59
+ width: 349px;
60
+ font-family: prepareMediaVariable(--_ctm-dn-wt-se-ft-fy);
61
+ text-transform: prepareMediaVariable(--_ctm-dn-wt-se-tt-tm);
62
+ word-wrap: prepareMediaVariable(--_ctm-dn-wt-se-wd-wp);
63
+ word-break: prepareMediaVariable(--_ctm-dn-wt-se-wd-bk);
64
+
65
+ &.flex__overflow {
66
+ white-space: normal;
67
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
68
+ }
69
+
70
+ font-size: prepareMediaVariable(--_ctm-dn-wt-se-ft-se);
71
+ color: prepareMediaVariable(--_ctm-dn-wt-se-cr);
72
+ font-weight: prepareMediaVariable(--_ctm-dn-wt-se-ft-wt);
73
+ font-style: prepareMediaVariable(--_ctm-dn-wt-se-ft-se-ic);
74
+ text-decoration: prepareMediaVariable(--_ctm-dn-wt-se-ue);
75
+ text-align: prepareMediaVariable(--_ctm-dn-wt-se-tt-an);
76
+ letter-spacing: prepareMediaVariable(--_ctm-dn-wt-se-lr-sg);
77
+ line-height: prepareMediaVariable(--_ctm-dn-wt-se-le-ht);
78
+ background-color: prepareMediaVariable(--_ctm-dn-wt-se-bd-cr);
79
+ border-width: prepareMediaVariable(--_ctm-dn-wt-se-br-wh);
80
+ border-color: prepareMediaVariable(--_ctm-dn-wt-se-br-cr);
81
+ border-style: prepareMediaVariable(--_ctm-dn-wt-se-br-se);
82
+ border-radius: prepareMediaVariable(--_ctm-dn-wt-se-br-rs);
83
+ box-shadow: prepareMediaVariable(--_ctm-dn-wt-se-sw-ae) prepareMediaVariable(--_ctm-dn-wt-se-sw-br) prepareMediaVariable(--_ctm-dn-wt-se-sw-sd) prepareMediaVariable(--_ctm-dn-wt-se-sw-cr);
84
+
85
+ .quotes_card {
86
+ display: flex;
87
+ flex-direction: column;
88
+ align-items: flex-start;
89
+ align-self: stretch;
90
+ width: 349px;
91
+
92
+ .heading_wrapper {
93
+ display: flex;
94
+ padding: 16px;
95
+ align-items: center;
96
+ gap: 8px;
97
+ align-self: stretch;
98
+ //border-bottom: 1px solid var(--_gray-200);
99
+
100
+ .heading {
101
+ // color: var(--_gray-900);
102
+ // font-size: 20px;
103
+ // font-weight: 600;
104
+ // line-height: 30px;
105
+ font-family: prepareMediaVariable(--_ctm-dn-wt-se-ft-fy);
106
+ text-transform: prepareMediaVariable(--_ctm-dn-wt-se-tt-tm);
107
+ word-wrap: prepareMediaVariable(--_ctm-dn-wt-se-wd-wp);
108
+ word-break: prepareMediaVariable(--_ctm-dn-wt-se-wd-bk);
109
+ font-size: prepareMediaVariable(--_ctm-dn-wt-se-ft-se);
110
+ color: prepareMediaVariable(--_ctm-dn-wt-se-cr);
111
+ font-weight: prepareMediaVariable(--_ctm-dn-wt-se-ft-wt);
112
+ font-style: prepareMediaVariable(--_ctm-dn-wt-se-ft-se-ic);
113
+ text-decoration: prepareMediaVariable(--_ctm-dn-wt-se-ue);
114
+ text-align: prepareMediaVariable(--_ctm-dn-wt-se-tt-an);
115
+ letter-spacing: prepareMediaVariable(--_ctm-dn-wt-se-lr-sg);
116
+ line-height: prepareMediaVariable(--_ctm-dn-wt-se-le-ht);
117
+ }
118
+ }
119
+
120
+ .metric_item {
121
+ display: flex;
122
+ flex-direction: column;
123
+ align-items: center;
124
+ flex: 1 0 0;
125
+ align-self: stretch;
126
+ //border-radius: 0px 0px 6px 6px;
127
+
128
+ background-color: prepareMediaVariable(--_ctm-dn-im-se-bd-cr);
129
+ border-width: prepareMediaVariable(--_ctm-dn-im-se-br-wh);
130
+ border-color: prepareMediaVariable(--_ctm-dn-im-se-br-cr);
131
+ border-style: prepareMediaVariable(--_ctm-dn-im-se-br-se);
132
+ border-radius: prepareMediaVariable(--_ctm-dn-im-se-br-rs);
133
+ box-shadow: prepareMediaVariable(--_ctm-dn-im-se-sw-ae) prepareMediaVariable(--_ctm-dn-im-se-sw-br) prepareMediaVariable(--_ctm-dn-im-se-sw-sd) prepareMediaVariable(--_ctm-dn-im-se-sw-cr);
134
+
135
+ .content {
136
+ display: flex;
137
+ padding: 12px 16px;
138
+ flex-direction: column;
139
+ justify-content: center;
140
+ align-items: flex-start;
141
+ gap: 12px;
142
+ flex: 1 0 0;
143
+ align-self: stretch;
144
+ font-family: prepareMediaVariable(--_ctm-dn-im-se-ft-fy);
145
+ text-transform: prepareMediaVariable(--_ctm-dn-im-se-tt-tm);
146
+ word-wrap: prepareMediaVariable(--_ctm-dn-im-se-wd-wp);
147
+ word-break: prepareMediaVariable(--_ctm-dn-im-se-wd-bk);
148
+
149
+ &.flex__overflow {
150
+ white-space: normal;
151
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
152
+ }
153
+
154
+ font-size: prepareMediaVariable(--_ctm-dn-im-se-ft-se);
155
+ color: prepareMediaVariable(--_ctm-dn-im-se-cr);
156
+ font-weight: prepareMediaVariable(--_ctm-dn-im-se-ft-wt);
157
+ font-style: prepareMediaVariable(--_ctm-dn-im-se-ft-se-ic);
158
+ text-decoration: prepareMediaVariable(--_ctm-dn-im-se-ue);
159
+ text-align: prepareMediaVariable(--_ctm-dn-im-se-tt-an);
160
+ letter-spacing: prepareMediaVariable(--_ctm-dn-im-se-lr-sg);
161
+ line-height: prepareMediaVariable(--_ctm-dn-im-se-le-ht);
162
+
163
+ .metric_wrapper {
164
+ display: flex;
165
+ align-items: center;
166
+ gap: 16px;
167
+ flex: 1 0 0;
168
+ align-self: stretch;
169
+
170
+ .quote_id {
171
+ flex: 1 0 0;
172
+ // color: var(--_gray-900);
173
+ // font-size: 14px;
174
+ // font-weight: 600;
175
+ // line-height: 20px;
176
+ font-family: prepareMediaVariable(--_ctm-dn-qe-id-ft-fy);
177
+ text-transform: prepareMediaVariable(--_ctm-dn-qe-id-tt-tm);
178
+ word-wrap: prepareMediaVariable(--_ctm-dn-qe-id-wd-wp);
179
+ word-break: prepareMediaVariable(--_ctm-dn-qe-id-wd-bk);
180
+ font-size: prepareMediaVariable(--_ctm-dn-qe-id-ft-se);
181
+ color: prepareMediaVariable(--_ctm-dn-qe-id-cr);
182
+ font-weight: prepareMediaVariable(--_ctm-dn-qe-id-ft-wt);
183
+ font-style: prepareMediaVariable(--_ctm-dn-qe-id-ft-se-ic);
184
+ text-decoration: prepareMediaVariable(--_ctm-dn-qe-id-ue);
185
+ text-align: prepareMediaVariable(--_ctm-dn-qe-id-tt-an);
186
+ letter-spacing: prepareMediaVariable(--_ctm-dn-qe-id-lr-sg);
187
+ line-height: prepareMediaVariable(--_ctm-dn-qe-id-le-ht);
188
+ background-color: prepareMediaVariable(--_ctm-dn-qe-id-bd-cr);
189
+ border-width: prepareMediaVariable(--_ctm-dn-qe-id-br-wh);
190
+ border-color: prepareMediaVariable(--_ctm-dn-qe-id-br-cr);
191
+ border-style: prepareMediaVariable(--_ctm-dn-qe-id-br-se);
192
+ border-radius: prepareMediaVariable(--_ctm-dn-qe-id-br-rs);
193
+ box-shadow: prepareMediaVariable(--_ctm-dn-qe-id-sw-ae) prepareMediaVariable(--_ctm-dn-qe-id-sw-br) prepareMediaVariable(--_ctm-dn-qe-id-sw-sd) prepareMediaVariable(--_ctm-dn-qe-id-sw-cr);
194
+ }
195
+
196
+ .status_badge {
197
+ display: flex;
198
+ padding: 2px 8px 2px 6px;
199
+ align-items: center;
200
+ gap: 4px;
201
+ // border-radius: 16px;
202
+ // background: #fff4ed;
203
+ mix-blend-mode: multiply;
204
+ background-color: prepareMediaVariable(--_ctm-dn-qe-ss-bd-cr);
205
+ border-width: prepareMediaVariable(--_ctm-dn-qe-ss-br-wh);
206
+ border-color: prepareMediaVariable(--_ctm-dn-qe-ss-br-cr);
207
+ border-style: prepareMediaVariable(--_ctm-dn-qe-ss-br-se);
208
+ border-radius: prepareMediaVariable(--_ctm-dn-qe-ss-br-rs);
209
+ box-shadow: prepareMediaVariable(--_ctm-dn-qe-ss-sw-ae) prepareMediaVariable(--_ctm-dn-qe-ss-sw-br) prepareMediaVariable(--_ctm-dn-qe-ss-sw-sd) prepareMediaVariable(--_ctm-dn-qe-ss-sw-cr);
210
+
211
+ .quote_status {
212
+ // color: #b93815;
213
+ // text-align: center;
214
+ // font-size: 12px;
215
+ // line-height: 18px;
216
+ font-family: prepareMediaVariable(--_ctm-dn-qe-ss-ft-fy);
217
+ text-transform: prepareMediaVariable(--_ctm-dn-qe-ss-tt-tm);
218
+ word-wrap: prepareMediaVariable(--_ctm-dn-qe-ss-wd-wp);
219
+ word-break: prepareMediaVariable(--_ctm-dn-qe-ss-wd-bk);
220
+ font-size: prepareMediaVariable(--_ctm-dn-qe-ss-ft-se);
221
+ color: prepareMediaVariable(--_ctm-dn-qe-ss-cr);
222
+ font-weight: prepareMediaVariable(--_ctm-dn-qe-ss-ft-wt);
223
+ font-style: prepareMediaVariable(--_ctm-dn-qe-ss-ft-se-ic);
224
+ text-decoration: prepareMediaVariable(--_ctm-dn-qe-ss-ue);
225
+ text-align: prepareMediaVariable(--_ctm-dn-qe-ss-tt-an);
226
+ letter-spacing: prepareMediaVariable(--_ctm-dn-qe-ss-lr-sg);
227
+ line-height: prepareMediaVariable(--_ctm-dn-qe-ss-le-ht);
228
+ }
229
+ }
230
+
231
+ .quote_updated_date {
232
+ flex: 1 0 0;
233
+ // color: var(--_gray-700);
234
+ // font-size: 12px;
235
+ // font-weight: 400;
236
+ // line-height: 18px;
237
+
238
+ font-family: prepareMediaVariable(--_ctm-dn-rd-on-ft-fy);
239
+ text-transform: prepareMediaVariable(--_ctm-dn-rd-on-tt-tm);
240
+ word-wrap: prepareMediaVariable(--_ctm-dn-rd-on-wd-wp);
241
+ word-break: prepareMediaVariable(--_ctm-dn-rd-on-wd-bk);
242
+ font-size: prepareMediaVariable(--_ctm-dn-rd-on-ft-se);
243
+ color: prepareMediaVariable(--_ctm-dn-rd-on-cr);
244
+ font-weight: prepareMediaVariable(--_ctm-dn-rd-on-ft-wt);
245
+ font-style: prepareMediaVariable(--_ctm-dn-rd-on-ft-se-ic);
246
+ text-decoration: prepareMediaVariable(--_ctm-dn-rd-on-ue);
247
+ text-align: prepareMediaVariable(--_ctm-dn-rd-on-tt-an);
248
+ letter-spacing: prepareMediaVariable(--_ctm-dn-rd-on-lr-sg);
249
+ line-height: prepareMediaVariable(--_ctm-dn-rd-on-le-ht);
250
+ background-color: prepareMediaVariable(--_ctm-dn-rd-on-bd-cr);
251
+ border-width: prepareMediaVariable(--_ctm-dn-rd-on-br-wh);
252
+ border-color: prepareMediaVariable(--_ctm-dn-rd-on-br-cr);
253
+ border-style: prepareMediaVariable(--_ctm-dn-rd-on-br-se);
254
+ border-radius: prepareMediaVariable(--_ctm-dn-rd-on-br-rs);
255
+ box-shadow: prepareMediaVariable(--_ctm-dn-rd-on-sw-ae) prepareMediaVariable(--_ctm-dn-rd-on-sw-br) prepareMediaVariable(--_ctm-dn-rd-on-sw-sd) prepareMediaVariable(--_ctm-dn-rd-on-sw-cr);
256
+ }
257
+
258
+ .quotes_amount {
259
+ // color: var(--_gray-900);
260
+ // text-align: right;
261
+ // font-size: 14px;
262
+ // font-weight: 600;
263
+ // line-height: 20px;
264
+ font-family: prepareMediaVariable(--_ctm-dn-qe-id-ft-fy);
265
+ text-transform: prepareMediaVariable(--_ctm-dn-qe-id-tt-tm);
266
+ word-wrap: prepareMediaVariable(--_ctm-dn-qe-id-wd-wp);
267
+ word-break: prepareMediaVariable(--_ctm-dn-qe-id-wd-bk);
268
+ font-size: prepareMediaVariable(--_ctm-dn-qe-id-ft-se);
269
+ color: prepareMediaVariable(--_ctm-dn-qe-id-cr);
270
+ font-weight: prepareMediaVariable(--_ctm-dn-qe-id-ft-wt);
271
+ font-style: prepareMediaVariable(--_ctm-dn-qe-id-ft-se-ic);
272
+ text-decoration: prepareMediaVariable(--_ctm-dn-qe-id-ue);
273
+ text-align: prepareMediaVariable(--_ctm-dn-qe-id-tt-an);
274
+ letter-spacing: prepareMediaVariable(--_ctm-dn-qe-id-lr-sg);
275
+ line-height: prepareMediaVariable(--_ctm-dn-qe-id-le-ht);
276
+ background-color: prepareMediaVariable(--_ctm-dn-qe-id-bd-cr);
277
+ border-width: prepareMediaVariable(--_ctm-dn-qe-id-br-wh);
278
+ border-color: prepareMediaVariable(--_ctm-dn-qe-id-br-cr);
279
+ border-style: prepareMediaVariable(--_ctm-dn-qe-id-br-se);
280
+ border-radius: prepareMediaVariable(--_ctm-dn-qe-id-br-rs);
281
+ box-shadow: prepareMediaVariable(--_ctm-dn-qe-id-sw-ae) prepareMediaVariable(--_ctm-dn-qe-id-sw-br) prepareMediaVariable(--_ctm-dn-qe-id-sw-sd) prepareMediaVariable(--_ctm-dn-qe-id-sw-cr);
282
+ }
283
+ }
284
+
285
+ .quotes_action {
286
+ display: flex;
287
+ align-items: center;
288
+ gap: 16px;
289
+ flex: 1 0 0;
290
+ align-self: stretch;
291
+ font-size: 14px;
292
+
293
+ &>span {
294
+ display: inline-flex;
295
+ align-items: center;
296
+ cursor: pointer;
297
+ }
298
+
299
+ // Design > Icons gives each action a tab of its own, so each reads its
300
+ // own size / color / stroke width rather than one shared set. The
301
+ // suffixes match the tabs in quotes-element-data.ts: Send, Download,
302
+ // Print, View, Cancel.
303
+ // Design > Icon Actions gives each action a sub-section of its own, so
304
+ // each reads its own size / color / stroke width rather than one shared
305
+ // set. The codes are what `splitCamelCaseAndJoin` makes of those
306
+ // sub-sections: sendMessageIcon -> sd-me-in, downloadIcon -> dd-in, and
307
+ // so on. The fallbacks keep quotes saved before this section looking as
308
+ // they always have.
309
+ @each $class, $scope in $quote-action-icons {
310
+ .#{$class} span svg {
311
+ width: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-in-se, 20px);
312
+ height: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-in-se, 20px);
313
+
314
+ path {
315
+ stroke: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-in-cr, #667085);
316
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
317
+ stroke-width: prepareMediaVariable(--_ctm-dn-in-as-#{$scope}-se-wh, 1.67);
318
+ }
319
+ }
320
+ }
321
+ }
322
+ }
323
+ }
324
+ }
325
+ }
326
+
327
+ .embla {
328
+ width: 100%;
329
+ height: auto;
330
+ position: relative;
331
+ display: flex;
332
+ flex-direction: column;
333
+ // overflow: hidden;
334
+
335
+ .embla__viewport {
336
+ width: 100%;
337
+ height: 100%;
338
+ position: relative;
339
+ display: flex;
340
+ flex-direction: column;
341
+
342
+ overflow: hidden;
343
+
344
+ .embla__container {
345
+ width: 100%;
346
+ height: 100%;
347
+ display: grid;
348
+ grid-template-rows: 100%;
349
+
350
+ grid-template-columns: repeat(var(--_ctm-mob-lt-is-pr-se, var(--_ctm-tab-lt-is-pr-se, var(--_ctm-lt-is-pr-se))),
351
+ calc(100% / var(--_ctm-mob-lt-is-pr-se, var(--_ctm-tab-lt-is-pr-se, var(--_ctm-lt-is-pr-se)))));
352
+
353
+ grid-auto-flow: column;
354
+ gap: var(--_ctm-mob-lt-sg-bn-is, var(--_ctm-tab-lt-sg-bn-is, var(--_ctm-lt-sg-bn-is)));
355
+
356
+ &[data-control-type="Bottom"][data-slider-control="Arrows"] {
357
+ height: calc(100% - calc(prepareMediaVariable(--_ctm-dn-pn-as-aw-se) + 10px));
358
+ }
359
+
360
+ &[data-control-type="Bottom"][data-slider-control="Pagination Line"] {
361
+ height: calc(100% - calc(var(--_ctm-mob-dn-pn-le-le-ht,
362
+ var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))) + 20px));
363
+ }
364
+
365
+ &[data-control-type="Bottom"][data-slider-control="Dots"] {
366
+ height: calc(100% - calc(var(--_ctm-mob-dn-pn-ds-dt-se,
367
+ var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))) + 20px));
368
+ }
369
+
370
+ .embla__slide {
371
+ width: 100%;
372
+ height: 100%;
373
+ }
374
+ }
375
+ }
376
+
377
+ &:not([data-display-style="Column"]) {
378
+ .embla__container {
379
+ grid-auto-columns: calc(100% / var(--_ctm-mob-lt-is-pr-se, var(--_ctm-tab-lt-is-pr-se, var(--_ctm-lt-is-pr-se))));
380
+ }
381
+ }
382
+
383
+ &[data-display-style="Grid"][data-scroll-direction="Vertical"] {
384
+ // overflow: unset;
385
+
386
+ .embla__viewport {
387
+ overflow: unset;
388
+ height: 80%;
389
+ flex-grow: 1;
390
+
391
+ &:not([data-is-builder-type="true"]) {
392
+ height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
393
+ }
394
+
395
+ .embla__container {
396
+ overflow: unset;
397
+ height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
398
+ // min-height: var(--_ctm-mob-height, var(--_ctm-tab-height, var(--_ctm-height)));
399
+
400
+ grid-template-columns: repeat(var(--_ctm-lt-is-pr-rw), 1fr);
401
+ grid-template-rows: unset;
402
+
403
+ grid-auto-flow: row;
404
+
405
+ &[data-overflow-hidden="true"] {
406
+ overflow: hidden;
407
+ }
408
+ }
409
+ }
410
+ }
411
+
412
+ &[data-display-style="Grid"][data-scroll-direction="Horizontal"] {
413
+ .embla__viewport {
414
+ .embla__container {
415
+ grid-template-rows: repeat(var(--_ctm-mob-lt-is-pr-cn, var(--_ctm-tab-lt-is-pr-cn, var(--_ctm-lt-is-pr-cn))),
416
+ calc(100% / var(--_ctm-mob-lt-is-pr-cn, var(--_ctm-tab-lt-is-pr-cn, var(--_ctm-lt-is-pr-cn)))));
417
+ }
418
+ }
419
+ }
420
+
421
+ &[data-display-style="Rows"] {
422
+ // overflow: unset;
423
+
424
+ .embla__viewport {
425
+ overflow: unset;
426
+ height: 80%;
427
+ flex-grow: 1;
428
+
429
+ &:not([data-is-builder-type="true"]) {
430
+ height: var(--_ctm-height);
431
+ }
432
+
433
+ .embla__container {
434
+ overflow: hidden;
435
+ height: var(--_ctm-height);
436
+ // min-height: var(--_ctm-height);
437
+
438
+ grid-template-columns: repeat(var(--_ctm-mob-lt-is-pr-rw, var(--_ctm-tab-lt-is-pr-rw, var(--_ctm-lt-is-pr-rw))),
439
+ 1fr);
440
+ grid-template-rows: unset;
441
+ grid-auto-flow: row;
442
+ }
443
+ }
444
+ }
445
+
446
+ &[data-display-style="Column"] {
447
+ // overflow: unset;
448
+
449
+ .embla__viewport {
450
+ .embla__container {
451
+ display: flex;
452
+
453
+ .embla__slide {
454
+ width: unset;
455
+ height: 100%;
456
+ aspect-ratio: 1 / 2;
457
+ }
458
+ }
459
+ }
460
+ }
461
+
462
+ .arrow-navigation {
463
+ display: flex;
464
+ position: absolute;
465
+ top: 50%;
466
+ left: 50%;
467
+ width: 100%;
468
+ justify-content: space-between;
469
+ transform: translate(-50%, -50%);
470
+
471
+ // padding-left: 20px;
472
+ &[data-control-type="Side"] {
473
+
474
+ .left-button,
475
+ .right-button {
476
+ background-color: transparent;
477
+ }
478
+ }
479
+
480
+ &[data-background-shape="Round"] {
481
+
482
+ .left-button,
483
+ .right-button {
484
+ // Pagination Arrows > Background Color, tinted rather than applied flat:
485
+ // 10% of the picked color at rest and 20% on hover, so the arrow reads as
486
+ // a soft chip over the card and the hover is a visible step up. Falls back
487
+ // to the grey these buttons have always used when no color is picked.
488
+ @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 10%);
489
+
490
+ // Disabled arrows keep the resting tint — a hover response there would
491
+ // suggest a slide that cannot be reached.
492
+ &:not(:disabled):hover {
493
+ @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 20%);
494
+ }
495
+ }
496
+ }
497
+
498
+ // Square and None carry the same tint; only the corners differ. The 50% radius
499
+ // that rounds these buttons is set on `.left-button` / `.right-button` below,
500
+ // so both shapes have to state their own — 6px for Square, square corners for
501
+ // None.
502
+ &[data-background-shape="Square"] {
503
+
504
+ .left-button,
505
+ .right-button {
506
+ border-radius: 4px;
507
+ @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 10%);
508
+
509
+ &:not(:disabled):hover {
510
+ @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 20%);
511
+ }
512
+ }
513
+ }
514
+
515
+ &[data-background-shape="None"] {
516
+
517
+ .left-button,
518
+ .right-button {
519
+ border-radius: 0;
520
+ @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 10%);
521
+
522
+ &:not(:disabled):hover {
523
+ @include BgColorLighter(prepareMediaVariable(--_ctm-dn-pn-as-bd-cr, #f2f5f5), 20%);
524
+ }
525
+ }
526
+ }
527
+
528
+ &[data-control-type="Bottom-Overflow"] {
529
+ transform: translateX(-50%);
530
+ width: 100%;
531
+ justify-content: center;
532
+ gap: 12px;
533
+ top: unset;
534
+ bottom: 6px;
535
+ }
536
+
537
+ // Side-Overflow keeps the cards full width and lays an arrow over each edge,
538
+ // which is what the base rules above already do. Stated as its own block so the
539
+ // option is anchored to a rule rather than working by falling through — the
540
+ // reason the "Left" and "Right" it replaces were indistinguishable.
541
+ &[data-control-type="Side-Overflow"] {
542
+ justify-content: space-between;
543
+ }
544
+
545
+ &[data-control-type="Bottom"] {
546
+ transform: unset;
547
+ position: static;
548
+ width: 100%;
549
+ justify-content: center;
550
+ gap: 12px;
551
+ margin-top: 10px;
552
+ }
553
+
554
+ &[data-control-type="Top"] {
555
+ top: 0px;
556
+ position: absolute;
557
+ /* right: 0px; */
558
+ justify-content: end;
559
+ width: 170px;
560
+ transform: unset;
561
+ gap: 12px;
562
+ margin-top: 10px;
563
+ }
564
+
565
+ .left-button {
566
+ padding: 10px;
567
+ border-radius: 50%;
568
+ border: none;
569
+ width: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
570
+ height: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
571
+ display: flex;
572
+ align-items: center;
573
+ justify-content: center;
574
+ cursor: pointer;
575
+ outline: none;
576
+ margin-left: 12px;
577
+
578
+ &:disabled {
579
+ & svg {
580
+ path {
581
+ stroke: rgb(192, 192, 192);
582
+ }
583
+ }
584
+ }
585
+ }
586
+
587
+ .right-button {
588
+ border-radius: 50%;
589
+ border: none;
590
+ width: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
591
+ height: prepareMediaVariable(--_ctm-dn-pn-as-aw-se);
592
+
593
+ display: flex;
594
+ align-items: center;
595
+ justify-content: center;
596
+ cursor: pointer;
597
+ outline: none;
598
+ margin-right: 12px;
599
+ padding: 10px;
600
+
601
+ &:disabled {
602
+ & svg {
603
+ path {
604
+ stroke: rgb(192, 192, 192);
605
+ }
606
+ }
607
+ }
608
+ }
609
+
610
+ .icon {
611
+ display: flex;
612
+
613
+ svg {
614
+ width: calc(prepareMediaVariable(--_ctm-dn-pn-as-aw-se) * 0.5);
615
+ height: calc(prepareMediaVariable(--_ctm-dn-pn-as-aw-se) * 0.5);
616
+
617
+ path {
618
+ stroke: prepareMediaVariable(--_ctm-dn-pn-as-aw-cr);
619
+ }
620
+ }
621
+ }
622
+ }
623
+
624
+ &[data-control-type="Side"] {
625
+ .embla__viewport {
626
+ width: calc(100% - 120px);
627
+ margin-inline: auto;
628
+ }
629
+
630
+ .left-button {
631
+ position: absolute;
632
+ left: 0;
633
+ top: 50%;
634
+ transform: translateY(-50%);
635
+ }
636
+
637
+ .right-button {
638
+ position: absolute;
639
+
640
+ right: 0;
641
+ top: 50%;
642
+ transform: translateY(-50%);
643
+ }
644
+ }
645
+
646
+ &[data-thumbnail-placement="top"] {
647
+ flex-direction: column-reverse;
648
+ }
649
+
650
+ &[data-thumbnail-placement="bottom"] {
651
+ flex-direction: column;
652
+ }
653
+
654
+ &[data-thumbnail-placement="left"] {
655
+ flex-direction: row-reverse;
656
+
657
+ .embla__thumbs {
658
+ width: var(--_ctm-lt-tl-se);
659
+ height: 100%;
660
+
661
+ & .embla__thumbs__container {
662
+ flex-direction: column;
663
+ height: 100%;
664
+ }
665
+ }
666
+ }
667
+
668
+ &[data-thumbnail-placement="right"] {
669
+ flex-direction: row;
670
+
671
+ .embla__thumbs {
672
+ width: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
673
+
674
+ height: 100%;
675
+
676
+ & .embla__thumbs__container {
677
+ flex-direction: column;
678
+ height: 100%;
679
+ }
680
+ }
681
+ }
682
+
683
+ .embla__dots {
684
+ display: flex;
685
+ flex-wrap: wrap;
686
+ justify-content: center;
687
+ align-items: center;
688
+ margin-right: calc((2.6rem - 1.4rem) / 2 * -1);
689
+ gap: 6px;
690
+
691
+ &[data-control-type="Bottom-Overflow"] {
692
+ position: absolute;
693
+ bottom: 10px;
694
+ left: 50%;
695
+ transform: translateX(-50%);
696
+ width: 75%;
697
+ }
698
+
699
+ .embla__dot {
700
+ -webkit-tap-highlight-color: rgba(var(--text-high-contrast-rgb-value), 0.5);
701
+ -webkit-appearance: none;
702
+ appearance: none;
703
+ background-color: var(--_ctm-mob-dn-pn-ds-or-dt-cr,
704
+ var(--_ctm-tab-dn-pn-ds-or-dt-cr, var(--_ctm-dn-pn-ds-or-dt-cr)));
705
+
706
+ touch-action: manipulation;
707
+ display: inline-flex;
708
+ text-decoration: none;
709
+ cursor: pointer;
710
+ border: 0;
711
+ padding: 0;
712
+ margin: 0;
713
+ // width: 0.6rem;
714
+ // height: 0.6rem;
715
+ width: var(--_ctm-mob-dn-pn-ds-dt-se,
716
+ var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se)));
717
+ height: var(--_ctm-mob-dn-pn-ds-dt-se,
718
+ var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se)));
719
+
720
+ display: flex;
721
+ align-items: center;
722
+ justify-content: center;
723
+ border-radius: 50%;
724
+ }
725
+
726
+ .embla__dot:after {
727
+ // box-shadow: inset 0 0 0 0.2rem var(--detail-medium-contrast);
728
+ width: var(--_ctm-mob-dn-pn-ds-dt-se,
729
+ var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se)));
730
+ height: var(--_ctm-mob-dn-pn-ds-dt-se,
731
+ var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se)));
732
+
733
+ border-radius: 50%;
734
+ display: flex;
735
+ align-items: center;
736
+ content: "";
737
+ }
738
+
739
+ .embla__dot--selected:after {
740
+ box-shadow: inset 0 0 0 1px var(--text-body);
741
+ background-color: var(--_ctm-mob-dn-pn-ds-ct-dt-cr,
742
+ var(--_ctm-tab-dn-pn-ds-ct-dt-cr, var(--_ctm-dn-pn-ds-ct-dt-cr)));
743
+ }
744
+
745
+ &[data-slider-control="Pagination Line"] {
746
+ .embla__dot {
747
+ width: var(--_ctm-mob-dn-pn-le-le-wh,
748
+ var(--_ctm-tab-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh)));
749
+ height: var(--_ctm-mob-dn-pn-le-le-ht,
750
+ var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht)));
751
+ background-color: var(--_ctm-mob-dn-pn-le-or-le-cr,
752
+ var(--_ctm-tab-dn-pn-le-or-le-cr, var(--_ctm-dn-pn-le-or-le-cr)));
753
+ border-radius: 6px;
754
+ }
755
+
756
+ .embla__dot--selected:after {
757
+ box-shadow: inset 0 0 0 1px var(--text-body);
758
+ border-radius: 6px;
759
+ width: var(--_ctm-mob-dn-pn-le-le-wh,
760
+ var(--_ctm-tab-dn-pn-le-le-wh, var(--_ctm-dn-pn-le-le-wh)));
761
+ height: var(--_ctm-mob-dn-pn-le-le-ht,
762
+ var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht)));
763
+ background-color: var(--_ctm-mob-dn-pn-le-ct-le-cr,
764
+ var(--_ctm-tab-dn-pn-le-ct-le-cr, var(--_ctm-dn-pn-le-ct-le-cr)));
765
+ }
766
+ }
767
+ }
768
+
769
+ .embla__thumbs {
770
+ width: 100%;
771
+ height: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
772
+
773
+ position: relative;
774
+ display: grid;
775
+ grid-template-columns: 1fr;
776
+ overflow: hidden;
777
+ // margin: 10px;
778
+ padding: 10px;
779
+
780
+ .embla__thumbs__viewport {
781
+ width: 100%;
782
+ height: 100%;
783
+ position: relative;
784
+ display: flex;
785
+ flex-direction: column;
786
+
787
+ overflow: hidden;
788
+ }
789
+
790
+ .embla__thumbs__container {
791
+ display: flex;
792
+ flex-direction: row;
793
+ margin-left: calc(var(--thumbs-slide-spacing) * -1);
794
+ gap: var(--_ctm-mob-lt-tl-sg, var(--_ctm-tab-lt-tl-sg, var(--_ctm-lt-tl-sg)));
795
+
796
+ width: 100%;
797
+ // justify-content: center;
798
+ // height: 200px;
799
+
800
+ .embla__thumbs__slide {
801
+ min-width: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
802
+ max-width: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
803
+ height: var(--_ctm-mob-lt-tl-se, var(--_ctm-tab-lt-tl-se, var(--_ctm-lt-tl-se)));
804
+
805
+ & img {
806
+ width: 100%;
807
+ height: 100%;
808
+ }
809
+ }
810
+ }
811
+ }
812
+ }
813
+ }
814
+ }