@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/sort.scss CHANGED
@@ -1,176 +1,168 @@
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
- [data-div-type="element"] {
8
- &[data-element-type="sort"] {
9
- width: var(
10
- --_sf-el-wh-st-mx,
11
- calc(
12
- 1% *
13
- var(
14
- --_ctm-mob-ele-nw-wh-vl,
15
- var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh)))
16
- )
17
- )
18
- );
19
- margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
20
-
21
- // The Design tab's Sort Button toggles. Both are CONTROLS with no CSS property of
22
- // their own, so the element publishes them as data attributes and the styling has
23
- // to act on them here — an unhandled toggle stores a value that never reaches the
24
- // page, which is what the whole Design tab did before these variables were wired.
25
- &[data-sort-button-shadow="false"] {
26
- --_show-shadow-sort-button: none;
27
- }
28
- &[data-sort-button-border="false"] {
29
- .est__dropdown {
30
- border: none;
31
- }
32
- }
33
-
34
- & > div {
35
- &.wrapper {
36
- width: 100%;
37
- }
38
- }
39
- //Dropdown
40
- .est__dropdown__main {
41
- position: relative;
42
- width: 100%;
43
-
44
- label {
45
- font-size: 14px;
46
- color: var(--_gray-700);
47
- margin-bottom: 8px;
48
- display: block;
49
- }
50
-
51
- .est__dropdown {
52
- cursor: pointer;
53
- position: relative;
54
- display: flex;
55
- justify-content: space-between;
56
- align-items: center;
57
- gap: 8px;
58
- width: 100%;
59
-
60
- // Design > Sort Button. `--_ctm-dn-st-bn-*` is what the schema's
61
- // design.sortButton scope emits: splitCamelCaseAndJoin("design") -> "dn",
62
- // ("sortButton") -> "st-bn". The literals stay as the fallbacks so an element
63
- // saved before the Design tab existed keeps the look it had.
64
- background-color: prepareMediaVariable(--_ctm-dn-st-bn-bd-cr, #fff);
65
- border-color: prepareMediaVariable(--_ctm-dn-st-bn-br-cr, transparent);
66
- border-style: prepareMediaVariable(--_ctm-dn-st-bn-br-se, solid);
67
- border-width: prepareMediaVariable(--_ctm-dn-st-bn-br-wh, 0);
68
- border-radius: prepareMediaVariable(--_ctm-dn-st-bn-br-rs, 6px);
69
- box-shadow: var(
70
- --_show-shadow-sort-button,
71
- prepareMediaVariable(--_ctm-dn-st-bn-sw-ae, 0 0)
72
- prepareMediaVariable(--_ctm-dn-st-bn-sw-br, 0)
73
- prepareMediaVariable(--_ctm-dn-st-bn-sw-sd, 0)
74
- prepareMediaVariable(--_ctm-dn-st-bn-sw-cr, transparent)
75
- );
76
-
77
- .value__selected {
78
- display: flex;
79
- align-items: baseline;
80
- gap: 4px;
81
- // The title and the value are laid out side by side, so the pair has to be
82
- // allowed to shrink — without min-width the flex item keeps its content
83
- // width and pushes the chevron out of a narrow element instead of clamping.
84
- min-width: 0;
85
- flex: 1;
86
- }
87
-
88
- // Text Overflow is a CONTROL, not CSS: the element adds this class and
89
- // publishes the line count inline, one variable per typography scope.
90
- .sort__title.flex__overflow {
91
- white-space: normal;
92
- @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
93
- }
94
- .selected__option.flex__overflow {
95
- white-space: normal;
96
- @include restrictToLinesShow(#{var(--_sf-line-clamp-desc, 1)});
97
- }
98
-
99
- // Design > Sort Title (design.sortTitle -> "dn-st-te")
100
- .sort__title {
101
- color: prepareMediaVariable(--_ctm-dn-st-te-cr, var(--_gray-700));
102
- font-family: var(--_sf-hr-ff, prepareMediaVariable(--_ctm-dn-st-te-ft-fy, inherit));
103
- font-size: prepareMediaVariable(--_ctm-dn-st-te-ft-se, inherit);
104
- font-weight: prepareMediaVariable(--_ctm-dn-st-te-ft-wt, inherit);
105
- font-style: prepareMediaVariable(--_ctm-dn-st-te-ft-se-ic, normal);
106
- text-align: prepareMediaVariable(--_ctm-dn-st-te-tt-an, left);
107
- letter-spacing: prepareMediaVariable(--_ctm-dn-st-te-lr-sg, normal);
108
- line-height: prepareMediaVariable(--_ctm-dn-st-te-le-ht, normal);
109
- text-decoration: prepareMediaVariable(--_ctm-dn-st-te-ue, none);
110
- }
111
-
112
- // Design > Selected Option (design.selectedOption -> "dn-sd-on")
113
- .selected__option {
114
- color: prepareMediaVariable(--_ctm-dn-sd-on-cr, var(--_gray-700));
115
- font-family: var(--_sf-hr-ff, prepareMediaVariable(--_ctm-dn-sd-on-ft-fy, inherit));
116
- font-size: prepareMediaVariable(--_ctm-dn-sd-on-ft-se, inherit);
117
- font-weight: prepareMediaVariable(--_ctm-dn-sd-on-ft-wt, inherit);
118
- font-style: prepareMediaVariable(--_ctm-dn-sd-on-ft-se-ic, normal);
119
- text-align: prepareMediaVariable(--_ctm-dn-sd-on-tt-an, left);
120
- letter-spacing: prepareMediaVariable(--_ctm-dn-sd-on-lr-sg, normal);
121
- line-height: prepareMediaVariable(--_ctm-dn-sd-on-le-ht, normal);
122
- text-decoration: prepareMediaVariable(--_ctm-dn-sd-on-ue, none);
123
- }
124
-
125
- &.open .list {
126
- display: flex;
127
- }
128
-
129
- .list {
130
- display: none;
131
- flex-direction: column;
132
- border: 1px solid var(--_gray-200);
133
- border-radius: 6px;
134
- position: absolute;
135
- top: 100%;
136
- left: 0;
137
- width: 100%;
138
- background-color: #fff;
139
- border-radius: 4px;
140
- z-index: var(--_higher-zIndex);
141
- max-height: 200px;
142
- overflow-y: auto;
143
-
144
- &.top {
145
- bottom: 100%;
146
- top: auto;
147
- }
148
-
149
- .list__option {
150
- padding: 12px;
151
- cursor: pointer;
152
- // The list has no design scope of its own. It borrows the Selected
153
- // Option's type so the open list matches the closed control — colour and
154
- // alignment are left to the list's own resting/hover rules below, which
155
- // are what make an option look clickable.
156
- font-family: var(--_sf-hr-ff, prepareMediaVariable(--_ctm-dn-sd-on-ft-fy, inherit));
157
- font-size: prepareMediaVariable(--_ctm-dn-sd-on-ft-se, inherit);
158
- font-weight: prepareMediaVariable(--_ctm-dn-sd-on-ft-wt, inherit);
159
- letter-spacing: prepareMediaVariable(--_ctm-dn-sd-on-lr-sg, normal);
160
- color: var(--_gray-700);
161
-
162
- &:hover {
163
- background-color: var(--_primary-25);
164
- color: var(--_primary-400);
165
- }
166
-
167
- &[aria-selected="true"] {
168
- background-color: var(--_primary-25);
169
- color: var(--_primary-400);
170
- }
171
- }
172
- }
173
- }
174
- }
175
- }
176
- }
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
+ [data-div-type="element"] {
9
+ &[data-element-type="sort"] {
10
+ width: var(--_sf-el-wh-st-mx,
11
+ calc(1% * var(--_ctm-mob-ele-nw-wh-vl,
12
+ var(--_ctm-tab-ele-nw-wh-vl, var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))))));
13
+ margin: var(--_ctm-mob-lt-mn, var(--_ctm-tab-lt-mn, var(--_ctm-lt-mn)));
14
+
15
+ // The Design tab's Sort Button toggles. Both are CONTROLS with no CSS property of
16
+ // their own, so the element publishes them as data attributes and the styling has
17
+ // to act on them here — an unhandled toggle stores a value that never reaches the
18
+ // page, which is what the whole Design tab did before these variables were wired.
19
+ &[data-sort-button-shadow="false"] {
20
+ --_show-shadow-sort-button: none;
21
+ }
22
+
23
+ &[data-sort-button-border="false"] {
24
+ .est__dropdown {
25
+ border: none;
26
+ }
27
+ }
28
+
29
+ &>div {
30
+ &.wrapper {
31
+ width: 100%;
32
+ }
33
+ }
34
+
35
+ //Dropdown
36
+ .est__dropdown__main {
37
+ position: relative;
38
+ width: 100%;
39
+
40
+ label {
41
+ font-size: 14px;
42
+ color: var(--_gray-700);
43
+ margin-bottom: 8px;
44
+ display: block;
45
+ }
46
+
47
+ .est__dropdown {
48
+ cursor: pointer;
49
+ position: relative;
50
+ display: flex;
51
+ justify-content: space-between;
52
+ align-items: center;
53
+ gap: 8px;
54
+ width: 100%;
55
+
56
+ // Design > Sort Button. `--_ctm-dn-st-bn-*` is what the schema's
57
+ // design.sortButton scope emits: splitCamelCaseAndJoin("design") -> "dn",
58
+ // ("sortButton") -> "st-bn". The literals stay as the fallbacks so an element
59
+ // saved before the Design tab existed keeps the look it had.
60
+ background-color: prepareMediaVariable(--_ctm-dn-st-bn-bd-cr, #fff);
61
+ border-color: prepareMediaVariable(--_ctm-dn-st-bn-br-cr, transparent);
62
+ border-style: prepareMediaVariable(--_ctm-dn-st-bn-br-se, solid);
63
+ border-width: prepareMediaVariable(--_ctm-dn-st-bn-br-wh, 0);
64
+ border-radius: prepareMediaVariable(--_ctm-dn-st-bn-br-rs, 6px);
65
+ box-shadow: var(--_show-shadow-sort-button,
66
+ prepareMediaVariable(--_ctm-dn-st-bn-sw-ae, 0 0) prepareMediaVariable(--_ctm-dn-st-bn-sw-br, 0) prepareMediaVariable(--_ctm-dn-st-bn-sw-sd, 0) prepareMediaVariable(--_ctm-dn-st-bn-sw-cr, transparent));
67
+
68
+ .value__selected {
69
+ display: flex;
70
+ align-items: baseline;
71
+ gap: 4px;
72
+ // The title and the value are laid out side by side, so the pair has to be
73
+ // allowed to shrink — without min-width the flex item keeps its content
74
+ // width and pushes the chevron out of a narrow element instead of clamping.
75
+ min-width: 0;
76
+ flex: 1;
77
+ }
78
+
79
+ // Text Overflow is a CONTROL, not CSS: the element adds this class and
80
+ // publishes the line count inline, one variable per typography scope.
81
+ .sort__title.flex__overflow {
82
+ white-space: normal;
83
+ @include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
84
+ }
85
+
86
+ .selected__option.flex__overflow {
87
+ white-space: normal;
88
+ @include restrictToLinesShow(#{var(--_sf-line-clamp-desc, 1)});
89
+ }
90
+
91
+ // Design > Sort Title (design.sortTitle -> "dn-st-te")
92
+ .sort__title {
93
+ color: prepareMediaVariable(--_ctm-dn-st-te-cr, var(--_gray-700));
94
+ font-family: var(--_sf-hr-ff, prepareMediaVariable(--_ctm-dn-st-te-ft-fy, inherit));
95
+ font-size: prepareMediaVariable(--_ctm-dn-st-te-ft-se, inherit);
96
+ font-weight: prepareMediaVariable(--_ctm-dn-st-te-ft-wt, inherit);
97
+ font-style: prepareMediaVariable(--_ctm-dn-st-te-ft-se-ic, normal);
98
+ text-align: prepareMediaVariable(--_ctm-dn-st-te-tt-an, left);
99
+ letter-spacing: prepareMediaVariable(--_ctm-dn-st-te-lr-sg, normal);
100
+ line-height: prepareMediaVariable(--_ctm-dn-st-te-le-ht, normal);
101
+ text-decoration: prepareMediaVariable(--_ctm-dn-st-te-ue, none);
102
+ }
103
+
104
+ // Design > Selected Option (design.selectedOption -> "dn-sd-on")
105
+ .selected__option {
106
+ color: prepareMediaVariable(--_ctm-dn-sd-on-cr, var(--_gray-700));
107
+ font-family: var(--_sf-hr-ff, prepareMediaVariable(--_ctm-dn-sd-on-ft-fy, inherit));
108
+ font-size: prepareMediaVariable(--_ctm-dn-sd-on-ft-se, inherit);
109
+ font-weight: prepareMediaVariable(--_ctm-dn-sd-on-ft-wt, inherit);
110
+ font-style: prepareMediaVariable(--_ctm-dn-sd-on-ft-se-ic, normal);
111
+ text-align: prepareMediaVariable(--_ctm-dn-sd-on-tt-an, left);
112
+ letter-spacing: prepareMediaVariable(--_ctm-dn-sd-on-lr-sg, normal);
113
+ line-height: prepareMediaVariable(--_ctm-dn-sd-on-le-ht, normal);
114
+ text-decoration: prepareMediaVariable(--_ctm-dn-sd-on-ue, none);
115
+ }
116
+
117
+ &.open .list {
118
+ display: flex;
119
+ }
120
+
121
+ .list {
122
+ display: none;
123
+ flex-direction: column;
124
+ border: 1px solid var(--_gray-200);
125
+ border-radius: 6px;
126
+ position: absolute;
127
+ top: 100%;
128
+ left: 0;
129
+ width: 100%;
130
+ background-color: #fff;
131
+ border-radius: 4px;
132
+ z-index: var(--_higher-zIndex);
133
+ max-height: 200px;
134
+ overflow-y: auto;
135
+
136
+ &.top {
137
+ bottom: 100%;
138
+ top: auto;
139
+ }
140
+
141
+ .list__option {
142
+ padding: 12px;
143
+ cursor: pointer;
144
+ // The list has no design scope of its own. It borrows the Selected
145
+ // Option's type so the open list matches the closed control — colour and
146
+ // alignment are left to the list's own resting/hover rules below, which
147
+ // are what make an option look clickable.
148
+ font-family: var(--_sf-hr-ff, prepareMediaVariable(--_ctm-dn-sd-on-ft-fy, inherit));
149
+ font-size: prepareMediaVariable(--_ctm-dn-sd-on-ft-se, inherit);
150
+ font-weight: prepareMediaVariable(--_ctm-dn-sd-on-ft-wt, inherit);
151
+ letter-spacing: prepareMediaVariable(--_ctm-dn-sd-on-lr-sg, normal);
152
+ color: var(--_gray-700);
153
+
154
+ &:hover {
155
+ background-color: var(--_primary-25);
156
+ color: var(--_primary-400);
157
+ }
158
+
159
+ &[aria-selected="true"] {
160
+ background-color: var(--_primary-25);
161
+ color: var(--_primary-400);
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
package/dist/stack.scss CHANGED
@@ -8,19 +8,13 @@ $tb: "tb_d_none";
8
8
  $mb: "mb_d_none";
9
9
 
10
10
  $rp: (
11
- "#{$es}#{$ss}:not(.#{$mb})": (
12
- mobile: (
13
- display: var(--_d-grid),
11
+ "#{$es}#{$ss}:not(.#{$mb})": (mobile: (display: var(--_d-grid),
14
12
  ),
15
13
  ),
16
- "#{$es}#{$ss}:not(.#{$tb})": (
17
- tablet: (
18
- display: var(--_d-grid),
14
+ "#{$es}#{$ss}:not(.#{$tb})": (tablet: (display: var(--_d-grid),
19
15
  ),
20
16
  ),
21
- "#{$es}#{$ss}:not(.#{$dp})": (
22
- desktop: (
23
- display: var(--_d-grid),
17
+ "#{$es}#{$ss}:not(.#{$dp})": (desktop: (display: var(--_d-grid),
24
18
  ),
25
19
  ),
26
20
  );
@@ -51,29 +45,21 @@ body {
51
45
  &[data-background-type="gradient"] {
52
46
  --_sf-sta-gradient-angle: calc(#{prepareMediaVariable(--_ctm-sta-dn-gt-ae, 90)} * 1deg);
53
47
  --_sf-sta-gradient-start-color: #{prepareMediaVariable(--_ctm-sta-dn-gt-st-cr, transparent)};
54
- --_sf-sta-gradient-start-position: calc(
55
- #{prepareMediaVariable(--_ctm-sta-dn-gt-st-pn, 0)} * 1%
56
- );
48
+ --_sf-sta-gradient-start-position: calc(#{prepareMediaVariable(--_ctm-sta-dn-gt-st-pn, 0)} * 1%);
57
49
  --_sf-sta-gradient-end-color: #{prepareMediaVariable(--_ctm-sta-dn-gt-ed-cr, transparent)};
58
- --_sf-sta-gradient-end-position: calc(
59
- #{prepareMediaVariable(--_ctm-sta-dn-gt-ed-pn, 100)} * 1%
60
- );
50
+ --_sf-sta-gradient-end-position: calc(#{prepareMediaVariable(--_ctm-sta-dn-gt-ed-pn, 100)} * 1%);
61
51
  --_sf-sta-gradient-position: #{prepareMediaVariable(--_ctm-sta-dn-gt-pn, center)};
62
52
 
63
53
  &[data-gradient-type="Linear Gradient"] {
64
- background-image: linear-gradient(
65
- var(--_sf-sta-gradient-angle),
66
- var(--_sf-sta-gradient-start-color) var(--_sf-sta-gradient-start-position),
67
- var(--_sf-sta-gradient-end-color) var(--_sf-sta-gradient-end-position)
68
- );
54
+ background-image: linear-gradient(var(--_sf-sta-gradient-angle),
55
+ var(--_sf-sta-gradient-start-color) var(--_sf-sta-gradient-start-position),
56
+ var(--_sf-sta-gradient-end-color) var(--_sf-sta-gradient-end-position));
69
57
  }
70
58
 
71
59
  &[data-gradient-type="Radial Gradient"] {
72
- background-image: radial-gradient(
73
- circle at var(--_sf-sta-gradient-position),
74
- var(--_sf-sta-gradient-start-color) var(--_sf-sta-gradient-start-position),
75
- var(--_sf-sta-gradient-end-color) var(--_sf-sta-gradient-end-position)
76
- );
60
+ background-image: radial-gradient(circle at var(--_sf-sta-gradient-position),
61
+ var(--_sf-sta-gradient-start-color) var(--_sf-sta-gradient-start-position),
62
+ var(--_sf-sta-gradient-end-color) var(--_sf-sta-gradient-end-position));
77
63
  }
78
64
  }
79
65
 
@@ -93,12 +79,10 @@ body {
93
79
  }
94
80
 
95
81
  &[data-show-boxshadow="true"] {
96
- box-shadow: var(
97
- --_hide-grid-shadow,
98
- prepareMediaVariable(--_ctm-sta-dn-sw-ae) prepareMediaVariable(--_ctm-sta-dn-sw-br)
99
- prepareMediaVariable(--_ctm-sta-dn-sw-sd) prepareMediaVariable(--_ctm-sta-dn-sw-cr)
100
- );
82
+ box-shadow: var(--_hide-grid-shadow,
83
+ prepareMediaVariable(--_ctm-sta-dn-sw-ae) prepareMediaVariable(--_ctm-sta-dn-sw-br) prepareMediaVariable(--_ctm-sta-dn-sw-sd) prepareMediaVariable(--_ctm-sta-dn-sw-cr));
101
84
  }
85
+
102
86
  border-radius: prepareMediaVariable(--_ctm-sta-dn-br-rs);
103
87
  grid-template-columns: 100%;
104
88
 
@@ -111,7 +95,8 @@ body {
111
95
  min-height: 30px;
112
96
  width: calc(1% * #{prepareMediaVariable(--_ctm-sta-ele-nw-wh-vl)});
113
97
  min-width: 30px;
114
- & > .wrapper {
98
+
99
+ &>.wrapper {
115
100
  flex-direction: column;
116
101
  width: 100%;
117
102
  // height: 100%;
@@ -120,8 +105,10 @@ body {
120
105
  align-items: prepareMediaVariable(--_ctm-sta-lt-jy-ct);
121
106
  }
122
107
  }
108
+
123
109
  &.hrz {
124
110
  width: calc(1% * #{prepareMediaVariable(--_ctm-sta-ele-nw-wh-vl)});
111
+
125
112
  // width: max-content;
126
113
  // min-width: var(--_sf-sta-nw-wh) !important;
127
114
  // min-width: 100px !important;
@@ -129,12 +116,14 @@ body {
129
116
  &.hsc {
130
117
  min-height: 10px;
131
118
  }
119
+
132
120
  &.dnhsc {
133
121
  min-height: 25px;
134
122
  }
123
+
135
124
  // height: var(--_ctm-sta-lt-ht, 100px);
136
125
  // width: var(--_sf-sta-nw-wh, auto);
137
- & > .wrapper {
126
+ &>.wrapper {
138
127
  width: 100%;
139
128
  // width: 100%;
140
129
  height: 100%;
@@ -145,7 +134,7 @@ body {
145
134
  }
146
135
  }
147
136
 
148
- & > div {
137
+ &>div {
149
138
  &.wrapper {
150
139
  // width: 100%;
151
140
  padding: prepareMediaVariable(--_ctm-sta-lt-pg);
@@ -168,4 +157,4 @@ body {
168
157
  }
169
158
  }
170
159
  }
171
- }
160
+ }