@sc-360-v2/storefront-cms-library 0.5.70 → 0.5.72

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 (141) hide show
  1. package/dist/add-existing-form.scss +68 -68
  2. package/dist/add-products-tab-details.scss +4071 -4071
  3. package/dist/add-products-tab-uom-details.scss +1106 -1106
  4. package/dist/add-products-tab.scss +2377 -2377
  5. package/dist/allocation-header-quota-details.scss +609 -609
  6. package/dist/allocations-quota-details.scss +525 -525
  7. package/dist/amount-estimator.scss +1192 -1192
  8. package/dist/animation-control.scss +23 -23
  9. package/dist/badge.scss +408 -408
  10. package/dist/brand-basic-elements.scss +387 -387
  11. package/dist/brand.scss +142 -142
  12. package/dist/breadcrumbs.scss +966 -966
  13. package/dist/builder.js +1 -1
  14. package/dist/bulk-order-pad.scss +692 -692
  15. package/dist/bundleDetails.scss +6189 -6189
  16. package/dist/buy-for-tab-container.scss +141 -141
  17. package/dist/buy-for-tab.scss +649 -649
  18. package/dist/buy-for-tabs-container-item.scss +80 -80
  19. package/dist/buyForPopup.scss +339 -339
  20. package/dist/cart-details.scss +3986 -3986
  21. package/dist/cart-products-sidebar.scss +211 -211
  22. package/dist/cart-wrapper.scss +127 -127
  23. package/dist/cartDropdownOverlay.scss +653 -653
  24. package/dist/cartGrouping.scss +89 -89
  25. package/dist/category-groups-element.scss +739 -739
  26. package/dist/category-groups-quota-details.scss +626 -626
  27. package/dist/category.scss +137 -137
  28. package/dist/categoryDetails.scss +61 -61
  29. package/dist/categoryWidget.scss +34 -34
  30. package/dist/checkbox-radio.scss +124 -124
  31. package/dist/code-temp.scss +59 -59
  32. package/dist/colorpicker_v2.scss +62 -62
  33. package/dist/common-element.scss +35 -35
  34. package/dist/confirm-modal.scss +370 -370
  35. package/dist/confirmationModal.scss +139 -139
  36. package/dist/contact-us.scss +105 -105
  37. package/dist/container.scss +168 -168
  38. package/dist/custom-fonts.scss +100 -100
  39. package/dist/customization-tree.scss +162 -162
  40. package/dist/default-dropdown.scss +259 -259
  41. package/dist/dropdownTemplate.scss +699 -699
  42. package/dist/editCartItem.scss +110 -110
  43. package/dist/embed-temp.scss +73 -73
  44. package/dist/embroider-preview-element.scss +94 -94
  45. package/dist/embroider-template-1-v2.scss +1105 -1105
  46. package/dist/embroider-template-1.scss +501 -501
  47. package/dist/embroidery.scss +247 -247
  48. package/dist/employee-bulk-order.scss +4060 -4060
  49. package/dist/emtpy-templates.scss +165 -165
  50. package/dist/faq.scss +696 -696
  51. package/dist/fb-dropdown.scss +135 -135
  52. package/dist/filter-results.scss +361 -361
  53. package/dist/flex-text-editor.scss +271 -271
  54. package/dist/form-preview.scss +530 -530
  55. package/dist/global-styles.scss +198 -198
  56. package/dist/grid.scss +169 -169
  57. package/dist/icon-library.scss +78 -78
  58. package/dist/image-for-product.scss +21 -21
  59. package/dist/image-temp.scss +203 -203
  60. package/dist/item-stock.scss +93 -93
  61. package/dist/kitDetails.scss +5739 -5739
  62. package/dist/kits.scss +305 -305
  63. package/dist/language-selector.scss +948 -948
  64. package/dist/last-x-orders.scss +285 -285
  65. package/dist/layouter-item.scss +141 -141
  66. package/dist/layouter-pro-item.scss +139 -139
  67. package/dist/layouter-pro.scss +134 -134
  68. package/dist/layouter.scss +491 -491
  69. package/dist/light-box-v2.scss +155 -155
  70. package/dist/lightbox.scss +78 -78
  71. package/dist/loader.scss +37 -37
  72. package/dist/login.scss +29 -11
  73. package/dist/marchandiserSets.scss +141 -141
  74. package/dist/mega-menu-container.scss +152 -152
  75. package/dist/menu-item.scss +19 -19
  76. package/dist/menu-v2.scss +999 -999
  77. package/dist/menu.scss +174 -174
  78. package/dist/multi-select-dropdown.scss +316 -316
  79. package/dist/my-templates.scss +477 -477
  80. package/dist/my-wishlist.scss +27 -27
  81. package/dist/option-bar.scss +886 -886
  82. package/dist/order-processing.scss +61 -61
  83. package/dist/order-status.scss +74 -0
  84. package/dist/overflow-module.scss +63 -63
  85. package/dist/past-orders.scss +1039 -1039
  86. package/dist/payment-methods.scss +307 -307
  87. package/dist/phone-input.scss +208 -208
  88. package/dist/pickup-locations.scss +1359 -1359
  89. package/dist/position-module.scss +95 -95
  90. package/dist/prefix-list.scss +86 -86
  91. package/dist/product-actions.scss +2872 -2872
  92. package/dist/product-basic-elements.scss +600 -600
  93. package/dist/product-customizations.scss +155 -155
  94. package/dist/product-inventory.scss +1621 -1621
  95. package/dist/product-labels.scss +265 -265
  96. package/dist/product-price.scss +3392 -3392
  97. package/dist/product-promotions.scss +3224 -3224
  98. package/dist/product-sizechart.scss +1921 -1921
  99. package/dist/product.scss +140 -140
  100. package/dist/profile.scss +824 -824
  101. package/dist/quantity-selector.scss +1074 -1074
  102. package/dist/quick-inventory-check.scss +285 -285
  103. package/dist/quick-links.scss +627 -627
  104. package/dist/quota-details.scss +526 -526
  105. package/dist/repeater-embla-controls.scss +211 -211
  106. package/dist/repeater-grid-toggle.scss +206 -206
  107. package/dist/repeater-item.scss +152 -152
  108. package/dist/repeater.scss +946 -946
  109. package/dist/request-for-quotes.scss +841 -841
  110. package/dist/responsive-behaviour.scss +29 -29
  111. package/dist/rfqs.scss +861 -861
  112. package/dist/scroll.scss +414 -414
  113. package/dist/search.scss +689 -689
  114. package/dist/section.scss +276 -276
  115. package/dist/shareCartSideBar.scss +254 -254
  116. package/dist/shipping-estimator.scss +41 -41
  117. package/dist/shipping-payments.scss +2518 -2518
  118. package/dist/simple-list.scss +338 -338
  119. package/dist/skeleton.scss +64 -64
  120. package/dist/sort.scss +176 -176
  121. package/dist/spotlight.scss +1706 -1706
  122. package/dist/stack.scss +171 -171
  123. package/dist/static-global.scss +292 -292
  124. package/dist/static-text.scss +52 -52
  125. package/dist/stockStatus.scss +70 -70
  126. package/dist/store-locations.scss +1592 -1592
  127. package/dist/sub-category.scss +74 -74
  128. package/dist/submit-quote.scss +275 -275
  129. package/dist/tab-container-item.scss +80 -80
  130. package/dist/tab-container.scss +141 -141
  131. package/dist/table.scss +9 -0
  132. package/dist/tabs.scss +440 -440
  133. package/dist/text-temp.scss +109 -109
  134. package/dist/theme-classes.scss +421 -421
  135. package/dist/toaster.scss +392 -392
  136. package/dist/toggle-button.scss +32 -32
  137. package/dist/transform-properties-module.scss +20 -20
  138. package/dist/types/builder/tools/element-edit/login.d.ts +1 -0
  139. package/dist/types/builder/tools/element-edit/resetPassword.d.ts +1 -0
  140. package/dist/wishlist-overlay.scss +48 -48
  141. package/package.json +1 -1
package/dist/menu-v2.scss CHANGED
@@ -1,999 +1,999 @@
1
- @use "sass:map";
2
- @use "sass:list";
3
- @use "./functions.scss" as *;
4
- $activeElementSelector: "[data-has-clicked='true']";
5
- $wrapper: ".flex__menu__list__wrapper";
6
- $menuItem: ".flex__menu__item";
7
- $subMenuContainer: ".flex__submenu__container";
8
- $nodatap: ".no__menu_item__p";
9
- $subMenuItem: ".flex__sub__menu__item";
10
- $subMenuItemText: ".flex__sub__menu__item__text";
11
- $hrz: "[data-element-type='menu-v2'] > .hrz";
12
- $vtl: "[data-element-type='menu-v2'] > .vtl";
13
- $hamburger: ".flex__menu__hamburger";
14
- $hamburgerActive: "[data-hamburger-active='true']";
15
-
16
- $wrapperData: (
17
- start: (
18
- left: prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px),
19
- ),
20
- end: (
21
- right: prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px),
22
- ),
23
- center: (
24
- left: calc(50% + #{prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px)}),
25
- transform: translateX(-50%),
26
- ),
27
- );
28
-
29
- $defaultValues: (
30
- --_min-submenu-height: getListOfResponsive(650px, 400px, 550px),
31
- );
32
-
33
- @mixin hamburgerCSS() {
34
- position: relative;
35
- display: var(--_d-flex);
36
- justify-content: prepareMediaVariable(--_ctm-dn-hr-os-vl-at);
37
-
38
- & > div {
39
- &#{$wrapper} {
40
- position: absolute;
41
- // left: var(--_sf-hm-mc-lt-vl-v2, 0px);
42
- // width: 100%;
43
- // width: 100vw;
44
- top: calc(100% + prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-y, 0px));
45
- z-index: 2;
46
- visibility: hidden;
47
- opacity: 0;
48
- max-height: 0px;
49
- overflow: clip;
50
- display: var(--_d-flex);
51
- flex-direction: column;
52
- gap: prepareMediaVariable(--_ctm-lt-im-gp);
53
-
54
- @each $key, $val in $wrapperData {
55
- &[data-position="#{$key}"] {
56
- @each $k, $v in $val {
57
- #{$k}: #{$v};
58
- }
59
- }
60
- }
61
-
62
- &:is([data-hamburger-active="true"] > *) {
63
- // animation: animThree var(--_transition-duration) var(--_transition-timing-function) 1
64
- // forwards alternate;
65
- visibility: visible;
66
- opacity: 1;
67
- width: prepareMediaVariable(--_ctm-dn-hr-os-cr-wh, 100%);
68
- max-height: var(--_min-submenu-height, 650px);
69
- overflow-y: auto;
70
- }
71
-
72
- & > #{$menuItem} {
73
- align-items: flex-start;
74
- width: 100%;
75
- flex-direction: column;
76
- gap: #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)};
77
-
78
- & > #{$subMenuContainer} {
79
- width: 100% !important;
80
- position: static !important;
81
- transform: none !important;
82
- }
83
- }
84
-
85
- @keyframes animThree {
86
- 100% {
87
- max-height: var(--_min-submenu-height, 650px);
88
- opacity: 1;
89
- visibility: visible;
90
- overflow-y: auto;
91
- }
92
- }
93
- }
94
- }
95
-
96
- & > #{$hamburger} {
97
- display: var(--_d-flex);
98
- }
99
- }
100
-
101
- [data-div-type="element"] {
102
- &[data-element-type="menu-v2"] {
103
- width: calc(1% * #{prepareMediaVariable(--_ctm-ele-nw-wh-vl)});
104
- margin: prepareMediaVariable(--_ctm-lt-mn);
105
- @include prepareMediaQueries($defaultValues);
106
- // var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, auto)))
107
-
108
- & > div {
109
- &.wrapper {
110
- width: 100%;
111
- // padding: #{prepareMediaVariable(--_ctm-lt-pg)};
112
- // background: prepareMediaVariable(--_ctm-dn-mu-cr-bd-cr);
113
- // border-radius: prepareMediaVariable(--_ctm-dn-mu-cr-br-rs);
114
-
115
- // &[data-show-border="true"] {
116
- // border-color: prepareMediaVariable(--_ctm-dn-mu-cr-br-cr);
117
- // border-width: prepareMediaVariable(--_ctm-dn-mu-cr-br-wh);
118
- // border-style: prepareMediaVariable(--_ctm-dn-mu-cr-br-se);
119
- // }
120
- // &[data-show-boxshadow="true"] {
121
- // box-shadow: prepareMediaVariable(--_ctm-dn-mu-cr-sw-ae)
122
- // prepareMediaVariable(--_ctm-dn-mu-cr-sw-br) prepareMediaVariable(--_ctm-dn-mu-cr-sw-sd)
123
- // prepareMediaVariable(--_ctm-dn-mu-cr-sw-cr);
124
- // }
125
-
126
- &.hrz {
127
- & > div {
128
- &#{$wrapper} {
129
- display: var(--_d-flex);
130
- flex-direction: row;
131
- gap: prepareMediaVariable(--_ctm-lt-im-gp);
132
- justify-content: prepareMediaVariable(--_ctm-lt-jy-ct);
133
- align-items: center;
134
-
135
- & > p {
136
- &#{$nodatap} {
137
- font-size: 14px;
138
- color: var(--_gray-500);
139
- }
140
- }
141
- }
142
- }
143
- }
144
-
145
- &.vtl {
146
- & > div {
147
- &#{$wrapper} {
148
- display: var(--_d-flex);
149
- flex-direction: column;
150
- gap: prepareMediaVariable(--_ctm-lt-im-gp);
151
- }
152
- }
153
- }
154
-
155
- & > div {
156
- &#{$wrapper} {
157
- padding: #{prepareMediaVariable(--_ctm-lt-pg)};
158
- background: prepareMediaVariable(--_ctm-dn-mu-cr-bd-cr);
159
- border-radius: prepareMediaVariable(--_ctm-dn-mu-cr-br-rs);
160
-
161
- &:is([data-show-border="true"] > *) {
162
- border-color: prepareMediaVariable(--_ctm-dn-mu-cr-br-cr);
163
- border-width: prepareMediaVariable(--_ctm-dn-mu-cr-br-wh);
164
- border-style: prepareMediaVariable(--_ctm-dn-mu-cr-br-se);
165
- }
166
-
167
- &:is([data-show-boxshadow="true"] > *) {
168
- box-shadow: prepareMediaVariable(--_ctm-dn-mu-cr-sw-ae)
169
- prepareMediaVariable(--_ctm-dn-mu-cr-sw-br)
170
- prepareMediaVariable(--_ctm-dn-mu-cr-sw-sd)
171
- prepareMediaVariable(--_ctm-dn-mu-cr-sw-cr);
172
- }
173
-
174
- & > div {
175
- &#{$menuItem} {
176
- position: relative;
177
- padding: var(
178
- --_sf-it-at-pd,
179
- var(--_sf-it-hr-pd, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-pg)})
180
- );
181
- background: var(
182
- --_sf-it-at-bd,
183
- var(--_sf-it-hr-bd, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-bd-cr)})
184
- );
185
- border-radius: var(
186
- --_sf-it-at-br,
187
- var(--_sf-it-hr-br, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-rs)})
188
- );
189
- display: var(--_d-flex);
190
- align-items: center;
191
-
192
- &:is(#{$vtl} *) {
193
- align-items: flex-start;
194
- flex-direction: column;
195
- gap: #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)};
196
- }
197
-
198
- &:hover {
199
- --_sf-it-hr-pd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-pg)};
200
- --_sf-it-hr-bd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-bd-cr)};
201
- --_sf-it-hr-br: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-rs)};
202
- --_sf-it-hr-brc: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-cr)};
203
- --_sf-it-hr-bw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-wh)};
204
- --_sf-it-hr-bs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-se)};
205
-
206
- --_sf-it-hr-bsa: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-ae)};
207
- --_sf-it-hr-blr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-br)};
208
- --_sf-it-hr-spr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-sd)};
209
- --_sf-it-hr-bscl: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-cr)};
210
-
211
- --_sf-it-hr-ff: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-fy)};
212
- --_sf-it-hr-fs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-se)};
213
- --_sf-it-hr-fclr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-cr)};
214
- --_sf-it-hr-fw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-wt)};
215
-
216
- --_sf-it-hr-fsi: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-se-ic)};
217
- --_sf-it-hr-td: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ue)};
218
- --_sf-it-hr-tae: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-tt-an)};
219
- --_sf-it-hr-ls: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-lr-sg)};
220
- --_sf-it-hr-lh: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-le-ht)};
221
- --_sf-it-hr-ttm: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-tt-tm)};
222
- --_sf-it-hr-wwp: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-wd-wp)};
223
- --_sf-it-hr-wbk: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-wd-bk)};
224
-
225
- // Dropdown icon (size/color) hover overrides — consumed by
226
- // the .flex__menu__item__icon svg cascade below.
227
- --_sf-it-hr-isz: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-se)};
228
- --_sf-it-hr-icr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-c1)};
229
-
230
- // Same, for the per-item leading icon.
231
- --_sf-it-hr-isz-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-se-im)};
232
- --_sf-it-hr-icr-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-c1-im)};
233
- }
234
-
235
- &.active {
236
- --_sf-it-at-pd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-pg)};
237
- --_sf-it-at-bd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-bd-cr)};
238
- --_sf-it-at-br: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-rs)};
239
- --_sf-it-at-brc: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-cr)};
240
- --_sf-it-at-bw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-wh)};
241
- --_sf-it-at-bs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-se)};
242
-
243
- --_sf-it-at-bsa: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-ae)};
244
- --_sf-it-at-blr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-br)};
245
- --_sf-it-at-spr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-sd)};
246
- --_sf-it-at-bscl: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-cr)};
247
-
248
- --_sf-it-at-ff: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-fy)};
249
- --_sf-it-at-fs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-se)};
250
- --_sf-it-at-fclr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-cr)};
251
- --_sf-it-at-fw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-wt)};
252
- --_sf-it-at-fsi: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-se-ic)};
253
- --_sf-it-at-td: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ue)};
254
- --_sf-it-at-tae: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-tt-an)};
255
- --_sf-it-at-ls: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-lr-sg)};
256
- --_sf-it-at-lh: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-le-ht)};
257
- --_sf-it-at-ttm: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-tt-tm)};
258
- --_sf-it-at-wwp: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-wd-wp)};
259
- --_sf-it-at-wbk: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-wd-bk)};
260
-
261
- // Dropdown icon (size/color) selected-state overrides.
262
- --_sf-it-at-isz: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-se)};
263
- --_sf-it-at-icr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-c1)};
264
-
265
- // Same, for the per-item leading icon.
266
- --_sf-it-at-isz-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-se-im)};
267
- --_sf-it-at-icr-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-c1-im)};
268
- }
269
-
270
- &[data-show-border="true"] {
271
- border-color: var(
272
- --_sf-it-at-brc,
273
- var(--_sf-it-hr-brc, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-cr)})
274
- );
275
- border-width: var(
276
- --_sf-it-at-bw,
277
- var(--_sf-it-hr-bw, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-wh)})
278
- );
279
- border-style: var(
280
- --_sf-it-at-bs,
281
- var(--_sf-it-hr-bs, prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-se))
282
- );
283
- }
284
-
285
- &[data-show-boxshadow="true"] {
286
- box-shadow: var(
287
- --_sf-it-at-bsa,
288
- var(--_sf-it-hr-bsa, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-ae)})
289
- )
290
- var(
291
- --_sf-it-at-blr,
292
- var(--_sf-it-hr-blr, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-br)})
293
- )
294
- var(
295
- --_sf-it-at-spr,
296
- var(--_sf-it-hr-spr, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-sd)})
297
- )
298
- var(
299
- --_sf-it-at-bscl,
300
- var(--_sf-it-hr-bscl, prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-cr))
301
- );
302
- }
303
-
304
- & > a {
305
- display: var(--_d-flex);
306
- justify-content: space-between;
307
- align-items: center;
308
- gap: prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-gp);
309
-
310
- & > span {
311
- display: var(--_d-flex);
312
- font-family: var(
313
- --_sf-it-at-ff,
314
- var(--_sf-it-hr-ff, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-fy)})
315
- );
316
- &.flex__overflow {
317
- white-space: normal;
318
- @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
319
- }
320
- font-size: var(
321
- --_sf-it-at-fs,
322
- var(--_sf-it-hr-fs, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-se)})
323
- );
324
- color: var(
325
- --_sf-it-at-fclr,
326
- var(--_sf-it-hr-fclr, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-cr)})
327
- );
328
- font-weight: var(
329
- --_sf-it-at-fw,
330
- var(--_sf-it-hr-fw, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-wt)})
331
- );
332
- font-style: var(
333
- --_sf-it-at-fsi,
334
- var(
335
- --_sf-it-hr-fsi,
336
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-se-ic)}
337
- )
338
- );
339
- text-decoration: var(
340
- --_sf-it-at-td,
341
- var(--_sf-it-hr-td, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ue)})
342
- );
343
- text-align: var(
344
- --_sf-it-at-tae,
345
- var(--_sf-it-hr-tae, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-tt-an)})
346
- );
347
- letter-spacing: var(
348
- --_sf-it-at-ls,
349
- var(--_sf-it-hr-ls, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-lr-sg)})
350
- );
351
- line-height: var(
352
- --_sf-it-at-lh,
353
- var(--_sf-it-hr-lh, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-le-ht)})
354
- );
355
- text-transform: var(
356
- --_sf-it-at-ttm,
357
- var(
358
- --_sf-it-hr-ttm,
359
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-tt-tm, none)}
360
- )
361
- );
362
- word-wrap: var(
363
- --_sf-it-at-wwp,
364
- var(
365
- --_sf-it-hr-wwp,
366
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-wd-wp, normal)}
367
- )
368
- );
369
- word-break: var(
370
- --_sf-it-at-wbk,
371
- var(
372
- --_sf-it-hr-wbk,
373
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-wd-bk, normal)}
374
- )
375
- );
376
-
377
- // The item's own leading glyph. Styled from the `Item`-suffixed
378
- // vars so it is sized and coloured independently of the caret
379
- // below, which shares this parent but reads the unsuffixed set.
380
- &.flex__menu__item__leading__icon {
381
- flex: 0 0 auto;
382
- margin-inline-end: prepareMediaVariable(
383
- --_ctm-dn-mu-im-se-dt-se-in-gp-im,
384
- 0px
385
- );
386
-
387
- svg {
388
- width: var(
389
- --_sf-it-at-isz-im,
390
- var(
391
- --_sf-it-hr-isz-im,
392
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se-im)}
393
- )
394
- );
395
- height: var(
396
- --_sf-it-at-isz-im,
397
- var(
398
- --_sf-it-hr-isz-im,
399
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se-im)}
400
- )
401
- );
402
-
403
- path {
404
- stroke: var(
405
- --_sf-it-at-icr-im,
406
- var(
407
- --_sf-it-hr-icr-im,
408
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-c1-im)}
409
- )
410
- );
411
- stroke-width: prepareMediaVariable(
412
- --_ctm-dn-mu-im-se-dt-se-se-wh-im,
413
- 1.25
414
- );
415
- }
416
- }
417
- }
418
-
419
- &.flex__menu__item__icon {
420
- &[data-rotate="true"] {
421
- --_sf-svg-tr: 180deg;
422
- }
423
-
424
- svg {
425
- width: var(
426
- --_sf-it-at-isz,
427
- var(
428
- --_sf-it-hr-isz,
429
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se)}
430
- )
431
- );
432
- height: var(
433
- --_sf-it-at-isz,
434
- var(
435
- --_sf-it-hr-isz,
436
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se)}
437
- )
438
- );
439
- transform: rotate(#{var(--_sf-svg-tr, 0deg)});
440
- transition: transform var(--_transition-duration)
441
- var(--_transition-timing-function);
442
-
443
- path {
444
- stroke: var(
445
- --_sf-it-at-icr,
446
- var(
447
- --_sf-it-hr-icr,
448
- #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-c1)}
449
- )
450
- );
451
- // Overrides the stroke-width presentation attribute baked into the icon markup.
452
- stroke-width: prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-se-wh, 1.25);
453
- }
454
- }
455
- }
456
- }
457
-
458
- // The row is `space-between`, so a third child would otherwise
459
- // spread all three apart. Letting the label absorb the free space
460
- // keeps the glyph beside it and the caret out at the edge.
461
- & > .flex__menu__item__leading__icon + span {
462
- flex: 1 1 auto;
463
- }
464
- }
465
-
466
- // Sub Item Container
467
-
468
- & > ul {
469
- &#{$subMenuContainer} {
470
- background: prepareMediaVariable(--_ctm-dn-sb-mu-cr-bd-cr);
471
- border-radius: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-rs);
472
- padding: prepareMediaVariable(--_ctm-dn-sb-mu-cr-pg);
473
-
474
- display: var(--_d-flex);
475
- flex-direction: column;
476
- row-gap: prepareMediaVariable(--_ctm-dn-sb-mu-cr-im-gp);
477
-
478
- &:is(#{$hrz} *) {
479
- position: absolute;
480
- left: calc(50% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-x)});
481
- width: calc(100% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-wh)});
482
- top: calc(100% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)});
483
- transform: translateX(-50%);
484
- z-index: 2;
485
- }
486
-
487
- &:is(#{$vtl} *) {
488
- width: 100%;
489
- }
490
-
491
- // max-height: 0px;
492
- // overflow: clip;
493
- max-height: 500px;
494
- overflow-y: auto;
495
- // animation: animTwo var(--_transition-duration)
496
- // var(--_transition-timing-function) 1 forwards alternate;
497
-
498
- @keyframes animTwo {
499
- 100% {
500
- max-height: 500px;
501
- overflow-y: auto;
502
- }
503
- }
504
-
505
- &[data-show-border="true"] {
506
- border-width: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-wh);
507
- border-color: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-cr);
508
- border-style: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-se);
509
- }
510
-
511
- &[data-show-boxshadow="true"] {
512
- box-shadow: prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-ae)
513
- prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-br)
514
- prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-sd)
515
- prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-cr);
516
- }
517
-
518
- & > li {
519
- &#{$subMenuItem} {
520
- display: var(--_d-flex);
521
- flex-direction: column;
522
-
523
- padding: var(
524
- --_sf-sb-it-at-pd,
525
- var(
526
- --_sf-sb-it-hr-pd,
527
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-pg)}
528
- )
529
- );
530
- background: var(
531
- --_sf-sb-it-at-bd,
532
- var(
533
- --_sf-sb-it-hr-bd,
534
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-bd-cr)}
535
- )
536
- );
537
- border-radius: var(
538
- --_sf-sb-it-at-br,
539
- var(
540
- --_sf-sb-it-hr-br,
541
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-rs)}
542
- )
543
- );
544
-
545
- &[data-show-border="true"] {
546
- border-color: var(
547
- --_sf-sb-it-at-brc,
548
- var(
549
- --_sf-sb-it-hr-brc,
550
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-cr)}
551
- )
552
- );
553
- border-width: var(
554
- --_sf-sb-it-at-bw,
555
- var(
556
- --_sf-sb-it-hr-bw,
557
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-wh)}
558
- )
559
- );
560
- border-style: var(
561
- --_sf-sb-it-at-bs,
562
- var(
563
- --_sf-sb-it-hr-bs,
564
- prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-se)
565
- )
566
- );
567
- }
568
-
569
- &[data-show-boxshadow="true"] {
570
- box-shadow: var(
571
- --_sf-sb-it-at-bsa,
572
- var(
573
- --_sf-sb-it-hr-bsa,
574
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-ae)}
575
- )
576
- )
577
- var(
578
- --_sf-sb-it-at-blr,
579
- var(
580
- --_sf-sb-it-hr-blr,
581
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-br)}
582
- )
583
- )
584
- var(
585
- --_sf-sb-it-at-spr,
586
- var(
587
- --_sf-sb-it-hr-spr,
588
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-sd)}
589
- )
590
- )
591
- var(
592
- --_sf-sb-it-at-bscl,
593
- var(
594
- --_sf-sb-it-hr-bscl,
595
- prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-cr)
596
- )
597
- );
598
- }
599
-
600
- &:hover {
601
- --_sf-sb-it-hr-pd: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-hr-se-pg)};
602
- --_sf-sb-it-hr-bd: #{prepareMediaVariable(
603
- --_ctm-dn-sb-mu-im-se-hr-se-bd-cr
604
- )};
605
- --_sf-sb-it-hr-br: #{prepareMediaVariable(
606
- --_ctm-dn-sb-mu-im-se-hr-se-br-rs
607
- )};
608
- --_sf-sb-it-hr-brc: #{prepareMediaVariable(
609
- --_ctm-dn-sb-mu-im-se-hr-se-br-cr
610
- )};
611
- --_sf-sb-it-hr-bw: #{prepareMediaVariable(
612
- --_ctm-dn-sb-mu-im-se-hr-se-br-wh
613
- )};
614
- --_sf-sb-it-hr-bs: #{prepareMediaVariable(
615
- --_ctm-dn-sb-mu-im-se-hr-se-br-se
616
- )};
617
- --_sf-sb-it-hr-bsa: #{prepareMediaVariable(
618
- --_ctm-dn-sb-mu-im-se-hr-se-sw-ae
619
- )};
620
- --_sf-sb-it-hr-blr: #{prepareMediaVariable(
621
- --_ctm-dn-sb-mu-im-se-hr-se-sw-br
622
- )};
623
- --_sf-sb-it-hr-spr: #{prepareMediaVariable(
624
- --_ctm-dn-sb-mu-im-se-hr-se-sw-sd
625
- )};
626
- --_sf-sb-it-hr-bscl: #{prepareMediaVariable(
627
- --_ctm-dn-sb-mu-im-se-hr-se-sw-cr
628
- )};
629
-
630
- --_sf-sb-it-hr-ff: #{prepareMediaVariable(
631
- --_ctm-dn-sb-mu-im-se-hr-se-ft-fy
632
- )};
633
- --_sf-sb-it-hr-fs: #{prepareMediaVariable(
634
- --_ctm-dn-sb-mu-im-se-hr-se-ft-se
635
- )};
636
- --_sf-sb-it-hr-fclr: #{prepareMediaVariable(
637
- --_ctm-dn-sb-mu-im-se-hr-se-cr
638
- )};
639
- --_sf-sb-it-hr-fw: #{prepareMediaVariable(
640
- --_ctm-dn-sb-mu-im-se-hr-se-ft-wt
641
- )};
642
-
643
- --_sf-sb-it-hr-fsi: #{prepareMediaVariable(
644
- --_ctm-dn-sb-mu-im-se-hr-se-ft-se-ic
645
- )};
646
- --_sf-sb-it-hr-td: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-hr-se-ue)};
647
- --_sf-sb-it-hr-tae: #{prepareMediaVariable(
648
- --_ctm-dn-sb-mu-im-se-hr-se-tt-an
649
- )};
650
- --_sf-sb-it-hr-ls: #{prepareMediaVariable(
651
- --_ctm-dn-sb-mu-im-se-hr-se-lr-sg
652
- )};
653
- --_sf-sb-it-hr-lh: #{prepareMediaVariable(
654
- --_ctm-dn-sb-mu-im-se-hr-se-le-ht
655
- )};
656
- --_sf-sb-it-hr-ttm: #{prepareMediaVariable(
657
- --_ctm-dn-sb-mu-im-se-hr-se-tt-tm
658
- )};
659
- --_sf-sb-it-hr-wwp: #{prepareMediaVariable(
660
- --_ctm-dn-sb-mu-im-se-hr-se-wd-wp
661
- )};
662
- --_sf-sb-it-hr-wbk: #{prepareMediaVariable(
663
- --_ctm-dn-sb-mu-im-se-hr-se-wd-bk
664
- )};
665
-
666
- // Per-item leading icon hover overrides.
667
- --_sf-sb-it-hr-isz-im: #{prepareMediaVariable(
668
- --_ctm-dn-sb-mu-im-se-hr-se-in-se-im
669
- )};
670
- --_sf-sb-it-hr-icr-im: #{prepareMediaVariable(
671
- --_ctm-dn-sb-mu-im-se-hr-se-in-c1-im
672
- )};
673
- }
674
-
675
- &.active {
676
- --_sf-sb-it-at-pd: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-sd-se-pg)};
677
- --_sf-sb-it-at-bd: #{prepareMediaVariable(
678
- --_ctm-dn-sb-mu-im-se-sd-se-bd-cr
679
- )};
680
- --_sf-sb-it-at-br: #{prepareMediaVariable(
681
- --_ctm-dn-sb-mu-im-se-sd-se-br-rs
682
- )};
683
- --_sf-sb-it-at-brc: #{prepareMediaVariable(
684
- --_ctm-dn-sb-mu-im-se-sd-se-br-cr
685
- )};
686
- --_sf-sb-it-at-bw: #{prepareMediaVariable(
687
- --_ctm-dn-sb-mu-im-se-sd-se-br-wh
688
- )};
689
- --_sf-sb-it-at-bs: #{prepareMediaVariable(
690
- --_ctm-dn-sb-mu-im-se-sd-se-br-se
691
- )};
692
- --_sf-sb-it-hr-bsa: #{prepareMediaVariable(
693
- --_ctm-dn-sb-mu-im-se-sd-se-sw-ae
694
- )};
695
- --_sf-sb-it-at-blr: #{prepareMediaVariable(
696
- --_ctm-dn-sb-mu-im-se-sd-se-sw-br
697
- )};
698
- --_sf-sb-it-at-spr: #{prepareMediaVariable(
699
- --_ctm-dn-sb-mu-im-se-sd-se-sw-sd
700
- )};
701
- --_sf-sb-it-at-bscl: #{prepareMediaVariable(
702
- --_ctm-dn-sb-mu-im-se-sd-se-sw-cr
703
- )};
704
-
705
- --_sf-sb-it-at-ff: #{prepareMediaVariable(
706
- --_ctm-dn-sb-mu-im-se-sd-se-ft-fy
707
- )};
708
- --_sf-sb-it-at-fs: #{prepareMediaVariable(
709
- --_ctm-dn-sb-mu-im-se-sd-se-ft-se
710
- )};
711
- --_sf-sb-it-at-fclr: #{prepareMediaVariable(
712
- --_ctm-dn-sb-mu-im-se-sd-se-cr
713
- )};
714
- --_sf-sb-it-at-fw: #{prepareMediaVariable(
715
- --_ctm-dn-sb-mu-im-se-sd-se-ft-wt
716
- )};
717
- --_sf-sb-it-at-fsi: #{prepareMediaVariable(
718
- --_ctm-dn-sb-mu-im-se-sd-se-ft-se-ic
719
- )};
720
- --_sf-sb-it-at-td: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-sd-se-ue)};
721
- --_sf-sb-it-at-tae: #{prepareMediaVariable(
722
- --_ctm-dn-sb-mu-im-se-sd-se-tt-an
723
- )};
724
- --_sf-sb-it-at-ls: #{prepareMediaVariable(
725
- --_ctm-dn-sb-mu-im-se-sd-se-lr-sg
726
- )};
727
- --_sf-sb-it-at-lh: #{prepareMediaVariable(
728
- --_ctm-dn-sb-mu-im-se-sd-se-le-ht
729
- )};
730
- --_sf-sb-it-at-ttm: #{prepareMediaVariable(
731
- --_ctm-dn-sb-mu-im-se-sd-se-tt-tm
732
- )};
733
- --_sf-sb-it-at-wwp: #{prepareMediaVariable(
734
- --_ctm-dn-sb-mu-im-se-sd-se-wd-wp
735
- )};
736
- --_sf-sb-it-at-wbk: #{prepareMediaVariable(
737
- --_ctm-dn-sb-mu-im-se-sd-se-wd-bk
738
- )};
739
-
740
- // Per-item leading icon selected-state overrides.
741
- --_sf-sb-it-at-isz-im: #{prepareMediaVariable(
742
- --_ctm-dn-sb-mu-im-se-sd-se-in-se-im
743
- )};
744
- --_sf-sb-it-at-icr-im: #{prepareMediaVariable(
745
- --_ctm-dn-sb-mu-im-se-sd-se-in-c1-im
746
- )};
747
- }
748
-
749
- & > a {
750
- display: var(--_d-flex);
751
- justify-content: space-between;
752
- align-items: center;
753
-
754
- & > span {
755
- display: var(--_d-flex);
756
-
757
- // Per-item leading glyph, styled from the sub-menu item
758
- // scope's own `Item` vars.
759
- &.flex__sub__menu__item__leading__icon {
760
- flex: 0 0 auto;
761
- margin-inline-end: prepareMediaVariable(
762
- --_ctm-dn-sb-mu-im-se-dt-se-in-gp-im,
763
- 0px
764
- );
765
-
766
- svg {
767
- width: var(
768
- --_sf-sb-it-at-isz-im,
769
- var(
770
- --_sf-sb-it-hr-isz-im,
771
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-in-se-im)}
772
- )
773
- );
774
- height: var(
775
- --_sf-sb-it-at-isz-im,
776
- var(
777
- --_sf-sb-it-hr-isz-im,
778
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-in-se-im)}
779
- )
780
- );
781
-
782
- path {
783
- stroke: var(
784
- --_sf-sb-it-at-icr-im,
785
- var(
786
- --_sf-sb-it-hr-icr-im,
787
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-in-c1-im)}
788
- )
789
- );
790
- stroke-width: prepareMediaVariable(
791
- --_ctm-dn-sb-mu-im-se-dt-se-se-wh-im,
792
- 1.25
793
- );
794
- }
795
- }
796
- }
797
-
798
- &#{$subMenuItemText} {
799
- width: 100%;
800
- flex: 1 1 auto;
801
- font-family: var(
802
- --_sf-it-at-ff,
803
- var(
804
- --_sf-it-hr-ff,
805
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-fy)}
806
- )
807
- );
808
- &.flex__overflow {
809
- white-space: normal;
810
- @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
811
- }
812
- font-size: var(
813
- --_sf-sb-it-at-fs,
814
- var(
815
- --_sf-sb-it-hr-fs,
816
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-se)}
817
- )
818
- );
819
- color: var(
820
- --_sf-sb-it-at-fclr,
821
- var(
822
- --_sf-sb-it-hr-fclr,
823
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-cr)}
824
- )
825
- );
826
- font-weight: var(
827
- --_sf-sb-it-at-fw,
828
- var(
829
- --_sf-sb-it-hr-fw,
830
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-wt)}
831
- )
832
- );
833
- font-style: var(
834
- --_sf-sb-it-at-fsi,
835
- var(
836
- --_sf-sb-it-hr-fsi,
837
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-se-ic)}
838
- )
839
- );
840
- text-decoration: var(
841
- --_sf-sb-it-at-td,
842
- var(
843
- --_sf-sb-it-hr-td,
844
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ue)}
845
- )
846
- );
847
- text-align: var(
848
- --_sf-sb-it-at-tae,
849
- var(
850
- --_sf-sb-it-hr-tae,
851
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-tt-an)}
852
- )
853
- );
854
- letter-spacing: var(
855
- --_sf-sb-it-at-ls,
856
- var(
857
- --_sf-sb-it-hr-ls,
858
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-lr-sg)}
859
- )
860
- );
861
- line-height: var(
862
- --_sf-sb-it-at-lh,
863
- var(
864
- --_sf-sb-it-hr-lh,
865
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-le-ht)}
866
- )
867
- );
868
- text-transform: var(
869
- --_sf-sb-it-at-ttm,
870
- var(
871
- --_sf-sb-it-hr-ttm,
872
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-tt-tm, none)}
873
- )
874
- );
875
- word-wrap: var(
876
- --_sf-sb-it-at-wwp,
877
- var(
878
- --_sf-sb-it-hr-wwp,
879
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-wd-wp, normal)}
880
- )
881
- );
882
- word-break: var(
883
- --_sf-sb-it-at-wbk,
884
- var(
885
- --_sf-sb-it-hr-wbk,
886
- #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-wd-bk, normal)}
887
- )
888
- );
889
- display: -webkit-box;
890
- -webkit-line-clamp: 1;
891
- -webkit-box-orient: vertical;
892
- overflow: hidden;
893
- }
894
- }
895
- }
896
- }
897
- }
898
- }
899
- }
900
- }
901
- }
902
- }
903
- }
904
-
905
- & > #{$hamburger} {
906
- display: var(--_d-none);
907
- padding: var(--_sf-hm-hr-pd, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-pg)});
908
- border-radius: var(--_sf-hm-hr-br, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-rs)});
909
- background: var(--_sf-hm-hr-bd, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-bd-cr)});
910
-
911
- &[data-show-border="true"] {
912
- border-style: var(--_sf-hm-hr-bs, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-se)});
913
- border-width: var(--_sf-hm-hr-bw, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-wh)});
914
- border-color: var(--_sf-hm-hr-bc, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-cr)});
915
- }
916
-
917
- &[data-show-boxshadow="true"] {
918
- box-shadow: var(--_sf-hm-hr-bsa, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-ae)})
919
- var(--_sf-hm-hr-blr, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-br)})
920
- var(--_sf-hm-hr-spr, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-sd)})
921
- var(--_sf-hm-hr-bscl, prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-cr));
922
- }
923
-
924
- &:hover {
925
- & > span {
926
- }
927
-
928
- svg {
929
- --_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-se)};
930
- // Published on the <svg> rather than on <path>: custom properties
931
- // inherit, so whatever shapes the glyph is drawn with will read them.
932
- --_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-c1)};
933
- }
934
-
935
- // --_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-se)};
936
- // --_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-c1)};
937
-
938
- --_sf-hm-hr-pd: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-pg)};
939
- --_sf-hm-hr-br: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-br-rs)};
940
- --_sf-hm-hr-bd: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-bd-cr)};
941
-
942
- --_sf-hm-hr-bs: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-br-se)};
943
- --_sf-hm-hr-bw: #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-wh)};
944
- --_sf-hm-hr-bc: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-br-cr)};
945
-
946
- --_sf-hm-hr-bsa: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-ae)};
947
- --_sf-hm-hr-blr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-br)};
948
- --_sf-hm-hr-spr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-sd)};
949
- --_sf-hm-hr-bscl: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-cr)};
950
- }
951
-
952
- & > span {
953
- display: var(--_d-flex);
954
- align-items: center;
955
- justify-content: center;
956
- }
957
-
958
- svg {
959
- width: var(--_sf-hm-hr-ic-sz, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-se)});
960
- height: var(--_sf-hm-hr-ic-sz, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-se)});
961
-
962
- // Reaches every stroked shape, not just <path>: the built-in glyphs are
963
- // paths, but a custom (Sirv-hosted) hamburger is arbitrary markup and is
964
- // inlined by SirvIcon just the same, so <line>/<rect>/<circle> icons have
965
- // to pick up Icon Color and Stroke Width too.
966
- path,
967
- line,
968
- polyline,
969
- polygon,
970
- circle,
971
- ellipse,
972
- rect {
973
- stroke: var(--_sf-hm-hr-ic-clr, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-c1)});
974
- stroke-width: #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-se-wh, 1.25)};
975
- }
976
- }
977
- }
978
-
979
- @media only screen and (min-width: 10px) {
980
- &.dk {
981
- @include hamburgerCSS();
982
- }
983
- }
984
-
985
- @media only screen and (min-width: 10px) and (max-width: 1023px) {
986
- &.tb {
987
- @include hamburgerCSS();
988
- }
989
- }
990
-
991
- @media only screen and (min-width: 10px) and (max-width: 767px) {
992
- &.mb {
993
- @include hamburgerCSS();
994
- }
995
- }
996
- }
997
- }
998
- }
999
- }
1
+ @use "sass:map";
2
+ @use "sass:list";
3
+ @use "./functions.scss" as *;
4
+ $activeElementSelector: "[data-has-clicked='true']";
5
+ $wrapper: ".flex__menu__list__wrapper";
6
+ $menuItem: ".flex__menu__item";
7
+ $subMenuContainer: ".flex__submenu__container";
8
+ $nodatap: ".no__menu_item__p";
9
+ $subMenuItem: ".flex__sub__menu__item";
10
+ $subMenuItemText: ".flex__sub__menu__item__text";
11
+ $hrz: "[data-element-type='menu-v2'] > .hrz";
12
+ $vtl: "[data-element-type='menu-v2'] > .vtl";
13
+ $hamburger: ".flex__menu__hamburger";
14
+ $hamburgerActive: "[data-hamburger-active='true']";
15
+
16
+ $wrapperData: (
17
+ start: (
18
+ left: prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px),
19
+ ),
20
+ end: (
21
+ right: prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px),
22
+ ),
23
+ center: (
24
+ left: calc(50% + #{prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-x, 0px)}),
25
+ transform: translateX(-50%),
26
+ ),
27
+ );
28
+
29
+ $defaultValues: (
30
+ --_min-submenu-height: getListOfResponsive(650px, 400px, 550px),
31
+ );
32
+
33
+ @mixin hamburgerCSS() {
34
+ position: relative;
35
+ display: var(--_d-flex);
36
+ justify-content: prepareMediaVariable(--_ctm-dn-hr-os-vl-at);
37
+
38
+ & > div {
39
+ &#{$wrapper} {
40
+ position: absolute;
41
+ // left: var(--_sf-hm-mc-lt-vl-v2, 0px);
42
+ // width: 100%;
43
+ // width: 100vw;
44
+ top: calc(100% + prepareMediaVariable(--_ctm-dn-hr-os-cr-ot-y, 0px));
45
+ z-index: 2;
46
+ visibility: hidden;
47
+ opacity: 0;
48
+ max-height: 0px;
49
+ overflow: clip;
50
+ display: var(--_d-flex);
51
+ flex-direction: column;
52
+ gap: prepareMediaVariable(--_ctm-lt-im-gp);
53
+
54
+ @each $key, $val in $wrapperData {
55
+ &[data-position="#{$key}"] {
56
+ @each $k, $v in $val {
57
+ #{$k}: #{$v};
58
+ }
59
+ }
60
+ }
61
+
62
+ &:is([data-hamburger-active="true"] > *) {
63
+ // animation: animThree var(--_transition-duration) var(--_transition-timing-function) 1
64
+ // forwards alternate;
65
+ visibility: visible;
66
+ opacity: 1;
67
+ width: prepareMediaVariable(--_ctm-dn-hr-os-cr-wh, 100%);
68
+ max-height: var(--_min-submenu-height, 650px);
69
+ overflow-y: auto;
70
+ }
71
+
72
+ & > #{$menuItem} {
73
+ align-items: flex-start;
74
+ width: 100%;
75
+ flex-direction: column;
76
+ gap: #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)};
77
+
78
+ & > #{$subMenuContainer} {
79
+ width: 100% !important;
80
+ position: static !important;
81
+ transform: none !important;
82
+ }
83
+ }
84
+
85
+ @keyframes animThree {
86
+ 100% {
87
+ max-height: var(--_min-submenu-height, 650px);
88
+ opacity: 1;
89
+ visibility: visible;
90
+ overflow-y: auto;
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+ & > #{$hamburger} {
97
+ display: var(--_d-flex);
98
+ }
99
+ }
100
+
101
+ [data-div-type="element"] {
102
+ &[data-element-type="menu-v2"] {
103
+ width: calc(1% * #{prepareMediaVariable(--_ctm-ele-nw-wh-vl)});
104
+ margin: prepareMediaVariable(--_ctm-lt-mn);
105
+ @include prepareMediaQueries($defaultValues);
106
+ // var(--_ctm-mob-ele-nw-wh-vl, var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, auto)))
107
+
108
+ & > div {
109
+ &.wrapper {
110
+ width: 100%;
111
+ // padding: #{prepareMediaVariable(--_ctm-lt-pg)};
112
+ // background: prepareMediaVariable(--_ctm-dn-mu-cr-bd-cr);
113
+ // border-radius: prepareMediaVariable(--_ctm-dn-mu-cr-br-rs);
114
+
115
+ // &[data-show-border="true"] {
116
+ // border-color: prepareMediaVariable(--_ctm-dn-mu-cr-br-cr);
117
+ // border-width: prepareMediaVariable(--_ctm-dn-mu-cr-br-wh);
118
+ // border-style: prepareMediaVariable(--_ctm-dn-mu-cr-br-se);
119
+ // }
120
+ // &[data-show-boxshadow="true"] {
121
+ // box-shadow: prepareMediaVariable(--_ctm-dn-mu-cr-sw-ae)
122
+ // prepareMediaVariable(--_ctm-dn-mu-cr-sw-br) prepareMediaVariable(--_ctm-dn-mu-cr-sw-sd)
123
+ // prepareMediaVariable(--_ctm-dn-mu-cr-sw-cr);
124
+ // }
125
+
126
+ &.hrz {
127
+ & > div {
128
+ &#{$wrapper} {
129
+ display: var(--_d-flex);
130
+ flex-direction: row;
131
+ gap: prepareMediaVariable(--_ctm-lt-im-gp);
132
+ justify-content: prepareMediaVariable(--_ctm-lt-jy-ct);
133
+ align-items: center;
134
+
135
+ & > p {
136
+ &#{$nodatap} {
137
+ font-size: 14px;
138
+ color: var(--_gray-500);
139
+ }
140
+ }
141
+ }
142
+ }
143
+ }
144
+
145
+ &.vtl {
146
+ & > div {
147
+ &#{$wrapper} {
148
+ display: var(--_d-flex);
149
+ flex-direction: column;
150
+ gap: prepareMediaVariable(--_ctm-lt-im-gp);
151
+ }
152
+ }
153
+ }
154
+
155
+ & > div {
156
+ &#{$wrapper} {
157
+ padding: #{prepareMediaVariable(--_ctm-lt-pg)};
158
+ background: prepareMediaVariable(--_ctm-dn-mu-cr-bd-cr);
159
+ border-radius: prepareMediaVariable(--_ctm-dn-mu-cr-br-rs);
160
+
161
+ &:is([data-show-border="true"] > *) {
162
+ border-color: prepareMediaVariable(--_ctm-dn-mu-cr-br-cr);
163
+ border-width: prepareMediaVariable(--_ctm-dn-mu-cr-br-wh);
164
+ border-style: prepareMediaVariable(--_ctm-dn-mu-cr-br-se);
165
+ }
166
+
167
+ &:is([data-show-boxshadow="true"] > *) {
168
+ box-shadow: prepareMediaVariable(--_ctm-dn-mu-cr-sw-ae)
169
+ prepareMediaVariable(--_ctm-dn-mu-cr-sw-br)
170
+ prepareMediaVariable(--_ctm-dn-mu-cr-sw-sd)
171
+ prepareMediaVariable(--_ctm-dn-mu-cr-sw-cr);
172
+ }
173
+
174
+ & > div {
175
+ &#{$menuItem} {
176
+ position: relative;
177
+ padding: var(
178
+ --_sf-it-at-pd,
179
+ var(--_sf-it-hr-pd, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-pg)})
180
+ );
181
+ background: var(
182
+ --_sf-it-at-bd,
183
+ var(--_sf-it-hr-bd, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-bd-cr)})
184
+ );
185
+ border-radius: var(
186
+ --_sf-it-at-br,
187
+ var(--_sf-it-hr-br, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-rs)})
188
+ );
189
+ display: var(--_d-flex);
190
+ align-items: center;
191
+
192
+ &:is(#{$vtl} *) {
193
+ align-items: flex-start;
194
+ flex-direction: column;
195
+ gap: #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)};
196
+ }
197
+
198
+ &:hover {
199
+ --_sf-it-hr-pd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-pg)};
200
+ --_sf-it-hr-bd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-bd-cr)};
201
+ --_sf-it-hr-br: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-rs)};
202
+ --_sf-it-hr-brc: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-cr)};
203
+ --_sf-it-hr-bw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-wh)};
204
+ --_sf-it-hr-bs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-br-se)};
205
+
206
+ --_sf-it-hr-bsa: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-ae)};
207
+ --_sf-it-hr-blr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-br)};
208
+ --_sf-it-hr-spr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-sd)};
209
+ --_sf-it-hr-bscl: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-sw-cr)};
210
+
211
+ --_sf-it-hr-ff: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-fy)};
212
+ --_sf-it-hr-fs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-se)};
213
+ --_sf-it-hr-fclr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-cr)};
214
+ --_sf-it-hr-fw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-wt)};
215
+
216
+ --_sf-it-hr-fsi: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ft-se-ic)};
217
+ --_sf-it-hr-td: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-ue)};
218
+ --_sf-it-hr-tae: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-tt-an)};
219
+ --_sf-it-hr-ls: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-lr-sg)};
220
+ --_sf-it-hr-lh: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-le-ht)};
221
+ --_sf-it-hr-ttm: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-tt-tm)};
222
+ --_sf-it-hr-wwp: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-wd-wp)};
223
+ --_sf-it-hr-wbk: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-wd-bk)};
224
+
225
+ // Dropdown icon (size/color) hover overrides — consumed by
226
+ // the .flex__menu__item__icon svg cascade below.
227
+ --_sf-it-hr-isz: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-se)};
228
+ --_sf-it-hr-icr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-c1)};
229
+
230
+ // Same, for the per-item leading icon.
231
+ --_sf-it-hr-isz-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-se-im)};
232
+ --_sf-it-hr-icr-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-hr-se-in-c1-im)};
233
+ }
234
+
235
+ &.active {
236
+ --_sf-it-at-pd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-pg)};
237
+ --_sf-it-at-bd: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-bd-cr)};
238
+ --_sf-it-at-br: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-rs)};
239
+ --_sf-it-at-brc: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-cr)};
240
+ --_sf-it-at-bw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-wh)};
241
+ --_sf-it-at-bs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-br-se)};
242
+
243
+ --_sf-it-at-bsa: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-ae)};
244
+ --_sf-it-at-blr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-br)};
245
+ --_sf-it-at-spr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-sd)};
246
+ --_sf-it-at-bscl: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-sw-cr)};
247
+
248
+ --_sf-it-at-ff: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-fy)};
249
+ --_sf-it-at-fs: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-se)};
250
+ --_sf-it-at-fclr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-cr)};
251
+ --_sf-it-at-fw: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-wt)};
252
+ --_sf-it-at-fsi: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ft-se-ic)};
253
+ --_sf-it-at-td: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-ue)};
254
+ --_sf-it-at-tae: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-tt-an)};
255
+ --_sf-it-at-ls: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-lr-sg)};
256
+ --_sf-it-at-lh: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-le-ht)};
257
+ --_sf-it-at-ttm: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-tt-tm)};
258
+ --_sf-it-at-wwp: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-wd-wp)};
259
+ --_sf-it-at-wbk: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-wd-bk)};
260
+
261
+ // Dropdown icon (size/color) selected-state overrides.
262
+ --_sf-it-at-isz: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-se)};
263
+ --_sf-it-at-icr: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-c1)};
264
+
265
+ // Same, for the per-item leading icon.
266
+ --_sf-it-at-isz-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-se-im)};
267
+ --_sf-it-at-icr-im: #{prepareMediaVariable(--_ctm-dn-mu-im-se-sd-se-in-c1-im)};
268
+ }
269
+
270
+ &[data-show-border="true"] {
271
+ border-color: var(
272
+ --_sf-it-at-brc,
273
+ var(--_sf-it-hr-brc, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-cr)})
274
+ );
275
+ border-width: var(
276
+ --_sf-it-at-bw,
277
+ var(--_sf-it-hr-bw, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-wh)})
278
+ );
279
+ border-style: var(
280
+ --_sf-it-at-bs,
281
+ var(--_sf-it-hr-bs, prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-br-se))
282
+ );
283
+ }
284
+
285
+ &[data-show-boxshadow="true"] {
286
+ box-shadow: var(
287
+ --_sf-it-at-bsa,
288
+ var(--_sf-it-hr-bsa, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-ae)})
289
+ )
290
+ var(
291
+ --_sf-it-at-blr,
292
+ var(--_sf-it-hr-blr, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-br)})
293
+ )
294
+ var(
295
+ --_sf-it-at-spr,
296
+ var(--_sf-it-hr-spr, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-sd)})
297
+ )
298
+ var(
299
+ --_sf-it-at-bscl,
300
+ var(--_sf-it-hr-bscl, prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-sw-cr))
301
+ );
302
+ }
303
+
304
+ & > a {
305
+ display: var(--_d-flex);
306
+ justify-content: space-between;
307
+ align-items: center;
308
+ gap: prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-gp);
309
+
310
+ & > span {
311
+ display: var(--_d-flex);
312
+ font-family: var(
313
+ --_sf-it-at-ff,
314
+ var(--_sf-it-hr-ff, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-fy)})
315
+ );
316
+ &.flex__overflow {
317
+ white-space: normal;
318
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
319
+ }
320
+ font-size: var(
321
+ --_sf-it-at-fs,
322
+ var(--_sf-it-hr-fs, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-se)})
323
+ );
324
+ color: var(
325
+ --_sf-it-at-fclr,
326
+ var(--_sf-it-hr-fclr, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-cr)})
327
+ );
328
+ font-weight: var(
329
+ --_sf-it-at-fw,
330
+ var(--_sf-it-hr-fw, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-wt)})
331
+ );
332
+ font-style: var(
333
+ --_sf-it-at-fsi,
334
+ var(
335
+ --_sf-it-hr-fsi,
336
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ft-se-ic)}
337
+ )
338
+ );
339
+ text-decoration: var(
340
+ --_sf-it-at-td,
341
+ var(--_sf-it-hr-td, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-ue)})
342
+ );
343
+ text-align: var(
344
+ --_sf-it-at-tae,
345
+ var(--_sf-it-hr-tae, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-tt-an)})
346
+ );
347
+ letter-spacing: var(
348
+ --_sf-it-at-ls,
349
+ var(--_sf-it-hr-ls, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-lr-sg)})
350
+ );
351
+ line-height: var(
352
+ --_sf-it-at-lh,
353
+ var(--_sf-it-hr-lh, #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-le-ht)})
354
+ );
355
+ text-transform: var(
356
+ --_sf-it-at-ttm,
357
+ var(
358
+ --_sf-it-hr-ttm,
359
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-tt-tm, none)}
360
+ )
361
+ );
362
+ word-wrap: var(
363
+ --_sf-it-at-wwp,
364
+ var(
365
+ --_sf-it-hr-wwp,
366
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-wd-wp, normal)}
367
+ )
368
+ );
369
+ word-break: var(
370
+ --_sf-it-at-wbk,
371
+ var(
372
+ --_sf-it-hr-wbk,
373
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-wd-bk, normal)}
374
+ )
375
+ );
376
+
377
+ // The item's own leading glyph. Styled from the `Item`-suffixed
378
+ // vars so it is sized and coloured independently of the caret
379
+ // below, which shares this parent but reads the unsuffixed set.
380
+ &.flex__menu__item__leading__icon {
381
+ flex: 0 0 auto;
382
+ margin-inline-end: prepareMediaVariable(
383
+ --_ctm-dn-mu-im-se-dt-se-in-gp-im,
384
+ 0px
385
+ );
386
+
387
+ svg {
388
+ width: var(
389
+ --_sf-it-at-isz-im,
390
+ var(
391
+ --_sf-it-hr-isz-im,
392
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se-im)}
393
+ )
394
+ );
395
+ height: var(
396
+ --_sf-it-at-isz-im,
397
+ var(
398
+ --_sf-it-hr-isz-im,
399
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se-im)}
400
+ )
401
+ );
402
+
403
+ path {
404
+ stroke: var(
405
+ --_sf-it-at-icr-im,
406
+ var(
407
+ --_sf-it-hr-icr-im,
408
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-c1-im)}
409
+ )
410
+ );
411
+ stroke-width: prepareMediaVariable(
412
+ --_ctm-dn-mu-im-se-dt-se-se-wh-im,
413
+ 1.25
414
+ );
415
+ }
416
+ }
417
+ }
418
+
419
+ &.flex__menu__item__icon {
420
+ &[data-rotate="true"] {
421
+ --_sf-svg-tr: 180deg;
422
+ }
423
+
424
+ svg {
425
+ width: var(
426
+ --_sf-it-at-isz,
427
+ var(
428
+ --_sf-it-hr-isz,
429
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se)}
430
+ )
431
+ );
432
+ height: var(
433
+ --_sf-it-at-isz,
434
+ var(
435
+ --_sf-it-hr-isz,
436
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-se)}
437
+ )
438
+ );
439
+ transform: rotate(#{var(--_sf-svg-tr, 0deg)});
440
+ transition: transform var(--_transition-duration)
441
+ var(--_transition-timing-function);
442
+
443
+ path {
444
+ stroke: var(
445
+ --_sf-it-at-icr,
446
+ var(
447
+ --_sf-it-hr-icr,
448
+ #{prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-in-c1)}
449
+ )
450
+ );
451
+ // Overrides the stroke-width presentation attribute baked into the icon markup.
452
+ stroke-width: prepareMediaVariable(--_ctm-dn-mu-im-se-dt-se-se-wh, 1.25);
453
+ }
454
+ }
455
+ }
456
+ }
457
+
458
+ // The row is `space-between`, so a third child would otherwise
459
+ // spread all three apart. Letting the label absorb the free space
460
+ // keeps the glyph beside it and the caret out at the edge.
461
+ & > .flex__menu__item__leading__icon + span {
462
+ flex: 1 1 auto;
463
+ }
464
+ }
465
+
466
+ // Sub Item Container
467
+
468
+ & > ul {
469
+ &#{$subMenuContainer} {
470
+ background: prepareMediaVariable(--_ctm-dn-sb-mu-cr-bd-cr);
471
+ border-radius: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-rs);
472
+ padding: prepareMediaVariable(--_ctm-dn-sb-mu-cr-pg);
473
+
474
+ display: var(--_d-flex);
475
+ flex-direction: column;
476
+ row-gap: prepareMediaVariable(--_ctm-dn-sb-mu-cr-im-gp);
477
+
478
+ &:is(#{$hrz} *) {
479
+ position: absolute;
480
+ left: calc(50% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-x)});
481
+ width: calc(100% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-wh)});
482
+ top: calc(100% + #{prepareMediaVariable(--_ctm-dn-sb-mu-cr-cr-ot-y)});
483
+ transform: translateX(-50%);
484
+ z-index: 2;
485
+ }
486
+
487
+ &:is(#{$vtl} *) {
488
+ width: 100%;
489
+ }
490
+
491
+ // max-height: 0px;
492
+ // overflow: clip;
493
+ max-height: 500px;
494
+ overflow-y: auto;
495
+ // animation: animTwo var(--_transition-duration)
496
+ // var(--_transition-timing-function) 1 forwards alternate;
497
+
498
+ @keyframes animTwo {
499
+ 100% {
500
+ max-height: 500px;
501
+ overflow-y: auto;
502
+ }
503
+ }
504
+
505
+ &[data-show-border="true"] {
506
+ border-width: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-wh);
507
+ border-color: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-cr);
508
+ border-style: prepareMediaVariable(--_ctm-dn-sb-mu-cr-br-se);
509
+ }
510
+
511
+ &[data-show-boxshadow="true"] {
512
+ box-shadow: prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-ae)
513
+ prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-br)
514
+ prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-sd)
515
+ prepareMediaVariable(--_ctm-dn-sb-mu-cr-sw-cr);
516
+ }
517
+
518
+ & > li {
519
+ &#{$subMenuItem} {
520
+ display: var(--_d-flex);
521
+ flex-direction: column;
522
+
523
+ padding: var(
524
+ --_sf-sb-it-at-pd,
525
+ var(
526
+ --_sf-sb-it-hr-pd,
527
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-pg)}
528
+ )
529
+ );
530
+ background: var(
531
+ --_sf-sb-it-at-bd,
532
+ var(
533
+ --_sf-sb-it-hr-bd,
534
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-bd-cr)}
535
+ )
536
+ );
537
+ border-radius: var(
538
+ --_sf-sb-it-at-br,
539
+ var(
540
+ --_sf-sb-it-hr-br,
541
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-rs)}
542
+ )
543
+ );
544
+
545
+ &[data-show-border="true"] {
546
+ border-color: var(
547
+ --_sf-sb-it-at-brc,
548
+ var(
549
+ --_sf-sb-it-hr-brc,
550
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-cr)}
551
+ )
552
+ );
553
+ border-width: var(
554
+ --_sf-sb-it-at-bw,
555
+ var(
556
+ --_sf-sb-it-hr-bw,
557
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-wh)}
558
+ )
559
+ );
560
+ border-style: var(
561
+ --_sf-sb-it-at-bs,
562
+ var(
563
+ --_sf-sb-it-hr-bs,
564
+ prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-br-se)
565
+ )
566
+ );
567
+ }
568
+
569
+ &[data-show-boxshadow="true"] {
570
+ box-shadow: var(
571
+ --_sf-sb-it-at-bsa,
572
+ var(
573
+ --_sf-sb-it-hr-bsa,
574
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-ae)}
575
+ )
576
+ )
577
+ var(
578
+ --_sf-sb-it-at-blr,
579
+ var(
580
+ --_sf-sb-it-hr-blr,
581
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-br)}
582
+ )
583
+ )
584
+ var(
585
+ --_sf-sb-it-at-spr,
586
+ var(
587
+ --_sf-sb-it-hr-spr,
588
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-sd)}
589
+ )
590
+ )
591
+ var(
592
+ --_sf-sb-it-at-bscl,
593
+ var(
594
+ --_sf-sb-it-hr-bscl,
595
+ prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-sw-cr)
596
+ )
597
+ );
598
+ }
599
+
600
+ &:hover {
601
+ --_sf-sb-it-hr-pd: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-hr-se-pg)};
602
+ --_sf-sb-it-hr-bd: #{prepareMediaVariable(
603
+ --_ctm-dn-sb-mu-im-se-hr-se-bd-cr
604
+ )};
605
+ --_sf-sb-it-hr-br: #{prepareMediaVariable(
606
+ --_ctm-dn-sb-mu-im-se-hr-se-br-rs
607
+ )};
608
+ --_sf-sb-it-hr-brc: #{prepareMediaVariable(
609
+ --_ctm-dn-sb-mu-im-se-hr-se-br-cr
610
+ )};
611
+ --_sf-sb-it-hr-bw: #{prepareMediaVariable(
612
+ --_ctm-dn-sb-mu-im-se-hr-se-br-wh
613
+ )};
614
+ --_sf-sb-it-hr-bs: #{prepareMediaVariable(
615
+ --_ctm-dn-sb-mu-im-se-hr-se-br-se
616
+ )};
617
+ --_sf-sb-it-hr-bsa: #{prepareMediaVariable(
618
+ --_ctm-dn-sb-mu-im-se-hr-se-sw-ae
619
+ )};
620
+ --_sf-sb-it-hr-blr: #{prepareMediaVariable(
621
+ --_ctm-dn-sb-mu-im-se-hr-se-sw-br
622
+ )};
623
+ --_sf-sb-it-hr-spr: #{prepareMediaVariable(
624
+ --_ctm-dn-sb-mu-im-se-hr-se-sw-sd
625
+ )};
626
+ --_sf-sb-it-hr-bscl: #{prepareMediaVariable(
627
+ --_ctm-dn-sb-mu-im-se-hr-se-sw-cr
628
+ )};
629
+
630
+ --_sf-sb-it-hr-ff: #{prepareMediaVariable(
631
+ --_ctm-dn-sb-mu-im-se-hr-se-ft-fy
632
+ )};
633
+ --_sf-sb-it-hr-fs: #{prepareMediaVariable(
634
+ --_ctm-dn-sb-mu-im-se-hr-se-ft-se
635
+ )};
636
+ --_sf-sb-it-hr-fclr: #{prepareMediaVariable(
637
+ --_ctm-dn-sb-mu-im-se-hr-se-cr
638
+ )};
639
+ --_sf-sb-it-hr-fw: #{prepareMediaVariable(
640
+ --_ctm-dn-sb-mu-im-se-hr-se-ft-wt
641
+ )};
642
+
643
+ --_sf-sb-it-hr-fsi: #{prepareMediaVariable(
644
+ --_ctm-dn-sb-mu-im-se-hr-se-ft-se-ic
645
+ )};
646
+ --_sf-sb-it-hr-td: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-hr-se-ue)};
647
+ --_sf-sb-it-hr-tae: #{prepareMediaVariable(
648
+ --_ctm-dn-sb-mu-im-se-hr-se-tt-an
649
+ )};
650
+ --_sf-sb-it-hr-ls: #{prepareMediaVariable(
651
+ --_ctm-dn-sb-mu-im-se-hr-se-lr-sg
652
+ )};
653
+ --_sf-sb-it-hr-lh: #{prepareMediaVariable(
654
+ --_ctm-dn-sb-mu-im-se-hr-se-le-ht
655
+ )};
656
+ --_sf-sb-it-hr-ttm: #{prepareMediaVariable(
657
+ --_ctm-dn-sb-mu-im-se-hr-se-tt-tm
658
+ )};
659
+ --_sf-sb-it-hr-wwp: #{prepareMediaVariable(
660
+ --_ctm-dn-sb-mu-im-se-hr-se-wd-wp
661
+ )};
662
+ --_sf-sb-it-hr-wbk: #{prepareMediaVariable(
663
+ --_ctm-dn-sb-mu-im-se-hr-se-wd-bk
664
+ )};
665
+
666
+ // Per-item leading icon hover overrides.
667
+ --_sf-sb-it-hr-isz-im: #{prepareMediaVariable(
668
+ --_ctm-dn-sb-mu-im-se-hr-se-in-se-im
669
+ )};
670
+ --_sf-sb-it-hr-icr-im: #{prepareMediaVariable(
671
+ --_ctm-dn-sb-mu-im-se-hr-se-in-c1-im
672
+ )};
673
+ }
674
+
675
+ &.active {
676
+ --_sf-sb-it-at-pd: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-sd-se-pg)};
677
+ --_sf-sb-it-at-bd: #{prepareMediaVariable(
678
+ --_ctm-dn-sb-mu-im-se-sd-se-bd-cr
679
+ )};
680
+ --_sf-sb-it-at-br: #{prepareMediaVariable(
681
+ --_ctm-dn-sb-mu-im-se-sd-se-br-rs
682
+ )};
683
+ --_sf-sb-it-at-brc: #{prepareMediaVariable(
684
+ --_ctm-dn-sb-mu-im-se-sd-se-br-cr
685
+ )};
686
+ --_sf-sb-it-at-bw: #{prepareMediaVariable(
687
+ --_ctm-dn-sb-mu-im-se-sd-se-br-wh
688
+ )};
689
+ --_sf-sb-it-at-bs: #{prepareMediaVariable(
690
+ --_ctm-dn-sb-mu-im-se-sd-se-br-se
691
+ )};
692
+ --_sf-sb-it-hr-bsa: #{prepareMediaVariable(
693
+ --_ctm-dn-sb-mu-im-se-sd-se-sw-ae
694
+ )};
695
+ --_sf-sb-it-at-blr: #{prepareMediaVariable(
696
+ --_ctm-dn-sb-mu-im-se-sd-se-sw-br
697
+ )};
698
+ --_sf-sb-it-at-spr: #{prepareMediaVariable(
699
+ --_ctm-dn-sb-mu-im-se-sd-se-sw-sd
700
+ )};
701
+ --_sf-sb-it-at-bscl: #{prepareMediaVariable(
702
+ --_ctm-dn-sb-mu-im-se-sd-se-sw-cr
703
+ )};
704
+
705
+ --_sf-sb-it-at-ff: #{prepareMediaVariable(
706
+ --_ctm-dn-sb-mu-im-se-sd-se-ft-fy
707
+ )};
708
+ --_sf-sb-it-at-fs: #{prepareMediaVariable(
709
+ --_ctm-dn-sb-mu-im-se-sd-se-ft-se
710
+ )};
711
+ --_sf-sb-it-at-fclr: #{prepareMediaVariable(
712
+ --_ctm-dn-sb-mu-im-se-sd-se-cr
713
+ )};
714
+ --_sf-sb-it-at-fw: #{prepareMediaVariable(
715
+ --_ctm-dn-sb-mu-im-se-sd-se-ft-wt
716
+ )};
717
+ --_sf-sb-it-at-fsi: #{prepareMediaVariable(
718
+ --_ctm-dn-sb-mu-im-se-sd-se-ft-se-ic
719
+ )};
720
+ --_sf-sb-it-at-td: #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-sd-se-ue)};
721
+ --_sf-sb-it-at-tae: #{prepareMediaVariable(
722
+ --_ctm-dn-sb-mu-im-se-sd-se-tt-an
723
+ )};
724
+ --_sf-sb-it-at-ls: #{prepareMediaVariable(
725
+ --_ctm-dn-sb-mu-im-se-sd-se-lr-sg
726
+ )};
727
+ --_sf-sb-it-at-lh: #{prepareMediaVariable(
728
+ --_ctm-dn-sb-mu-im-se-sd-se-le-ht
729
+ )};
730
+ --_sf-sb-it-at-ttm: #{prepareMediaVariable(
731
+ --_ctm-dn-sb-mu-im-se-sd-se-tt-tm
732
+ )};
733
+ --_sf-sb-it-at-wwp: #{prepareMediaVariable(
734
+ --_ctm-dn-sb-mu-im-se-sd-se-wd-wp
735
+ )};
736
+ --_sf-sb-it-at-wbk: #{prepareMediaVariable(
737
+ --_ctm-dn-sb-mu-im-se-sd-se-wd-bk
738
+ )};
739
+
740
+ // Per-item leading icon selected-state overrides.
741
+ --_sf-sb-it-at-isz-im: #{prepareMediaVariable(
742
+ --_ctm-dn-sb-mu-im-se-sd-se-in-se-im
743
+ )};
744
+ --_sf-sb-it-at-icr-im: #{prepareMediaVariable(
745
+ --_ctm-dn-sb-mu-im-se-sd-se-in-c1-im
746
+ )};
747
+ }
748
+
749
+ & > a {
750
+ display: var(--_d-flex);
751
+ justify-content: space-between;
752
+ align-items: center;
753
+
754
+ & > span {
755
+ display: var(--_d-flex);
756
+
757
+ // Per-item leading glyph, styled from the sub-menu item
758
+ // scope's own `Item` vars.
759
+ &.flex__sub__menu__item__leading__icon {
760
+ flex: 0 0 auto;
761
+ margin-inline-end: prepareMediaVariable(
762
+ --_ctm-dn-sb-mu-im-se-dt-se-in-gp-im,
763
+ 0px
764
+ );
765
+
766
+ svg {
767
+ width: var(
768
+ --_sf-sb-it-at-isz-im,
769
+ var(
770
+ --_sf-sb-it-hr-isz-im,
771
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-in-se-im)}
772
+ )
773
+ );
774
+ height: var(
775
+ --_sf-sb-it-at-isz-im,
776
+ var(
777
+ --_sf-sb-it-hr-isz-im,
778
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-in-se-im)}
779
+ )
780
+ );
781
+
782
+ path {
783
+ stroke: var(
784
+ --_sf-sb-it-at-icr-im,
785
+ var(
786
+ --_sf-sb-it-hr-icr-im,
787
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-in-c1-im)}
788
+ )
789
+ );
790
+ stroke-width: prepareMediaVariable(
791
+ --_ctm-dn-sb-mu-im-se-dt-se-se-wh-im,
792
+ 1.25
793
+ );
794
+ }
795
+ }
796
+ }
797
+
798
+ &#{$subMenuItemText} {
799
+ width: 100%;
800
+ flex: 1 1 auto;
801
+ font-family: var(
802
+ --_sf-it-at-ff,
803
+ var(
804
+ --_sf-it-hr-ff,
805
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-fy)}
806
+ )
807
+ );
808
+ &.flex__overflow {
809
+ white-space: normal;
810
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
811
+ }
812
+ font-size: var(
813
+ --_sf-sb-it-at-fs,
814
+ var(
815
+ --_sf-sb-it-hr-fs,
816
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-se)}
817
+ )
818
+ );
819
+ color: var(
820
+ --_sf-sb-it-at-fclr,
821
+ var(
822
+ --_sf-sb-it-hr-fclr,
823
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-cr)}
824
+ )
825
+ );
826
+ font-weight: var(
827
+ --_sf-sb-it-at-fw,
828
+ var(
829
+ --_sf-sb-it-hr-fw,
830
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-wt)}
831
+ )
832
+ );
833
+ font-style: var(
834
+ --_sf-sb-it-at-fsi,
835
+ var(
836
+ --_sf-sb-it-hr-fsi,
837
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ft-se-ic)}
838
+ )
839
+ );
840
+ text-decoration: var(
841
+ --_sf-sb-it-at-td,
842
+ var(
843
+ --_sf-sb-it-hr-td,
844
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-ue)}
845
+ )
846
+ );
847
+ text-align: var(
848
+ --_sf-sb-it-at-tae,
849
+ var(
850
+ --_sf-sb-it-hr-tae,
851
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-tt-an)}
852
+ )
853
+ );
854
+ letter-spacing: var(
855
+ --_sf-sb-it-at-ls,
856
+ var(
857
+ --_sf-sb-it-hr-ls,
858
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-lr-sg)}
859
+ )
860
+ );
861
+ line-height: var(
862
+ --_sf-sb-it-at-lh,
863
+ var(
864
+ --_sf-sb-it-hr-lh,
865
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-le-ht)}
866
+ )
867
+ );
868
+ text-transform: var(
869
+ --_sf-sb-it-at-ttm,
870
+ var(
871
+ --_sf-sb-it-hr-ttm,
872
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-tt-tm, none)}
873
+ )
874
+ );
875
+ word-wrap: var(
876
+ --_sf-sb-it-at-wwp,
877
+ var(
878
+ --_sf-sb-it-hr-wwp,
879
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-wd-wp, normal)}
880
+ )
881
+ );
882
+ word-break: var(
883
+ --_sf-sb-it-at-wbk,
884
+ var(
885
+ --_sf-sb-it-hr-wbk,
886
+ #{prepareMediaVariable(--_ctm-dn-sb-mu-im-se-dt-se-wd-bk, normal)}
887
+ )
888
+ );
889
+ display: -webkit-box;
890
+ -webkit-line-clamp: 1;
891
+ -webkit-box-orient: vertical;
892
+ overflow: hidden;
893
+ }
894
+ }
895
+ }
896
+ }
897
+ }
898
+ }
899
+ }
900
+ }
901
+ }
902
+ }
903
+ }
904
+
905
+ & > #{$hamburger} {
906
+ display: var(--_d-none);
907
+ padding: var(--_sf-hm-hr-pd, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-pg)});
908
+ border-radius: var(--_sf-hm-hr-br, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-rs)});
909
+ background: var(--_sf-hm-hr-bd, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-bd-cr)});
910
+
911
+ &[data-show-border="true"] {
912
+ border-style: var(--_sf-hm-hr-bs, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-se)});
913
+ border-width: var(--_sf-hm-hr-bw, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-wh)});
914
+ border-color: var(--_sf-hm-hr-bc, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-cr)});
915
+ }
916
+
917
+ &[data-show-boxshadow="true"] {
918
+ box-shadow: var(--_sf-hm-hr-bsa, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-ae)})
919
+ var(--_sf-hm-hr-blr, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-br)})
920
+ var(--_sf-hm-hr-spr, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-sd)})
921
+ var(--_sf-hm-hr-bscl, prepareMediaVariable(--_ctm-dn-hr-se-dt-se-sw-cr));
922
+ }
923
+
924
+ &:hover {
925
+ & > span {
926
+ }
927
+
928
+ svg {
929
+ --_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-se)};
930
+ // Published on the <svg> rather than on <path>: custom properties
931
+ // inherit, so whatever shapes the glyph is drawn with will read them.
932
+ --_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-c1)};
933
+ }
934
+
935
+ // --_sf-hm-hr-ic-sz: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-se)};
936
+ // --_sf-hm-hr-ic-clr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-in-c1)};
937
+
938
+ --_sf-hm-hr-pd: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-pg)};
939
+ --_sf-hm-hr-br: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-br-rs)};
940
+ --_sf-hm-hr-bd: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-bd-cr)};
941
+
942
+ --_sf-hm-hr-bs: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-br-se)};
943
+ --_sf-hm-hr-bw: #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-br-wh)};
944
+ --_sf-hm-hr-bc: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-br-cr)};
945
+
946
+ --_sf-hm-hr-bsa: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-ae)};
947
+ --_sf-hm-hr-blr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-br)};
948
+ --_sf-hm-hr-spr: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-sd)};
949
+ --_sf-hm-hr-bscl: #{prepareMediaVariable(--_ctm-dn-hr-se-hr-se-sw-cr)};
950
+ }
951
+
952
+ & > span {
953
+ display: var(--_d-flex);
954
+ align-items: center;
955
+ justify-content: center;
956
+ }
957
+
958
+ svg {
959
+ width: var(--_sf-hm-hr-ic-sz, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-se)});
960
+ height: var(--_sf-hm-hr-ic-sz, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-se)});
961
+
962
+ // Reaches every stroked shape, not just <path>: the built-in glyphs are
963
+ // paths, but a custom (Sirv-hosted) hamburger is arbitrary markup and is
964
+ // inlined by SirvIcon just the same, so <line>/<rect>/<circle> icons have
965
+ // to pick up Icon Color and Stroke Width too.
966
+ path,
967
+ line,
968
+ polyline,
969
+ polygon,
970
+ circle,
971
+ ellipse,
972
+ rect {
973
+ stroke: var(--_sf-hm-hr-ic-clr, #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-in-c1)});
974
+ stroke-width: #{prepareMediaVariable(--_ctm-dn-hr-se-dt-se-se-wh, 1.25)};
975
+ }
976
+ }
977
+ }
978
+
979
+ @media only screen and (min-width: 10px) {
980
+ &.dk {
981
+ @include hamburgerCSS();
982
+ }
983
+ }
984
+
985
+ @media only screen and (min-width: 10px) and (max-width: 1023px) {
986
+ &.tb {
987
+ @include hamburgerCSS();
988
+ }
989
+ }
990
+
991
+ @media only screen and (min-width: 10px) and (max-width: 767px) {
992
+ &.mb {
993
+ @include hamburgerCSS();
994
+ }
995
+ }
996
+ }
997
+ }
998
+ }
999
+ }