PluginProbe ʕ •ᴥ•ʔ
WooCommerce / 11.0.0
WooCommerce v11.0.0
11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 7.8.0-beta.1 7.8.0-beta.2 7.8.0-rc.1 7.8.0-rc.2 7.8.1 7.8.2 7.8.3 7.8.4 7.9.0 7.9.0-beta.1 7.9.0-beta.2 7.9.0-rc.2 7.9.0-rc.3 7.9.1 7.9.2 8.0.0 8.0.0-beta.1 8.0.0-beta.2 8.0.0-rc.1 8.0.0-rc.2 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.1.0 8.1.0-beta.1 8.1.0-rc.1 8.1.0-rc.2 8.1.1 8.1.2 8.1.3 8.1.4 8.2.0 8.2.0-beta.1 8.2.0-rc.1 8.2.0-rc.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.3.0 8.3.0-beta.1 8.3.0-rc.1 8.3.0-rc.2 8.3.1 8.3.2 8.3.3 8.3.4 8.4.0 8.4.0-beta.1 8.4.0-rc.1 8.4.1 8.4.2 8.4.3 8.5.0 8.5.0-beta.1 8.5.0-rc.1 8.5.1 8.5.2 8.5.3 8.5.4 8.5.5 8.6.0 8.6.0-beta.1 8.6.0-rc.1 8.6.1 8.6.2 8.6.3 8.6.4 8.7.0 8.7.0-beta.1 8.7.0-beta.2 8.7.0-rc.1 8.7.1 8.7.2 8.7.3 8.8.0 8.8.0-beta.1 8.8.0-rc.1 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.8.6 8.8.7 8.9.0 8.9.0-beta.1 8.9.0-rc.1 8.9.1 8.9.2 8.9.3 8.9.4 8.9.5 9.0.0 9.0.0-beta.1 9.0.0-beta.2 9.0.0-rc.1 9.0.1 9.0.2 9.0.3 9.0.4 9.1.0 9.1.0-beta.1 9.1.0-rc.1 9.1.1 9.1.2 9.1.3 9.1.4 9.1.5 9.1.6 9.2.0 9.2.0-beta.1 9.2.0-rc.1 9.2.1 9.2.2 9.2.3 9.2.4 9.2.5 9.3.0 9.3.0-beta.1 9.3.0-rc.1 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.3.6 9.4.0 9.4.0-beta.1 9.4.0-beta.2 9.4.0-rc.1 9.4.0-rc.2 9.4.0-rc.3 9.4.0-rc.4 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.5.0 9.5.0-beta.1 9.5.0-beta.2 9.5.0-rc.1 9.5.1 9.5.2 9.5.3 9.5.4 9.6.0 9.6.0-beta.1 9.6.0-beta.2 9.6.0-rc.1 9.6.1 9.6.2 9.6.3 9.6.4 9.7.0 9.7.0-beta.1 9.7.0-rc.1 9.7.1 9.7.2 9.7.3 9.8.0 9.8.0-beta.1 9.8.0-rc.1 9.8.1 9.8.2 9.8.3 9.8.4 9.8.5 9.8.6 9.8.7 9.9.0 9.9.0-beta.1 9.9.0-rc.1 9.9.1 9.9.2 9.9.3 9.9.4 9.9.5 9.9.6 9.9.7 3.7.3 7.1.2 3.8.0 7.2.0 3.8.0-beta.1 7.2.0-beta.1 3.8.0-rc.1 7.2.0-beta.2 3.8.0-rc.2 7.2.0-rc.1 3.8.1 7.2.0-rc.2 3.8.2 7.2.1 3.8.3 7.2.2 3.9.0 7.2.3 3.9.0-beta.1 7.2.4 3.9.0-beta.2 7.3.0 3.9.0-rc.1 7.3.0-beta.1 3.9.0-rc.2 7.3.0-beta.2 3.9.0-rc.3 7.3.0-rc.1 3.9.0-rc.4 7.3.0-rc.2 3.9.1 7.3.1 3.9.2 7.4.0 3.9.3 7.4.0-beta.1 3.9.4 7.4.0-beta.2 3.9.5 7.4.0-rc.1 4.0.0 7.4.0-rc.2 4.0.0-beta.1 7.4.1 4.0.0-rc.1 7.4.2 4.0.0-rc.2 7.5.0 4.0.1 7.5.0-beta.1 4.0.2 7.5.0-beta.2 4.0.3 7.5.0-rc.1 4.0.4 7.5.1 4.1.0 7.5.2 4.1.0-beta.1 7.6.0 4.1.0-beta.2 7.6.0-beta.1 4.1.0-rc.1 7.6.0-beta.2 4.1.0-rc.2 7.6.0-rc.1 4.1.1 7.6.0-rc.2 4.1.2 7.6.0-rc.3 4.1.3 7.6.1 4.1.4 7.6.2 4.2.0 7.7.0 4.2.0-RC.1 7.7.0-beta.1 4.2.0-RC.2 7.7.0-beta.2 4.2.0-beta.1 7.7.0-rc.1 4.2.1 7.7.1 4.2.2 7.7.2 4.2.3 7.7.3 4.2.4 7.8.0 4.2.5 4.3.0 4.3.0-beta.1 4.3.0-rc.1 4.3.0-rc.2 4.3.0-rc.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.4.0 4.4.0-beta.1 4.4.0-rc.1 4.4.1 4.4.2 4.4.3 4.4.4 4.5.0 4.5.0-beta.1 4.5.0-rc.1 4.5.0-rc.3 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.6.0-beta.1 4.6.0-rc.1 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.7.0 4.7.0-beta.1 4.7.0-beta.2 4.7.0-rc.1 4.7.1 4.7.1-beta.1 4.7.2 4.7.3 4.7.4 4.8.0 4.8.0-beta.1 4.8.0-rc.1 4.8.0-rc.2 4.8.1 4.8.2 4.8.3 4.9.0 4.9.0-beta.1 4.9.0-rc.1 4.9.0-rc.2 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 5.0.0 5.0.0-beta.1 5.0.0-beta.2 5.0.0-rc.1 5.0.0-rc.2 5.0.0-rc.3 5.0.1 5.0.2 5.0.3 5.1.0 5.1.0-beta.1 5.1.0-rc.1 trunk 5.1.1 10.0.0 5.1.2 10.0.0-rc.1 5.1.3 10.0.0-rc.2 5.2.0 10.0.1 5.2.0-beta.1 10.0.2 5.2.0-rc.1 10.0.3 5.2.0-rc.2 10.0.4 5.2.1 10.0.5 5.2.2 10.0.6 5.2.3 10.1.0 5.2.4 10.1.0-rc.1 5.2.5 10.1.0-rc.2 5.3.0 10.1.0-rc.3 5.3.0-beta.1 10.1.0-rc.4 5.3.0-rc.1 10.1.1 5.3.0-rc.2 10.1.2 5.3.1 10.1.3 5.3.2 10.1.4 5.3.3 10.2.0 5.4.0 10.2.0-beta.1 5.4.0-beta.1 10.2.0-beta.2 5.4.0-rc.1 10.2.0-rc.1 5.4.1 10.2.1 5.4.2 10.2.2 5.4.3 10.2.3 5.4.4 10.2.4 5.4.5 10.3.0 5.5.0 10.3.0-beta.1 5.5.0-beta.1 10.3.0-beta.2 5.5.0-rc.1 10.3.0-rc.1 5.5.0-rc.2 10.3.0-rc.2 5.5.1 10.3.1 5.5.2 10.3.2 5.5.3 10.3.3 5.5.4 10.3.4 5.5.5 10.3.5 5.6.0 10.3.6 5.6.0-beta.1 10.3.7 5.6.0-rc.1 10.3.8 5.6.0-rc.2 10.4.0 5.6.1 10.4.0-beta.1 5.6.2 10.4.0-beta.2 5.6.3 10.4.0-rc.1 5.7.0 10.4.1 5.7.0-beta.1 10.4.2 5.7.0-rc.1 10.4.3 5.7.1 10.4.4 5.7.2 10.5.0 5.7.3 10.5.0-beta.1 5.8.0 10.5.0-beta.2 5.8.0-beta.1 10.5.0-rc.1 5.8.0-beta.2 10.5.0-rc.2 5.8.0-rc.1 10.5.0-rc.3 5.8.1 10.5.1 5.8.2 10.5.2 5.9.0 10.5.3 5.9.0-beta.1 10.6.0 5.9.0-rc.1 10.6.0-beta.1 5.9.0-rc.2 10.6.0-beta.2 5.9.1 10.6.0-rc.1 5.9.2 10.6.1 6.0.0 10.6.2 6.0.0-beta.1 10.7.0 6.0.0-rc.1 10.7.0-beta.1 6.0.1 10.7.0-beta.2 6.0.2 10.7.0-rc.1 6.1.0 3.0.0 6.1.0-beta.1 3.0.1 6.1.0-rc.1 3.0.2 6.1.0-rc.2 3.0.3 6.1.1 3.0.4 6.1.2 3.0.5 6.1.3 3.0.6 6.2.0 3.0.7 6.2.0-beta.1 3.0.8 6.2.0-rc.1 3.0.9 6.2.0-rc.2 3.1.0 6.2.1 3.1.1 6.2.2 3.1.2 6.2.3 3.2.0 6.3.0 3.2.1 6.3.0-beta.1 3.2.2 6.3.0-rc.1 3.2.3 6.3.0-rc.2 3.2.4 6.3.1 3.2.5 6.3.2 3.2.6 6.4.0 3.3.0 6.4.0-beta.1 3.3.1 6.4.0-rc.1 3.3.2 6.4.1 3.3.2-rc.1 6.4.2 3.3.3 6.5.0 3.3.4 6.5.0-beta.1 3.3.5 6.5.0-rc.1 3.3.6 6.5.0-rc.2 3.4.0 6.5.1 3.4.0-beta.1 6.5.2 3.4.0-rc.2 6.6.0 3.4.1 6.6.0-beta.1 3.4.2 6.6.0-rc.1 3.4.3 6.6.0-rc.2 3.4.4 6.6.1 3.4.5 6.6.2 3.4.6 6.7.0 3.4.7 6.7.0-beta.1 3.4.8 6.7.0-beta.2 3.5.0 6.7.0-rc.1 3.5.0-beta.1 6.7.1 3.5.0-rc.1 6.8.0 3.5.0-rc.2 6.8.0-beta.1 3.5.1 6.8.0-beta.2 3.5.10 6.8.0-rc.1 3.5.2 6.8.1 3.5.3 6.8.2 3.5.4 6.8.3 3.5.5 6.9.0 3.5.6 6.9.0-beta.1 3.5.7 6.9.0-beta.2 3.5.8 6.9.0-rc.1 3.5.9 6.9.1 3.6.0 6.9.2 3.6.0-beta.1 6.9.3 3.6.0-rc.1 6.9.4 3.6.0-rc.2 6.9.5 3.6.0-rc.3 7.0.0 3.6.1 7.0.0-beta.1 3.6.2 7.0.0-beta.2 3.6.3 7.0.0-beta.3 3.6.4 7.0.0-rc.1 3.6.5 7.0.0-rc.2 3.6.6 7.0.1 3.6.7 7.0.2 3.7.0 7.1.0 3.7.0-beta.1 7.1.0-beta.1 3.7.0-rc.1 7.1.0-beta.2 3.7.0-rc.2 7.1.0-rc.1 3.7.1 7.1.0-rc.2 3.7.2 7.1.1
woocommerce / assets / css / admin.scss
woocommerce / assets / css Last commit date
jquery-ui 5 years ago photoswipe 1 month ago _animation.scss 3 years ago _fonts.scss 2 years ago _mixins.scss 2 months ago _variables.scss 1 month ago activation-rtl.css 3 months ago activation.css 3 months ago activation.scss 3 months ago address-autocomplete-rtl.css 1 month ago address-autocomplete.css 1 month ago address-autocomplete.scss 3 months ago admin-rtl.css 1 month ago admin.css 1 month ago admin.scss 1 month ago auth-rtl.css 2 months ago auth.css 2 months ago auth.scss 1 year ago brands-admin-rtl.css 1 year ago brands-admin.css 1 year ago brands-admin.scss 1 year ago brands-rtl.css 1 month ago brands.css 1 month ago brands.scss 1 year ago coming-soon-entire-site-deprecated-rtl.css 1 month ago coming-soon-entire-site-deprecated.css 1 month ago coming-soon-entire-site-deprecated.scss 1 year ago coming-soon-rtl.css 1 month ago coming-soon.css 1 month ago coming-soon.scss 1 month ago dashboard-rtl.css 1 month ago dashboard-setup-rtl.css 1 month ago dashboard-setup.css 1 month ago dashboard-setup.scss 1 month ago dashboard.css 1 month ago dashboard.scss 1 month ago forms-rtl.css 3 months ago forms.css 3 months ago forms.scss 3 months ago helper-rtl.css 2 months ago helper.css 2 months ago helper.scss 2 months ago marketplace-suggestions-rtl.css 2 months ago marketplace-suggestions.css 2 months ago marketplace-suggestions.scss 1 year ago menu-rtl.css 1 month ago menu.css 1 month ago menu.scss 3 years ago network-order-widget-rtl.css 4 years ago network-order-widget.css 4 years ago network-order-widget.scss 3 years ago order-review-rtl.css 2 months ago order-review.css 2 months ago order-review.scss 2 months ago prettyPhoto-rtl.css 1 month ago prettyPhoto.css 1 month ago prettyPhoto.scss 3 years ago privacy-rtl.css 6 years ago privacy.css 6 years ago privacy.scss 3 years ago reports-print-rtl.css 3 years ago reports-print.css 3 years ago reports-print.scss 3 years ago select2.css 3 months ago select2.scss 3 months ago twenty-nineteen-rtl.css 1 month ago twenty-nineteen.css 1 month ago twenty-nineteen.scss 1 year ago twenty-seventeen-rtl.css 1 month ago twenty-seventeen.css 1 month ago twenty-seventeen.scss 1 year ago twenty-twenty-one-admin-rtl.css 2 years ago twenty-twenty-one-admin.css 2 years ago twenty-twenty-one-admin.scss 2 years ago twenty-twenty-one-rtl.css 1 month ago twenty-twenty-one.css 1 month ago twenty-twenty-one.scss 5 months ago twenty-twenty-rtl.css 1 month ago twenty-twenty-three-rtl.css 1 month ago twenty-twenty-three.css 1 month ago twenty-twenty-three.scss 5 months ago twenty-twenty-two-rtl.css 1 month ago twenty-twenty-two.css 1 month ago twenty-twenty-two.scss 5 months ago twenty-twenty.css 1 month ago twenty-twenty.scss 5 months ago variation-gallery-admin-rtl.css 2 months ago variation-gallery-admin.css 2 months ago variation-gallery-admin.scss 2 months ago wc-setup-rtl.css 1 month ago wc-setup.css 1 month ago wc-setup.scss 3 months ago woocommerce-blocktheme-rtl.css 1 month ago woocommerce-blocktheme.css 1 month ago woocommerce-blocktheme.scss 1 year ago woocommerce-classictheme-editor-fonts-rtl.css 1 month ago woocommerce-classictheme-editor-fonts.css 1 month ago woocommerce-classictheme-editor-fonts.scss 1 year ago woocommerce-layout-rtl.css 2 months ago woocommerce-layout.css 2 months ago woocommerce-layout.scss 1 year ago woocommerce-rtl.css 1 month ago woocommerce-smallscreen-rtl.css 2 months ago woocommerce-smallscreen.css 2 months ago woocommerce-smallscreen.scss 3 months ago woocommerce.css 1 month ago woocommerce.scss 5 months ago
admin.scss
10075 lines
1 /**
2 * admin.scss
3 * General WooCommerce admin styles. Settings, product data tabs, reports, etc.
4 */
5
6 /**
7 * Imports
8 */
9 @import "mixins";
10 @import "variables";
11 @import "animation";
12 @import "fonts";
13
14 /**
15 * Styling begins
16 */
17 .blockUI.blockOverlay {
18 @include loader();
19 }
20
21 $font-sf-pro-text: helveticaneue-light, "Helvetica Neue Light",
22 "Helvetica Neue", sans-serif;
23 $font-sf-pro-display: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
24
25 .wc-addons-wrap {
26 .marketplace-header {
27 background-image: url(../images/marketplace-header-bg@2x.png);
28 background-position: right;
29 background-size: cover;
30 box-sizing: border-box;
31 display: flex;
32 flex-direction: column;
33 justify-content: center;
34 min-height: 216px;
35 padding: 24px 16px;
36 width: 100%;
37
38 &__title {
39 color: #fff;
40 font-size: 32px;
41 font-style: normal;
42 font-weight: 400;
43 line-height: 1.15;
44 margin-bottom: 8px;
45 padding: 0;
46 }
47
48 &__description {
49 color: #fff;
50 font-size: 16px;
51 line-height: 24px;
52 margin-bottom: 24px;
53 margin-top: 0;
54 }
55
56 &__search-form {
57 clear: both;
58 display: block;
59 max-width: 318px;
60 position: relative;
61
62 input {
63 border: 1px solid #ddd;
64 box-shadow: none;
65 font-size: 13px;
66 height: 48px;
67 padding-left: 16px;
68 padding-right: 50px;
69 width: 100%;
70 margin: 0;
71 }
72
73 button {
74 background: none;
75 border: none;
76 cursor: pointer;
77 height: 48px;
78 position: absolute;
79 right: 0;
80 width: 53px;
81 }
82 }
83 }
84
85 .top-bar {
86 background: #fff;
87 box-shadow: inset 0 -1px 0 #ccc;
88 display: block;
89 height: 60px;
90 margin: 0 0 16px;
91
92 @media only screen and (min-width: 768px) {
93 margin-bottom: 24px;
94 }
95 }
96
97 .current-section-dropdown {
98 background: #fff;
99 border: 1px solid #a7aaad;
100 margin-bottom: 20px;
101 position: relative;
102 width: 100%;
103
104 @media only screen and (min-width: 600px) {
105 width: 288px;
106 }
107
108 ul {
109 background: #fff;
110 border-radius: 2px;
111 display: none;
112 flex-direction: column;
113 justify-content: left;
114 left: 0;
115 margin: 0;
116 padding: 14px 0;
117 position: absolute;
118 top: 50px;
119 width: 100%;
120 z-index: 10;
121
122 @media only screen and (min-width: 600px) {
123 border: 1px solid #1e1e1e;
124 left: -1px;
125 top: 48px;
126 }
127
128 @media only screen and (min-width: 1100px) {
129 justify-content: center;
130 }
131
132 li {
133 font-size: 13px;
134 line-height: 16px;
135 margin: 0;
136
137 &.current a::after {
138 background-image: url(../images/icons/gridicons-checkmark.svg);
139 content: "";
140 display: block;
141 height: 20px;
142 position: absolute;
143 right: 20px;
144 top: 7px;
145 width: 20px;
146 }
147 }
148
149 a,
150 a:visited,
151 a:hover,
152 a:focus {
153 border: none;
154 box-shadow: none;
155 box-sizing: border-box;
156 color: #1e1e1e;
157 display: inline-block;
158 text-decoration: none;
159 outline: none;
160 padding: 14px 18px;
161 position: relative;
162 width: 100%;
163
164 @media only screen and (min-width: 600px) {
165 padding: 10px 18px;
166 }
167 }
168 }
169
170 &.wp-tour-kit-spotlit {
171 padding: 20px;
172 }
173 }
174
175 .current-section-name {
176 cursor: pointer;
177 font-size: 14px;
178 line-height: 24px;
179 padding: 12px 16px;
180 position: relative;
181 }
182
183 .current-section-name::after {
184 background-image: url(../images/icons/gridicons-chevron-down.svg);
185 background-size: contain;
186 content: "";
187 display: block;
188 height: 20px;
189 position: absolute;
190 right: 20px;
191 top: 16px;
192 width: 20px;
193 }
194
195 .current-section-dropdown.is-open {
196 ul {
197 display: flex;
198 }
199
200 .current-section-name::after {
201 transform: rotate(0.5turn);
202 }
203 }
204
205 .update-plugins .update-count {
206 background-color: var(--wp-admin-theme-color, #d54e21);
207 border-radius: 10px;
208 color: #fff;
209 display: inline-block;
210 font-size: 9px;
211 font-weight: 600;
212 line-height: 17px;
213 margin: 1px 0 0 4px;
214 padding: 0 6px;
215 vertical-align: text-top;
216 }
217
218 /**
219 * Marketplace related variables
220 */
221 $font-sf-pro-display: sans-serif;
222
223 h1.search-form-title {
224 clear: left;
225 font-size: 20px;
226 font-family: $font-sf-pro-display;
227 line-height: 1.2;
228 margin: 48px 0 12px;
229 padding: 0;
230 }
231
232 .addons-featured {
233 margin: 0;
234 }
235
236 ul.subsubsub.subsubsub {
237 margin: -2px 0 12px;
238 }
239
240 .subsubsub li::after {
241 content: "|";
242 }
243
244 .subsubsub li:last-child::after {
245 content: "";
246 }
247
248 .addons-button {
249 border-radius: $radius-s;
250 cursor: pointer;
251 display: block;
252 height: 37px;
253 line-height: 37px;
254 margin-top: 16px;
255 text-align: center;
256 text-decoration: none;
257 width: 124px;
258 }
259
260 .addons-wcs-banner-block {
261 align-items: center;
262 background: #fff;
263 border: 1px solid #ddd;
264 display: flex;
265 margin: 0 0 1em 0;
266 padding: 2em 2em 1em;
267 }
268
269 .addons-wcs-banner-block-image {
270 background: #f7f7f7;
271 border: 1px solid #e6e6e6;
272 margin-right: 2em;
273 padding: 4em;
274 max-width: 200px;
275
276 .addons-img {
277 max-height: 86px;
278 max-width: 97px;
279 }
280
281 &.is-full-image {
282 padding: 0;
283 background: none;
284 border: none;
285
286 .addons-img {
287 max-height: 100%;
288 max-width: 100%;
289 }
290 }
291 }
292
293 .addons-shipping-methods .addons-wcs-banner-block {
294 margin-left: 0;
295 margin-right: 0;
296 margin-top: 1em;
297 }
298
299 .addons-wcs-banner-block-content {
300 display: flex;
301 flex-direction: column;
302 justify-content: space-around;
303 align-self: stretch;
304 padding: 1em 0;
305
306 h1 {
307 padding-bottom: 0;
308 }
309
310 p {
311 margin-bottom: 0;
312 }
313
314 .wcs-logos-container {
315 display: flex;
316 align-items: center;
317 flex-direction: row;
318 justify-content: center;
319
320 @media screen and (min-width: 500px) {
321 justify-content: left;
322 }
323
324 li {
325 margin-right: 8px;
326
327 &:last-child {
328 margin-right: 0;
329 }
330 }
331 }
332
333 .wcs-service-logo {
334 max-width: 45px;
335 }
336 }
337
338 .addons-column {
339 flex: 1;
340 width: 50%;
341 padding: 0 0.5em;
342 }
343
344 .addons-column:nth-child(2) {
345 margin-right: 0;
346 }
347
348 .addons-small-dark-items {
349 display: flex;
350 flex-wrap: wrap;
351 justify-content: space-around;
352 }
353
354 .addons-small-dark-item {
355 margin: 0 0 20px;
356 }
357
358 .addons-small-dark-item-icon img {
359 height: 30px;
360 }
361
362 .addons-small-dark-item a {
363 margin: 28px auto 0;
364 }
365
366 .addons-button-solid {
367 background-color: #674399;
368 color: #fff;
369 }
370
371 .addons-button-promoted {
372 float: right;
373 width: auto;
374 padding: 0 20px;
375 margin-top: 0;
376 }
377
378 .addons-button-promoted:hover {
379 opacity: 0.8;
380 }
381
382 .addons-button-expandable {
383 display: inline-block;
384 padding: 0 16px;
385 width: auto;
386 }
387
388 .addons-button-solid:hover {
389 color: #fff;
390 opacity: 0.8;
391 }
392
393 .addons-button-outline-green {
394 border: 1px solid #73ae39;
395 color: #73ae39;
396 }
397
398 .addons-button-outline-green:hover {
399 color: #73ae39;
400 opacity: 0.8;
401 }
402
403 .addons-button-outline-purple {
404 border: 1px solid #674399;
405 color: #674399;
406 }
407
408 .addons-button-outline-purple:hover {
409 color: #674399;
410 opacity: 0.8;
411 }
412
413 .addons-button-outline-white {
414 border: 1px solid #fff;
415 color: #fff;
416 }
417
418 .addons-button-outline-white:hover {
419 color: #fff;
420 opacity: 0.8;
421 }
422
423 .addons-button-installed {
424 background: #e6e6e6;
425 color: #3c3c3c;
426 }
427
428 .addons-button-installed:hover {
429 color: #3c3c3c;
430 opacity: 0.8;
431 }
432
433 @media only screen and (max-width: 400px) {
434 .addons-button {
435 width: 100%;
436 }
437
438 .addons-small-dark-item {
439 width: 100%;
440 }
441 }
442
443 .marketplace-content-wrapper {
444 font-family: $font-sf-pro-text;
445 margin: 0 auto;
446 max-width: 1032px;
447 width: 100%;
448 }
449
450 .addon-product-group {
451 margin-bottom: 24px;
452
453 &.wp-tour-kit-spotlit {
454 padding: 20px;
455 }
456 }
457
458 .addon-product-group-title {
459 font-family: $font-sf-pro-display;
460 font-size: 20px;
461 font-weight: 400;
462 line-height: 24px;
463 margin: 0 0 4px;
464 }
465
466 .current-section-dropdown__title {
467 display: none;
468 font-family: $font-sf-pro-display;
469 }
470
471 .addon-product-group-description-container {
472 align-items: center;
473 display: flex;
474 flex-direction: row;
475 font-size: 14px;
476 justify-content: space-between;
477 line-height: 20px;
478
479 .addon-product-group-see-more,
480 .addon-product-group-see-more:visited {
481 color: var(--wp-admin-theme-color, #007cba);
482 /* Primary / Blue */
483 display: block;
484 font-size: 13px;
485 text-decoration: none;
486 }
487 }
488
489 .products {
490 display: flex;
491 flex-flow: row;
492 flex-wrap: wrap;
493 font-weight: normal;
494 justify-content: space-between;
495 margin: 0;
496 max-width: 1032px;
497 overflow: hidden;
498
499 .product.addons-product-banner,
500 .product.addons-buttons-banner {
501 max-width: calc(100% - 2px);
502 }
503
504 @media screen and (min-width: 960px) {
505 // Adjust heading titles font for three-column product groups
506 &.addons-products-three-column li.product {
507 max-width: calc(33.33% - 12px);
508
509 h2,
510 h3 {
511 font-size: 16px;
512 }
513 }
514 }
515
516 li {
517 background: #fff;
518 border: 1px solid #dcdcde;
519 border-radius: 2px;
520 box-sizing: border-box;
521 display: flex;
522 flex: 1 0 auto;
523 flex-direction: column;
524 justify-content: space-between;
525 margin: 12px 0;
526 max-width: calc(50% - 12px);
527 min-width: 280px;
528 min-height: 220px;
529 overflow: hidden;
530 padding: 0;
531 vertical-align: top;
532
533 &.addons-full-width {
534 max-width: 100%;
535 }
536
537 @media only screen and (max-width: 768px) {
538 max-width: none;
539 width: 100%;
540 }
541
542 a {
543 text-decoration: none;
544 }
545
546 .product-details {
547 padding: 24px;
548 position: relative;
549
550 /* Display an image (product's icon) top right */
551 .product-img-wrap {
552 display: block;
553 margin-left: 24px;
554 position: absolute;
555 right: 24px;
556 top: 24px;
557
558 img {
559 border-radius: 3px;
560 display: block;
561 margin: 0;
562 max-width: 48px;
563 max-height: 48px;
564 }
565 }
566
567 /* Align aproduct-related banner image vertically centered */
568 &.addon-product-banner-details {
569 align-items: center;
570 display: flex;
571 flex-direction: row;
572 justify-content: space-between;
573
574 .product-img-wrap {
575 position: unset;
576
577 img {
578 max-width: 150px;
579 max-height: 150px;
580 }
581 }
582 }
583
584 h2,
585 h3 {
586 color: var(--wp-admin-theme-color, #007cba);
587 font-size: 20px;
588 font-weight: 400;
589 letter-spacing: -0.32px;
590 line-height: 28px;
591 margin: 0 !important;
592 // Don't cover a product icon
593 max-width: calc(100% - 48px);
594 }
595
596 .addons-buttons-banner-details h2 {
597 color: #1d2327; // Gray / Gray 90
598 }
599
600 &.featured,
601 &.promoted {
602 .label {
603 align-items: center;
604 border-radius: 2px;
605 background: #dcdcde;
606 display: flex;
607 flex-direction: row;
608 height: 20px;
609 justify-content: flex-end;
610 margin-bottom: 8px;
611 max-width: 52px;
612 padding: 3px 12px;
613 top: 28px;
614 right: 24px;
615 text-align: center;
616
617 &.promoted {
618 float: right;
619 max-width: 58px;
620 }
621 }
622
623 h2 {
624 color: var(--wp-admin-theme-color, #2c3338);
625 }
626 }
627
628 p {
629 color: $gray-900;
630 font-size: 14px;
631 line-height: 20px;
632 margin: 14px 64px 0 0;
633 width: 100%;
634 }
635
636 .addons-buttons-banner-details p {
637 font-size: 14px;
638 margin-bottom: 14px;
639 max-width: none;
640 }
641
642 .product-developed-by {
643 color: #50575e;
644 /* Gray 60 */
645 font-size: 12px;
646 line-height: 20px;
647 margin-top: 4px;
648
649 .product-vendor-link {
650 color: #50575e;
651 /* Gray 60 */
652 }
653 }
654
655 .product-developed-by {
656 color: #50575e; // Gray 60
657 font-size: 12px;
658 font-family: sans-serif;
659 line-height: 20px;
660 margin-top: 4px;
661
662 .product-vendor-link {
663 color: #50575e; // Gray 60
664 }
665 }
666 }
667
668 .product-footer {
669 align-items: center;
670 border-top: 1px solid #dcdcde;
671 display: flex;
672 flex-direction: row;
673 justify-content: space-between;
674 padding: 24px;
675
676 .price {
677 font-size: 16px;
678 color: #1d2327;
679 }
680
681 .price-suffix {
682 color: $gray-700;
683 }
684
685 .product-reviews-block {
686 display: flex;
687 flex-direction: row;
688 margin-top: 4px;
689
690 .product-rating-star {
691 background-repeat: no-repeat;
692 background-size: contain;
693 height: 16px;
694 margin: 4px 4px 4px 0;
695 width: 17px;
696
697 &__fill {
698 background-image: url(../images/icons/star-golden.svg);
699 }
700
701 &__half-fill {
702 background-image: url(../images/icons/star-half-filled.svg);
703 }
704
705 &__no-fill {
706 background-image: url(../images/icons/star-gray.svg);
707 }
708 }
709
710 .product-reviews-count {
711 color: $gray-700;
712 font-size: 12px;
713 font-family: sans-serif;
714 line-height: 24px;
715 letter-spacing: -0.154px;
716 margin-left: 4px;
717 }
718 }
719
720 .button {
721 background-color: #fff;
722 border-color: var(--wp-admin-theme-color, #007cba);
723 color: var(--wp-admin-theme-color, #007cba);
724 float: right;
725 font-size: 13px;
726 height: 36px;
727 line-height: 30px;
728 padding: 2px 14px;
729 }
730 }
731 }
732
733 .product-footer-promoted {
734 align-items: flex-end;
735 display: flex;
736 justify-content: space-between;
737 padding: 24px;
738
739 .icon img {
740 border-radius: 4px;
741 width: 80px;
742 }
743 }
744
745 .addons-buttons-banner {
746 display: flex;
747 flex-direction: row;
748
749 .addons-buttons-banner-image {
750 background-repeat: no-repeat;
751 background-size: cover;
752 height: 190px;
753 margin: 24px;
754 width: 200px;
755 }
756
757 .addons-buttons-banner-details-container {
758 padding-left: 0;
759 width: calc(100% - 198px - 24px - 24px);
760 }
761
762 .addons-buttons-banner-details-container {
763 display: flex;
764 flex-direction: column;
765 justify-content: space-between;
766 }
767
768 .button.addons-buttons-banner-button,
769 .button.addons-buttons-banner-button:hover {
770 background: #fff;
771 border: 1.5px solid #624594;
772 color: #624594;
773 padding: 4px 12px;
774 margin-right: 16px;
775
776 &.addons-buttons-banner-button-primary {
777 background-color: #624594;
778 color: #fff;
779 }
780 }
781 }
782 }
783
784 .storefront {
785 max-width: 990px;
786 background: url(../images/storefront-bg.jpg) bottom right #f6f6f6;
787 border: 1px solid #ddd;
788 margin: 1em auto;
789 padding: 24px;
790 overflow: hidden;
791 zoom: 1;
792
793 img {
794 display: block;
795 width: 100%;
796 max-width: 400px;
797 height: auto;
798 margin: 0 auto 16px;
799 box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
800 }
801
802 p:last-of-type {
803 margin-bottom: 0;
804 }
805
806 p {
807 max-width: 750px;
808 }
809 }
810 }
811
812 .marketplace-header__tabs {
813 display: flex;
814 margin: 0;
815 }
816
817 .marketplace-header__tab {
818 display: flex;
819 flex: 1;
820 margin: 0;
821 }
822
823 .marketplace-header__tab-link {
824 align-items: center;
825 border-bottom: 2px solid transparent;
826 box-sizing: border-box;
827 display: flex;
828 font-size: 14px;
829 height: 60px;
830 justify-content: center;
831 line-height: 20px;
832 padding: 0 24px;
833 text-decoration: none;
834 width: 100%;
835
836 &.is-current {
837 border-bottom: 2px solid #1e1e1e;
838 color: #1e1e1e;
839 }
840 }
841
842 .no-touch,
843 .no-js {
844 .wc-addons-wrap {
845 .current-section-dropdown:hover {
846 ul {
847 display: flex;
848 }
849
850 .current-section-name::after {
851 transform: rotate(0.5turn);
852 }
853 }
854 }
855 }
856
857 .wc-subscriptions-wrap {
858 max-width: 1200px;
859
860 .update-plugins .update-count {
861 background-color: var(--wp-admin-theme-color, #d54e21);
862 border-radius: 10px;
863 color: #fff;
864 display: inline-block;
865 font-size: 9px;
866 font-weight: 600;
867 line-height: 17px;
868 margin: 1px 0 0 2px;
869 padding: 0 6px;
870 vertical-align: text-top;
871 }
872 }
873
874 .woocommerce-page-wc-marketplace {
875 .notice {
876 margin-left: 20px;
877 margin-right: 20px;
878 }
879
880 // NOTE: .woocommerce-page is removed within admin.
881 &.woocommerce-page, &.woocommerce-admin-page {
882 .wrap {
883 margin-top: 32px;
884 }
885 }
886 }
887
888 .woocommerce-page-wc-subscriptions {
889 #wpbody-content {
890 .screen-reader-text + .notice {
891 margin-top: 32px;
892 }
893 }
894 }
895
896 .woocommerce-embed-page.woocommerce-page-wc-marketplace {
897 #screen-meta-links {
898 position: absolute;
899 right: 0;
900 }
901 }
902
903 .woocommerce-message,
904 .woocommerce-BlankState {
905 a.button-primary,
906 button.button-primary {
907 display: inline-block;
908 }
909 }
910
911 .woocommerce-message {
912 position: relative;
913 overflow: hidden;
914
915 a.skip,
916 a.docs {
917 text-decoration: none !important;
918 }
919
920 a.woocommerce-message-close {
921 position: static;
922 float: right;
923 padding: 0 15px 10px 28px;
924 margin-top: -10px;
925 font-size: 13px;
926 line-height: 1.23076923;
927 text-decoration: none;
928
929 &::before {
930 position: relative;
931 top: 18px;
932 left: -20px;
933 transition: all 0.1s ease-in-out;
934 }
935 }
936
937 .twitter-share-button {
938 margin-top: -3px;
939 margin-left: 3px;
940 vertical-align: middle;
941 }
942 }
943
944 #variable_product_options #message,
945 #inventory_product_data .notice,
946 #variable_product_options .notice {
947 display: flex;
948 background-color: #ffffff;
949 border-color: #eee;
950 border-width: 1px 0px 0px 0px;
951 border-style: solid;
952 align-items: center;
953 box-shadow: 0 0 0;
954 margin: 5px 0 0;
955 > p {
956 a {
957 text-decoration: none;
958 white-space: nowrap;
959 }
960 }
961 > p:not(:last-child) {
962 width: 85%;
963 }
964 > img.info-icon {
965 width: 1em;
966 filter: brightness(50%);
967 }
968 .woocommerce-add-variation-price-container {
969 width: auto;
970 display: flex;
971 justify-content: flex-end;
972 > button {
973 align-self: center;
974 }
975 }
976 }
977
978 /**
979 * Product editor modals
980 */
981 .wc-backbone-modal-set-price-variations.wc-backbone-modal,
982 .wc-backbone-modal-add-attribute-term.wc-backbone-modal {
983 @media screen and (min-width: 783px) {
984 .wc-backbone-modal-content {
985 max-width: 400px;
986 min-width: auto;
987 width: 100%;
988 }
989 }
990
991 article {
992 padding-bottom: 2em;
993 }
994
995 label:not(:first-child) {
996 display: block;
997 margin-top: 1.5em;
998 }
999
1000 input[type="text"]="text""] {
1001 display: block;
1002 font-size: 13px;
1003 line-height: 16px;
1004 margin: 6px 0;
1005 padding: 12px;
1006 width: 100%;
1007 }
1008
1009 .wc-admin-visual-attribute-type {
1010 margin: 1.5em 0 1em;
1011
1012 label {
1013 margin-top: 0;
1014 }
1015 }
1016
1017 .wc-admin-visual-attribute-color-picker-trigger,
1018 .wc-admin-visual-attribute-image-picker-trigger {
1019 width: 100%;
1020 }
1021 }
1022
1023 /**
1024 * Variations related variables
1025 */
1026 $container-height: 360px;
1027 $max-content-width: 544px;
1028 $default-font-size: 14px;
1029 $default-line-height: 18px;
1030
1031 #variable_product_options {
1032 .form-row select {
1033 max-width: 100%;
1034 }
1035
1036 .variation_actions {
1037 max-width: 131px;
1038 }
1039
1040 .toolbar-top {
1041 .button,
1042 .select {
1043 margin: 1px;
1044 }
1045 }
1046
1047 %container-defaults {
1048 box-sizing: border-box;
1049 display: flex;
1050 padding: 32px 0;
1051 height: $container-height;
1052 }
1053
1054 %centered-text {
1055 width: 90%;
1056 max-width: $max-content-width;
1057 font-size: $default-font-size;
1058 line-height: $default-line-height;
1059 text-align: center;
1060 }
1061
1062 .add-attributes-container {
1063 @extend %container-defaults;
1064 align-items: center;
1065
1066 a {
1067 text-decoration: none;
1068
1069 &[target="_blank"]="_blank""]::after {
1070 content: url("../images/icons/external-link.svg");
1071 margin-left: 2px;
1072 vertical-align: sub;
1073 }
1074 }
1075
1076 .add-attributes-message {
1077 display: flex;
1078 flex-direction: column;
1079 align-items: center;
1080 gap: 24px;
1081 width: 100%;
1082
1083 p {
1084 @extend %centered-text;
1085 }
1086 }
1087 }
1088
1089 #variable_product_options_inner {
1090 > .toolbar:not(.expand-close-hidden) {
1091 border-bottom: 1px solid #eee;
1092 }
1093 .add-variation-container {
1094 display: none;
1095 }
1096
1097 &.no-variations {
1098 > .toolbar:not(.expand-close-hidden) {
1099 border-bottom: none;
1100 }
1101 .add-variation-container {
1102 display: flex;
1103 @extend %container-defaults;
1104 flex-direction: column;
1105 justify-content: center;
1106 align-items: center;
1107 gap: 24px;
1108 position: relative;
1109
1110 .arrow-image-wrapper {
1111 position: absolute;
1112 top: 10px;
1113 left: 87px;
1114 }
1115
1116 p {
1117 @extend %centered-text;
1118 }
1119 }
1120 }
1121 }
1122 }
1123
1124 #product_attributes {
1125 .add-global-attribute-container {
1126 display: flex;
1127 flex-direction: column;
1128 height: 360px;
1129
1130 &.hidden {
1131 display: none;
1132 }
1133
1134 .message {
1135 box-sizing: border-box;
1136 display: flex;
1137 flex-direction: column;
1138 justify-content: center;
1139 align-items: center;
1140 padding: 32px 0px;
1141 gap: 24px;
1142 flex: 1;
1143 @media screen and (max-width: 782px) {
1144 button {
1145 vertical-align: top;
1146 }
1147 }
1148 p {
1149 width: 90%;
1150 max-width: 544px;
1151 font-size: 14px;
1152 line-height: 18px;
1153 text-align: center;
1154 }
1155 }
1156 }
1157 .toolbar-top {
1158 .button,
1159 .select2-container {
1160 margin: 1px;
1161 }
1162 }
1163 .select2-container {
1164 min-width: 190px;
1165 }
1166 }
1167 #select2-attribute_taxonomy-results {
1168 .select2-results__option,
1169 .select2-results__group {
1170 margin: 0;
1171 padding: 8px 4px;
1172 }
1173 }
1174
1175 .clear {
1176 clear: both;
1177 }
1178
1179 .wrap.woocommerce div.updated,
1180 .wrap.woocommerce div.error {
1181 margin-top: 10px;
1182 }
1183
1184 mark.amount {
1185 background: transparent none;
1186 color: inherit;
1187 }
1188
1189 /**
1190 * Help Tip
1191 */
1192 .woocommerce-help-tip,
1193 .woocommerce-product-type-tip {
1194 color: #666;
1195 display: inline-block;
1196 font-size: 1.1em;
1197 font-style: normal;
1198 height: 16px;
1199 line-height: 16px;
1200 position: relative;
1201 vertical-align: middle;
1202 width: 16px;
1203
1204 &::after {
1205 @include icon_dashicons("\f223");
1206 cursor: help;
1207 }
1208 }
1209
1210 .wc-wp-version-gte-53 {
1211 .woocommerce-help-tip,
1212 .woocommerce-product-type-tip {
1213 font-size: 1.2em;
1214 cursor: help;
1215 }
1216 }
1217
1218 h2 .woocommerce-help-tip,
1219 .woocommerce-product-type-tip {
1220 margin-top: -5px;
1221 margin-left: 0.25em;
1222 }
1223
1224 table.wc_status_table {
1225 margin-bottom: 1em;
1226
1227 h2 {
1228 font-size: 14px;
1229 margin: 0;
1230 }
1231
1232 tr:nth-child(2n) {
1233 th,
1234 td {
1235 background: #fcfcfc;
1236 }
1237 }
1238
1239 th {
1240 font-weight: 700;
1241 padding: 9px;
1242 }
1243
1244 td:first-child {
1245 width: 33%;
1246 }
1247
1248 td.help {
1249 width: 1em;
1250 }
1251
1252 td,
1253 th {
1254 font-size: 1.1em;
1255 font-weight: normal;
1256
1257 &.run-tool {
1258 text-align: right;
1259
1260 .run-tool-actions {
1261 align-items: center;
1262 display: inline-flex;
1263 white-space: nowrap;
1264 }
1265
1266 .run-tool-status {
1267 display: inline-block;
1268 margin-left: 0.5em;
1269 vertical-align: middle;
1270
1271 .dashicons.spin {
1272 animation: rotation 2s infinite linear;
1273 }
1274 }
1275 }
1276
1277 strong.name {
1278 display: block;
1279 margin-bottom: 0.5em;
1280 }
1281
1282 @include table-marks();
1283
1284 mark.error,
1285 .red {
1286 color: $red;
1287 }
1288
1289 ul {
1290 margin: 0;
1291 }
1292 }
1293
1294 .help_tip {
1295 cursor: help;
1296 }
1297 }
1298
1299 table.wp-list-table.urls {
1300 td,
1301 th {
1302 @include table-marks();
1303 }
1304 }
1305
1306 table.wc_status_table--tools {
1307 td,
1308 th {
1309 padding: 2em;
1310 }
1311 }
1312
1313 .taxonomy-product_cat {
1314 .check-column .woocommerce-help-tip {
1315 font-size: 1.5em;
1316 margin: -3px 0 0 5px;
1317 display: block;
1318 position: absolute;
1319 }
1320 }
1321
1322 #debug-report {
1323 display: none;
1324 margin: 10px 0;
1325 padding: 0;
1326 position: relative;
1327
1328 textarea {
1329 font-family: monospace;
1330 width: 100%;
1331 margin: 0;
1332 height: 300px;
1333 padding: 20px;
1334 border-radius: 0;
1335 resize: none;
1336 font-size: 12px;
1337 line-height: 20px;
1338 outline: 0;
1339 }
1340 }
1341
1342 @media screen and (max-width: 500px) {
1343 body.woocommerce_page_wc-status {
1344 .updated.woocommerce-message.inline {
1345 p.submit {
1346 a,
1347 button {
1348 display: block;
1349 width: 100%;
1350 margin-bottom: 0.5em;
1351 margin-left: 0;
1352 text-align: center;
1353 box-sizing: border-box;
1354 }
1355 }
1356 }
1357 }
1358 }
1359
1360 /**
1361 * FileV2 logs
1362 */
1363 .wc-logs-header {
1364 margin: 1.5em 0 2em;
1365 display: flex;
1366 flex-flow: row wrap;
1367 align-items: center;
1368 gap: 1em;
1369
1370 h2 {
1371 margin: 0;
1372 }
1373
1374 .file-id {
1375 padding: 3px 5px;
1376 background: rgba( 0, 0, 0, 0.07 );
1377 font-family: Consolas, Monaco, monospace;
1378 }
1379 }
1380
1381 .wc-logs-single-file-rotations {
1382 display: flex;
1383 align-items: center;
1384 gap: 0.5em;
1385
1386 h3 {
1387 font-size: inherit;
1388 margin: 0;
1389 }
1390
1391 .wc-logs-rotation-links {
1392 list-style: none;
1393 margin: 0;
1394 display: flex;
1395 gap: 0.5em;
1396
1397 li {
1398 display: block;
1399 margin: 0;
1400 }
1401 }
1402 }
1403
1404 .wc-logs-single-file-actions {
1405 margin-left: auto;
1406 display: flex;
1407 flex-flow: row wrap;
1408 gap: 0.5em;
1409 }
1410
1411 .wc-logs-search {
1412 margin-left: auto;
1413 display: flex;
1414 flex-flow: column;
1415 }
1416
1417 .wc-logs-search-fieldset {
1418 display: flex;
1419 gap: 0.5em;
1420 justify-content: flex-end;
1421 }
1422
1423 .wc-logs-search-notice {
1424 font-size: 0.9em;
1425 line-height: 2;
1426 text-align: right;
1427 visibility: hidden;
1428 height: 0;
1429
1430 .wc-logs-search:focus-within & {
1431 visibility: visible;
1432 height: auto;
1433 }
1434 }
1435
1436 .wc-logs-entries {
1437 background: #f6f7f7;
1438 border: 1px solid #c3c4c7;
1439 font-family: Consolas, Monaco, monospace;
1440 word-wrap: break-word;
1441 line-height: 2.3;
1442 counter-reset: line;
1443
1444 .line {
1445 display: block;
1446 width: 100%;
1447 position: relative;
1448 white-space: pre-wrap;
1449
1450 &:before {
1451 counter-increment: line;
1452 content: counter(line);
1453 display: block;
1454 float: left;
1455 padding: 0 1em 0 0.5em;
1456 width: 3em;
1457 text-align: right;
1458 }
1459
1460 &:target {
1461 box-shadow: 0 0.16em 0.16em -0.16em #c3c4c7, 0 -0.16em 0.16em -0.16em #c3c4c7;
1462 z-index: 1;
1463 scroll-margin-top: 50vh;
1464
1465 .line-content {
1466 background: #fff8c5;
1467 }
1468
1469 .log-level:before {
1470 color: #fff8c5;
1471 }
1472 }
1473
1474 &.has-context {
1475 summary {
1476 cursor: pointer;
1477 }
1478
1479 details {
1480 white-space: pre-wrap;
1481 }
1482 }
1483 }
1484
1485 .line-anchor {
1486 position: absolute;
1487 color: inherit;
1488 text-decoration: none;
1489 display: block;
1490 height: 100%;
1491 width: 4.5em;
1492 }
1493
1494 .line-content {
1495 display: block;
1496 overflow: hidden;
1497 padding: 0 1em;
1498 border-left: 1px solid #c3c4c7;
1499 background: #ffffff;
1500 }
1501
1502 .log-timestamp {
1503 font-weight: 700;
1504 }
1505
1506 .log-level {
1507 font-size: 100%;
1508 }
1509 }
1510
1511 .wc-logs-search-results {
1512 tbody {
1513 word-wrap: break-word;
1514
1515 .column-file_id {
1516 line-height: 2;
1517 }
1518
1519 .column-line_number,
1520 .column-line {
1521 line-height: 2.3;
1522 }
1523
1524 .column-line {
1525 font-family: Consolas, Monaco, monospace;
1526 }
1527 }
1528
1529 td {
1530 vertical-align: middle;
1531 }
1532
1533 .column-file_id {
1534 width: 16%;
1535 }
1536
1537 .column-line_number {
1538 width: 8%;
1539 }
1540
1541 .search-match {
1542 background: #fff8c5;
1543 padding: 0.46em 0;
1544 border: 1px dashed #c3c4c7;
1545 line-height: 2.3;
1546 }
1547 }
1548
1549 .wc-logs-settings {
1550 .wc-settings-row-logs-retention-period-days {
1551 td {
1552 line-height: 2;
1553 }
1554 }
1555 }
1556
1557 /**
1558 * Log severity level colors.
1559 *
1560 * Descending severity:
1561 * emergency, alert -> red
1562 * critical, error -> orange
1563 * warning, notice -> yellow
1564 * info -> blue
1565 * debug -> green
1566 */
1567 .log-level {
1568 display: inline;
1569 padding: 0 0.5em;
1570 font-size: 80%;
1571 font-weight: 700;
1572 line-height: 1;
1573 color: #000000;
1574 background: #ffffff;
1575 text-align: center;
1576 white-space: nowrap;
1577 vertical-align: baseline;
1578 border-style: solid;
1579 border-width: 0.16em 0.16em 0.16em 1em;
1580 border-top-left-radius: 0.5em;
1581 border-bottom-left-radius: 0.5em;
1582
1583 &:before {
1584 content: "";
1585 color: #ffffff;
1586 margin-left: -1.3em;
1587 margin-right: 0.7em;
1588 }
1589
1590 &:empty {
1591 display: none;
1592 }
1593 }
1594
1595 .log-level--emergency,
1596 .log-level--alert {
1597 border-color: #ff4136;
1598 }
1599
1600 .log-level--critical,
1601 .log-level--error {
1602 border-color: #ff851b;
1603 }
1604
1605 .log-level--warning,
1606 .log-level--notice {
1607 color: #222;
1608 border-color: #ffdc00;
1609 }
1610
1611 .log-level--info {
1612 border-color: #0074d9;
1613 }
1614
1615 .log-level--debug {
1616 border-color: #3d9970;
1617 }
1618
1619 /**
1620 * Legacy file/DB log viewers
1621 */
1622 .wp-list-table.logs {
1623 // Adjust log table columns only when table is not collapsed
1624 @media screen and (min-width: 783px) {
1625 .column-timestamp {
1626 width: 18%;
1627 }
1628
1629 .column-level {
1630 width: 14%;
1631 }
1632
1633 .column-source {
1634 width: 15%;
1635 }
1636
1637 .column-context {
1638 width: 10%;
1639 }
1640 }
1641
1642 .column-message {
1643 pre {
1644 margin: 0;
1645 white-space: pre-wrap;
1646 }
1647 }
1648
1649 .column-context {
1650 .button {
1651 span {
1652 line-height: 1.3;
1653 }
1654 }
1655 }
1656
1657 .log-context {
1658 display: none;
1659
1660 pre {
1661 white-space: pre-wrap;
1662 }
1663 }
1664 }
1665
1666 #log-viewer-select {
1667 padding: 10px 0 8px;
1668 line-height: 28px;
1669
1670 h2 a {
1671 vertical-align: middle;
1672 }
1673 }
1674
1675 #log-viewer {
1676 background: #fff;
1677 border: 1px solid #e5e5e5;
1678 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
1679 padding: 5px 20px;
1680
1681 pre {
1682 font-family: monospace;
1683 white-space: pre-wrap;
1684 word-wrap: break-word;
1685 }
1686 }
1687
1688 /**
1689 * Inline edit
1690 */
1691 .inline-edit-product.quick-edit-row {
1692 .inline-edit-col-center,
1693 .inline-edit-col-right {
1694 float: right !important;
1695 }
1696 }
1697
1698 #woocommerce-fields.inline-edit-col {
1699 clear: left;
1700
1701 label.featured,
1702 label.manage_stock {
1703 margin-left: 10px;
1704 }
1705
1706 label.stock_status_field {
1707 clear: both;
1708 float: left;
1709 }
1710
1711 .dimensions div {
1712 display: block;
1713 margin: 0.2em 0;
1714
1715 span.title {
1716 display: block;
1717 float: left;
1718 width: 5em;
1719 }
1720
1721 span.input-text-wrap {
1722 display: block;
1723 margin-left: 5em;
1724 }
1725 }
1726
1727 .text {
1728 box-sizing: border-box;
1729 width: 99%;
1730 float: left;
1731 margin: 1px 1% 1px 1px;
1732 }
1733
1734 .length,
1735 .width,
1736 .height {
1737 width: 32.33%;
1738 }
1739
1740 .height {
1741 margin-right: 0;
1742 }
1743 }
1744
1745 #woocommerce-fields-bulk.inline-edit-col {
1746 label {
1747 clear: left;
1748 }
1749
1750 .inline-edit-group {
1751 label {
1752 clear: none;
1753 width: 49%;
1754 margin: 0.2em 0;
1755 }
1756
1757 &.dimensions label {
1758 width: 75%;
1759 max-width: 75%;
1760 }
1761 }
1762
1763 .regular_price,
1764 .sale_price,
1765 .weight,
1766 .stock,
1767 .length {
1768 box-sizing: border-box;
1769 width: 100%;
1770 margin-left: 4.4em;
1771 }
1772
1773 .length,
1774 .width,
1775 .height {
1776 box-sizing: border-box;
1777 width: 25%;
1778 }
1779 }
1780
1781 .column-coupon_code {
1782 line-height: 2.25em;
1783 }
1784
1785 ul.wc_coupon_list,
1786 .column-coupon_code {
1787 margin: 0;
1788 overflow: hidden;
1789 zoom: 1;
1790 clear: both;
1791 }
1792
1793 ul.wc_coupon_list {
1794 padding-bottom: 5px;
1795
1796 li {
1797 margin: 0;
1798
1799 &.code {
1800 display: inline-block;
1801 position: relative;
1802 padding: 0 0.5em;
1803 background-color: #fff;
1804 border: 1px solid #aaa;
1805 -webkit-box-shadow: 0 1px 0 #dfdfdf;
1806 box-shadow: 0 1px 0 #dfdfdf;
1807
1808 border-radius: 4px;
1809 margin-right: 5px;
1810 margin-top: 5px;
1811
1812 &.editable {
1813 padding-right: 2em;
1814 }
1815
1816 .tips {
1817 cursor: pointer;
1818
1819 span {
1820 color: #888;
1821
1822 &:hover {
1823 color: #000;
1824 }
1825 }
1826 }
1827
1828 .remove-coupon {
1829 text-decoration: none;
1830 color: #888;
1831 position: absolute;
1832 top: 7px;
1833 right: 20px;
1834
1835 /*rtl:raw:
1836 left: 7px;
1837 */
1838
1839 &::before {
1840 @include icon_dashicons("\f158");
1841 }
1842
1843 &:hover::before {
1844 color: $red;
1845 }
1846 }
1847 }
1848 }
1849 }
1850
1851 ul.wc_coupon_list_block {
1852 margin: 0;
1853 padding-bottom: 2px;
1854
1855 li {
1856 border-top: 1px solid #fff;
1857 border-bottom: 1px solid #ccc;
1858 line-height: 2.5em;
1859 margin: 0;
1860 padding: 0.5em 0;
1861 }
1862
1863 li:first-child {
1864 border-top: 0;
1865 padding-top: 0;
1866 }
1867
1868 li:last-child {
1869 border-bottom: 0;
1870 padding-bottom: 0;
1871 }
1872 }
1873
1874 .button.wc-reload {
1875 @include ir();
1876 padding: 0;
1877 height: 28px;
1878 width: 28px !important;
1879 display: inline-block;
1880
1881 &::after {
1882 @include icon_dashicons("\f345");
1883 line-height: 28px;
1884 }
1885 }
1886
1887 #woocommerce-order-data {
1888 .postbox-header,
1889 .hndle,
1890 .handlediv {
1891 display: none;
1892 }
1893
1894 .inside {
1895 display: block !important;
1896 }
1897 }
1898
1899 #order_data {
1900 padding: 24px;
1901
1902 h2 {
1903 margin: 0;
1904 font-size: 20px;
1905 font-weight: 600;
1906 line-height: 1.3;
1907 padding: 0;
1908 }
1909
1910 h3 {
1911 font-size: 14px;
1912 }
1913
1914 h3,
1915 h4 {
1916 color: $gray-900;
1917 margin: 12px 0 0;
1918 }
1919
1920 p {
1921 color: $subtext;
1922 }
1923
1924 p.order_number {
1925 margin: 0;
1926 font-weight: normal;
1927 line-height: 1.5;
1928 font-size: 13px;
1929 }
1930
1931 .order_data_header {
1932 display: flex;
1933 flex-direction: row;
1934 justify-content: space-between;
1935 gap: 16px;
1936 }
1937
1938 @media screen and (max-width: 1280px) {
1939 .order_data_header {
1940 flex-direction: column;
1941 gap: 24px;
1942 }
1943 }
1944
1945 .order_data_column_container {
1946 clear: both;
1947
1948 p._billing_email_field {
1949 margin-top: 13px;
1950 }
1951 }
1952
1953 .order_data_column {
1954 width: 31%;
1955 padding: 0 3% 0 0;
1956 float: left;
1957
1958 > h3 span {
1959 display: block;
1960 }
1961
1962 &:last-child {
1963 padding-right: 0;
1964 }
1965
1966 // Breathing room when columns stack at narrow widths.
1967 // (No-op on float layouts that fit side-by-side.)
1968 &:not(:last-child) {
1969 margin-bottom: 24px;
1970 }
1971
1972 p {
1973 padding: 0 !important;
1974 }
1975
1976 .address {
1977 margin-top: 8px;
1978
1979 p {
1980 margin: 0 0 8px;
1981 line-height: 1.6;
1982 overflow-wrap: anywhere;
1983 }
1984
1985 strong {
1986 display: block;
1987 margin-bottom: 4px;
1988 font-weight: 600;
1989 color: $gray-900; // Field labels use the primary admin text color.
1990 }
1991 }
1992
1993 .form-field {
1994 float: left;
1995 clear: left;
1996 width: 48%;
1997 padding: 0;
1998 margin: 9px 0 0;
1999
2000 label {
2001 display: block;
2002 margin-bottom: 4px;
2003 color: $gray-900;
2004 }
2005
2006 input:not(.checkbox),
2007 textarea {
2008 width: 100%;
2009 }
2010
2011 select {
2012 width: 100%;
2013 max-width: 100%;
2014 }
2015
2016 .select2-container {
2017 width: 100% !important;
2018 }
2019
2020 small {
2021 display: block;
2022 margin: 5px 0 0;
2023 color: $gray-900;
2024 }
2025 }
2026
2027 .form-field.last,
2028 ._billing_last_name_field,
2029 ._billing_address_2_field,
2030 ._billing_postcode_field,
2031 ._billing_state_field,
2032 ._billing_phone_field,
2033 ._shipping_last_name_field,
2034 ._shipping_address_2_field,
2035 ._shipping_postcode_field,
2036 ._shipping_state_field {
2037 float: right;
2038 clear: right;
2039 }
2040
2041 .form-field-wide,
2042 ._billing_company_field,
2043 ._shipping_company_field,
2044 ._transaction_id_field {
2045 width: 100%;
2046 clear: both;
2047
2048 input:not(.checkbox),
2049 textarea,
2050 select,
2051 .wc-enhanced-select,
2052 .wc-category-search,
2053 .wc-customer-search {
2054 width: 100%;
2055 }
2056 input.date-picker {
2057 width: 40%;
2058 margin-right: 8px;
2059 }
2060 input.hour,
2061 input.minute {
2062 width: 4em;
2063 }
2064 }
2065
2066 .none_set {
2067 color: $subtext;
2068 }
2069
2070 div.edit_address {
2071 display: none;
2072 zoom: 1;
2073 padding-right: 1px;
2074
2075 .select2-container {
2076 .select2-selection--single {
2077 height: 32px;
2078
2079 .select2-selection__rendered {
2080 line-height: 32px;
2081 }
2082 }
2083 }
2084 }
2085
2086 .wc-customer-user,
2087 .wc-order-status {
2088 label a {
2089 float: right;
2090 margin-left: 8px;
2091 }
2092 }
2093
2094 a.edit_address {
2095 width: 14px;
2096 height: 0;
2097 padding: 14px 0 0;
2098 margin: 0 0 0 6px;
2099 overflow: hidden;
2100 position: relative;
2101 color: $subtext;
2102 border: 0;
2103 float: right;
2104
2105 &:hover,
2106 &:focus {
2107 color: var(--wp-admin-theme-color, #007cba);
2108 }
2109
2110 &::after {
2111 font-family: "WooCommerce";
2112 position: absolute;
2113 top: 0;
2114 left: 0;
2115 text-align: center;
2116 vertical-align: top;
2117 line-height: 14px;
2118 font-size: 14px;
2119 font-weight: 400;
2120 }
2121 }
2122
2123 a.edit_address::after {
2124 font-family: "Dashicons";
2125 content: "\f464";
2126 }
2127
2128 .billing-same-as-shipping,
2129 .load_customer_shipping,
2130 .load_customer_billing {
2131 font-size: 13px;
2132 display: inline-block;
2133 font-weight: normal;
2134 }
2135
2136 .load_customer_shipping {
2137 margin-right: 0.3em;
2138 }
2139 }
2140 }
2141
2142 .order_actions {
2143 margin: 0;
2144 overflow: hidden;
2145 zoom: 1;
2146 padding: 0;
2147 list-style: none;
2148
2149 li {
2150 border-top: 1px solid #fff;
2151 border-bottom: 1px solid #ddd;
2152 padding: 6px 0;
2153 margin: 0;
2154 line-height: 1.6em;
2155 float: left;
2156 width: 50%;
2157 text-align: center;
2158
2159 a {
2160 float: none;
2161 text-align: center;
2162 text-decoration: underline;
2163 }
2164
2165 &.wide {
2166 width: auto;
2167 float: none;
2168 clear: both;
2169 padding: 6px;
2170 text-align: left;
2171 overflow: hidden;
2172 }
2173
2174 #delete-action {
2175 line-height: 25px;
2176 vertical-align: middle;
2177 text-align: left;
2178 float: left;
2179 }
2180
2181 .save_order {
2182 float: right;
2183 }
2184
2185 &#actions {
2186 overflow: hidden;
2187
2188 .button {
2189 width: 24px;
2190 box-sizing: border-box;
2191 float: right;
2192 }
2193
2194 select {
2195 width: 225px;
2196 box-sizing: border-box;
2197 float: left;
2198 }
2199 }
2200 }
2201 }
2202
2203 body.post-type-shop_order,
2204 body.woocommerce_page_wc-orders {
2205 .order_actions {
2206 display: flex;
2207 flex-direction: column;
2208 overflow: visible;
2209
2210 li {
2211 border-top: 1px solid $gray-200;
2212 border-bottom: 0;
2213 padding: 16px 12px;
2214 float: none;
2215 width: auto;
2216 text-align: left;
2217
2218 &:first-child {
2219 border-top: 0;
2220 }
2221
2222 &.wide {
2223 padding: 16px 12px;
2224 }
2225
2226 // Save row: keep the legacy trash link in its usual position while
2227 // clearing old button margins that overflow under WP 7.0 sizing.
2228 &.wide:has(.save_order) {
2229 display: flex;
2230 align-items: center;
2231 justify-content: space-between;
2232 gap: 8px;
2233
2234 #delete-action {
2235 line-height: 40px;
2236 text-align: left;
2237 float: none;
2238
2239 &:not(:has(*)) {
2240 display: none;
2241 }
2242 }
2243
2244 .save_order {
2245 flex-shrink: 0;
2246 margin: 0 0 0 auto;
2247 float: none;
2248 }
2249 }
2250
2251 // Action row (top): select + Apply button. Replaces the legacy
2252 // float layout where the Apply button was forced to width: 24px
2253 // (a squished pill) and the select to a hardcoded 225px (overflowed
2254 // on narrow sidebars).
2255 &#actions {
2256 display: flex;
2257 gap: 8px;
2258 align-items: stretch;
2259
2260 select {
2261 flex: 1;
2262 min-width: 0; // prevent flex blow-out on long option labels.
2263 width: auto;
2264 box-sizing: border-box;
2265 float: none;
2266 }
2267
2268 .button {
2269 flex-shrink: 0;
2270 width: auto;
2271 box-sizing: border-box;
2272 // Reset the legacy 1px button margin so the row doesn't overflow.
2273 margin: 0;
2274 float: none;
2275 }
2276 }
2277 }
2278 }
2279 }
2280
2281 #woocommerce-order-items {
2282 .inside {
2283 margin: 0;
2284 padding: 0;
2285 background: #fefefe;
2286 }
2287
2288 .wc-order-data-row {
2289 border-bottom: 1px solid #dfdfdf;
2290 padding: 1.5em 2em;
2291 background: #f8f8f8;
2292
2293 @include clearfix();
2294 line-height: 2em;
2295 text-align: right;
2296
2297 p {
2298 margin: 0;
2299 line-height: 2em;
2300 }
2301
2302 .wc-used-coupons {
2303 text-align: left;
2304
2305 .tips {
2306 display: inline-block;
2307 }
2308 }
2309 }
2310
2311 .wc-used-coupons {
2312 float: left;
2313 width: 50%;
2314 }
2315
2316 .wc-order-totals {
2317 float: right;
2318 width: 50%;
2319 margin: 0;
2320 padding: 0;
2321 text-align: right;
2322
2323 .amount {
2324 font-weight: 700;
2325 }
2326
2327 .label {
2328 vertical-align: top;
2329 }
2330
2331 .total {
2332 font-size: 1em !important;
2333 width: 10em;
2334 margin: 0 0 0 0.5em;
2335 box-sizing: border-box;
2336 position: relative;
2337
2338 input[type="text"]="text""] {
2339 width: 96%;
2340 float: right;
2341 }
2342 }
2343
2344 .cost-total {
2345 opacity: 50%;
2346 }
2347
2348 .refunded-total {
2349 color: $red;
2350 }
2351
2352 .label-highlight {
2353 font-weight: bold;
2354 }
2355 }
2356
2357 // Stack the coupons/totals columns full width once the admin sidebar hides.
2358 @media screen and (max-width: 782px) {
2359 .wc-used-coupons,
2360 .wc-order-totals {
2361 float: none;
2362 width: 100%;
2363 }
2364
2365 .wc-used-coupons {
2366 margin-bottom: 12px;
2367 }
2368 }
2369
2370 .refund-actions {
2371 margin-top: 5px;
2372 padding-top: 12px;
2373 border-top: 1px solid #dfdfdf;
2374
2375 .button {
2376 float: right;
2377 margin-left: 4px;
2378 }
2379
2380 .cancel-action {
2381 float: left;
2382 margin-left: 0;
2383 }
2384 }
2385
2386 .add_meta {
2387 margin-left: 0 !important;
2388 }
2389
2390 h3 small {
2391 color: $gray-900;
2392 }
2393
2394 .amount {
2395 white-space: nowrap;
2396 }
2397
2398 .add-items {
2399 .description {
2400 margin-right: 10px;
2401 }
2402
2403 .button {
2404 float: left;
2405 margin-right: 0.25em;
2406 }
2407
2408 .button-primary {
2409 float: none;
2410 margin-right: 0;
2411 }
2412 }
2413 }
2414
2415 #woocommerce-order-items .woocommerce_order_items_wrapper, .wc-order-preview-table-wrapper {
2416 padding-bottom: 1.5em;
2417
2418 small.refunded {
2419 display: block;
2420 color: red;
2421 white-space: nowrap;
2422 margin-top: 0.5em;
2423
2424 &::before {
2425 @include icon_dashicons("\f171");
2426 position: relative;
2427 top: auto;
2428 left: auto;
2429 margin: -1px 4px 0 0;
2430 vertical-align: middle;
2431 line-height: 1em;
2432 }
2433 }
2434 }
2435
2436 #woocommerce-order-items {
2437 .inside {
2438 display: block !important;
2439 }
2440
2441 .postbox-header,
2442 .hndle,
2443 .handlediv {
2444 display: none;
2445 }
2446
2447 .woocommerce_order_items_wrapper {
2448 margin: 0;
2449 overflow-x: auto;
2450
2451 table.woocommerce_order_items {
2452 width: 100%;
2453 background: #fff;
2454
2455 thead th {
2456 text-align: left;
2457 padding: 1em;
2458 font-weight: normal;
2459 color: $gray-900;
2460 background: #f8f8f8;
2461 -webkit-touch-callout: none;
2462 -webkit-user-select: none;
2463 -khtml-user-select: none;
2464 -moz-user-select: none;
2465 -ms-user-select: none;
2466 user-select: none;
2467
2468 &.sortable {
2469 cursor: pointer;
2470 }
2471
2472 &:last-child {
2473 padding-right: 2em;
2474 }
2475
2476 &:first-child {
2477 padding-left: 2em;
2478 }
2479
2480 .wc-arrow {
2481 float: right;
2482 position: relative;
2483 margin-right: -1em;
2484 }
2485 }
2486
2487 tbody th,
2488 td {
2489 padding: 1.5em 1em 1em;
2490 text-align: left;
2491 line-height: 1.5em;
2492 vertical-align: top;
2493 border-bottom: 1px solid #f8f8f8;
2494
2495 textarea {
2496 width: 100%;
2497 }
2498
2499 select {
2500 width: 50%;
2501 }
2502
2503 input,
2504 textarea {
2505 font-size: 14px;
2506 padding: 4px;
2507 color: #555;
2508 }
2509
2510 &:last-child {
2511 padding-right: 2em;
2512 }
2513
2514 &:first-child {
2515 padding-left: 2em;
2516 }
2517 }
2518
2519 tbody tr:last-child td {
2520 border-bottom: 1px solid #dfdfdf;
2521 }
2522
2523 tbody tr:first-child td {
2524 border-top: 8px solid #f8f8f8;
2525 }
2526
2527 tbody#order_line_items tr:first-child td {
2528 border-top: none;
2529 }
2530
2531 td.thumb {
2532 text-align: left;
2533 width: 38px;
2534 padding-bottom: 1.5em;
2535
2536 .wc-order-item-thumbnail {
2537 width: 38px;
2538 height: 38px;
2539 border: 2px solid #e8e8e8;
2540 background: #f8f8f8;
2541 color: #ccc;
2542 position: relative;
2543 font-size: 21px;
2544 display: block;
2545 text-align: center;
2546
2547 &:empty::before {
2548 @include icon_dashicons("\f128");
2549 width: 38px;
2550 line-height: 38px;
2551 display: block;
2552 }
2553
2554 img {
2555 width: 100%;
2556 height: 100%;
2557 margin: 0;
2558 padding: 0;
2559 position: relative;
2560 }
2561 }
2562 }
2563
2564 td.name {
2565 .wc-order-item-sku,
2566 .wc-order-item-variation {
2567 display: block;
2568 margin-top: 0.5em;
2569 font-size: 0.92em !important;
2570 color: $gray-700;
2571 }
2572 }
2573
2574 .item {
2575 min-width: 200px;
2576 }
2577
2578 .center,
2579 .variation-id {
2580 text-align: center;
2581 }
2582
2583 .item_cost_of_goods {
2584 .view {
2585 opacity: 50%;
2586 }
2587 }
2588
2589 .cost,
2590 .tax,
2591 .quantity,
2592 .line_cost,
2593 .line_tax,
2594 .tax_class,
2595 .item_cost_of_goods,
2596 .item_cost {
2597 text-align: right;
2598
2599 label {
2600 white-space: nowrap;
2601 color: $gray-700;
2602 font-size: 0.833em;
2603
2604 input {
2605 display: inline;
2606 }
2607 }
2608
2609 input {
2610 width: 70px;
2611 vertical-align: middle;
2612 text-align: right;
2613 }
2614
2615 select {
2616 width: 85px;
2617 height: 26px;
2618 vertical-align: middle;
2619 font-size: 1em;
2620 }
2621
2622 .split-input {
2623 display: inline-block;
2624 background: #fff;
2625 border: 1px solid #ddd;
2626 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
2627 margin: 1px 0;
2628 min-width: 80px;
2629 overflow: hidden;
2630 line-height: 1em;
2631 text-align: right;
2632
2633 div.input {
2634 width: 100%;
2635 box-sizing: border-box;
2636
2637 label {
2638 font-size: 0.75em;
2639 padding: 4px 6px 0;
2640 color: #555;
2641 display: block;
2642 }
2643
2644 input {
2645 width: 100%;
2646 box-sizing: border-box;
2647 border: 0;
2648 box-shadow: none;
2649 margin: 0;
2650 padding: 0 6px 4px;
2651 color: #555;
2652 background: transparent;
2653
2654 &::-webkit-input-placeholder {
2655 color: #ddd;
2656 }
2657 }
2658 }
2659
2660 div.input:first-child {
2661 border-bottom: 1px dashed #ddd;
2662 background: #fff;
2663
2664 label {
2665 color: #ccc;
2666 }
2667
2668 input {
2669 color: #ccc;
2670 }
2671 }
2672 }
2673
2674 .view {
2675 white-space: nowrap;
2676 }
2677
2678 .edit {
2679 text-align: left;
2680 }
2681
2682 small.times,
2683 del,
2684 .wc-order-item-taxes,
2685 .wc-order-item-discount,
2686 .wc-order-item-refund-fields {
2687 font-size: 0.92em !important;
2688 color: $gray-700;
2689 }
2690
2691 .wc-order-item-taxes,
2692 .wc-order-item-refund-fields {
2693 margin: 0;
2694
2695 label {
2696 display: block;
2697 }
2698 }
2699
2700 .wc-order-item-discount {
2701 display: block;
2702 margin-top: 0.5em;
2703 }
2704
2705 small.times {
2706 margin-right: 0.25em;
2707 }
2708 }
2709
2710 .quantity {
2711 text-align: center;
2712
2713 input {
2714 text-align: center;
2715 width: 50px;
2716 }
2717 }
2718
2719 span.subtotal {
2720 opacity: 0.5;
2721 }
2722
2723 td.tax_class,
2724 th.tax_class {
2725 text-align: left;
2726 }
2727
2728 .calculated {
2729 border-color: #ae8ca2;
2730 border-style: dotted;
2731 }
2732
2733 table.meta {
2734 width: 100%;
2735 }
2736
2737 table.meta,
2738 table.display_meta {
2739 margin: 0.5em 0 0;
2740 font-size: 0.92em !important;
2741 color: $gray-700;
2742
2743 tr {
2744 th {
2745 border: 0;
2746 padding: 0 4px 0.5em 0;
2747 line-height: 1.5em;
2748 width: 20%;
2749 }
2750
2751 td {
2752 padding: 0 4px 0.5em 0;
2753 border: 0;
2754 line-height: 1.5em;
2755
2756 input {
2757 width: 100%;
2758 margin: 0;
2759 position: relative;
2760 border-bottom: 0;
2761 box-shadow: none;
2762 }
2763
2764 textarea {
2765 width: 100%;
2766 height: 4em;
2767 margin: 0;
2768 box-shadow: none;
2769 }
2770
2771 input:focus + textarea {
2772 border-top-color: #999;
2773 }
2774
2775 p {
2776 margin: 0 0 0.5em;
2777 line-height: 1.5em;
2778 }
2779
2780 p:last-child {
2781 margin: 0;
2782 }
2783 }
2784 }
2785 }
2786
2787 .refund_by {
2788 border-bottom: 1px dotted #999;
2789 }
2790
2791 tr.fee .thumb div {
2792 @include ir();
2793 font-size: 1.5em;
2794 line-height: 1em;
2795 vertical-align: middle;
2796 margin: 0 auto;
2797
2798 &::before {
2799 @include icon("\e007");
2800 color: #ccc;
2801 }
2802 }
2803
2804 tr.refund .thumb div {
2805 @include ir();
2806 font-size: 1.5em;
2807 line-height: 1em;
2808 vertical-align: middle;
2809 margin: 0 auto;
2810
2811 &::before {
2812 @include icon("\e014");
2813 color: #ccc;
2814 }
2815 }
2816
2817 tr.shipping {
2818 .thumb div {
2819 @include ir();
2820 font-size: 1.5em;
2821 line-height: 1em;
2822 vertical-align: middle;
2823 margin: 0 auto;
2824
2825 &::before {
2826 @include icon("\e01a");
2827 color: #ccc;
2828 }
2829 }
2830
2831 .shipping_method_name,
2832 .shipping_method {
2833 width: 100%;
2834 margin: 0 0 0.5em;
2835 }
2836 }
2837
2838 th.line_tax {
2839 white-space: nowrap;
2840 }
2841
2842 th.line_tax,
2843 td.line_tax {
2844 .delete-order-tax {
2845 @include ir();
2846 float: right;
2847 font-size: 14px;
2848 visibility: hidden;
2849 margin: 3px -18px 0 0;
2850
2851 &::before {
2852 @include icon_dashicons("\f153");
2853 color: #999;
2854 }
2855
2856 &:hover::before {
2857 color: $red;
2858 }
2859 }
2860
2861 &:hover .delete-order-tax {
2862 visibility: visible;
2863 }
2864 }
2865 }
2866 }
2867
2868 .wc-order-edit-line-item {
2869 padding-left: 0;
2870 }
2871
2872 .wc-order-edit-line-item-actions {
2873 width: 44px;
2874 text-align: right;
2875 padding-left: 0;
2876 vertical-align: middle;
2877
2878 a {
2879 color: #ccc;
2880 display: inline-block;
2881 cursor: pointer;
2882 padding: 0;
2883 margin: 0 0 6px 12px;
2884 vertical-align: middle;
2885 text-decoration: none;
2886 line-height: 16px;
2887 width: 16px;
2888 height: 16px;
2889 overflow: hidden;
2890
2891 &::before {
2892 margin: 0;
2893 padding: 0;
2894 font-size: 16px;
2895 width: 16px;
2896 height: 16px;
2897 }
2898
2899 &:hover {
2900 &::before {
2901 color: #999;
2902 }
2903 }
2904
2905 &:first-child {
2906 margin-left: 0;
2907 }
2908 }
2909
2910 .edit-order-item::before {
2911 @include icon_dashicons("\f464");
2912 position: relative;
2913 }
2914
2915 .delete-order-item,
2916 .delete_refund {
2917 &::before {
2918 @include icon_dashicons("\f158");
2919 position: relative;
2920 }
2921
2922 &:hover::before {
2923 color: $red;
2924 }
2925 }
2926 }
2927
2928 tbody tr .wc-order-edit-line-item-actions {
2929 opacity: 0;
2930 }
2931
2932 tbody tr:focus-within,
2933 tbody tr:hover {
2934 .wc-order-edit-line-item-actions {
2935 opacity: 1;
2936 }
2937 }
2938
2939 .wc-order-totals .wc-order-edit-line-item-actions {
2940 width: 1.5em;
2941 visibility: visible !important;
2942
2943 a {
2944 padding: 0;
2945 }
2946 }
2947 }
2948
2949 #woocommerce-order-downloads {
2950 .buttons {
2951 float: left;
2952 padding: 0;
2953 margin: 0;
2954 vertical-align: top;
2955
2956 .add_item_id,
2957 .select2-container {
2958 width: 400px !important;
2959 margin-right: 9px;
2960 vertical-align: top;
2961 float: left;
2962 }
2963
2964 button {
2965 margin: 2px 0 0;
2966 }
2967 }
2968
2969 h3 small {
2970 color: $gray-900;
2971 }
2972 }
2973
2974 #order_custom #postcustomstuff {
2975 .add-custom-field {
2976 padding: 12px 8px 8px;
2977 }
2978
2979 .submit {
2980 border: 0 none;
2981 float: none;
2982 }
2983
2984 .select2-container {
2985 margin: 8px;
2986 }
2987 }
2988
2989 #side-sortables #woocommerce-order-downloads {
2990 .buttons,
2991 .select2-container {
2992 max-width: 100%;
2993 }
2994 }
2995
2996 #poststuff #woocommerce-order-actions .inside {
2997 margin: 0;
2998 padding: 0;
2999
3000 ul.order_actions li {
3001 box-sizing: border-box;
3002
3003 &:last-child {
3004 border-bottom: 0;
3005 }
3006 }
3007
3008 button {
3009 margin: 1px;
3010 }
3011 }
3012
3013 #poststuff #woocommerce-order-notes .inside {
3014 margin: 0;
3015 padding: 0;
3016
3017 button {
3018 margin: 1px;
3019 vertical-align: top;
3020 }
3021 }
3022
3023 #woocommerce_customers {
3024 p.search-box {
3025 margin: 6px 0 4px;
3026 float: left;
3027 }
3028
3029 .tablenav {
3030 float: right;
3031 clear: none;
3032 }
3033 }
3034
3035 .widefat {
3036 &.customers td {
3037 vertical-align: middle;
3038 padding: 4px 7px;
3039 }
3040
3041 .column-order_title {
3042 width: 15%;
3043
3044 time {
3045 display: block;
3046 color: #999;
3047 margin: 3px 0;
3048 }
3049 }
3050
3051 .column-orders,
3052 .column-paying,
3053 .column-spent {
3054 text-align: center;
3055 width: 8%;
3056 }
3057
3058 .column-last_order {
3059 width: 11%;
3060 }
3061
3062 .column-wc_actions {
3063 width: 110px;
3064
3065 a.button {
3066 @include ir();
3067 display: inline-block;
3068 margin: 2px 4px 2px 0;
3069 padding: 0 !important;
3070 height: 2em !important;
3071 width: 2em;
3072 overflow: hidden;
3073 vertical-align: middle;
3074
3075 &::after {
3076 font-family: "Dashicons";
3077 speak: never;
3078 font-weight: normal;
3079 font-variant: normal;
3080 text-transform: none;
3081 margin: 0;
3082 text-indent: 0;
3083 position: absolute;
3084 top: 0;
3085 left: 0;
3086 width: 100%;
3087 height: 100%;
3088 text-align: center;
3089 line-height: 1.85;
3090 }
3091
3092 img {
3093 display: block;
3094 width: 12px;
3095 height: auto;
3096 }
3097 }
3098
3099 a.edit::after {
3100 content: "\f464";
3101 }
3102
3103 a.link::after {
3104 font-family: "WooCommerce";
3105 content: "\e00d";
3106 }
3107
3108 a.view::after {
3109 content: "\f177";
3110 }
3111
3112 a.refresh::after {
3113 font-family: "WooCommerce";
3114 content: "\e031";
3115 }
3116
3117 a.processing::after {
3118 font-family: "WooCommerce";
3119 content: "\e00f";
3120 }
3121
3122 a.complete::after {
3123 content: "\f147";
3124 }
3125 }
3126
3127 small.meta {
3128 display: block;
3129 color: #999;
3130 font-size: inherit;
3131 margin: 3px 0;
3132 }
3133 }
3134
3135 .wc-wp-version-gte-53 {
3136 .widefat {
3137 .column-wc_actions {
3138 a.button {
3139 &::after {
3140 margin-top: 2px;
3141 }
3142 }
3143 }
3144 }
3145 }
3146
3147 .woocommerce_page_wc-orders,
3148 .post-type-shop_order {
3149 // Gated behind the `order-detail-redesign` feature flag (body class added by OrderDetailRedesign\Init).
3150 // `:has(#poststuff)` excludes the orders list screen (which doesn't render #poststuff).
3151 &.woocommerce-feature-enabled-order-detail-redesign .wrap:has(#poststuff) {
3152 max-width: 1200px;
3153 margin-inline: auto;
3154 }
3155
3156 .tablenav .one-page .displaying-num {
3157 display: none;
3158 }
3159
3160 select#order-search-filter {
3161 margin: 0 4px 0 0;
3162 float: left;
3163 }
3164
3165 .tablenav {
3166 .select2-selection--single {
3167 height: 32px;
3168
3169 .select2-selection__rendered {
3170 line-height: 29px;
3171 }
3172
3173 .select2-selection__arrow {
3174 height: 30px;
3175 }
3176 }
3177
3178 #order-query-submit {
3179 margin: 0 8px 0 0;
3180 }
3181 }
3182
3183 .wp-list-table {
3184 margin-top: 1em;
3185
3186 thead,
3187 tfoot {
3188 th {
3189 padding: 0.75em 1em;
3190 }
3191
3192 th.sortable a,
3193 th.sorted a {
3194 padding: 0;
3195 }
3196
3197 th:first-child {
3198 padding-left: 2em;
3199 }
3200
3201 th:last-child {
3202 padding-right: 2em;
3203 }
3204 }
3205
3206 tbody {
3207 td,
3208 th {
3209 padding: 1em;
3210 line-height: 26px;
3211 }
3212
3213 td:first-child {
3214 padding-left: 2em;
3215 }
3216
3217 td:last-child {
3218 padding-right: 2em;
3219 }
3220 }
3221
3222 tbody tr {
3223 border-top: 1px solid #f5f5f5;
3224 }
3225
3226 tbody tr:hover:not(.status-trash):not(.no-link) td {
3227 cursor: pointer;
3228 }
3229
3230 .no-link {
3231 cursor: default !important;
3232 }
3233
3234 // Columns.
3235 td,
3236 th {
3237 width: 12ch;
3238 vertical-align: middle;
3239
3240 p {
3241 margin: 0;
3242 }
3243 }
3244
3245 .check-column {
3246 width: 1px;
3247 white-space: nowrap;
3248 padding: 1em 1em 1em 1em !important;
3249 vertical-align: middle;
3250
3251 .locked-indicator {
3252 margin-left: 0;
3253 }
3254
3255 input {
3256 vertical-align: text-top;
3257 margin: 1px 0;
3258 }
3259 }
3260
3261 .column-order_number {
3262 width: 20ch;
3263
3264 .small-screen-only {
3265 display: none;
3266 }
3267 }
3268
3269 .column-order_total {
3270 width: 8ch;
3271 text-align: right;
3272
3273 a span {
3274 float: right;
3275 }
3276 }
3277
3278 .column-order_date,
3279 .column-order_status {
3280 width: 10ch;
3281 }
3282
3283 .column-order_status {
3284 width: 14ch;
3285 }
3286
3287 .column-shipping_address,
3288 .column-billing_address {
3289 width: 20ch;
3290 line-height: 1.5em;
3291
3292 .description {
3293 display: block;
3294 color: #999;
3295 }
3296 }
3297
3298 .column-wc_actions {
3299 text-align: right;
3300
3301 a.button {
3302 text-indent: 9999px;
3303 margin: 2px 0 2px 4px;
3304 }
3305 }
3306
3307 .order-preview {
3308 float: right;
3309 width: 16px;
3310 padding: 20px 4px 4px 4px;
3311 height: 0;
3312 overflow: hidden;
3313 position: relative;
3314 border: 2px solid transparent;
3315 border-radius: 4px;
3316
3317 &::before {
3318 @include icon("\e010");
3319 line-height: 16px;
3320 font-size: 14px;
3321 vertical-align: middle;
3322 top: 4px;
3323 }
3324
3325 &:hover {
3326 border: 2px solid var(--wp-admin-theme-color, #00a0d2);
3327 }
3328 }
3329
3330 .wp-locked .order-preview {
3331 visibility: hidden;
3332 }
3333
3334 .order-preview.disabled {
3335 &::before {
3336 content: "";
3337 background: url("../images/wpspin-2x.gif") no-repeat center top;
3338 background-size: 71%;
3339 }
3340 }
3341 }
3342 }
3343
3344 .woocommerce_page_wc-orders .wp-list-table .locked-indicator-icon {
3345 margin-left: -2px;
3346
3347 &:before {
3348 vertical-align: top;
3349 }
3350 }
3351
3352 .order-status, .fulfillment-status {
3353 display: inline-flex;
3354 line-height: 2.5em;
3355 color: #454545;
3356 background: #e5e5e5;
3357 border-radius: 4px;
3358 border-bottom: 1px solid rgba(0, 0, 0, 0.05);
3359 margin: -0.25em 0;
3360 cursor: inherit !important;
3361 white-space: nowrap;
3362 max-width: 100%;
3363
3364 &.status-completed {
3365 background: #c8d7e1;
3366 color: #003d66;
3367 }
3368
3369 &.status-on-hold {
3370 background: #f8dda7;
3371 color: #573B00;
3372 }
3373
3374 &.status-failed {
3375 background: #eba3a3;
3376 color: #570000;
3377 }
3378
3379 &.status-processing {
3380 background: #c6e1c6;
3381 color: #2c4700;
3382 }
3383
3384 &.status-trash {
3385 background: #eba3a3;
3386 color: #550202;
3387 }
3388
3389 > span {
3390 margin: 0 1em;
3391 overflow: hidden;
3392 text-overflow: ellipsis;
3393 }
3394 }
3395
3396 .wc-order-preview {
3397 .order-status {
3398 float: right;
3399 margin-right: 54px;
3400 }
3401
3402 article {
3403 padding: 0 !important;
3404 }
3405
3406 .modal-close {
3407 border-radius: 0;
3408 }
3409
3410 .wc-order-preview-table {
3411 width: 100%;
3412 margin: 0;
3413
3414 th,
3415 td {
3416 padding: 1em 1.5em;
3417 text-align: left;
3418 border: 0;
3419 border-bottom: 1px solid #eee;
3420 margin: 0;
3421 background: transparent;
3422 box-shadow: none;
3423 text-align: right;
3424 vertical-align: top;
3425 }
3426
3427 td:first-child,
3428 th:first-child {
3429 padding-left: 2em;
3430 text-align: left;
3431 }
3432
3433 td:last-child,
3434 th:last-child {
3435 padding-right: 2em;
3436 }
3437
3438 th {
3439 border-color: #ccc;
3440 }
3441
3442 tr:last-child td {
3443 border: 0;
3444 }
3445
3446 .wc-order-item-sku {
3447 margin-top: 0.5em;
3448 }
3449
3450 .wc-order-item-meta {
3451 margin-top: 0.5em;
3452
3453 th,
3454 td {
3455 padding: 0;
3456 border: 0;
3457 text-align: left;
3458 vertical-align: top;
3459 }
3460
3461 td:last-child {
3462 padding-left: 0.5em;
3463 }
3464 }
3465 }
3466
3467 .wc-order-preview-addresses {
3468 overflow: hidden;
3469 padding: 0 0.5em 1.5em;
3470
3471 .wc-order-preview-address,
3472 .wc-order-preview-note {
3473 width: 50%;
3474 float: left;
3475 padding: 1.5em 1.5em 0;
3476 box-sizing: border-box;
3477 word-wrap: break-word;
3478
3479 h2 {
3480 margin-top: 0;
3481 }
3482
3483 strong {
3484 display: block;
3485 margin-top: 1.5em;
3486 }
3487
3488 strong:first-child {
3489 margin-top: 0;
3490 }
3491 }
3492 }
3493
3494 footer {
3495 .button.button-large {
3496 margin-left: 10px;
3497 height: auto;
3498 display: inline-block;
3499 }
3500 }
3501
3502 .wc-action-button-group label {
3503 display: none;
3504 }
3505 }
3506
3507 .wc-action-button-group {
3508 .wc-action-button {
3509 margin: 0 0 0 -1px !important;
3510 border: 1px solid #ccc;
3511 border-radius: 0 !important;
3512 height: auto;
3513 z-index: 1;
3514 position: relative;
3515 overflow: hidden;
3516 text-overflow: ellipsis;
3517 flex: 1 0 auto;
3518 box-sizing: border-box;
3519 text-align: center;
3520 white-space: nowrap;
3521 }
3522
3523 .wc-action-button:hover,
3524 .wc-action-button:focus {
3525 border: 1px solid #999;
3526 z-index: 2;
3527 }
3528
3529 .wc-action-button:first-child {
3530 margin-left: 0 !important;
3531 border-top-left-radius: 3px !important;
3532 border-bottom-left-radius: 3px !important;
3533 }
3534
3535 .wc-action-button:last-child {
3536 border-top-right-radius: 3px !important;
3537 border-bottom-right-radius: 3px !important;
3538 }
3539 }
3540
3541 @media screen and (max-width: 782px) {
3542 .woocommerce_page_wc-orders #order-search-filter {
3543 display: none;
3544 }
3545
3546 .woocommerce_page_wc-orders .wc-orders-list-table.wp-list-table,
3547 .post-type-shop_order .wp-list-table {
3548 .check-column {
3549 width: 1em;
3550 vertical-align: top;
3551 }
3552
3553 thead th.column-order_number {
3554 width: 100%;
3555 }
3556
3557 td.column-order_number {
3558 .toggle-row {
3559 height: 20px;
3560 }
3561
3562 .order-preview {
3563 margin-top: 13px;
3564 }
3565 }
3566
3567 td.column-order_total,
3568 td.column-wc_actions {
3569 text-align: left;
3570 }
3571
3572 td.column-wc_actions {
3573 min-height: 2.0em !important;
3574 }
3575
3576 tr:not(.is-expanded) {
3577 td.column-order_number {
3578 vertical-align: top;
3579
3580 a.order-view {
3581 display: inline-block;
3582 vertical-align: top;
3583 width: calc( 50% - 40px - 4px );
3584 margin-right: 4px;
3585 }
3586
3587 .small-screen-only {
3588 display: inline-block;
3589 vertical-align: top;
3590
3591 &.order_date {
3592 width: calc( 20% - 4px );
3593 margin-right: 4px;
3594 }
3595
3596 &.order_status {
3597 width: 30%;
3598 text-align: right;
3599 }
3600 }
3601
3602 @media screen and (max-width: 400px) {
3603 a.order-view {
3604 display: block;
3605 width: calc( 100% - 40px );
3606 }
3607
3608 .small-screen-only {
3609 &.order_date {
3610 width: calc( 40% - 4px );
3611 }
3612
3613 &.order_status {
3614 width: calc( 60% - 40px);
3615 }
3616 }
3617 }
3618 }
3619 }
3620
3621 }
3622 }
3623
3624 .column-customer_message .note-on {
3625 @include ir();
3626 margin: 0 auto;
3627 color: #999;
3628
3629 &::after {
3630 @include icon("\e026");
3631 line-height: 16px;
3632 }
3633 }
3634
3635 .column-order_notes .note-on {
3636 @include ir();
3637 margin: 0 auto;
3638 color: #999;
3639
3640 &::after {
3641 @include icon("\e027");
3642 line-height: 16px;
3643 }
3644 }
3645
3646 .attributes-table {
3647 td,
3648 th {
3649 width: 15%;
3650 vertical-align: top;
3651 }
3652
3653 .attribute-terms {
3654 width: 32%;
3655 }
3656
3657 .attribute-actions {
3658 width: 2em;
3659
3660 .configure-terms {
3661 @include ir();
3662 padding: 0 !important;
3663 height: 2em !important;
3664 width: 2em;
3665
3666 &::after {
3667 @include icon("\f111");
3668 font-family: "Dashicons";
3669 line-height: 1.85;
3670 }
3671 }
3672 }
3673 }
3674
3675 /* Order notes */
3676 ul.order_notes {
3677 list-style: none;
3678 padding: 16px 12px;
3679 margin: 0;
3680 display: flex;
3681 flex-direction: column;
3682 gap: 16px;
3683
3684 li {
3685 .note_content {
3686 background: #fff;
3687 border: 1px solid $gray-200;
3688 border-radius: 4px;
3689
3690 p {
3691 margin: 0;
3692 padding: 0;
3693 word-wrap: break-word;
3694 }
3695 }
3696
3697 .note_header {
3698 margin: 0;
3699 padding: 6px 12px;
3700 // Mirrors @wordpress/components Notice is-warning variant
3701 // (bg #fef8ee, accent #f0b849). Supplementary cue — info is
3702 // also in the label text itself.
3703 background: #fef8ee;
3704 border-bottom: 1px solid $gray-200;
3705 border-top-left-radius: 3px;
3706 border-top-right-radius: 3px;
3707 font-size: 11px;
3708 font-weight: 600;
3709 }
3710
3711 .note_body {
3712 padding: 8px 12px;
3713 }
3714
3715 p.meta {
3716 padding: 4px 0 0;
3717 color: $subtext;
3718 margin: 0;
3719 font-size: 11px;
3720
3721 .exact-date {
3722 border-bottom: 0;
3723 text-decoration: none;
3724 }
3725 }
3726
3727 a.delete_note {
3728 color: $red;
3729 margin-left: 4px;
3730 }
3731 }
3732
3733 li.no-items {
3734 color: $subtext;
3735 padding: 16px 0;
3736 text-align: center;
3737 }
3738
3739 li.system-note .note_content {
3740 // Auto-generated notes (status changes, webhooks, etc.) are
3741 // visually de-emphasised so manual notes scan more easily.
3742 background: $gray-100;
3743 }
3744 }
3745
3746 .add_note {
3747 border-bottom: 1px solid $gray-200;
3748 padding: 16px 12px;
3749 display: flex;
3750 flex-direction: column;
3751 gap: 16px;
3752
3753 > p {
3754 margin: 0;
3755 }
3756
3757 label {
3758 display: block;
3759 margin-bottom: 4px;
3760 }
3761
3762 #add_order_note {
3763 width: 100%;
3764 height: 60px;
3765 }
3766
3767 .order_note_visibility {
3768 select {
3769 width: 100%;
3770 max-width: 100%;
3771 }
3772
3773 .add_note_email_settings {
3774 margin: 6px 0 0;
3775 font-size: 12px;
3776 color: $subtext;
3777
3778 a {
3779 color: inherit;
3780 }
3781 }
3782 }
3783
3784 .add_note_actions button.add_note {
3785 width: 100%;
3786 text-align: center;
3787 }
3788 }
3789
3790 table.wp-list-table {
3791 .column-thumb {
3792 width: 52px;
3793 text-align: center;
3794 white-space: nowrap;
3795 }
3796
3797 .column-handle {
3798 width: 17px;
3799 display: none;
3800 }
3801
3802 tbody {
3803 td.column-handle {
3804 cursor: move;
3805 width: 17px;
3806 text-align: center;
3807 vertical-align: text-top;
3808
3809 &::before {
3810 content: "\f333";
3811 font-family: "Dashicons";
3812 text-align: center;
3813 line-height: 1;
3814 color: #999;
3815 display: block;
3816 width: 17px;
3817 height: 100%;
3818 margin: 4px 0 0 0;
3819 }
3820 }
3821 }
3822
3823 .column-name {
3824 width: 22%;
3825 }
3826
3827 .column-product_cat,
3828 .column-product_tag {
3829 width: 11% !important;
3830 }
3831
3832 .column-featured,
3833 .column-product_type {
3834 width: 48px;
3835 text-align: left !important;
3836
3837 a:focus {
3838 box-shadow: none;
3839 }
3840 }
3841
3842 .column-customer_message,
3843 .column-order_notes {
3844 width: 48px;
3845 text-align: center;
3846
3847 img {
3848 margin: 0 auto;
3849 padding-top: 0 !important;
3850 }
3851 }
3852
3853 .manage-column.column-featured img,
3854 .manage-column.column-product_type img {
3855 padding-left: 2px;
3856 }
3857
3858 .column-price .woocommerce-price-suffix {
3859 display: none;
3860 }
3861
3862 .row-actions {
3863 color: #999;
3864 }
3865
3866 .row-actions span.id {
3867 padding-top: 8px;
3868 color: $secondarytext;
3869 }
3870
3871 td.column-thumb img {
3872 margin: 0;
3873 width: auto;
3874 height: auto;
3875 max-width: 40px;
3876 max-height: 40px;
3877 vertical-align: middle;
3878 }
3879
3880 span.na {
3881 color: #999;
3882 }
3883
3884 .column-sku {
3885 width: 10%;
3886 }
3887
3888 .column-global_unique_id {
3889 width: 20ch;
3890 }
3891
3892 .column-price {
3893 width: 10ch;
3894 }
3895
3896 .column-cogs_value {
3897 width: 10ch;
3898 }
3899
3900 .column-is_in_stock {
3901 text-align: left !important;
3902 width: 12ch;
3903 }
3904
3905 span.wc-image,
3906 span.wc-featured {
3907 @include ir();
3908 margin: 0 auto;
3909
3910 &::before {
3911 @include icon_dashicons("\f128");
3912 }
3913 }
3914
3915 span.wc-featured {
3916 &::before {
3917 content: "\f155";
3918 }
3919
3920 &.not-featured::before {
3921 content: "\f154";
3922 }
3923 }
3924
3925 td.column-featured span.wc-featured {
3926 font-size: 1.6em;
3927 cursor: pointer;
3928 }
3929
3930 mark {
3931 &.instock,
3932 &.outofstock,
3933 &.onbackorder {
3934 font-weight: 700;
3935 background: transparent none;
3936 line-height: 1;
3937 }
3938
3939 &.instock {
3940 color: $green;
3941 }
3942
3943 &.outofstock {
3944 color: #a44;
3945 }
3946
3947 &.onbackorder {
3948 color: #eaa600;
3949 }
3950 }
3951
3952 .order-notes_head,
3953 .notes_head,
3954 .status_head {
3955 @include ir();
3956 margin: 0 auto;
3957
3958 &::after {
3959 @include icon;
3960 }
3961 }
3962
3963 .order-notes_head::after {
3964 content: "\e028";
3965 }
3966
3967 .notes_head::after {
3968 content: "\e026";
3969 }
3970
3971 .status_head::after {
3972 content: "\e011";
3973 }
3974
3975 .column-order_items {
3976 width: 12%;
3977
3978 table.order_items {
3979 width: 100%;
3980 margin: 3px 0 0;
3981 padding: 0;
3982 display: none;
3983
3984 td {
3985 border: 0;
3986 margin: 0;
3987 padding: 0 0 3px;
3988 }
3989
3990 td.qty {
3991 color: #999;
3992 padding-right: 6px;
3993 text-align: left;
3994 }
3995 }
3996 }
3997 }
3998
3999 mark.notice {
4000 background: #fff;
4001 color: $red;
4002 margin: 0 0 0 10px;
4003 }
4004
4005 // Mirrors the WP core rule for #lost-connection-notice.
4006 #wc-lost-connection-notice .spinner {
4007 visibility: visible;
4008 float: left;
4009 margin: 0 5px 0 0;
4010 }
4011
4012 a.export_rates,
4013 a.import_rates {
4014 float: right;
4015 margin-left: 9px;
4016 margin-top: -2px;
4017 margin-bottom: 0;
4018 }
4019
4020 #rates-search {
4021 float: right;
4022
4023 input.wc-tax-rates-search-field {
4024 padding: 4px 8px;
4025 font-size: 1.2em;
4026 }
4027 }
4028
4029 #rates-pagination {
4030 float: right;
4031 margin-right: 0.5em;
4032
4033 .tablenav {
4034 margin: 0;
4035 }
4036 }
4037
4038 .wc_input_table_wrapper {
4039 overflow-x: auto;
4040 display: block;
4041 }
4042
4043 table.wc_tax_rates,
4044 table.wc_input_table {
4045 width: 100%;
4046
4047 th,
4048 td {
4049 display: table-cell !important;
4050 }
4051
4052 span.tips {
4053 color: $blue;
4054 }
4055
4056 th {
4057 white-space: nowrap;
4058 padding: 10px;
4059 }
4060
4061 td {
4062 padding: 0;
4063 border-right: 1px solid #dfdfdf;
4064 border-bottom: 1px solid #dfdfdf;
4065 border-top: 0;
4066 background: #fff;
4067 cursor: default;
4068
4069 input[type="text"]="text""],
4070 input[type="number"]="number""] {
4071 width: 100% !important;
4072 min-width: 100px;
4073 padding: 8px 10px;
4074 margin: 0;
4075 border: 0;
4076 outline: 0;
4077 background: transparent none;
4078
4079 &:focus {
4080 outline: 0;
4081 box-shadow: none;
4082 }
4083 }
4084
4085 &.compound,
4086 &.apply_to_shipping {
4087 padding: 5px 7px;
4088 vertical-align: middle;
4089
4090 input {
4091 padding: 0;
4092 }
4093 }
4094 }
4095
4096 td:last-child {
4097 border-right: 0;
4098 }
4099
4100 tr.current td {
4101 background-color: #fefbcc;
4102 }
4103
4104 .item_cost_of_goods,
4105 .item_cost,
4106 .cost {
4107 text-align: right;
4108
4109 input {
4110 text-align: right;
4111 }
4112 }
4113
4114 th.sort {
4115 width: 17px;
4116 padding: 0 4px;
4117 }
4118
4119 td.sort {
4120 padding: 0 4px;
4121 }
4122
4123 .ui-sortable:not(.ui-sortable-disabled) td.sort {
4124 cursor: move;
4125 font-size: 15px;
4126 background: #f9f9f9;
4127 text-align: center;
4128 vertical-align: middle;
4129
4130 &::before {
4131 content: "\f333";
4132 font-family: "Dashicons";
4133 text-align: center;
4134 line-height: 1;
4135 color: #999;
4136 display: block;
4137 width: 17px;
4138 float: left;
4139 height: 100%;
4140 }
4141
4142 &:hover::before {
4143 color: #333;
4144 }
4145 }
4146
4147 .button {
4148 float: left;
4149 margin-right: 5px;
4150 }
4151
4152 .export,
4153 .import {
4154 float: right;
4155 margin-right: 0;
4156 margin-left: 5px;
4157 }
4158
4159 span.tips {
4160 padding: 0 3px;
4161 }
4162
4163 .pagination {
4164 float: right;
4165
4166 .button {
4167 margin-left: 5px;
4168 margin-right: 0;
4169 }
4170
4171 .current {
4172 background: #bbb;
4173 text-shadow: none;
4174 }
4175 }
4176
4177 tr:last-child td {
4178 border-bottom: 0;
4179 }
4180 }
4181
4182 table.wc_tax_rates {
4183 td.country {
4184 position: relative;
4185 }
4186 }
4187
4188 table.wc_gateways,
4189 table.wc_emails,
4190 table.wc_shipping {
4191 position: relative;
4192
4193 th,
4194 td {
4195 display: table-cell !important;
4196 padding: 1em !important;
4197 vertical-align: top;
4198 line-height: 1.75em;
4199 }
4200
4201 &.wc_emails td {
4202 vertical-align: middle;
4203 }
4204
4205 tr:nth-child(odd) td {
4206 background: #f9f9f9;
4207 }
4208
4209 td.name {
4210 font-weight: 700;
4211 }
4212
4213 .settings {
4214 text-align: right;
4215 }
4216
4217 .radio,
4218 .default,
4219 .status {
4220 text-align: center;
4221
4222 .tips {
4223 margin: 0 auto;
4224 }
4225
4226 input {
4227 margin: 0;
4228 }
4229 }
4230
4231 td.sort {
4232 font-size: 15px;
4233 text-align: center;
4234
4235 .wc-item-reorder-nav {
4236 white-space: nowrap;
4237 width: 72px;
4238
4239 &::before {
4240 content: "\f333";
4241 font-family: "Dashicons";
4242 text-align: center;
4243 line-height: 1;
4244 color: #999;
4245 display: block;
4246 width: 24px;
4247 float: left;
4248 height: 100%;
4249 line-height: 24px;
4250 cursor: move;
4251 }
4252
4253 button {
4254 position: relative;
4255 overflow: hidden;
4256 float: left;
4257 display: block;
4258 width: 24px;
4259 height: 24px;
4260 margin: 0;
4261 background: transparent;
4262 border: none;
4263 box-shadow: none;
4264 color: #82878c;
4265 text-indent: -9999px;
4266 cursor: pointer;
4267 outline: none;
4268 }
4269
4270 button::before {
4271 display: inline-block;
4272 position: absolute;
4273 top: 0;
4274 right: 0;
4275 width: 100%;
4276 height: 100%;
4277 font: normal 20px/23px dashicons;
4278 text-align: center;
4279 text-indent: 0;
4280 -webkit-font-smoothing: antialiased;
4281 -moz-osx-font-smoothing: grayscale;
4282 }
4283
4284 button:hover,
4285 button:focus {
4286 color: #191e23;
4287 }
4288
4289 .wc-move-down::before {
4290 content: "\f347";
4291 }
4292
4293 .wc-move-up::before {
4294 content: "\f343";
4295 }
4296
4297 .wc-move-disabled {
4298 color: #d5d5d5 !important;
4299 cursor: default;
4300 pointer-events: none;
4301 }
4302 }
4303 }
4304
4305 .wc-payment-gateway-method-name {
4306 font-weight: normal;
4307 }
4308
4309 .wc-email-settings-table-name {
4310 font-weight: 700;
4311
4312 span {
4313 font-weight: normal;
4314 color: #999;
4315 margin: 0 0 0 4px !important;
4316 }
4317 }
4318
4319 .wc-payment-gateway-method-toggle-enabled,
4320 .wc-payment-gateway-method-toggle-disabled {
4321 padding-top: 1px;
4322 display: block;
4323 outline: 0;
4324 box-shadow: none;
4325 }
4326
4327 .wc-email-settings-table-status {
4328 text-align: center;
4329 width: 1em;
4330
4331 .tips {
4332 margin: 0 auto;
4333 }
4334 }
4335 }
4336
4337 .wc-shipping-zone-settings {
4338 #zone_name {
4339 width: 600px;
4340 padding: 2px 8px;
4341 }
4342
4343 th {
4344 padding: 24px 24px 24px 0;
4345 }
4346
4347 td.forminp {
4348 input,
4349 textarea {
4350 padding: 8px;
4351 max-width: 100% !important;
4352 }
4353
4354 .wc-shipping-zone-region-select {
4355 width: 448px;
4356 max-width: 100% !important;
4357
4358 .select2-choices {
4359 padding: 8px 8px 4px;
4360 border-color: #ddd;
4361 min-height: 0;
4362 line-height: 1;
4363
4364 input {
4365 padding: 0;
4366 }
4367
4368 li {
4369 margin: 0 4px 4px 0;
4370 }
4371 }
4372 }
4373 }
4374
4375 .wc-shipping-zone-postcodes-toggle {
4376 margin: 0.5em 0 0;
4377 text-decoration: underline;
4378 display: block;
4379 font-size: 13px;
4380 font-weight: 400;
4381 line-height: 16px;
4382 }
4383
4384 .wc-shipping-zone-postcodes-toggle + .wc-shipping-zone-postcodes {
4385 display: none;
4386 }
4387
4388 .wc-shipping-zone-postcodes {
4389 width: 100%;
4390 max-width: 600px;
4391
4392 #zone_postcodes {
4393 margin: 10px 0;
4394 padding: 8px;
4395 width: 100%;
4396 }
4397
4398 .description {
4399 font-size: 13px;
4400 font-weight: 400;
4401 line-height: 18px;
4402 color: #3C434A;
4403 }
4404 }
4405
4406 #wc-shipping-zone-region-picker-root {
4407 width: 100%;
4408 max-width: 600px;
4409 }
4410 }
4411
4412 .wc-shipping-zone-settings + p.submit {
4413 margin-top: 0;
4414 }
4415
4416 .wc-shipping-zone-settings tbody {
4417 display: table-row-group;
4418 }
4419
4420 /**
4421 * New Shipping Settings Refresh Modal Styles
4422 **/
4423 .wc-backbone-modal-add-shipping-method,
4424 .wc-backbone-modal-shipping-method-settings,
4425 .wc-shipping-class-modal {
4426 &.wc-backbone-modal .wc-backbone-modal-content {
4427 max-width: 600px;
4428 }
4429
4430 .wc-backbone-modal-main .wc-backbone-modal-header h1 {
4431 font-weight: 400;
4432 }
4433
4434 .wc-backbone-modal-main footer {
4435 .inner {
4436 flex-direction: row-reverse;
4437 }
4438
4439 .wc-shipping-zone-method-modal-info {
4440 display: flex;
4441 align-items: center;
4442 font-size: 11px;
4443 font-weight: 500;
4444 line-height: 16px;
4445 color: #787C82;
4446
4447 &.wc-shipping-zone-method-modal-info-inactive {
4448 display: none;
4449 }
4450 }
4451 }
4452
4453 .wc-shipping-method-add-class-costs {
4454 margin-top: -16px;
4455 text-decoration: none;
4456 color: #3858E9;
4457 font-size: 12px;
4458 line-height: 16px;
4459 }
4460
4461 .wc-shipping-zone-method-input {
4462 input {
4463 clip: rect(0 0 0 0);
4464 clip-path: inset(100%);
4465 height: 1px;
4466 overflow: hidden;
4467 position: absolute;
4468 white-space: nowrap;
4469 width: 1px;
4470
4471 &:checked + label {
4472 outline: 2px solid var(--wp-admin-theme-color);
4473
4474 .dashicons-yes {
4475 display: block;
4476 }
4477 }
4478 }
4479
4480 label {
4481 display: block;
4482 width: 100%;
4483 padding: 20px 16px;
4484 outline: 1px solid #DDDDDD;
4485 margin: 12px 0;
4486 border-radius: 4px;
4487 }
4488 }
4489
4490 .wc-shipping-legacy-local-pickup-help-text-container {
4491 margin: 1.5em 0;
4492 }
4493
4494 .wc-shipping-zone-method-input-help-text {
4495 display: none;
4496 }
4497
4498 .wc-shipping-zone-method-selector {
4499 position: relative;
4500 }
4501
4502 .dashicons-yes {
4503 display: none;
4504 color: #949494;
4505 float: right;
4506 }
4507
4508 .woocommerce-help-tip {
4509 color: #949494;
4510
4511 &:after {
4512 top: -6px;
4513 font-size: 24px;
4514 }
4515 }
4516
4517 .wc-shipping-zone-method-fields {
4518
4519 & > label {
4520 font-size: 12px;
4521 font-weight: 500;
4522 line-height: 16px;
4523
4524 & > .woocommerce-help-tip {
4525 display: none;
4526 }
4527
4528 & > .woocommerce-help-tip.wc-shipping-visible-help-text {
4529 display: inline-block;
4530 }
4531 }
4532
4533 fieldset {
4534 margin-bottom: 24px;
4535 position: relative;
4536
4537 input,
4538 select {
4539 margin: 6px 0;
4540 padding: 12px;
4541 font-size: 13px;
4542 line-height: 16px;
4543
4544 &:not([type="checkbox"]) {
4545 width: 100%;
4546 max-width: 100%;
4547 }
4548 &[type="checkbox"]="checkbox""] {
4549 border-radius: 2px;
4550 margin: 4px 8px 6px 0;
4551
4552 & + .woocommerce-help-tip {
4553 margin: 6px 0 4px 8px;
4554 }
4555 }
4556
4557 &.wc-shipping-modal-price {
4558 &.wc-shipping-currency-position-left,
4559 &.wc-shipping-currency-position-left_space {
4560
4561 &.wc-shipping-currency-size-1 {
4562 padding-left: 28px;
4563 }
4564 &.wc-shipping-currency-size-2 {
4565 padding-left: 33px;
4566 }
4567 &.wc-shipping-currency-size-3 {
4568 padding-left: 38px;
4569 }
4570 &.wc-shipping-currency-size-4 {
4571 padding-left: 43px;
4572 }
4573 &.wc-shipping-currency-size-5 {
4574 padding-left: 48px;
4575 }
4576 }
4577
4578 &.wc-shipping-currency-position-right,
4579 &.wc-shipping-currency-position-right_space {
4580 padding-left: 12px;
4581 }
4582 &.wc-shipping-invalid-price {
4583 border: 2px solid var( --wc-red, #a00);
4584 }
4585
4586 }
4587 }
4588 }
4589
4590 .wc-shipping-zone-method-currency {
4591 position: absolute;
4592 top: 19px;
4593 color: #757575;
4594
4595 &.wc-shipping-currency-position-left,
4596 &.wc-shipping-currency-position-left_space {
4597 left: 12px;
4598 }
4599
4600 &.wc-shipping-currency-position-right,
4601 &.wc-shipping-currency-position-right_space {
4602 right: 12px;
4603 }
4604 }
4605 }
4606
4607 .wc-backbone-modal-action-inactive {
4608 display: none;
4609 }
4610
4611 .wc-shipping-zone-method-fields-help-text,
4612 .wc-shipping-class-modal-help-text {
4613 font-size: 12px;
4614 font-weight: 400;
4615 line-height: 16px;
4616 color: #757575;
4617 &.wc-shipping-invalid-price-message {
4618 color: var( --wc-red, #a00);
4619 display: block;
4620 margin-top: 6px;
4621 margin-bottom: -24px
4622 }
4623 }
4624
4625 .wc-shipping-invalid-price-message ~ #wc-shipping-advanced-costs-help-text {
4626 display: block;
4627 margin-top: 30px;
4628 }
4629
4630 .wc-backbone-modal-back-inactive {
4631 display: none;
4632 }
4633
4634 #btn-next.is-busy {
4635 background-image: linear-gradient(-45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);
4636 animation-duration: 2.5s;
4637 animation-timing-function: linear;
4638 animation-delay: 0s;
4639 animation-iteration-count: infinite;
4640 animation-direction: normal;
4641 animation-fill-mode: none;
4642 animation-play-state: running;
4643 animation-name: components-button__busy-animation;
4644 animation-timeline: auto;
4645 animation-range-start: normal;
4646 color: #757575;
4647 }
4648 }
4649
4650 table {
4651 tr,
4652 tr:hover {
4653 table.wc-shipping-zone-methods {
4654 tr .row-actions {
4655 position: relative;
4656 }
4657
4658 tr:hover .row-actions {
4659 position: static;
4660 }
4661 }
4662 }
4663 }
4664
4665 .wc-shipping-class-modal {
4666 .edit {
4667 margin: 5px 0;
4668 }
4669
4670 .edit > input,
4671 .edit > select {
4672 width: 100%;
4673 max-width: 100%;
4674 padding: 12px;
4675 }
4676
4677 .view {
4678 font-size: 12px;
4679 font-weight: 500;
4680 line-height: 16px;
4681 }
4682
4683 .wc-shipping-class-modal-input {
4684 padding: 0 0 24px 0;
4685
4686 input {
4687 font-size: 13px;
4688 line-height: 16px;
4689 }
4690 }
4691
4692 .wc-shipping-class-count {
4693 display: none;
4694 }
4695 }
4696
4697 .wc-shipping-class-hide-sibling-view + .view {
4698 display: none;
4699 }
4700
4701 .wc-shipping-zones-heading {
4702 display: flex;
4703 align-items: center;
4704
4705 .page-title-action, .page-title-action:active {
4706 margin: 7px 0 0 10px;
4707 }
4708 }
4709
4710 .wc-shipping-zone-heading-help-text {
4711 max-width: 800px;
4712 }
4713
4714 .wc-shipping-zone-heading-help-text {
4715 color: #3C434A;
4716 font-size: 13px;
4717 font-style: normal;
4718 font-weight: 400;
4719 line-height: 19px;
4720 }
4721
4722 .wc-shipping-zone-help-text {
4723 color: #3C434A;
4724 font-size: 12px;
4725 font-style: normal;
4726 font-weight: 400;
4727 line-height: 17px;
4728 }
4729
4730 #wc-shipping-zone-region-picker-root .woocommerce-tree-select-control {
4731
4732 .components-base-control {
4733 padding: 2px 8px;
4734 border-radius: 4px;
4735
4736 .woocommerce-tree-select-control__control-input {
4737 font-size: 14px;
4738 }
4739 }
4740
4741 .woocommerce-tree-select-control__option {
4742 font-size: 14px;
4743
4744 .components-checkbox-control__label {
4745 min-height: 52px;
4746 }
4747 }
4748 }
4749
4750 table.wc-shipping-zones,
4751 table.wc-shipping-zone-methods,
4752 table.wc-shipping-classes {
4753 font-size: 14px;
4754
4755 thead tr th {
4756 vertical-align: middle;
4757 padding: 1em;
4758 font-weight: 600;
4759 }
4760
4761 tbody tr td {
4762 padding: 24px 12px;
4763
4764 &:last-child {
4765 padding: 24px 32px 24px 12px;
4766 }
4767 }
4768
4769 tfoot tr td {
4770 padding: 24px 12px;
4771 vertical-align: top;
4772
4773 &:last-child {
4774 padding: 24px 32px 24px 12px;
4775 }
4776 }
4777
4778 td,
4779 th {
4780 display: table-cell !important;
4781 font-size: 14px;
4782 vertical-align: middle;
4783 padding: 24px 12px;
4784
4785 li {
4786 line-height: 24px;
4787 font-size: 14px;
4788 }
4789
4790 .woocommerce-help-tip {
4791 margin: 0 !important;
4792 }
4793 }
4794
4795 thead {
4796 .wc-shipping-zone-sort {
4797 text-align: center;
4798 }
4799 }
4800
4801 .wc-shipping-zone-rows,
4802 .wc-shipping-zone-method-rows,
4803 .wc-shipping-class-rows {
4804 tr:nth-child(even) td {
4805 background: #f9f9f9;
4806 }
4807 }
4808
4809 .wc-shipping-zone-rows-tfoot .even td {
4810 background: #f9f9f9;
4811 }
4812
4813 td.wc-shipping-zones-blank-state,
4814 td.wc-shipping-zone-method-blank-state {
4815 overflow: hidden;
4816 position: relative;
4817 padding: 7.5em 7.5% !important;
4818
4819 &.wc-shipping-zone-method-blank-state {
4820 padding: 2em !important;
4821
4822 p {
4823 margin-bottom: 0;
4824 }
4825 }
4826
4827 p,
4828 li {
4829 color: var(--wc-secondary-text, $woocommerce);
4830 font-size: 1.2em;
4831 line-height: 1.2em;
4832 margin: 0 0 1.5em;
4833 position: relative;
4834 z-index: 1;
4835 text-shadow: 1px 1px 1px white;
4836
4837 &.main {
4838 font-size: 1.6em;
4839 }
4840 }
4841
4842 li {
4843 margin-left: 1em;
4844 list-style: circle inside;
4845 }
4846
4847 &::before {
4848 content: "\e01b";
4849 font-family: "WooCommerce";
4850 text-align: center;
4851 line-height: 1;
4852 color: #e9e9e9;
4853 display: block;
4854 width: 1em;
4855 font-size: 40em;
4856 top: 50%;
4857 right: -3.75%;
4858 margin-top: -0.1875em;
4859 position: absolute;
4860 }
4861
4862 .button-primary {
4863 font-size: 1.2em;
4864 padding: 0.75em 1.5em;
4865 margin: 0 0.25em;
4866 height: auto;
4867 position: relative;
4868 z-index: 1;
4869 }
4870 }
4871
4872 tbody.wc-shipping-tables-tbody {
4873 .wc-shipping-zone-name,
4874 .wc-shipping-zone-method-title,
4875 .wc-shipping-class-name {
4876 font-weight: 500;
4877 }
4878
4879 }
4880
4881 tr.wc-shipping-zone-worldwide {
4882 td {
4883 background: #f9f9f9;
4884 border-top: 2px solid #e1e1e1;
4885 }
4886 }
4887
4888 ul,
4889 p {
4890 margin: 0;
4891 }
4892
4893 td.wc-shipping-zone-sort,
4894 td.wc-shipping-zone-method-sort {
4895 cursor: move;
4896 font-size: 15px;
4897 text-align: center;
4898
4899 &::before {
4900 content: "";
4901 mask: url(../images/icons/move-icon.svg);
4902 mask-image: url(../images/icons/move-icon.svg);
4903 -webkit-mask-image: url(../images/icons/move-icon.svg);
4904 background-color: #1E1E1E;
4905 display: block;
4906 width: 17px;
4907 float: left;
4908 height: 24px;
4909 }
4910
4911 &:hover::before {
4912 background-color: #999;
4913 }
4914 }
4915
4916 td.wc-shipping-zone-worldwide {
4917 text-align: center;
4918
4919 &::before {
4920 content: "\f319";
4921 font-family: "dashicons";
4922 text-align: center;
4923 line-height: 1;
4924 color: #000;
4925 display: block;
4926 width: 17px;
4927 float: left;
4928 height: 100%;
4929 line-height: 24px;
4930 }
4931 }
4932
4933 .wc-shipping-zone-name,
4934 .wc-shipping-zone-methods {
4935 width: 25%;
4936 }
4937
4938 .wc-shipping-zone-actions {
4939 width: 13%;
4940 text-align: right;
4941
4942 a.wc-shipping-zone-actions,
4943 a.wc-shipping-zone-actions:hover {
4944 color: var(--wc-destructive, #cc1818);
4945 }
4946 }
4947
4948 .wc-shipping-class-description,
4949 .wc-shipping-class-name,
4950 .wc-shipping-class-slug,
4951 .wc-shipping-zone-name,
4952 .wc-shipping-class-actions,
4953 .wc-shipping-zone-region {
4954 input,
4955 select,
4956 textarea {
4957 width: 100%;
4958 }
4959 }
4960
4961 .wc-shipping-class-count {
4962 text-align: center;
4963 }
4964
4965 td.wc-shipping-zone-methods {
4966 .method_disabled {
4967 text-decoration: line-through;
4968 }
4969
4970 ul {
4971 position: relative;
4972 padding-right: 32px;
4973 display: flex;
4974 flex-wrap: wrap;
4975
4976 li {
4977 color: #000;
4978 display: inline;
4979 margin: 0;
4980 }
4981 }
4982
4983 .wc-shipping-zone-method {
4984 background-color: #F0F0F0;
4985 margin: 0 3px 3px 0;
4986 padding: 5px 9px;
4987 border-radius: 5px;
4988 }
4989
4990 .add_shipping_method {
4991 display: block;
4992 width: 24px;
4993 padding: 24px 0 0;
4994 height: 0;
4995 overflow: hidden;
4996 cursor: pointer;
4997
4998 &::before {
4999 @include icon;
5000 font-family: "Dashicons";
5001 content: "\f502";
5002 color: #999;
5003 vertical-align: middle;
5004 line-height: 24px;
5005 font-size: 16px;
5006 margin: 0;
5007 }
5008
5009 &.disabled {
5010 cursor: not-allowed;
5011
5012 &::before {
5013 color: #ccc;
5014 }
5015 }
5016 }
5017 }
5018
5019 .wc-shipping-zone-method-title {
5020 width: 25%;
5021 }
5022
5023 .wc-shipping-zone-method-enabled {
5024 text-align: center;
5025
5026 a {
5027 float: left;
5028 }
5029
5030 .woocommerce-input-toggle {
5031 margin-top: 3px;
5032 }
5033 }
5034
5035 .wc-shipping-zone-method-type {
5036 display: block;
5037 }
5038
5039 tfoot {
5040 input,
5041 select {
5042 vertical-align: middle !important;
5043 }
5044
5045 .button-secondary {
5046 float: right;
5047 }
5048 }
5049
5050 .editing {
5051 .wc-shipping-zone-view,
5052 .wc-shipping-zone-edit {
5053 display: none;
5054 }
5055 }
5056 }
5057
5058 .woocommerce-input-toggle {
5059 height: 16px;
5060 width: 32px;
5061 border: 2px solid var(--wp-admin-theme-color, $woocommerce);
5062 background-color: var(--wp-admin-theme-color, $woocommerce);
5063 display: inline-block;
5064 text-indent: -9999px;
5065 border-radius: 10em;
5066 position: relative;
5067 margin-top: -1px;
5068 vertical-align: text-top;
5069
5070 &::before {
5071 content: "";
5072 display: block;
5073 width: 16px;
5074 height: 16px;
5075 background: #fff;
5076 position: absolute;
5077 top: 0;
5078 right: 0;
5079 border-radius: 100%;
5080 }
5081
5082 &.woocommerce-input-toggle--disabled {
5083 border-color: #999;
5084 background-color: #999;
5085
5086 &::before {
5087 right: auto;
5088 left: 0;
5089 }
5090 }
5091
5092 &.woocommerce-input-toggle--loading {
5093 opacity: 0.5;
5094 }
5095 }
5096
5097 .wc-modal-shipping-method-settings {
5098
5099 form .form-table {
5100 width: 100%;
5101 background: #fff;
5102 margin: 0 0 1.5em;
5103
5104 tr {
5105 th {
5106 width: 40%;
5107 position: relative;
5108
5109 .woocommerce-help-tip {
5110 float: right;
5111 margin: -8px -0.5em 0 0;
5112 vertical-align: middle;
5113 right: 0;
5114 top: 50%;
5115 position: absolute;
5116 }
5117 }
5118
5119 td {
5120 input,
5121 select,
5122 textarea {
5123 width: 50%;
5124 min-width: 250px;
5125 }
5126
5127 input[type="checkbox"]="checkbox""] {
5128 width: auto;
5129 min-width: 16px;
5130 }
5131 width: 40%;
5132 }
5133
5134 td,
5135 th {
5136 vertical-align: middle;
5137 margin: 0;
5138 line-height: 24px;
5139 padding: 1em;
5140 border-bottom: 1px solid #f8f8f8;
5141 }
5142 }
5143
5144 &:last-of-type {
5145 margin-bottom: 0;
5146 }
5147 }
5148 }
5149
5150 img.help_tip {
5151 margin: 0 0 0 9px;
5152 vertical-align: middle;
5153 }
5154
5155 .postbox img.help_tip {
5156 margin-top: 0;
5157 }
5158
5159 .postbox .woocommerce-help-tip {
5160 margin: 0 0 0 9px;
5161 }
5162
5163 .status-enabled,
5164 .status-manual,
5165 .status-disabled {
5166 font-size: 1.4em;
5167
5168 @include ir();
5169 }
5170
5171 .status-manual::before {
5172 @include icon("\e008");
5173 color: #999;
5174 }
5175
5176 .status-enabled::before {
5177 @include icon("\e015");
5178 color: var(--wp-admin-theme-color, $woocommerce);
5179 }
5180
5181 .status-disabled::before {
5182 @include icon("\e013");
5183 color: #ccc;
5184 }
5185
5186 .woocommerce {
5187 h2.woo-nav-tab-wrapper {
5188 margin-bottom: 1em;
5189 }
5190
5191 nav.woo-nav-tab-wrapper {
5192 margin: 1.5em 0 1em;
5193 }
5194
5195 .subsubsub:not(.list-table-filters) {
5196 margin: -8px 0 0;
5197 }
5198
5199 .wc-admin-breadcrumb {
5200 margin-left: 0.5em;
5201
5202 a {
5203 color: var(--wp-admin-theme-color, $woocommerce);
5204 }
5205 }
5206
5207 .wc-admin-header {
5208 small {
5209 margin-right: 0.5em;
5210 }
5211 a {
5212 color: #1d2327;
5213 text-decoration: none;
5214 }
5215 a:hover {
5216 color: var(--wp-admin-theme-color, #3858e9);
5217 }
5218 }
5219
5220 #template div {
5221 margin: 0;
5222
5223 p .button {
5224 float: right;
5225 margin-left: 10px;
5226 margin-top: -4px;
5227 }
5228
5229 .editor textarea {
5230 margin-bottom: 8px;
5231 }
5232 }
5233
5234 textarea[disabled="disabled"]="disabled""] {
5235 background: #dfdfdf !important;
5236 }
5237
5238 .settings-panel {
5239 ul.advice {
5240 list-style: square;
5241 list-style-position: inside;
5242 }
5243 }
5244
5245 table.form-table {
5246 margin: 0;
5247 &.wc-shipping-zone-settings {
5248 margin-top: 8px;
5249 }
5250 position: relative;
5251 table-layout: fixed;
5252
5253 .forminp {
5254 display: block;
5255 position: relative;
5256 }
5257
5258 .forminp-radio ul {
5259 margin: 0;
5260
5261 li {
5262 line-height: 1.4em;
5263 }
5264 }
5265
5266 input[type="text"]="text""],
5267 input[type="number"]="number""],
5268 input[type="email"]="email""] {
5269 height: auto;
5270 }
5271
5272 textarea.input-text {
5273 height: 100%;
5274 min-width: 150px;
5275 display: block;
5276 }
5277
5278 // Give regular settings inputs a standard width and padding.
5279 textarea,
5280 input[type="text"]="text""],
5281 input[type="email"]="email""],
5282 input[type="number"]="number""],
5283 input[type="password"]="password""],
5284 input[type="datetime"]="datetime""],
5285 input[type="datetime-local"]="datetime-local""],
5286 input[type="date"]="date""],
5287 input[type="time"]="time""],
5288 input[type="week"]="week""],
5289 input[type="url"]="url""],
5290 input[type="tel"]="tel""],
5291 input.regular-input {
5292 width: 400px;
5293 margin: 0;
5294 padding: 6px;
5295 box-sizing: border-box;
5296 vertical-align: top;
5297 }
5298
5299 input[type="datetime-local"]="datetime-local""],
5300 input[type="date"]="date""],
5301 input[type="time"]="time""],
5302 input[type="week"]="week""],
5303 input[type="tel"]="tel""] {
5304 width: 200px;
5305 }
5306
5307 select {
5308 width: 400px;
5309 margin: 0;
5310 box-sizing: border-box;
5311 line-height: 32px;
5312 vertical-align: top;
5313 }
5314
5315 input[size]] {
5316 width: auto !important;
5317 }
5318
5319 // Ignore nested inputs.
5320 table {
5321 select,
5322 textarea,
5323 input[type="text"]="text""],
5324 input[type="email"]="email""],
5325 input[type="number"]="number""],
5326 input.regular-input {
5327 width: auto;
5328 }
5329 }
5330
5331 textarea.wide-input {
5332 width: 100%;
5333 }
5334
5335 img.help_tip,
5336 .woocommerce-help-tip {
5337 padding: 0;
5338 margin: -4px 0 0 5px;
5339 vertical-align: middle;
5340 cursor: help;
5341 line-height: 1;
5342 }
5343
5344 span.help_tip {
5345 cursor: help;
5346 color: $blue;
5347 }
5348
5349 th {
5350 position: relative;
5351 padding-right: 24px;
5352 }
5353
5354 th label {
5355 position: relative;
5356 display: block;
5357
5358 img.help_tip,
5359 .woocommerce-help-tip {
5360 margin: -8px -24px 0 0;
5361 position: absolute;
5362 right: 0;
5363 top: 50%;
5364 }
5365 }
5366
5367 th label + .woocommerce-help-tip {
5368 margin: 0 0 0 0;
5369 position: absolute;
5370 right: 0;
5371 top: 20px;
5372 }
5373
5374 .select2-container {
5375 vertical-align: top;
5376 margin-bottom: 3px;
5377 }
5378
5379 .select2-container + span.description {
5380 display: block;
5381 margin-top: 8px;
5382 }
5383
5384 .wp-list-table .woocommerce-help-tip {
5385 float: none;
5386 }
5387
5388 label:has(input:disabled) {
5389 cursor: not-allowed;
5390 > input:disabled {
5391 opacity: 0.7;
5392 cursor: not-allowed;
5393 pointer-events: none;
5394 }
5395 &[disabled-tooltip]] {
5396 position: relative;
5397 }
5398 &[disabled-tooltip]]::before {
5399 pointer-events: none;
5400 content: attr(disabled-tooltip);
5401 position: absolute;
5402 top: -6px;
5403 left: 6px;
5404 transform: translateX(-50%) translateY(-100%);
5405 background: black;
5406 text-align: center;
5407 color: #fff;
5408 padding: 6px;
5409 font-size: 12px;
5410 min-width: 80px;
5411 max-width: 200px;
5412 border-radius: 5px;
5413 pointer-events: none;
5414 opacity:0;
5415 }
5416 &[disabled-tooltip]]:hover::before,
5417 &[disabled-tooltip]]:focus::before {
5418 opacity:1
5419 }
5420 }
5421
5422 fieldset {
5423 margin-top: 4px;
5424
5425 img.help_tip,
5426 .woocommerce-help-tip {
5427 margin: -3px 0 0 5px;
5428 }
5429
5430 p.description {
5431 margin-bottom: 8px;
5432
5433 &.is-error, span.is-error {
5434 color: $red;
5435 }
5436 }
5437
5438 &:first-child {
5439 margin-top: 0;
5440 }
5441 }
5442
5443 td.with-tooltip {
5444 > fieldset {
5445 margin-top: 0;
5446 }
5447 span.help-tooltip {
5448 position: absolute;
5449 margin-left: -30px;
5450 margin-top: 7px;
5451 }
5452 }
5453
5454 .iris-picker {
5455 z-index: 100;
5456 display: none;
5457 position: absolute;
5458 border: 1px solid #ccc;
5459 border-radius: 3px;
5460 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
5461
5462 .ui-slider {
5463 border: 0 !important;
5464 margin: 0 !important;
5465 width: auto !important;
5466 height: auto !important;
5467 background: none transparent !important;
5468
5469 .ui-slider-handle {
5470 margin-bottom: 0 !important;
5471 }
5472 }
5473 }
5474
5475 .iris-error {
5476 background-color: #ffafaf;
5477 }
5478
5479 .colorpickpreview {
5480 padding: 7px 0;
5481 line-height: 1em;
5482 display: inline-block;
5483 width: 26px;
5484 border: 1px solid #ddd;
5485 border-radius: $radius-s;
5486 font-size: 14px;
5487 }
5488
5489 .image_width_settings {
5490 vertical-align: middle;
5491
5492 label {
5493 margin-left: 10px;
5494 }
5495
5496 input {
5497 width: auto;
5498 }
5499 }
5500
5501 .wc_payment_gateways_wrapper,
5502 .wc_emails_wrapper {
5503 padding: 0 15px 10px 0;
5504 }
5505
5506 legend {
5507 font-weight: 700;
5508 line-height: 1.4;
5509 padding: 5px 0 0;
5510 margin: 0 0 8px !important;
5511 }
5512 }
5513
5514 .wc-shipping-zone-settings {
5515 td.forminp {
5516 input,
5517 textarea {
5518 width: 448px;
5519 padding: 6px 11px;
5520 }
5521
5522 .select2-search input {
5523 padding: 6px;
5524 }
5525 }
5526 }
5527 }
5528
5529 .wc-wp-version-gte-53 {
5530 .woocommerce {
5531 h2.wc-table-list-header {
5532 margin: 1em 0 0.35em 0;
5533 }
5534
5535 input + .subsubsub {
5536 margin: 8px 0 0;
5537 }
5538
5539 table.form-table {
5540 // Give regular settings inputs a standard width and padding.
5541 textarea,
5542 input[type="text"]="text""],
5543 input[type="email"]="email""],
5544 input[type="number"]="number""],
5545 input[type="password"]="password""],
5546 input[type="datetime"]="datetime""],
5547 input[type="datetime-local"]="datetime-local""],
5548 input[type="date"]="date""],
5549 input[type="time"]="time""],
5550 input[type="week"]="week""],
5551 input[type="url"]="url""],
5552 input[type="tel"]="tel""],
5553 input.regular-input {
5554 padding: 0 8px;
5555
5556 @media only screen and (max-width: 782px) {
5557 width: 100%;
5558 }
5559 }
5560
5561 select {
5562 @media only screen and (max-width: 782px) {
5563 width: 100%;
5564 }
5565 }
5566
5567 th label {
5568 img.help_tip,
5569 .woocommerce-help-tip {
5570 margin: -7px -24px 0 0;
5571
5572 @media only screen and (max-width: 782px) {
5573 right: auto;
5574 margin-left: 5px;
5575 }
5576 }
5577 }
5578
5579 .forminp-color {
5580 font-size: 0;
5581 }
5582
5583 .colorpickpreview {
5584 padding: 0;
5585 width: 30px;
5586 height: 30px;
5587 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
5588 font-size: 16px;
5589 margin-right: 3px;
5590
5591 @media only screen and (max-width: 782px) {
5592 float: left;
5593 width: 40px;
5594 height: 40px;
5595 }
5596 }
5597 }
5598 }
5599 }
5600
5601 .woocommerce #tabs-wrap table a.remove {
5602 margin-left: 4px;
5603 }
5604
5605 .woocommerce #tabs-wrap table p {
5606 margin: 0 0 4px !important;
5607 overflow: hidden;
5608 zoom: 1;
5609 }
5610
5611 .woocommerce #tabs-wrap table p a.add {
5612 float: left;
5613 }
5614
5615 #wp-excerpt-editor-container {
5616 background: #fff;
5617 }
5618
5619 #product_variation-parent #parent_id {
5620 width: 100%;
5621 }
5622
5623 #postimagediv {
5624 .inside {
5625 padding: 0;
5626 margin: 0;
5627 }
5628
5629 p {
5630 margin: 0;
5631 padding: 10px;
5632 }
5633
5634 .image-added-detail {
5635 border-top: 1px solid #dcdcde;
5636 background-color: #f6f7f7;
5637 color: #7f8388;
5638 font-size: 12px;
5639 margin-top: 4px;
5640
5641 .dashicons {
5642 font-size: 13px;
5643 width: 13px;
5644 height: 13px;
5645 margin: 3px 3px 0 0;
5646 }
5647
5648 a {
5649 text-decoration: none;
5650 }
5651 }
5652
5653 img {
5654 border: 1px solid #d5d5d5;
5655 max-width: 100%;
5656 }
5657 }
5658
5659 #woocommerce-product-images .inside {
5660 margin: 0;
5661 padding: 0;
5662
5663 .add_product_images {
5664 padding: 0 12px 12px;
5665 }
5666
5667 #product_images_container {
5668 padding: 0 0 0 9px;
5669
5670 ul {
5671 @include clearfix();
5672 margin: 0;
5673 padding: 0;
5674
5675 li.image,
5676 li.add,
5677 li.wc-metabox-sortable-placeholder {
5678 width: 80px;
5679 float: left;
5680 cursor: move;
5681 border: 1px solid #d5d5d5;
5682 margin: 9px 9px 0 0;
5683 background: #f7f7f7;
5684
5685 @include border-radius(2px);
5686 position: relative;
5687 box-sizing: border-box;
5688
5689 img {
5690 width: 100%;
5691 height: auto;
5692 display: block;
5693 }
5694 }
5695
5696 li.wc-metabox-sortable-placeholder {
5697 border: 3px dashed #ddd;
5698 position: relative;
5699
5700 &::after {
5701 @include icon_dashicons("\f161");
5702 font-size: 2.618em;
5703 line-height: 72px;
5704 color: #ddd;
5705 }
5706 }
5707
5708 ul.actions {
5709 position: absolute;
5710 top: -8px;
5711 right: -8px;
5712 padding: 2px;
5713 display: none;
5714
5715 @media (max-width: 768px) {
5716 display: block;
5717 }
5718
5719 li {
5720 float: right;
5721 margin: 0 0 0 2px;
5722
5723 a {
5724 width: 1em;
5725 height: 1em;
5726 margin: 0;
5727 height: 0;
5728 display: block;
5729 overflow: hidden;
5730
5731 &.tips {
5732 cursor: pointer;
5733 }
5734 }
5735
5736 a.delete {
5737 @include ir();
5738 font-size: 1.4em;
5739
5740 &::before {
5741 @include icon_dashicons("\f153");
5742 color: #999;
5743 background: #fff;
5744 border-radius: 50%;
5745 height: 1em;
5746 width: 1em;
5747 line-height: 1em;
5748 }
5749
5750 &:hover::before {
5751 color: $red;
5752 }
5753 }
5754 }
5755 }
5756
5757 li:hover ul.actions {
5758 display: block;
5759 }
5760 }
5761 }
5762 }
5763
5764 #woocommerce-product-data {
5765 .hndle {
5766 padding: 10px;
5767
5768 span {
5769 display: block;
5770 line-height: 24px;
5771 }
5772
5773 .product-data-wrapper {
5774 label > * {
5775 display: inline-block;
5776 }
5777
5778 .woocommerce-product-type-tip {
5779 font-size: 1.4em;
5780 margin-left: 9px;
5781 }
5782 }
5783
5784 .type_box {
5785 display: inline;
5786 line-height: inherit;
5787 vertical-align: baseline;
5788 }
5789
5790 select {
5791 margin: 0;
5792 }
5793
5794 label {
5795 padding-right: 1em;
5796 font-size: 12px;
5797 vertical-align: baseline;
5798 }
5799
5800 label:first-child {
5801 margin-right: 1.4em;
5802 border-right: 1px solid #dfdfdf;
5803 }
5804
5805 input,
5806 select {
5807 margin-top: -2px;
5808 vertical-align: middle;
5809 }
5810
5811 label.has-checkbox {
5812 margin-right: 15px;
5813 }
5814
5815 label.has-checkbox > input[type="checkbox"]="checkbox""] {
5816 margin-right: 3px;
5817 }
5818
5819 select {
5820 margin-left: 0.5em;
5821 }
5822 }
5823
5824 > .handlediv {
5825 margin-top: 4px;
5826 }
5827
5828 .wrap {
5829 margin: 0;
5830 }
5831 }
5832
5833 #woocommerce-coupon-description {
5834 padding: 3px 8px;
5835 font-size: 1.7em;
5836 line-height: 1.42em;
5837 height: auto;
5838 width: 100%;
5839 outline: 0;
5840 margin: 10px 0;
5841 display: block;
5842
5843 &::-webkit-input-placeholder {
5844 line-height: 1.42em;
5845 color: #bbb;
5846 }
5847
5848 &::-moz-placeholder {
5849 line-height: 1.42em;
5850 color: #bbb;
5851 }
5852
5853 &:-ms-input-placeholder {
5854 line-height: 1.42em;
5855 color: #bbb;
5856 }
5857
5858 &:-moz-placeholder {
5859 line-height: 1.42em;
5860 color: #bbb;
5861 }
5862 }
5863
5864 #woocommerce-product-data,
5865 #woocommerce-coupon-data {
5866 .panel-wrap {
5867 background: #fff;
5868 }
5869
5870 .woocommerce_options_panel,
5871 .wc-metaboxes-wrapper {
5872 float: left;
5873 width: 80%;
5874
5875 ._backorders_field .wc-radios li {
5876 display: block;
5877 padding: 0 0 2px;
5878 }
5879
5880 .wc-radios {
5881 display: block;
5882 float: left;
5883 margin: 0;
5884
5885 li {
5886 display: block;
5887 padding: 0 0 10px;
5888
5889 input {
5890 width: auto;
5891 }
5892 }
5893 }
5894 }
5895 }
5896
5897 #usage_restriction_coupon_data.woocommerce_options_panel {
5898 .options_group {
5899
5900 border-bottom: 0px;
5901
5902 .hr-section {
5903 display: flex;
5904 flex-basis: 100%;
5905 align-items: center;
5906 font-size: 10.5px;
5907 letter-spacing: 1px;
5908 font-weight: 300;
5909 text-transform: uppercase;
5910 position: relative;
5911 top: 8px;
5912 padding-bottom: 10px;
5913
5914 &:before, &:after {
5915 content: "";
5916 flex-grow: 1;
5917 background: #eee;
5918 height: 1px;
5919 font-size: 0px;
5920 line-height: 0px;
5921 }
5922
5923 &:before {
5924 margin: 0 16px 0 0;
5925 }
5926
5927 &:after {
5928 margin: 0 0 0 16px;
5929 }
5930 }
5931 }
5932 }
5933
5934 #woocommerce-product-data,
5935 #woocommerce-coupon-data,
5936 .woocommerce {
5937 .panel-wrap {
5938 overflow: hidden;
5939 }
5940
5941 ul.wc-tabs {
5942 margin: 0;
5943 width: 20%;
5944 float: left;
5945 line-height: 1em;
5946 padding: 0 0 10px;
5947 position: relative;
5948 background-color: #fafafa;
5949 border-right: 1px solid #eee;
5950 box-sizing: border-box;
5951
5952 &::after {
5953 content: "";
5954 display: block;
5955 width: 100%;
5956 height: 9999em;
5957 position: absolute;
5958 bottom: -9999em;
5959 left: 0;
5960 background-color: #fafafa;
5961 border-right: 1px solid #eee;
5962 }
5963
5964 li {
5965 margin: 0;
5966 padding: 0;
5967 display: block;
5968 position: relative;
5969
5970 a {
5971 margin: 0;
5972 padding: 10px;
5973 display: block;
5974 box-shadow: none;
5975 text-decoration: none;
5976 line-height: 20px !important;
5977 border-bottom: 1px solid #eee;
5978
5979 // The rule above suppresses the global box-shadow focus ring; reinstate a
5980 // visible focus indicator via outline. Negative offset keeps the outline
5981 // inside the parent .panel-wrap, which uses overflow: hidden.
5982 &:focus {
5983 outline: 2px solid #2271b1;
5984 outline-offset: -2px;
5985 }
5986
5987 span {
5988 margin-left: 0.618em;
5989 margin-right: 0.618em;
5990 }
5991
5992 &::before {
5993 @include iconbeforedashicons("\f107");
5994 }
5995 }
5996
5997 &.general_options a::before {
5998 content: "\f107";
5999 }
6000
6001 &.inventory_options a::before {
6002 content: "\f481";
6003 }
6004
6005 &.shipping_options a::before {
6006 font-family: "WooCommerce";
6007 content: "\e01a";
6008 }
6009
6010 &.linked_product_options a::before {
6011 content: "\f103";
6012 }
6013
6014 &.attribute_options a::before {
6015 content: "\f175";
6016 }
6017
6018 &.advanced_options a::before {
6019 font-family: "Dashicons";
6020 content: "\f111";
6021 }
6022
6023 &.marketplace-suggestions_options a::before {
6024 content: none;
6025 }
6026
6027 &.variations_options a::before {
6028 content: "\f509";
6029 }
6030
6031 &.usage_restriction_options a::before {
6032 font-family: "WooCommerce";
6033 content: "\e602";
6034 }
6035
6036 &.usage_limit_options a::before {
6037 font-family: "WooCommerce";
6038 content: "\e601";
6039 }
6040
6041 &.general_coupon_data a::before {
6042 font-family: "WooCommerce";
6043 content: "\e600";
6044 }
6045
6046 &.active a {
6047 color: #555;
6048 position: relative;
6049 background-color: #eee;
6050 }
6051 }
6052 }
6053 }
6054
6055 /**
6056 * Settings / Advanced / Features
6057 */
6058 .woocommerce_page_wc-settings {
6059 .wc-settings-row-woocommerce_custom_orders_table_enabled td.forminp {
6060 padding-bottom: 0;
6061 }
6062
6063 .wc-settings-row-woocommerce_custom_orders_table_data_sync_enabled td.forminp {
6064 padding-top: 0;
6065 }
6066
6067 #email_notification_settings-description {
6068 margin-top: 16px;
6069 }
6070
6071 .learn-more-link {
6072 margin: 0 0 0 10px;
6073
6074 &::before {
6075 @include iconbeforedashicons("\f348");
6076 vertical-align: middle;
6077 font-size: 1.1em;
6078 }
6079
6080 a {
6081 margin: 0 0 0 4px;
6082 }
6083 }
6084 }
6085
6086 /**
6087 * Shipping
6088 */
6089 .woocommerce_page_wc-settings {
6090 input[type="url"]="url""],
6091 input[type="email"]="email""] {
6092 direction: ltr;
6093 }
6094
6095 .shippingrows {
6096 th.check-column {
6097 padding-top: 20px;
6098 }
6099
6100 tfoot th {
6101 padding-left: 10px;
6102 }
6103
6104 .add.button::before {
6105 @include iconbefore("\e007");
6106 }
6107 }
6108
6109 h3.wc-settings-sub-title {
6110 font-size: 1.2em;
6111 }
6112 }
6113
6114 #woocommerce-product-data,
6115 #woocommerce-product-type-options,
6116 #woocommerce-order-data,
6117 #woocommerce-order-downloads,
6118 #woocommerce-coupon-data {
6119 .inside {
6120 margin: 0;
6121 padding: 0;
6122 }
6123 }
6124
6125 .woocommerce_options_panel,
6126 .panel {
6127 padding: 9px;
6128 color: #555;
6129
6130 .form-field .woocommerce-help-tip {
6131 font-size: 1.4em;
6132 }
6133 }
6134
6135 .woocommerce_page_settings .woocommerce_options_panel,
6136 .panel {
6137 padding: 0;
6138 }
6139
6140 #woocommerce-product-type-options .panel,
6141 #woocommerce-product-specs .inside {
6142 margin: 0;
6143 padding: 9px;
6144 }
6145
6146 .woocommerce_options_panel p,
6147 #woocommerce-product-type-options .panel p,
6148 .woocommerce_options_panel fieldset.form-field {
6149 margin: 0 0 9px;
6150 font-size: 12px;
6151 padding: 5px 9px;
6152 line-height: 24px;
6153
6154 &::after {
6155 content: ".";
6156 display: block;
6157 height: 0;
6158 clear: both;
6159 visibility: hidden;
6160 }
6161 }
6162
6163 .woocommerce_options_panel .checkbox,
6164 .woocommerce_variable_attributes .checkbox {
6165 margin: 4px 0 !important;
6166 vertical-align: middle;
6167 float: left;
6168 }
6169
6170 .woocommerce_variations,
6171 .woocommerce_options_panel {
6172 .downloadable_files table {
6173 width: 100%;
6174 padding: 0 !important;
6175
6176 th {
6177 padding: 7px 0 7px 7px !important;
6178
6179 &.sort {
6180 width: 17px;
6181 padding: 7px !important;
6182 }
6183
6184 .woocommerce-help-tip {
6185 font-size: 1.1em;
6186 margin-left: 0;
6187 }
6188 }
6189
6190 td {
6191 vertical-align: middle !important;
6192 padding: 4px 0 4px 7px !important;
6193 position: relative;
6194
6195 &:last-child {
6196 padding-right: 7px !important;
6197 }
6198
6199 input.input_text {
6200 width: 100%;
6201 float: none;
6202 min-width: 0;
6203 margin: 1px 0;
6204 }
6205
6206 &.file_url {
6207 /* Reduce the size of this field to make space for a warning asterisk. */
6208 input {
6209 display: inline-block;
6210 width: 96%;
6211 }
6212 }
6213
6214 .upload_file_button {
6215 width: auto;
6216 float: right;
6217 cursor: pointer;
6218 }
6219
6220 .delete {
6221 @include ir();
6222 font-size: 1.2em;
6223
6224 &::before {
6225 @include icon_dashicons("\f153");
6226 color: #999;
6227 }
6228
6229 &:hover {
6230 &::before {
6231 color: $red;
6232 }
6233 }
6234 }
6235 }
6236
6237 td.sort {
6238 width: 17px;
6239 cursor: move;
6240 font-size: 15px;
6241 text-align: center;
6242 background: #f9f9f9;
6243 padding-right: 7px !important;
6244
6245 &::before {
6246 content: "\f333";
6247 font-family: "Dashicons";
6248 text-align: center;
6249 line-height: 1;
6250 color: #999;
6251 display: block;
6252 width: 17px;
6253 float: left;
6254 height: 100%;
6255 }
6256
6257 &:hover::before {
6258 color: #333;
6259 }
6260 }
6261
6262 /* Warning asterisk (indicates if there is a problem with a downloadable file). */
6263 span.disabled {
6264 color: var(--wc-red);
6265 }
6266 }
6267 }
6268
6269 .woocommerce_variation .woocommerce_variable_attributes .dimensions_field.form-row {
6270 .wrap {
6271 display: flex;
6272 gap: 12px;
6273
6274 input {
6275 width: 33.33%;
6276 }
6277 }
6278 }
6279
6280 .woocommerce_attribute,
6281 .woocommerce_variation {
6282 h3 .sort {
6283 width: 17px;
6284 height: 26px;
6285 cursor: move;
6286 float: right;
6287 font-size: 15px;
6288 font-weight: 400;
6289 margin-right: 0.5em;
6290 text-align: center;
6291 vertical-align: middle;
6292
6293 &::before {
6294 content: "\f333";
6295 font-family: "Dashicons";
6296 text-align: center;
6297 line-height: 28px;
6298 color: #999;
6299 display: block;
6300 width: 17px;
6301 float: left;
6302 height: 100%;
6303 }
6304
6305 &:hover::before {
6306 color: #777;
6307 }
6308 }
6309 .edit_variation {
6310 margin-left: 0.5em;
6311 }
6312
6313 h3:hover,
6314 &.ui-sortable-helper {
6315 .sort {
6316 visibility: visible;
6317 }
6318 }
6319
6320 &.wc-metabox {
6321 &.postbox {
6322 border-top: 0px;
6323 border-left: 0px;
6324 border-right: 0px;
6325 }
6326 }
6327 }
6328
6329 .woocommerce_options_panel {
6330 min-height: 175px;
6331 box-sizing: border-box;
6332
6333 .downloadable_files {
6334 padding: 0 9px 0 162px;
6335 position: relative;
6336 margin: 9px 0;
6337
6338 label {
6339 position: absolute;
6340 left: 0;
6341 margin: 0 0 0 12px;
6342 line-height: 24px;
6343 }
6344 }
6345
6346 p {
6347 margin: 9px 0;
6348 }
6349
6350 p.form-field,
6351 fieldset.form-field {
6352 padding: 5px 20px 5px 162px !important;
6353
6354 /** Padding for aligning labels left - 12px + 150 label width **/
6355 &._sold_individually_field {
6356 padding-right: 0px !important;
6357 }
6358 }
6359
6360 .sale_price_dates_fields {
6361 .short:first-of-type {
6362 margin-bottom: 1em;
6363 }
6364
6365 .short:nth-of-type(2) {
6366 clear: left;
6367 }
6368 }
6369
6370 label,
6371 legend {
6372 float: left;
6373 width: 150px;
6374 padding: 0;
6375 margin: 0 0 0 -150px;
6376
6377 .req {
6378 font-weight: 700;
6379 font-style: normal;
6380 color: $red;
6381 }
6382 }
6383
6384 .description,
6385 input[type="checkbox"]="checkbox""] + .description,
6386 input[type="radio"]="radio""] + .description {
6387 padding: 0;
6388 margin: 0 0 0 7px;
6389 clear: none;
6390 display: inline;
6391 }
6392
6393 input:not([type="checkbox"]):not([type="radio"]) + .description {
6394 display: block;
6395 clear: both;
6396 margin-left: 0;
6397 }
6398
6399 .description-block {
6400 margin-left: 0;
6401 display: block;
6402 }
6403
6404 textarea,
6405 input,
6406 select {
6407 margin: 0;
6408 }
6409
6410 textarea {
6411 float: left;
6412 height: 3.5em;
6413 line-height: 1.5em;
6414 vertical-align: top;
6415 }
6416
6417 input[type="text"]="text""],
6418 input[type="email"]="email""],
6419 input[type="number"]="number""],
6420 input[type="password"]="password""] {
6421 width: 50%;
6422 float: left;
6423 }
6424
6425 input.button {
6426 width: auto;
6427 margin-left: 8px;
6428 }
6429
6430 select {
6431 float: left;
6432 }
6433
6434 input[type="text"]="text""].short,
6435 input[type="email"]="email""].short,
6436 input[type="number"]="number""].short,
6437 input[type="password"]="password""].short,
6438 .short {
6439 width: 50%;
6440 }
6441
6442 .sized {
6443 width: auto !important;
6444 margin-right: 6px;
6445 }
6446
6447 .options_group {
6448 border-top: 1px solid white;
6449 border-bottom: 1px solid #eee;
6450
6451 &:first-child {
6452 border-top: 0;
6453 }
6454
6455 &:last-child {
6456 border-bottom: 0;
6457 }
6458
6459 fieldset {
6460 margin: 9px 0;
6461 font-size: 12px;
6462 padding: 5px 9px;
6463 line-height: 24px;
6464
6465 label {
6466 width: auto;
6467 float: none;
6468 }
6469
6470 ul {
6471 float: left;
6472 width: 50%;
6473 margin: 0;
6474 padding: 0;
6475
6476 li {
6477 margin: 0;
6478 width: auto;
6479
6480 input {
6481 width: auto;
6482 float: none;
6483 margin-right: 4px;
6484 }
6485 }
6486 }
6487
6488 ul.wc-radios label {
6489 margin-left: 0;
6490 }
6491 }
6492 }
6493
6494 .dimensions_field .wrap {
6495 display: block;
6496 width: 50%;
6497
6498 input {
6499 width: 30.75%;
6500 margin-right: 3.8%;
6501 border-radius: $radius-s;
6502 }
6503
6504 .last {
6505 margin-right: 0;
6506 }
6507 }
6508
6509 &.padded {
6510 padding: 1em;
6511 }
6512
6513 .select2-container {
6514 float: left;
6515 }
6516
6517 .inventory_sold_individually {
6518 display: flex;
6519
6520 .woocommerce-help-tip {
6521 align-self: center;
6522 }
6523 }
6524 }
6525
6526 #woocommerce-product-data input.dp-applied {
6527 float: left;
6528 }
6529
6530 #grouped_product_options,
6531 #virtual_product_options,
6532 #simple_product_options {
6533 padding: 12px;
6534 font-style: italic;
6535 color: #666;
6536 }
6537
6538 /**
6539 * WooCommerce meta boxes
6540 */
6541 .wc-metaboxes-wrapper {
6542 :not(#variable_product_options_inner),
6543 &#product_attributes {
6544 .toolbar:not(.expand-close-hidden) {
6545 border-bottom: 1px solid #eee;
6546 }
6547 }
6548 .toolbar {
6549 margin: 0 !important;
6550 border-top: 1px solid white;
6551 padding: 9px 12px !important;
6552
6553 &:first-child {
6554 border-top: 0;
6555 }
6556
6557 &:last-child {
6558 border-bottom: 0;
6559 }
6560
6561 .add_variation {
6562 float: right;
6563 margin-left: 5px;
6564 }
6565
6566 .save-variation-changes,
6567 .cancel-variation-changes {
6568 float: left;
6569 margin-right: 5px;
6570 }
6571 }
6572
6573 p.toolbar {
6574 overflow: hidden;
6575 zoom: 1;
6576 }
6577
6578 .expand-close {
6579 margin-right: 2px;
6580 color: #777;
6581 font-size: 12px;
6582 font-style: italic;
6583
6584 a {
6585 background: none;
6586 padding: 0;
6587 font-size: 12px;
6588 text-decoration: none;
6589 }
6590 }
6591
6592 &#product_attributes .expand-close {
6593 float: right;
6594 line-height: 28px;
6595 }
6596
6597 button.add_variable_attribute,
6598 .fr {
6599 float: right;
6600 margin: 0 0 0 6px;
6601 }
6602
6603 .wc-metaboxes {
6604 border-bottom: 1px solid #eee;
6605 }
6606
6607 .wc-metabox-sortable-placeholder {
6608 border-color: #bbb;
6609 background-color: #f5f5f5;
6610 margin-bottom: 9px;
6611 border-width: 1px;
6612 border-style: dashed;
6613 }
6614
6615 .wc-metabox {
6616 background: #fff;
6617 border-bottom: 1px solid #eee;
6618 margin: 0 !important;
6619
6620 select {
6621 font-weight: 400;
6622 }
6623
6624 &:last-of-type {
6625 border-bottom: 0;
6626 }
6627
6628 .handlediv {
6629 width: 27px;
6630 float: right;
6631
6632 &::before {
6633 content: "\f142" !important;
6634 cursor: pointer;
6635 display: inline-block;
6636 font: 400 20px/1 "Dashicons";
6637 line-height: 0.5 !important;
6638 padding: 8px 10px;
6639 position: relative;
6640 right: 12px;
6641 top: 0;
6642 }
6643 }
6644
6645 &.closed {
6646 @include border-radius(3px);
6647
6648 .handlediv::before {
6649 content: "\f140" !important;
6650 }
6651
6652 h3 {
6653 border: 0;
6654 }
6655 }
6656
6657 h3 {
6658 margin: 0 !important;
6659 padding: 0.75em 0.75em 0.75em 1em !important;
6660 font-size: 1em !important;
6661 overflow: hidden;
6662 zoom: 1;
6663 cursor: move;
6664
6665 button,
6666 a.delete,
6667 a.edit {
6668 float: right;
6669 margin-right: 12px;
6670 }
6671
6672 a.delete {
6673 color: var(--wc-destructive, #cc1818);
6674 font-weight: normal;
6675 line-height: 26px;
6676 text-decoration: none;
6677 position: relative;
6678 }
6679
6680 a.edit {
6681 font-weight: normal;
6682 line-height: 26px;
6683 text-decoration: none;
6684 position: relative;
6685 }
6686
6687 a.remove_variation {
6688 margin: 0 0.5em;
6689 }
6690
6691 strong {
6692 font-weight: normal;
6693 line-height: 26px;
6694 font-weight: 700;
6695 }
6696
6697 select {
6698 font-family: sans-serif;
6699 max-width: 20%;
6700 margin: 0.25em 0.25em 0.25em 0;
6701 }
6702
6703 .handlediv {
6704 background-position: 6px 5px !important;
6705 margin: 4px 0 -1px !important;
6706 height: 26px;
6707 }
6708
6709 &.fixed {
6710 cursor: pointer !important;
6711 }
6712 }
6713
6714 &.woocommerce_attribute h3,
6715 &.woocommerce_variation h3 {
6716 cursor: pointer;
6717 padding: 0.5em 0.75em 0.5em 1em !important;
6718
6719 a.delete,
6720 a.edit,
6721 .sort {
6722 margin-top: 0.25em;
6723 }
6724 }
6725
6726 &.woocommerce_variation h3 {
6727 a.delete,
6728 a.edit,
6729 .sort {
6730 margin-top: 0.45em;
6731 }
6732 }
6733
6734 &.woocommerce_attribute h3 .woocommerce-attribute-global-badge {
6735 display: inline-block;
6736 margin-inline-start: 6px;
6737 border-radius: 4px;
6738 background: $gray-100;
6739 padding: 4px 6px;
6740 color: #3c434a;
6741 font-size: 12px;
6742 font-weight: 400;
6743 line-height: 16px;
6744 vertical-align: middle;
6745 }
6746
6747 table {
6748 width: 100%;
6749 position: relative;
6750 background-color: #fdfdfd;
6751 padding: 1em;
6752 border-top: 1px solid #eee;
6753
6754 td {
6755 text-align: left;
6756 padding: 0 6px 1em 0;
6757 vertical-align: top;
6758 border: 0;
6759
6760 label {
6761 text-align: left;
6762 display: block;
6763 line-height: 21px;
6764 }
6765
6766 input {
6767 float: left;
6768 min-width: 200px;
6769 }
6770
6771 input,
6772 textarea {
6773 width: 100%;
6774 margin: 0;
6775 display: block;
6776 font-size: 14px;
6777 padding: 4px;
6778 color: #555;
6779 }
6780
6781 select,
6782 .select2-container {
6783 width: 100% !important;
6784 }
6785
6786 input.short {
6787 width: 200px;
6788 }
6789
6790 input.checkbox {
6791 width: 16px;
6792 min-width: inherit;
6793 vertical-align: text-bottom;
6794 display: inline-block;
6795 float: none;
6796 }
6797 }
6798
6799 td.attribute_name {
6800 width: 200px;
6801 }
6802
6803 .plus,
6804 .minus {
6805 margin-top: 6px;
6806 }
6807
6808 .fl {
6809 float: left;
6810 }
6811
6812 .fr {
6813 float: right;
6814 }
6815 }
6816 .placeholder {
6817 color: $gray-700;
6818 }
6819 }
6820 }
6821
6822 .variations-pagenav {
6823 float: right;
6824 line-height: 24px;
6825
6826 .displaying-num {
6827 color: #777;
6828 font-size: 12px;
6829 font-style: italic;
6830 }
6831
6832 a {
6833 padding: 0 10px 3px;
6834 background: rgba(0, 0, 0, 0.05);
6835 font-size: 16px;
6836 font-weight: 400;
6837 text-decoration: none;
6838 }
6839
6840 a.disabled,
6841 a.disabled:active,
6842 a.disabled:focus,
6843 a.disabled:hover {
6844 color: #a0a5aa;
6845 background: rgba(0, 0, 0, 0.05);
6846 }
6847 }
6848
6849 .variations-defaults {
6850 float: left;
6851
6852 select {
6853 margin: 0.25em 0.25em 0.25em 0;
6854 }
6855 }
6856
6857 .woocommerce_variable_attributes {
6858 background-color: #fdfdfd;
6859 border-top: 1px solid #eee;
6860
6861 .data {
6862 @include clearfix;
6863 padding: 1em 2em;
6864 }
6865
6866 .upload_image_button {
6867 display: block;
6868 width: 128px;
6869 height: 128px;
6870 float: left;
6871 margin-right: 20px;
6872 position: relative;
6873 cursor: pointer;
6874
6875 img {
6876 width: 100%;
6877 height: auto;
6878 display: none;
6879 }
6880
6881 &::before {
6882 content: "\f128";
6883 font-family: "Dashicons";
6884 position: absolute;
6885 top: 0;
6886 left: 0;
6887 right: 0;
6888 bottom: 0;
6889 text-align: center;
6890 line-height: 128px;
6891 font-size: 128px;
6892 font-weight: 400;
6893 -webkit-font-smoothing: antialiased;
6894 }
6895
6896 &.remove {
6897 img {
6898 display: block;
6899 }
6900
6901 &::before {
6902 content: "\f335";
6903 display: none;
6904 }
6905
6906 &:hover::before {
6907 display: block;
6908 }
6909 }
6910 }
6911
6912 .options {
6913 border: 1px solid #eee;
6914 border-width: 1px 0;
6915 padding: 0.25em 0;
6916
6917 label {
6918 display: inline-block;
6919 padding: 4px 1em 2px 0;
6920 }
6921
6922 input[type="checkbox"]="checkbox""] {
6923 margin: 0 5px 0 0.5em !important;
6924 vertical-align: middle;
6925 }
6926 }
6927 }
6928
6929 .form-row {
6930 label {
6931 display: inline-block;
6932 }
6933
6934 .woocommerce-help-tip {
6935 float: right;
6936 }
6937
6938 input[type="text"]="text""],
6939 input[type="number"]="number""],
6940 input[type="password"]="password""],
6941 input[type="color"]="color""],
6942 input[type="date"]="date""],
6943 input[type="datetime"]="datetime""],
6944 input[type="datetime-local"]="datetime-local""],
6945 input[type="email"]="email""],
6946 input[type="month"]="month""],
6947 input[type="search"]="search""],
6948 input[type="tel"]="tel""],
6949 input[type="time"]="time""],
6950 input[type="url"]="url""],
6951 input[type="week"]="week""],
6952 select,
6953 textarea {
6954 width: 100%;
6955 vertical-align: middle;
6956 margin: 2px 0 0;
6957 padding: 5px;
6958 }
6959
6960 select {
6961 height: 40px;
6962 }
6963
6964 &.dimensions_field {
6965 .wrap {
6966 clear: left;
6967 display: block;
6968 }
6969
6970 input {
6971 width: 33%;
6972 float: left;
6973 vertical-align: middle;
6974
6975 &:last-of-type {
6976 margin-right: 0;
6977 width: 34%;
6978 }
6979 }
6980 }
6981
6982 &.form-row-first,
6983 &.form-row-last {
6984 width: 48%;
6985 float: right;
6986 }
6987
6988 &.form-row-first {
6989 clear: both;
6990 float: left;
6991 }
6992
6993 &.form-row-full {
6994 clear: both;
6995 }
6996 }
6997
6998 .form-flex-box {
6999 display: flex;
7000 justify-content: space-between;
7001 align-items: center;
7002 }
7003
7004 /**
7005 * Tooltips
7006 */
7007 .tips {
7008 cursor: help;
7009 text-decoration: none;
7010 }
7011
7012 img.tips {
7013 padding: 5px 0 0;
7014 }
7015
7016 #tiptip_holder {
7017 display: none;
7018 z-index: 8675309;
7019 position: absolute;
7020 top: 0;
7021 pointer-events: none;
7022
7023 /*rtl:ignore*/
7024 left: 0;
7025
7026 &.tip_top {
7027 padding-bottom: 5px;
7028
7029 #tiptip_arrow_inner {
7030 margin-top: -7px;
7031 margin-left: -6px;
7032 border-top-color: #333;
7033 }
7034 }
7035
7036 &.tip_bottom {
7037 padding-top: 5px;
7038
7039 #tiptip_arrow_inner {
7040 margin-top: -5px;
7041 margin-left: -6px;
7042 border-bottom-color: #333;
7043 }
7044 }
7045
7046 &.tip_right {
7047 padding-left: 5px;
7048
7049 #tiptip_arrow_inner {
7050 margin-top: -6px;
7051 margin-left: -5px;
7052 border-right-color: #333;
7053 }
7054 }
7055
7056 &.tip_left {
7057 padding-right: 5px;
7058
7059 #tiptip_arrow_inner {
7060 margin-top: -6px;
7061 margin-left: -7px;
7062 border-left-color: #333;
7063 }
7064 }
7065 }
7066
7067 #tiptip_content,
7068 .chart-tooltip,
7069 .wc_error_tip {
7070 color: #fff;
7071 font-size: 0.8em;
7072 max-width: 150px;
7073 background: #333;
7074 text-align: center;
7075 border-radius: 3px;
7076 padding: 0.618em 1em;
7077 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
7078
7079 code {
7080 padding: 1px;
7081 background: #888;
7082 }
7083 }
7084
7085 #tiptip_arrow,
7086 #tiptip_arrow_inner {
7087 position: absolute;
7088 border-color: transparent;
7089 border-style: solid;
7090 border-width: 6px;
7091 height: 0;
7092 width: 0;
7093 }
7094
7095 /*rtl:raw:
7096 #tiptip_arrow {
7097 right: 50%;
7098 margin-right: -6px;
7099 }
7100 */
7101
7102 .wc_error_tip {
7103 max-width: 20em;
7104 line-height: 1.8em;
7105 position: absolute;
7106 white-space: normal;
7107 background: #d82223;
7108 margin: 1.5em 1px 0 -1em;
7109 z-index: 9999999;
7110
7111 &::after {
7112 content: "";
7113 display: block;
7114 border: 8px solid #d82223;
7115 border-right-color: transparent;
7116 border-left-color: transparent;
7117 border-top-color: transparent;
7118 position: absolute;
7119 top: -3px;
7120 left: 50%;
7121 margin: -1em 0 0 -3px;
7122 }
7123 }
7124
7125 /**
7126 * Date picker
7127 */
7128 img.ui-datepicker-trigger {
7129 vertical-align: middle;
7130 margin-top: -1px;
7131 cursor: pointer;
7132 }
7133
7134 .woocommerce_options_panel img.ui-datepicker-trigger,
7135 .wc-metabox-content img.ui-datepicker-trigger {
7136 float: left;
7137 margin-right: 8px;
7138 margin-top: 4px;
7139 margin-left: 4px;
7140 }
7141
7142 #ui-datepicker-div {
7143 display: none;
7144 }
7145
7146 /**
7147 * Reports
7148 */
7149 .woocommerce-reports-remove-filter {
7150 color: red;
7151 text-decoration: none;
7152 }
7153
7154 .woocommerce-reports-wrap,
7155 .woocommerce-reports-wide {
7156 &.woocommerce-reports-wrap {
7157 margin-left: 300px;
7158 padding-top: 18px;
7159 }
7160
7161 &.halved {
7162 margin: 0;
7163 overflow: hidden;
7164 zoom: 1;
7165 }
7166
7167 .widefat th {
7168 padding: 7px;
7169 }
7170
7171 .widefat td {
7172 vertical-align: top;
7173 padding: 7px;
7174
7175 .description {
7176 margin: 4px 0 0;
7177 }
7178 }
7179
7180 .postbox {
7181 &::after {
7182 content: ".";
7183 display: block;
7184 height: 0;
7185 clear: both;
7186 visibility: hidden;
7187 }
7188
7189 h3 {
7190 cursor: default !important;
7191 }
7192
7193 .inside {
7194 padding: 10px;
7195 margin: 0 !important;
7196 }
7197
7198 div.stats_range,
7199 h3.stats_range {
7200 border-bottom-color: #dfdfdf;
7201 margin: 0;
7202 padding: 0 !important;
7203
7204 .export_csv {
7205 float: right;
7206 line-height: 26px;
7207 border-left: 1px solid #dfdfdf;
7208 padding: 10px;
7209 display: block;
7210 text-decoration: none;
7211
7212 &::before {
7213 @include iconbeforedashicons("\f346");
7214 margin-right: 4px;
7215 }
7216 }
7217
7218 ul {
7219 list-style: none outside;
7220 margin: 0;
7221 padding: 0;
7222 zoom: 1;
7223 background: #f5f5f5;
7224 border-bottom: 1px solid #ccc;
7225
7226 &::before,
7227 &::after {
7228 content: " ";
7229 display: table;
7230 }
7231
7232 &::after {
7233 clear: both;
7234 }
7235
7236 li {
7237 float: left;
7238 margin: 0;
7239 padding: 0;
7240 line-height: 26px;
7241 font-weight: bold;
7242 font-size: 14px;
7243
7244 a {
7245 border-right: 1px solid #dfdfdf;
7246 padding: 10px;
7247 display: block;
7248 text-decoration: none;
7249 }
7250
7251 &.active {
7252 background: #fff;
7253 box-shadow: 0 4px 0 0 #fff;
7254
7255 a {
7256 color: #777;
7257 }
7258 }
7259
7260 &.custom {
7261 padding: 9px 10px;
7262 vertical-align: middle;
7263
7264 form,
7265 div {
7266 display: inline;
7267 margin: 0;
7268
7269 input.range_datepicker {
7270 padding: 0;
7271 margin: 0 10px 0 0;
7272 background: transparent;
7273 border: 0;
7274 color: #777;
7275 text-align: center;
7276 box-shadow: none;
7277
7278 &.from {
7279 margin-right: 0;
7280 }
7281 }
7282 }
7283 }
7284 }
7285 }
7286 }
7287
7288 .chart-with-sidebar {
7289 padding: 12px 12px 12px 249px;
7290 margin: 0 !important;
7291
7292 .chart-sidebar {
7293 width: 225px;
7294 margin-left: -237px;
7295 float: left;
7296 }
7297 }
7298
7299 .chart-widgets {
7300 margin: 0;
7301 padding: 0;
7302
7303 li.chart-widget {
7304 margin: 0 0 1em;
7305 background: #fafafa;
7306 border: 1px solid #dfdfdf;
7307
7308 &::after {
7309 content: ".";
7310 display: block;
7311 height: 0;
7312 clear: both;
7313 visibility: hidden;
7314 }
7315
7316 h4 {
7317 background: #fff;
7318 border: 1px solid #dfdfdf;
7319 border-left-width: 0;
7320 border-right-width: 0;
7321 padding: 10px;
7322 margin: 0;
7323 color: $blue;
7324 border-top-width: 0;
7325 background-image: linear-gradient(to top, #ececec, #f9f9f9);
7326
7327 &.section_title:hover {
7328 color: $red;
7329 }
7330 }
7331
7332 .section_title {
7333 cursor: pointer;
7334
7335 span {
7336 display: block;
7337
7338 &::after {
7339 @include iconafter("\e035");
7340 float: right;
7341 font-size: 0.9em;
7342 line-height: 1.618;
7343 }
7344 }
7345
7346 &.open {
7347 color: #333;
7348
7349 span::after {
7350 display: none;
7351 }
7352 }
7353 }
7354
7355 .section {
7356 border-bottom: 1px solid #dfdfdf;
7357
7358 .select2-container {
7359 width: 100% !important;
7360 }
7361
7362 &:last-of-type {
7363 border-radius: 0 0 3px 3px;
7364 }
7365 }
7366
7367 table {
7368 width: 100%;
7369
7370 td {
7371 padding: 7px 10px;
7372 vertical-align: top;
7373 border-top: 1px solid #e5e5e5;
7374 line-height: 1.4em;
7375 }
7376
7377 tr:first-child td {
7378 border-top: 0;
7379 }
7380
7381 td.count {
7382 background: #f5f5f5;
7383 }
7384
7385 td.name {
7386 max-width: 175px;
7387
7388 a {
7389 word-wrap: break-word;
7390 }
7391 }
7392
7393 td.sparkline {
7394 vertical-align: middle;
7395 }
7396
7397 .wc_sparkline {
7398 width: 32px;
7399 height: 1em;
7400 display: block;
7401 float: right;
7402 }
7403
7404 tr.active td {
7405 background: #f5f5f5;
7406 }
7407 }
7408
7409 form,
7410 p {
7411 margin: 0;
7412 padding: 10px;
7413
7414 .submit {
7415 margin-top: 10px;
7416 }
7417 }
7418
7419 #product_ids {
7420 width: 100%;
7421 }
7422
7423 .select_all,
7424 .select_none {
7425 float: right;
7426 color: #999;
7427 margin-left: 4px;
7428 margin-top: 10px;
7429 }
7430
7431 .description {
7432 margin-left: 0.5em;
7433 font-weight: normal;
7434 opacity: 0.8;
7435 }
7436 }
7437 }
7438
7439 .chart-legend {
7440 list-style: none outside;
7441 margin: 0 0 1em;
7442 padding: 0;
7443 border: 1px solid #dfdfdf;
7444 border-right-width: 0;
7445 border-bottom-width: 0;
7446 background: #fff;
7447
7448 li {
7449 border-right: 5px solid #aaa;
7450 color: #aaa;
7451 padding: 1em;
7452 display: block;
7453 margin: 0;
7454 transition: all ease 0.5s;
7455 box-shadow: inset 0 -1px 0 0 #dfdfdf;
7456
7457 strong {
7458 font-size: 1.618em;
7459 line-height: 1.2em;
7460 color: #464646;
7461 font-weight: normal;
7462 display: block;
7463 font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
7464 "Helvetica Neue", sans-serif;
7465
7466 del {
7467 color: #e74c3c;
7468 font-weight: normal;
7469 }
7470 }
7471
7472 &:hover {
7473 box-shadow: inset 0 -1px 0 0 #dfdfdf,
7474 inset 300px 0 0 #f7edf7;
7475 border-right: 5px solid var(--wc-primary) !important;
7476 padding-left: 1.5em;
7477 color: var(--wc-primary);
7478 }
7479 }
7480 }
7481
7482 .pie-chart-legend {
7483 margin: 12px 0 0;
7484 overflow: hidden;
7485
7486 li {
7487 float: left;
7488 margin: 0;
7489 padding: 6px 0 0;
7490 border-top: 4px solid #999;
7491 text-align: center;
7492 box-sizing: border-box;
7493 width: 50%;
7494 }
7495 }
7496
7497 .stat {
7498 font-size: 1.5em !important;
7499 font-weight: 700;
7500 text-align: center;
7501 }
7502
7503 .chart-placeholder {
7504 width: 100%;
7505 height: 650px;
7506 overflow: hidden;
7507 position: relative;
7508 }
7509
7510 .chart-prompt {
7511 line-height: 650px;
7512 margin: 0;
7513 color: #999;
7514 font-size: 1.2em;
7515 font-style: italic;
7516 text-align: center;
7517 }
7518
7519 .chart-container {
7520 background: #fff;
7521 padding: 12px;
7522 position: relative;
7523 border: 1px solid #dfdfdf;
7524 border-radius: 3px;
7525 }
7526
7527 .main .chart-legend {
7528 margin-top: 12px;
7529
7530 li {
7531 border-right: 0;
7532 margin: 0 8px 0 0;
7533 float: left;
7534 border-top: 4px solid #aaa;
7535 }
7536 }
7537 }
7538
7539 .woocommerce-reports-main {
7540 float: left;
7541 min-width: 100%;
7542
7543 table td {
7544 padding: 9px;
7545 }
7546 }
7547
7548 .woocommerce-reports-sidebar {
7549 display: inline;
7550 width: 281px;
7551 margin-left: -300px;
7552 clear: both;
7553 float: left;
7554 }
7555
7556 .woocommerce-reports-left {
7557 width: 49.5%;
7558 float: left;
7559 }
7560
7561 .woocommerce-reports-right {
7562 width: 49.5%;
7563 float: right;
7564 }
7565 }
7566
7567 .woocommerce-wide-reports-wrap {
7568 padding-bottom: 11px;
7569
7570 .widefat {
7571 .export-data {
7572 float: right;
7573 }
7574
7575 th,
7576 td {
7577 vertical-align: middle;
7578 padding: 7px;
7579 }
7580 }
7581 }
7582
7583 form.report_filters {
7584 p {
7585 vertical-align: middle;
7586 }
7587
7588 label,
7589 input,
7590 div {
7591 vertical-align: middle;
7592 }
7593 }
7594
7595 .chart-tooltip {
7596 position: absolute;
7597 display: none;
7598 line-height: 1;
7599 }
7600
7601 table.bar_chart {
7602 width: 100%;
7603
7604 thead th {
7605 text-align: left;
7606 color: #ccc;
7607 padding: 6px 0;
7608 }
7609
7610 tbody {
7611 th {
7612 padding: 6px 0;
7613 width: 25%;
7614 text-align: left !important;
7615 font-weight: normal !important;
7616 border-bottom: 1px solid #fee;
7617 }
7618
7619 td {
7620 text-align: right;
7621 line-height: 24px;
7622 padding: 6px 6px 6px 0;
7623 border-bottom: 1px solid #fee;
7624
7625 span {
7626 color: #8a4b75;
7627 display: block;
7628 }
7629
7630 span.alt {
7631 color: #47a03e;
7632 margin-top: 6px;
7633 }
7634 }
7635
7636 td.bars {
7637 position: relative;
7638 text-align: left;
7639 padding: 6px 6px 6px 0;
7640 border-bottom: 1px solid #fee;
7641
7642 span,
7643 a {
7644 text-decoration: none;
7645 clear: both;
7646 background: #8a4b75;
7647 float: left;
7648 display: block;
7649 line-height: 24px;
7650 height: 24px;
7651 border-radius: 3px;
7652 }
7653
7654 span.alt {
7655 clear: both;
7656 background: #47a03e;
7657
7658 span {
7659 margin: 0;
7660 color: #c5dec2 !important;
7661 text-shadow: 0 1px 0 #47a03e;
7662 background: transparent;
7663 }
7664 }
7665 }
7666 }
7667 }
7668
7669 .woocommerce-BlankState {
7670 max-width: 764px;
7671 margin: auto;
7672 text-align: center;
7673 padding: $grid-unit-60 0;
7674
7675 .woocommerce-BlankState-message {
7676 color: $gray-900;
7677 margin: 0 auto 12px;
7678 line-height: 1.4;
7679 font-size: 13px;
7680 font-weight: 400;
7681 max-width: 500px;
7682
7683 // Sizes icon-font glyphs supplied by extension blank states to
7684 // match the core mask icons below.
7685 &::before {
7686 display: block;
7687 font-size: 32px;
7688 line-height: 1;
7689 margin: 0 auto 12px;
7690 color: $gray-400;
7691 }
7692 }
7693
7694 .woocommerce-BlankState-buttons {
7695 margin-bottom: 32px;
7696 }
7697 }
7698
7699 .woocommerce-BlankState--orders,
7700 .woocommerce-BlankState--products,
7701 .woocommerce-BlankState--coupons,
7702 .woocommerce-BlankState--api,
7703 .woocommerce-BlankState--webhooks,
7704 .woocommerce-BlankState--stock-notifications {
7705 .woocommerce-BlankState-message::before {
7706 content: "";
7707 display: block;
7708 width: 32px;
7709 height: 32px;
7710 margin: 0 auto 12px;
7711 background-color: $gray-400;
7712 -webkit-mask-image: var(--wc-blank-state-icon);
7713 mask-image: var(--wc-blank-state-icon);
7714 -webkit-mask-position: center;
7715 mask-position: center;
7716 -webkit-mask-repeat: no-repeat;
7717 mask-repeat: no-repeat;
7718 -webkit-mask-size: contain;
7719 mask-size: contain;
7720 }
7721 }
7722
7723 .woocommerce-BlankState--orders {
7724 --wc-blank-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.83 6.342l.602.3.625-.25.443-.176v12.569l-.443-.178-.625-.25-.603.301-1.444.723-2.41-.804-.475-.158-.474.158-2.41.803-1.445-.722-.603-.3-.625.25-.443.177V6.215l.443.178.625.25.603-.301 1.444-.722 2.41.803.475.158.474-.158 2.41-.803 1.445.722zM20 4l-1.5.6-1 .4-2-1-3 1-3-1-2 1-1-.4L5 4v17l1.5-.6 1-.4 2 1 3-1 3 1 2-1 1 .4 1.5.6V4zm-3.5 6.25v-1.5h-8v1.5h8zm0 3v-1.5h-8v1.5h8zm-8 3v-1.5h8v1.5h-8z'%2F%3E%3C%2Fsvg%3E");
7725 }
7726
7727 .woocommerce-BlankState--products {
7728 --wc-blank-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z'%2F%3E%3C%2Fsvg%3E");
7729 }
7730
7731 .woocommerce-BlankState--coupons {
7732 --wc-blank-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'%2F%3E%3C%2Fsvg%3E");
7733 }
7734
7735 .woocommerce-BlankState--api {
7736 --wc-blank-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 13.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3zM9 16a4.002 4.002 0 003.8-2.75H15V16h2.5v-2.75H19v-2.5h-6.2A4.002 4.002 0 005 12a4 4 0 004 4z'%2F%3E%3C%2Fsvg%3E");
7737 }
7738
7739 .woocommerce-BlankState--webhooks {
7740 --wc-blank-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z'%2F%3E%3C%2Fsvg%3E");
7741 }
7742
7743 .woocommerce-BlankState--stock-notifications {
7744 --wc-blank-state-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17 11.5c0 1.353.17 2.368.976 3 .266.209.602.376 1.024.5v1H5v-1c.422-.124.757-.291 1.024-.5.806-.632.976-1.647.976-3V9c0-2.8 2.2-5 5-5s5 2.2 5 5v2.5ZM15.5 9v2.5c0 .93.066 1.98.515 2.897l.053.103H7.932a4.018 4.018 0 0 0 .053-.103c.449-.917.515-1.967.515-2.897V9c0-1.972 1.528-3.5 3.5-3.5s3.5 1.528 3.5 3.5Zm-5.492 9.008c0-.176.023-.346.065-.508h3.854A1.996 1.996 0 0 1 12 20c-1.1 0-1.992-.892-1.992-1.992Z'%2F%3E%3C%2Fsvg%3E");
7745 }
7746
7747 .post-type-product {
7748 #wp-pointer-2 .wp-pointer-arrow {
7749 left: 240px;
7750 }
7751
7752 #wp-pointer-3 .wp-pointer-arrow,
7753 #wp-pointer-4 .wp-pointer-arrow {
7754 left: 46%;
7755 }
7756 }
7757
7758 /**
7759 * Small screen optimisation
7760 */
7761 @media only screen and (max-width: 1280px) {
7762 #order_data {
7763 .order_data_column {
7764 width: 48%;
7765
7766 &:first-child {
7767 width: 100%;
7768 // Reset the base 3% gutter so the full-width first column
7769 // doesn't render at 103% and overflow at narrow viewports.
7770 padding-right: 0;
7771 }
7772 }
7773 }
7774
7775 .woocommerce_options_panel {
7776 .description {
7777 display: block;
7778 clear: both;
7779 margin-left: 0;
7780 }
7781
7782 .short,
7783 input[type="text"]="text""].short,
7784 input[type="email"]="email""].short,
7785 input[type="number"]="number""].short,
7786 input[type="password"]="password""].short,
7787 .dimensions_field .wrap {
7788 width: 80%;
7789 }
7790 }
7791
7792 .woocommerce_variations,
7793 .woocommerce_options_panel {
7794 .downloadable_files {
7795 padding: 0;
7796 clear: both;
7797
7798 label {
7799 position: static;
7800 }
7801
7802 table {
7803 margin: 0 12px 24px;
7804 width: 94%;
7805
7806 .sort {
7807 visibility: hidden;
7808 }
7809 }
7810 }
7811
7812 .woocommerce_variable_attributes .downloadable_files table {
7813 margin: 0 0 1em;
7814 width: 100%;
7815 }
7816 }
7817 }
7818
7819 /**
7820 * Optimisation for screens 900px and smaller
7821 */
7822 @media only screen and (max-width: 900px) {
7823 #woocommerce-coupon-data ul.coupon_data_tabs,
7824 #woocommerce-product-data ul.product_data_tabs,
7825 #woocommerce-product-data .wc-tabs-back {
7826 width: 10%;
7827 }
7828
7829 #woocommerce-coupon-data .wc-metaboxes-wrapper,
7830 #woocommerce-coupon-data .woocommerce_options_panel,
7831 #woocommerce-product-data .wc-metaboxes-wrapper,
7832 #woocommerce-product-data .woocommerce_options_panel {
7833 width: 90%;
7834 }
7835
7836 #woocommerce-coupon-data ul.coupon_data_tabs li a,
7837 #woocommerce-product-data ul.product_data_tabs li a {
7838 position: relative;
7839 text-indent: -999px;
7840 padding: 10px;
7841
7842 &::before {
7843 position: absolute;
7844 top: 0;
7845 right: 0;
7846 bottom: 0;
7847 left: 0;
7848 text-indent: 0;
7849 text-align: center;
7850 line-height: 40px;
7851 width: 100%;
7852 height: 40px;
7853 }
7854 }
7855 }
7856
7857 /**
7858 * Optimisation for screens 782px and smaller
7859 */
7860 @media only screen and (max-width: 782px) {
7861 #wp-excerpt-media-buttons a {
7862 font-size: 16px;
7863 line-height: 37px;
7864 height: 39px;
7865 padding: 0 20px 0 15px;
7866 }
7867
7868 #wp-excerpt-editor-tools {
7869 padding-top: 20px;
7870 padding-right: 15px;
7871 overflow: hidden;
7872 margin-bottom: -1px;
7873 }
7874
7875 #woocommerce-product-data .checkbox {
7876 width: 25px;
7877 }
7878
7879 .variations-pagenav {
7880 float: none;
7881 text-align: center;
7882 font-size: 18px;
7883
7884 .displaying-num {
7885 font-size: 16px;
7886 }
7887
7888 a {
7889 padding: 8px 20px 11px;
7890 font-size: 18px;
7891 }
7892
7893 select {
7894 padding: 0 20px;
7895 }
7896 }
7897
7898 .variations-defaults {
7899 float: none;
7900 text-align: center;
7901 margin-top: 10px;
7902 }
7903
7904 .post-type-product {
7905 .wp-list-table {
7906 .column-thumb {
7907 display: none;
7908 text-align: left;
7909 padding-bottom: 0;
7910
7911 &::before {
7912 display: none !important;
7913 }
7914
7915 img {
7916 max-width: 32px;
7917 }
7918 }
7919
7920 .is-expanded td:not(.hidden) {
7921 overflow: visible;
7922 }
7923
7924 .is-expanded .toggle-row {
7925 top: -28px;
7926 }
7927 }
7928 }
7929
7930 .post-type-shop_order {
7931 .wp-list-table {
7932 .column-customer_message,
7933 .column-order_notes {
7934 text-align: inherit;
7935 }
7936
7937 .column-order_notes .note-on {
7938 font-size: 1.3em;
7939 margin: 0;
7940 }
7941
7942 .is-expanded td:not(.hidden) {
7943 overflow: visible;
7944 }
7945 }
7946 }
7947 }
7948
7949 @media only screen and (max-width: 500px) {
7950 .woocommerce_options_panel label,
7951 .woocommerce_options_panel legend {
7952 float: none;
7953 width: auto;
7954 display: block;
7955 margin: 0;
7956 }
7957
7958 .woocommerce_options_panel fieldset.form-field,
7959 .woocommerce_options_panel p.form-field {
7960 padding: 5px 20px !important;
7961 }
7962
7963 .addons-wcs-banner-block {
7964 flex-direction: column;
7965 }
7966
7967 .wc-addons-wrap {
7968 .addons-wcs-banner-block {
7969 padding: 40px;
7970 }
7971
7972 .addons-wcs-banner-block-image {
7973 padding: 1em;
7974 text-align: center;
7975 width: 100%;
7976 padding: 2em 0;
7977 margin: 0;
7978
7979 .addons-img {
7980 margin: 0;
7981 }
7982 }
7983 }
7984 }
7985
7986 /**
7987 * Backbone modal dialog
7988 */
7989 .wc-backbone-modal {
7990 * {
7991 box-sizing: border-box;
7992 }
7993
7994 .wc-backbone-modal-content {
7995 border-radius: var(--wc-card-border-radius, 8px);
7996 position: fixed;
7997 background: #fff;
7998 z-index: 100000;
7999 left: 50%;
8000 top: 50%;
8001 transform: translate(-50%, -50%);
8002 width: 50%;
8003 max-width: 100%;
8004 min-width: 500px;
8005
8006 article {
8007 overflow: auto;
8008 }
8009 }
8010
8011 &.wc-backbone-modal-add-shipping-method .wc-backbone-modal-content article {
8012 min-height: 180px
8013 }
8014
8015 .select2-container {
8016 width: 100% !important;
8017 }
8018 }
8019
8020 .wc-backbone-modal-backdrop {
8021 position: fixed;
8022 top: 0;
8023 left: 0;
8024 right: 0;
8025 bottom: 0;
8026 min-height: 360px;
8027 background: #000;
8028 opacity: 0.7;
8029 z-index: 99900;
8030 }
8031
8032 .wc-backbone-modal-main {
8033 padding-bottom: calc( 1.5rem + 40px );
8034
8035 header,
8036 article {
8037 display: block;
8038 position: relative;
8039 }
8040
8041 .wc-backbone-modal-header {
8042 height: auto;
8043 padding: 1.25em 2em 1em;
8044
8045 h1 {
8046 margin: 0;
8047 font-size: 18px;
8048 font-weight: 400;
8049 line-height: 1.5em;
8050 }
8051
8052 .modal-close-link {
8053 border-radius: 0 var(--wc-card-border-radius, 8px) 0 0;
8054 cursor: pointer;
8055 color: #777;
8056 height: 54px;
8057 width: 54px;
8058 padding: 0;
8059 position: absolute;
8060 top: 0;
8061 right: 0;
8062 text-align: center;
8063 border: 0;
8064 background-color: transparent;
8065 transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
8066
8067 &::before {
8068 font: normal 22px/50px "dashicons" !important;
8069 color: #666;
8070 display: block;
8071 content: "\f335";
8072 font-weight: 300;
8073 }
8074
8075 &:hover,
8076 &:focus {
8077 background: #ddd;
8078 border-color: #ccc;
8079 color: #000;
8080 }
8081
8082 &:focus {
8083 outline: none;
8084 }
8085 }
8086 }
8087
8088 article {
8089 padding: 1em 2em 1.5em;
8090
8091 p {
8092 margin: 1.5em 0;
8093 }
8094
8095 p:first-child {
8096 margin-top: 0;
8097 }
8098
8099 p:last-child {
8100 margin-bottom: 0;
8101 }
8102
8103 .pagination {
8104 padding: 10px 0 0;
8105 text-align: center;
8106 }
8107
8108 table.widefat {
8109 margin: 0;
8110 width: 100%;
8111 border: 0;
8112 box-shadow: none;
8113
8114 thead th {
8115 padding: 0 1em 1em 1em;
8116 text-align: left;
8117
8118 &:first-child {
8119 padding-left: 0;
8120 }
8121
8122 &:last-child {
8123 padding-right: 0;
8124 text-align: right;
8125 }
8126 }
8127
8128 tbody td,
8129 tbody th {
8130 padding: 1em;
8131 text-align: left;
8132 vertical-align: middle;
8133
8134 &:first-child {
8135 padding-left: 0;
8136 }
8137
8138 &:last-child {
8139 padding-right: 0;
8140 text-align: right;
8141 }
8142
8143 select,
8144 .select2-container {
8145 width: 100%;
8146 }
8147 }
8148 }
8149 }
8150
8151 footer {
8152 position: absolute;
8153 left: 0;
8154 right: 0;
8155 bottom: 0;
8156 z-index: 100;
8157 padding: 1em 2em 1.5em;
8158
8159 .inner {
8160 display: flex;
8161 justify-content: space-between;
8162 }
8163
8164 .wc-backbone-modal-buttons {
8165 display: flex;
8166 align-items: end;
8167 justify-content: end;
8168 gap: 8px;
8169
8170 .button {
8171 margin-bottom: 0;
8172 }
8173 }
8174 }
8175 }
8176
8177 @media screen and (max-width: 782px) {
8178 .wc-backbone-modal .wc-backbone-modal-content {
8179 border-radius: 0;
8180 transform: none;
8181 left: 0;
8182 right: 0;
8183 top: 0;
8184 bottom: 0;
8185 min-width: auto;
8186 width: 100%;
8187 }
8188 .wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link {
8189 border-radius: 0;
8190 }
8191 }
8192
8193 /**
8194 * Select2 elements.
8195 */
8196 .select2-drop,
8197 .select2-dropdown {
8198 z-index: 999999 !important;
8199 }
8200
8201 .select2-results {
8202 line-height: 1.5em;
8203
8204 .select2-results__option,
8205 .select2-results__group {
8206 margin: 0;
8207 padding: 8px;
8208 }
8209
8210 .description {
8211 display: block;
8212 color: #999;
8213 padding-top: 4px;
8214 }
8215 }
8216
8217 .select2-dropdown {
8218 border-color: #ddd;
8219 }
8220
8221 .select2-dropdown--below {
8222 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
8223 }
8224
8225 .select2-dropdown--above {
8226 box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
8227 }
8228
8229 .select2-container {
8230 .select2-selection__rendered.ui-sortable li {
8231 cursor: move;
8232 }
8233
8234 .select2-selection {
8235 border-color: #ddd;
8236 }
8237
8238 .select2-search__field {
8239 min-width: 150px;
8240 }
8241
8242 .select2-selection--single {
8243 height: 40px;
8244 margin-bottom: 0;
8245
8246 .select2-selection__rendered {
8247 line-height: 40px;
8248 padding-right: 24px;
8249 }
8250
8251 .select2-selection__arrow {
8252 right: 3px;
8253 height: 36px;
8254 }
8255 }
8256
8257 .select2-selection--multiple {
8258 min-height: 28px;
8259 border-radius: 0;
8260 line-height: 1.5;
8261
8262 li {
8263 margin: 0;
8264 }
8265
8266 .select2-selection__choice {
8267 padding: 2px 6px;
8268
8269 .description {
8270 display: none;
8271 }
8272 }
8273 }
8274
8275 .select2-selection__clear {
8276 color: #999;
8277 margin-top: -1px;
8278 z-index: 1;
8279 }
8280
8281 .select2-search--inline .select2-search__field {
8282 font-family: inherit;
8283 font-size: inherit;
8284 font-weight: inherit;
8285 padding: 3px 0;
8286 }
8287 }
8288
8289 .woocommerce table.form-table .select2-container {
8290 min-width: 400px !important;
8291 }
8292
8293 .wc-wp-version-gte-53 {
8294 .select2-results {
8295 .select2-results__option,
8296 .select2-results__group {
8297 &:focus {
8298 outline: none;
8299 }
8300 }
8301 }
8302
8303 .select2-dropdown {
8304 border-color: var(--wp-admin-theme-color, #007cba);
8305
8306 &::after {
8307 position: absolute;
8308 left: 0;
8309 right: 0;
8310 height: 1px;
8311 background: #fff;
8312 content: "";
8313 }
8314 }
8315
8316 .select2-dropdown--below {
8317 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba), 0 2px 1px rgba(0, 0, 0, 0.1);
8318
8319 &::after {
8320 top: -1px;
8321 }
8322 }
8323
8324 .select2-dropdown--above {
8325 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba), 0 -2px 1px rgba(0, 0, 0, 0.1);
8326
8327 &::after {
8328 bottom: -1px;
8329 }
8330 }
8331
8332 .select2-container {
8333 @media only screen and (max-width: 782px) {
8334 font-size: 16px;
8335 }
8336
8337 &:focus {
8338 outline: none;
8339 }
8340
8341 .select2-selection--single {
8342 height: 30px;
8343 border-color: #7e8993;
8344 border-radius: $radius-s;
8345
8346 @media only screen and (max-width: 782px) {
8347 height: 40px;
8348 }
8349
8350 &:focus {
8351 outline: none;
8352 }
8353
8354 .select2-selection__rendered {
8355 line-height: 28px;
8356
8357 @media only screen and (max-width: 782px) {
8358 line-height: 38px;
8359 }
8360
8361 &:hover {
8362 color: var(--wp-admin-theme-color, #007cba);
8363 }
8364 }
8365
8366 .select2-selection__arrow {
8367 right: 1px;
8368 height: 28px;
8369 width: 23px;
8370 background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E")
8371 no-repeat right 5px top 55%;
8372 background-size: 16px 16px;
8373
8374 @media only screen and (max-width: 782px) {
8375 height: 38px;
8376 }
8377
8378 b {
8379 display: none;
8380 }
8381 }
8382 }
8383
8384 &.select2-container--focus .select2-selection--single,
8385 &.select2-container--open .select2-selection--single,
8386 &.select2-container--open .select2-selection--multiple {
8387 border-color: var(--wp-admin-theme-color, #007cba);
8388 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba);
8389 }
8390
8391 .select2-selection--multiple {
8392 min-height: 30px;
8393 border-color: #7e8993;
8394 border-radius: $radius-s;
8395 }
8396
8397 .select2-search--inline .select2-search__field {
8398 padding: 0 0 0 3px;
8399 min-height: 28px;
8400 }
8401 }
8402
8403 .woocommerce table.form-table .select2-container {
8404 @media only screen and (max-width: 782px) {
8405 min-width: 100% !important;
8406 }
8407 }
8408 }
8409
8410 .wc-wp-version-gte-55 {
8411 #woocommerce-product-data {
8412 .hndle {
8413 display: block;
8414 line-height: 28px;
8415
8416 .type_box {
8417 display: inline;
8418 line-height: inherit;
8419 vertical-align: baseline;
8420 }
8421 }
8422 }
8423 }
8424
8425 /**
8426 * WP 7.0+ compatibility.
8427 * WP 7.0 increased default form element sizing from 30px to 40px min-height.
8428 */
8429 .wc-wp-version-gte-70 {
8430 // Settings page labels: vertically centre with taller WP 7.0 fields.
8431 .woocommerce table.form-table th {
8432 padding-top: 25px;
8433 }
8434 .woocommerce table.form-table td.forminp-checkbox,
8435 .woocommerce table.form-table td.forminp-radio,
8436 .woocommerce table.form-table td.forminp-textarea {
8437 padding-top: 20px;
8438 }
8439 .woocommerce table.form-table textarea {
8440 padding: 6px 8px;
8441 }
8442
8443 // Adopt WP 7.0 12px horizontal padding on settings inputs.
8444 .woocommerce table.form-table {
8445 input[type="text"]="text""],
8446 input[type="email"]="email""],
8447 input[type="number"]="number""],
8448 input[type="password"]="password""],
8449 input[type="datetime-local"]="datetime-local""],
8450 input[type="date"]="date""],
8451 input[type="time"]="time""],
8452 input[type="week"]="week""],
8453 input[type="url"]="url""],
8454 input[type="tel"]="tel""],
8455 input.regular-input {
8456 padding: 0 12px;
8457 }
8458 }
8459
8460 // Colour picker swatch: match WP 7.0 input height (40px).
8461 .woocommerce table.form-table .colorpickpreview {
8462 height: 40px;
8463 width: 40px;
8464 box-sizing: border-box;
8465 }
8466
8467 // Select2 single: match WP 7.0 native select height (40px).
8468 .select2-container {
8469 .select2-selection--single {
8470 height: 40px; // Match WP 7.0 native select height.
8471
8472 .select2-selection__rendered {
8473 line-height: 38px;
8474 padding: 0 12px; // Match WP 7.0 native input padding so text aligns with sibling inputs.
8475 }
8476
8477 .select2-selection__arrow {
8478 height: 38px;
8479 }
8480 }
8481
8482 .select2-selection--multiple {
8483 min-height: 40px;
8484 border-radius: 2px; // Match WP 7.0 native select border-radius.
8485
8486 .select2-selection__rendered {
8487 display: block;
8488
8489 .select2-search--inline {
8490 margin: 0;
8491 }
8492 }
8493 }
8494
8495 .select2-search--inline .select2-search__field {
8496 min-height: 38px;
8497 }
8498 }
8499
8500 // Order edit address Select2: escape legacy 32px override at admin.scss:2019
8501 // so Country/State selects match the 40px WP 7.0 input height of their sibling
8502 // fields. Selector mirrors the legacy structure exactly (#order_data
8503 // .order_data_column div.edit_address ...) to outrank it on specificity (1,5,1).
8504 #order_data .order_data_column div.edit_address .select2-container .select2-selection--single {
8505 height: 40px;
8506
8507 .select2-selection__rendered {
8508 line-height: 38px;
8509 padding: 0 12px; // Match WP 7.0 native input padding.
8510 }
8511
8512 .select2-selection__arrow {
8513 height: 38px;
8514 }
8515 }
8516
8517 // General column Select2s (Status + Customer): same WP 7.0 sizing as above.
8518 // The direct-child `>` scopes this to General — address fields are nested
8519 // inside .edit_address and covered by the rule above.
8520 #order_data .order_data_column > .form-field-wide .select2-container .select2-selection--single {
8521 height: 40px;
8522
8523 .select2-selection__rendered {
8524 line-height: 38px;
8525 padding: 0 12px;
8526 }
8527
8528 .select2-selection__arrow {
8529 height: 38px;
8530 }
8531 }
8532
8533 // Table action icon buttons: prevent WP 7.0 min-height from stretching them.
8534 .widefat {
8535 .column-wc_actions {
8536 a.button {
8537 min-height: 0 !important;
8538 line-height: 1 !important;
8539
8540 &::after {
8541 line-height: 1.85;
8542 margin-top: 0;
8543 }
8544 }
8545 }
8546 }
8547
8548 // Order preview action buttons.
8549 .wc-order-preview footer {
8550 .button.button-large {
8551 min-height: 32px;
8552 }
8553
8554 // Adopt WP 7.0 secondary outline: theme-color border and 2px radius.
8555 .wc-action-button {
8556 min-height: 32px !important;
8557 border-color: var(--wp-admin-theme-color);
8558
8559 &:first-child {
8560 border-top-left-radius: 2px !important;
8561 border-bottom-left-radius: 2px !important;
8562 }
8563
8564 &:last-child {
8565 border-top-right-radius: 2px !important;
8566 border-bottom-right-radius: 2px !important;
8567 }
8568 }
8569 }
8570
8571
8572
8573 // Order actions reload button: icon line-height must match WP 7.0 button height.
8574 .button.wc-reload {
8575 &::after {
8576 line-height: 40px;
8577 }
8578 }
8579
8580 // Order actions button margin causes overflow with WP 7.0 sizing.
8581 #poststuff #woocommerce-order-actions .inside button {
8582 margin: 0;
8583 }
8584
8585 // Order date hour/minute inputs: WP 7.0 padding pushes stepper controls inward.
8586 #order_data .order_data_column .form-field-wide {
8587 input.hour,
8588 input.minute {
8589 padding-right: 0;
8590 }
8591 }
8592
8593 // Publish box: WP 7.0 flex-row breaks layout when #duplicate-action is present.
8594 // Revert to block + float to stack copy/trash links on the left, button on the right.
8595 #major-publishing-actions {
8596 display: block;
8597 overflow: hidden;
8598
8599 #delete-action {
8600 float: left;
8601 }
8602 }
8603
8604 // Search box select: match WP 7.0 compact search-box sizing (32px).
8605 .search-box select {
8606 min-height: 32px;
8607 line-height: 2.14285714; /* 30px for 32px height */
8608 padding: 0 24px 0 8px;
8609 }
8610
8611 // Short inputs are wider to compensate for WP 7.0 increased padding.
8612 .woocommerce_options_panel {
8613 .short,
8614 input[type="text"]="text""].short,
8615 input[type="number"]="number""].short,
8616 input[type="email"]="email""].short,
8617 input[type="password"]="password""].short {
8618 width: 55%;
8619 }
8620
8621 input[type="number"]="number""] {
8622 padding-right: 0; // Keep stepper controls flush right.
8623 }
8624
8625 .dimensions_field .wrap {
8626 width: 55%; // Wider to compensate for increased padding.
8627 }
8628 }
8629
8630 // Variable product selects need more height to accommodate WP 7.0 padding.
8631 #variable_product_options .form-row select {
8632 height: 50px;
8633 }
8634
8635 // Variable product low stock row: clear preceding floats to prevent vertical stretching.
8636 #variable_product_options .form-row[class*="variable_low_stock_amount"]*="variable_low_stock_amount""] {
8637 clear: both;
8638 }
8639
8640 #poststuff #woocommerce-order-notes .inside button {
8641 margin: 0 1px 1px;
8642 }
8643
8644 @media screen and (max-width: 850px), screen and (min-width: 931px) {
8645 #woocommerce-order-downloads .buttons button {
8646 margin: 0;
8647 }
8648 }
8649
8650 // 782px breakpoint, when the admin sidebar is hidden.
8651 @media screen and (max-width: 782px) {
8652 // Make buttons match the now taller selects.
8653 #poststuff #woocommerce-order-actions .inside button {
8654 height: 42px;
8655
8656 &::after {
8657 line-height: 40px;
8658 }
8659 }
8660
8661 #poststuff #woocommerce-order-notes .inside button {
8662 line-height: 40px;
8663 }
8664 }
8665
8666 // Action button rows wrap/stack at ~1200px viewports.
8667 @media screen and (max-width: 1200px) {
8668 // Order items meta box: reduce button padding to prevent wrapping prematurely.
8669 #woocommerce-order-items .wc-order-data-row {
8670 .button {
8671 padding-left: 8px;
8672 padding-right: 8px;
8673 }
8674 }
8675
8676 // Refund action buttons: switch to flex layout so long labels wrap gracefully.
8677 #woocommerce-order-items .refund-actions {
8678 display: flex;
8679 flex-wrap: wrap;
8680 gap: 4px;
8681 align-items: center;
8682
8683 .button,
8684 .cancel-action {
8685 float: none;
8686 }
8687
8688 .button {
8689 margin: 0;
8690 font-size: 12px;
8691 }
8692
8693 .cancel-action {
8694 margin-right: auto;
8695 order: -1;
8696 }
8697
8698 .clear {
8699 display: none;
8700 }
8701 }
8702 }
8703
8704 // Current page in pagination gets smaller than surrounding buttons at 782px breakpoint.
8705 &.woocommerce_page_wc-customer-stock-notifications .tablenav,
8706 &.woocommerce_page_wc-orders .tablenav,
8707 &.post-type-product .tablenav,
8708 &.post-type-shop_order .tablenav {
8709 @media screen and (max-width: 782px) {
8710 #current-page-selector {
8711 height: 44px;
8712 }
8713 }
8714 }
8715
8716 // .woocommerce-embed-page sets notice padding to 1px 12px, which is too small for WP 7.0's dismiss button positioning.
8717 // Restore WP 7.0's padding so the dismiss button aligns correctly.
8718 &.woocommerce-embed-page .notice {
8719 padding: 8px 12px;
8720 }
8721
8722 // WP 7.0 sets display:flex, width:24px, height:24px on .notice-dismiss.
8723 // Reset these so the floated .woocommerce-message-close layout still works.
8724 .woocommerce-message a.woocommerce-message-close {
8725 display: inline;
8726 width: auto;
8727 height: auto;
8728 color: #1e1e1e;
8729 }
8730
8731 // Align editor meta box border-radius with WP 7.0's dashboard widgets (8px).
8732 // Product, order (CPT + HPOS), and coupon editor screens.
8733 //
8734 // BRIDGE: WP 7.0 rounded dashboard widgets but left editor .postbox square,
8735 // creating an inconsistency (dashboard widgets vs. Posts/Pages/Media/Woo
8736 // editors all use the same .postbox class). We're applying the radius
8737 // ourselves, scoped to Woo editor screens, as a bridge until Core unifies
8738 // this.
8739 //
8740 // TODO: Remove these rules when Core rounds editor .postbox containers.
8741 // Upstream proposal: https://core.trac.wordpress.org/ticket/65142
8742 &.post-type-product,
8743 &.post-type-shop_order,
8744 &.post-type-shop_coupon,
8745 &.woocommerce_page_wc-orders {
8746 .postbox,
8747 #postdivrich {
8748 border-radius: var(--wc-card-border-radius, 8px);
8749 overflow: hidden; // Clip internal elements (tab sidebar, action bars) to rounded corners.
8750 }
8751
8752 // Inner collapsible panels (attributes, variations) should stay square.
8753 .wc-metabox.postbox {
8754 border-radius: 0;
8755 overflow: visible;
8756 }
8757 }
8758
8759 // Align the product description editor with the meta boxes below it.
8760 // #normal-sortables adds 4px of padding around postboxes, which #post-body-content
8761 // doesn't, so the description editor ends up 8px wider than neighbouring postboxes
8762 // on WP 7.0 (where the radius makes the misalignment visible).
8763 &.post-type-product #postdivrich.woocommerce-product-description {
8764 margin-left: 4px;
8765 margin-right: 4px;
8766 }
8767
8768 &.post-type-product #submitdiv {
8769 --wc-product-publish-spacing-1: var(--wp-admin-grid-unit-05, 4px);
8770 --wc-product-publish-spacing-2: var(--wp-admin-grid-unit-10, 8px);
8771 --wc-product-publish-icon-size: 20px;
8772 --wc-product-publish-row-horizontal-padding: 10px;
8773 --wc-product-publish-summary-row-offset: calc(
8774 var(--wc-product-publish-icon-size) +
8775 6px
8776 );
8777 --wc-product-publish-panel-offset: calc(
8778 var(--wc-product-publish-icon-size) +
8779 5px
8780 );
8781
8782 .misc-pub-catalog-visibility {
8783 padding-left: calc(
8784 var(--wc-product-publish-row-horizontal-padding) +
8785 var(--wc-product-publish-summary-row-offset)
8786 );
8787 position: relative;
8788 }
8789
8790 .misc-pub-catalog-visibility::before {
8791 color: currentColor;
8792 content: "\f180";
8793 content: "\f180" / "";
8794 display: inline-block;
8795 font: normal 20px/1 dashicons;
8796 left: calc(var(--wc-product-publish-row-horizontal-padding) - 1px);
8797 position: absolute;
8798 speak: never;
8799 top: calc(var(--wc-product-publish-spacing-2) - 2px);
8800 vertical-align: top;
8801 width: var(--wc-product-publish-icon-size);
8802 }
8803
8804 #catalog-visibility-select {
8805 margin-left: calc(-1 * var(--wc-product-publish-panel-offset));
8806 width: calc(100% + var(--wc-product-publish-panel-offset));
8807 }
8808
8809 #catalog-visibility-select > p:first-of-type {
8810 color: $wp-admin-icon-gray;
8811 margin: var(--wc-product-publish-spacing-1) 0
8812 var(--wc-product-publish-spacing-2);
8813 }
8814
8815 #catalog-visibility-select input[type="radio"]="radio""],
8816 #catalog-visibility-select input[type="checkbox"]="checkbox""] {
8817 margin: 0 var(--wc-product-publish-spacing-1)
8818 var(--wc-product-publish-spacing-1) 0;
8819 vertical-align: text-top;
8820 }
8821
8822 #catalog-visibility-select #_featured,
8823 #catalog-visibility-select label[for="_featured"]="_featured""] {
8824 position: relative;
8825 top: calc(
8826 var(--wc-product-publish-spacing-2) -
8827 5px
8828 );
8829 }
8830
8831 #catalog-visibility-select label.selectit,
8832 #catalog-visibility-select label[for="_featured"]="_featured""] {
8833 display: inline-block;
8834 line-height: 1.5;
8835 max-width: calc(100% - 28px);
8836 }
8837
8838 #catalog-visibility-select > p:last-child {
8839 align-items: center;
8840 display: flex;
8841 gap: var(--wc-product-publish-spacing-2);
8842 margin: var(--wc-product-publish-spacing-2) 0 0;
8843 }
8844
8845 @media screen and (max-width: 782px) {
8846 .misc-pub-catalog-visibility::before {
8847 top: calc(var(--wc-product-publish-spacing-2) + 3px);
8848 }
8849
8850 #catalog-visibility-select input[type="radio"]="radio""],
8851 #catalog-visibility-select input[type="checkbox"]="checkbox""] {
8852 margin: calc(-1 * var(--wc-product-publish-spacing-1))
8853 var(--wc-product-publish-spacing-1) 0 0;
8854 vertical-align: middle;
8855 }
8856
8857 #catalog-visibility-select label.selectit,
8858 #catalog-visibility-select label[for="_featured"]="_featured""] {
8859 display: inline;
8860 line-height: 280%;
8861 }
8862
8863 #catalog-visibility-select > p:last-child {
8864 display: block;
8865 }
8866
8867 #catalog-visibility-select #_featured,
8868 #catalog-visibility-select label[for="_featured"]="_featured""] {
8869 top: 0;
8870 }
8871 }
8872 }
8873
8874 // Shipping zone name input: ID selector in the base rule outranks the form-table override above.
8875 .wc-shipping-zone-settings #zone_name {
8876 padding: 0 12px;
8877 }
8878
8879 // Zone regions TreeSelectControl: match WP 7.0 native select border-radius.
8880 #wc-shipping-zone-region-picker-root .woocommerce-tree-select-control .components-base-control {
8881 border-radius: 2px;
8882 }
8883
8884 // Product / Coupon Data panel labels: vertically centre with 40px inputs.
8885 // Skip checkbox and radio rows — their controls are ~16px, so the taller
8886 // line-height pushes the label below them instead of aligning with it.
8887 .woocommerce_options_panel .form-field:not(:has(input[type="checkbox"], input[type="radio"])) label,
8888 .woocommerce_options_panel .form-field:not(:has(input[type="checkbox"], input[type="radio"])) legend {
8889 line-height: 40px;
8890 }
8891
8892 // Help-tip icon: vertical-align middle aligns to text baseline, not line-box middle,
8893 // so it lands near the top of the 40px row. Push down to visual centre — but
8894 // skip checkbox/radio rows, whose inputs are still ~16px and don't need the offset.
8895 .woocommerce_options_panel .form-field:not(:has(input[type="checkbox"], input[type="radio"])) .woocommerce-help-tip {
8896 margin-top: 12px;
8897 }
8898
8899 // Checkbox/radio rows: small nudge so the help-tip visually centres with the control.
8900 .woocommerce_options_panel .form-field:has(input[type="checkbox"], input[type="radio"]) .woocommerce-help-tip {
8901 margin-bottom: 3px;
8902 }
8903 }
8904
8905 /**
8906 * Select2 colors for built-in admin color themes.
8907 */
8908 .wp-admin {
8909 &.wc-wp-version-gte-53 {
8910 .select2-dropdown {
8911 border-color: var(--wp-admin-theme-color, #007cba);
8912 }
8913
8914 .select2-dropdown--below {
8915 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba), 0 2px 1px rgba(0, 0, 0, 0.1);
8916 }
8917
8918 .select2-dropdown--above {
8919 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba), 0 -2px 1px rgba(0, 0, 0, 0.1);
8920 }
8921
8922 .select2-selection--single .select2-selection__rendered:hover {
8923 color: var(--wp-admin-theme-color, #007cba);
8924 }
8925
8926 .select2-container.select2-container--focus .select2-selection--single,
8927 .select2-container.select2-container--open .select2-selection--single,
8928 .select2-container.select2-container--open
8929 .select2-selection--single,
8930 .select2-container.select2-container--open
8931 .select2-selection--multiple {
8932 border-color: var(--wp-admin-theme-color, #007cba);
8933 box-shadow: 0 0 0 1px var(--wp-admin-theme-color, #007cba);
8934 }
8935
8936 .select2-container--default
8937 .select2-results__option--highlighted[aria-selected]],
8938 .select2-container--default
8939 .select2-results__option--highlighted[data-selected]] {
8940 background-color: var(--wp-admin-theme-color, #007cba);
8941 }
8942 }
8943 }
8944
8945 .woocommerce_page_wc-customer-stock-notifications .tablenav,
8946 .woocommerce_page_wc-orders .tablenav,
8947 .post-type-product .tablenav,
8948 .post-type-shop_order .tablenav {
8949 .actions {
8950 overflow: visible;
8951 }
8952
8953 select,
8954 input {
8955 height: 32px;
8956 }
8957
8958 .select2-container {
8959 float: left;
8960 width: 240px !important;
8961 font-size: 14px;
8962 vertical-align: middle;
8963 margin: 1px 6px 4px 1px;
8964 }
8965 }
8966
8967 // Tablenav: WP 7.0 tablenav uses compact 32px sizing for native selects.
8968 // Match Select2 to 32px here (not the global 40px).
8969 .wc-wp-version-gte-70 .tablenav {
8970 .select2-container {
8971 margin-top: 0; // Align with other tablenav elements.
8972 }
8973
8974 .select2-container .select2-selection--single {
8975 height: 32px; // WP 7.0 tablenav uses compact 32px, not 40px.
8976
8977 .select2-selection__rendered {
8978 line-height: 30px;
8979 }
8980
8981 .select2-selection__arrow {
8982 height: 30px;
8983 }
8984 }
8985 }
8986
8987 .woocommerce-progress-form-wrapper,
8988 .woocommerce-exporter-wrapper,
8989 .woocommerce-importer-wrapper {
8990 text-align: center;
8991 max-width: 710px;
8992 margin: 40px auto;
8993
8994 .error {
8995 text-align: left;
8996 }
8997
8998 .wc-progress-steps {
8999 padding: 0 0 24px;
9000 margin: 0;
9001 list-style: none outside;
9002 overflow: hidden;
9003 color: #ccc;
9004 width: 100%;
9005 display: -webkit-inline-flex;
9006 display: -ms-inline-flexbox;
9007 display: inline-flex;
9008
9009 li {
9010 width: 25%;
9011 float: left;
9012 padding: 0 0 0.8em;
9013 margin: 0;
9014 text-align: center;
9015 position: relative;
9016 border-bottom: 4px solid #ccc;
9017 line-height: 1.4em;
9018 }
9019
9020 li::before {
9021 content: "";
9022 border: 4px solid #ccc;
9023 border-radius: 100%;
9024 width: 4px;
9025 height: 4px;
9026 position: absolute;
9027 bottom: 0;
9028 left: 50%;
9029 margin-left: -6px;
9030 margin-bottom: -8px;
9031 background: #fff;
9032 }
9033
9034 li.active {
9035 border-color: var(--wp-admin-theme-color, $woocommerce);
9036 color: var(--wp-admin-theme-color, $woocommerce);
9037
9038 &::before {
9039 border-color: var(--wp-admin-theme-color, $woocommerce);
9040 }
9041 }
9042
9043 li.done {
9044 border-color: var(--wp-admin-theme-color, $woocommerce);
9045 color: var(--wp-admin-theme-color, $woocommerce);
9046
9047 &::before {
9048 border-color: var(--wp-admin-theme-color, $woocommerce);
9049 background: var(--wp-admin-theme-color, $woocommerce);
9050 }
9051 }
9052 }
9053
9054 .button {
9055 font-size: 1.25em;
9056 padding: 0.5em 1em !important;
9057 line-height: 1.5em !important;
9058 border-radius: 4px;
9059 }
9060
9061 .error .button {
9062 font-size: 1em;
9063 }
9064
9065 .wc-actions {
9066 overflow: hidden;
9067 border-top: 1px solid #eee;
9068 margin: 0;
9069 padding: 23px 24px 24px;
9070 line-height: 3em;
9071
9072 .button {
9073 float: right;
9074 }
9075
9076 .woocommerce-importer-toggle-advanced-options {
9077 color: #999;
9078 }
9079 }
9080
9081 .woocommerce-exporter,
9082 .woocommerce-importer,
9083 .wc-progress-form-content {
9084 background: #fff;
9085 overflow: hidden;
9086 padding: 0;
9087 margin: 0 0 16px;
9088 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
9089 color: #555;
9090 text-align: left;
9091
9092 header {
9093 border-bottom: 1px solid #eee;
9094 margin: 0;
9095 padding: 24px 24px 0;
9096 }
9097
9098 section {
9099 padding: 24px 24px 0;
9100 }
9101
9102 h2 {
9103 margin: 0 0 24px;
9104 color: #555;
9105 font-size: 24px;
9106 font-weight: normal;
9107 line-height: 1em;
9108 }
9109
9110 p {
9111 font-size: 1em;
9112 line-height: 1.75em;
9113 font-size: 16px;
9114 color: #555;
9115 margin: 0 0 24px;
9116 }
9117
9118 .form-row {
9119 margin-top: 24px;
9120 }
9121
9122 .spinner {
9123 display: none;
9124 }
9125
9126 .woocommerce-importer-options th,
9127 .woocommerce-importer-options td,
9128 .woocommerce-exporter-options th,
9129 .woocommerce-exporter-options td {
9130 vertical-align: top;
9131 line-height: 1.75em;
9132 padding: 0 0 24px 0;
9133
9134 label {
9135 color: #555;
9136 font-weight: normal;
9137 }
9138
9139 input[type="checkbox"]="checkbox""] {
9140 margin: 0 4px 0 0;
9141 padding: 7px;
9142 }
9143
9144 input[type="text"]="text""],
9145 input[type="number"]="number""] {
9146 padding: 7px;
9147 height: auto;
9148 margin: 0;
9149 }
9150
9151 .woocommerce-importer-file-url-field-wrapper {
9152 border: 1px solid #ddd;
9153 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
9154 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
9155 background-color: #fff;
9156 color: #32373c;
9157 outline: 0;
9158 line-height: 1;
9159 display: block;
9160
9161 code {
9162 background: none;
9163 font-size: smaller;
9164 padding: 0;
9165 margin: 0;
9166 color: #999;
9167 padding: 7px 0 0 7px;
9168 display: inline-block;
9169 }
9170
9171 input {
9172 font-family: Consolas, Monaco, monospace;
9173 border: 0;
9174 margin: 0;
9175 outline: 0;
9176 box-shadow: none;
9177 display: inline-block;
9178 min-width: 100%;
9179 }
9180 }
9181 }
9182
9183 .woocommerce-exporter-options th,
9184 .woocommerce-importer-options th {
9185 width: 35%;
9186 padding-right: 20px;
9187 }
9188
9189 progress {
9190 width: 100%;
9191 height: 42px;
9192 margin: 0 auto 24px;
9193 display: block;
9194 -webkit-appearance: none;
9195 border: none;
9196 display: none;
9197 background: #f5f5f5;
9198 border: 2px solid #eee;
9199 border-radius: 4px;
9200 padding: 0;
9201 box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.2);
9202 }
9203
9204 progress::-webkit-progress-bar {
9205 background: transparent none;
9206 border: 0;
9207 border-radius: 4px;
9208 padding: 0;
9209 box-shadow: none;
9210 }
9211
9212 progress::-webkit-progress-value {
9213 border-radius: 3px;
9214 box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
9215 background: var(--wp-admin-theme-color, $woocommerce);
9216 transition: width 1s ease;
9217 }
9218
9219 progress::-moz-progress-bar {
9220 border-radius: 3px;
9221 box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
9222 background: var(--wp-admin-theme-color, $woocommerce);
9223 transition: width 1s ease;
9224 }
9225
9226 progress::-ms-fill {
9227 border-radius: 3px;
9228 box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
9229 background: var(--wp-admin-theme-color, $woocommerce);
9230 transition: width 1s ease;
9231 }
9232
9233 &.woocommerce-exporter__exporting,
9234 &.woocommerce-importer__importing {
9235 .spinner {
9236 display: block;
9237 }
9238
9239 progress {
9240 display: block;
9241 }
9242
9243 .wc-actions,
9244 .woocommerce-exporter-options {
9245 display: none;
9246 }
9247 }
9248
9249 .wc-importer-mapping-table-wrapper,
9250 .wc-importer-error-log {
9251 padding: 0;
9252 }
9253
9254 .wc-importer-mapping-table,
9255 .wc-importer-error-log-table {
9256 margin: 0;
9257 border: 0;
9258 box-shadow: none;
9259 width: 100%;
9260 table-layout: fixed;
9261
9262 td,
9263 th {
9264 border: 0;
9265 padding: 12px;
9266 vertical-align: middle;
9267 word-wrap: break-word;
9268
9269 select {
9270 width: 100%;
9271 }
9272 }
9273
9274 tbody tr:nth-child(odd) td,
9275 tbody tr:nth-child(odd) th {
9276 background: #fbfbfb;
9277 }
9278
9279 th {
9280 font-weight: bold;
9281 }
9282
9283 td:first-child,
9284 th:first-child {
9285 padding-left: 24px;
9286 }
9287
9288 td:last-child,
9289 th:last-child {
9290 padding-right: 24px;
9291 }
9292
9293 .wc-importer-mapping-table-name {
9294 width: 50%;
9295
9296 .description {
9297 color: #999;
9298 margin-top: 4px;
9299 display: block;
9300
9301 code {
9302 background: none;
9303 padding: 0;
9304 white-space: pre-line;
9305 /* CSS 3 (and 2.1 as well, actually) */
9306 word-wrap: break-word;
9307 /* IE */
9308 word-break: break-all;
9309 }
9310 }
9311 }
9312 }
9313
9314 .woocommerce-importer-done {
9315 text-align: center;
9316 padding: 48px 24px;
9317 font-size: 1.5em;
9318 line-height: 1.75em;
9319
9320 &::before {
9321 @include icon("\e015");
9322 color: var(--wp-admin-theme-color, $woocommerce);
9323 position: static;
9324 font-size: 100px;
9325 display: block;
9326 float: none;
9327 margin: 0 0 24px;
9328 }
9329 }
9330 }
9331 }
9332
9333 .wc-pointer {
9334 .wc-pointer-buttons {
9335 .close {
9336 float: left;
9337 margin: 6px 0 0 15px;
9338 }
9339 }
9340 }
9341
9342 .wc-quick-edit-warning {
9343 color: darkred;
9344 font-weight: bold;
9345 }
9346
9347 .wc-addons__empty {
9348 margin: 48px auto;
9349 max-width: 640px;
9350
9351 h2 {
9352 font-size: 20px;
9353 font-weight: 400;
9354 line-height: 1.2;
9355 }
9356
9357 p {
9358 font-size: 16px;
9359 line-height: 1.5;
9360 }
9361 }
9362
9363 @media screen and (min-width: 600px) {
9364 .wc-addons-wrap {
9365 .marketplace-header {
9366 padding-left: 84px;
9367 }
9368
9369 .storefront {
9370 h2 {
9371 margin-top: 0;
9372 }
9373
9374 img {
9375 float: left;
9376 margin: 0 16px 0 auto;
9377 width: 278px;
9378 }
9379 }
9380 }
9381
9382 .marketplace-header__tab {
9383 flex: none;
9384 }
9385 }
9386
9387 @media screen and (min-width: 961px) {
9388 .marketplace-header__tabs {
9389 margin-left: 84px;
9390 }
9391 }
9392
9393 @media screen and (min-width: 1024px) {
9394 .current-section-name {
9395 display: none;
9396 }
9397
9398 .wc-addons-wrap {
9399 .current-section-dropdown__title {
9400 display: block;
9401 font-size: 20px;
9402 font-weight: 400;
9403 line-height: 24px;
9404 margin: 0 0 16px;
9405 }
9406
9407 .current-section-dropdown {
9408 background: none;
9409 border: none;
9410 margin-bottom: 32px;
9411 width: 100%;
9412
9413 ul {
9414 background: none;
9415 border: none;
9416 display: flex;
9417 flex-direction: row;
9418 flex-wrap: wrap;
9419 justify-content: flex-start;
9420 margin-top: -12px;
9421 padding: 0;
9422 position: static;
9423
9424 li {
9425 background: #fff;
9426 border: 1px solid #ccc;
9427 border-radius: 32px;
9428 font-size: 14px;
9429 line-height: 20px;
9430 margin: 12px 12px 0 0;
9431
9432 &.current {
9433 background: var(--wp-admin-theme-color, #007cba);
9434 border: 1px solid var(--wp-admin-theme-color, #007cba);
9435
9436 a {
9437 color: #fff;
9438 }
9439
9440 a::after {
9441 background: none;
9442 }
9443 }
9444 }
9445
9446 a,
9447 a:visited,
9448 a:hover,
9449 a:active {
9450 color: $gray-900;
9451 padding: 10px 16px !important;
9452 }
9453 }
9454
9455 li:last-child {
9456 a::after {
9457 display: none;
9458 }
9459 }
9460 }
9461 }
9462 }
9463
9464 /**
9465 * Product Reviews
9466 */
9467 .wp-list-table.product-reviews {
9468 .column-author {
9469 width: 20%;
9470 }
9471
9472 th.column-type {
9473 width: 10%;
9474 }
9475
9476 @media screen and (max-width: 782px) {
9477 th.column-type,
9478 td.column-type,
9479 th.column-author,
9480 td.column-author,
9481 th.column-rating,
9482 td.column-rating {
9483 display: none !important;
9484 }
9485
9486 .toggle-row {
9487 top: 10px;
9488 }
9489 }
9490 }
9491
9492 #wp-content-media-buttons {
9493 display: flex;
9494 align-items: center;
9495
9496 > .woocommerce-help-tip {
9497 margin: 0 5px 4px 5px;
9498 }
9499 }
9500
9501 #postexcerpt {
9502 > .postbox-header {
9503 > .hndle {
9504 justify-content: flex-start;
9505
9506 > .woocommerce-help-tip {
9507 margin: 0 10px;
9508 }
9509 }
9510 }
9511 }
9512
9513 #postdivrich.woocommerce-product-description {
9514 margin-top: 20px;
9515 margin-bottom: 0px;
9516
9517 .wp-editor-tools {
9518 background: none;
9519 padding-top: 0px;
9520 width: 100%;
9521 }
9522 .wp-editor-wrap {
9523 margin: 6px 12px 0;
9524 }
9525 #post-status-info {
9526 margin: 0px 12px 12px;
9527 width: calc(100% - 24px);
9528 }
9529 }
9530
9531 .order-attribution-metabox {
9532 h4 {
9533 margin-bottom: .1em;
9534 }
9535
9536 .woocommerce-order-attribution-origin-container {
9537 display: flex;
9538 justify-content: space-between;
9539 align-items: start;
9540 }
9541
9542 .order-attribution-origin {
9543 flex-grow: 1;
9544 }
9545
9546 .woocommerce-order-attribution-details-toggle {
9547 white-space: nowrap;
9548 }
9549
9550 .woocommerce-order-attribution-details-container {
9551 display: none;
9552 }
9553
9554 .woocommerce-order-attribution-details-toggle {
9555 display: block;
9556 text-decoration: none;
9557 vertical-align: middle;
9558 margin-top: -7px;
9559 position: relative;
9560 top: 5px;
9561
9562 .toggle-text {
9563 text-decoration: underline;
9564
9565 &.hide {
9566 display: none;
9567 }
9568 }
9569
9570 .toggle-indicator {
9571 font-family: dashicons;
9572 font-size: 1.2em;
9573 line-height: 1.6;
9574 vertical-align: middle;
9575 }
9576
9577 &[aria-expanded="false"]="false""] {
9578 .toggle-indicator::before {
9579 content: "\f140";
9580 }
9581 }
9582
9583 &[aria-expanded="true"]="true""] {
9584 .toggle-indicator::before {
9585 content: "\f142";
9586 }
9587 }
9588 }
9589 }
9590
9591 html:has(#status-table-templates){
9592 scroll-padding-top: 80px;
9593 }
9594
9595 // Fix for Safari bug: https://bugs.webkit.org/show_bug.cgi?id=280063.
9596 .woocommerce-admin-page #postbox-container-2 {
9597 clear: left;
9598 }
9599
9600 body.woocommerce_page_wc-settings {
9601 .woocommerce-layout {
9602 .woocommerce-store-alerts {
9603 margin-top: 5px;
9604 }
9605 }
9606
9607 #wpcontent {
9608 background: #f0f0f1;
9609 }
9610 #wpbody-content {
9611 background: #fff;
9612 padding-bottom: 0px;
9613 }
9614
9615 // Floating header on Settings sits directly above the tab nav with no
9616 // content between — treat both strips as one continuous title region
9617 // by dropping the header's bottom border. The tab strip keeps its own
9618 // bottom border (separating tabs from content); we just colour it to
9619 // match the rest of the chrome.
9620 .woocommerce-layout__header {
9621 border-bottom: 0;
9622 }
9623
9624 p.submit {
9625 margin-bottom: 0;
9626 }
9627
9628 .wc-settings-marketplace-link {
9629 padding-top: 16px;
9630 border-top: 1px solid #c3c4c7;
9631 color: #50575e;
9632
9633 a img {
9634 margin-right: 4px;
9635 vertical-align: text-bottom;
9636 }
9637 }
9638
9639 .woocommerce-layout__primary {
9640 @media screen and (max-width: 782px) {
9641 padding-top: 0 !important;
9642 }
9643 }
9644
9645 // Heading typography (font-size, font-weight, colour) AND left
9646 // padding now all live in the shared
9647 // `client/admin/client/header/style.scss` rule (15px / 500 /
9648 // $gray-900 / $gutter-large — aligned to Gutenberg's WPDS tokens
9649 // and the unified admin header direction in
9650 // WordPress/gutenberg#76709). Dropped the entire Settings-specific
9651 // override (font-size 16px, font-weight 600, color #070707, padding
9652 // 30px) so Settings renders identically to Home and every other
9653 // floating-header page on every axis.
9654
9655 #wpbody .woocommerce-layout,
9656 .woocommerce-layout__notice-list-hide + .wrap {
9657 padding: 0;
9658 }
9659
9660 #mainform {
9661 nav {
9662 margin: 0 -30px 24px -30px;
9663 }
9664 padding: 0 30px 40px;
9665 background: #f0f0f1;
9666
9667 .subsubsub {
9668 margin-bottom: 0;
9669 li {
9670 color: #2271b1;
9671 &:first-child a{
9672 padding: 0;
9673 }
9674 a {
9675 margin: 0 4px 0 4px;
9676 }
9677 &:first-child {
9678 a {
9679 margin-left: 0;
9680 }
9681 }
9682 &:last-child {
9683 a {
9684 margin-right: 0;
9685 }
9686 }
9687 }
9688 }
9689 }
9690
9691 .wrap {
9692 padding: 0;
9693 }
9694
9695 .nav-tab-wrapper {
9696 display: flex;
9697 flex-wrap: wrap;
9698 list-style: none;
9699 // 24px to match the floating-header title's `$gap-large` (from
9700 // @wordpress/base-styles) so the "Settings" h1 above and the
9701 // "General / Products / ..." tab labels below line up on the
9702 // same left edge. Also matches the future-state design and
9703 // `$grid-unit-30` / `--wp-admin-grid-unit-30` in the admin
9704 // tokens proposal at https://core.trac.wordpress.org/ticket/65085.
9705 // Legacy admin.scss can't import the shared SCSS variables file
9706 // directly, hence the literal.
9707 padding-left: 24px;
9708 padding-right: 24px;
9709 gap: 24px;
9710
9711 /*
9712 * Hides the ::after clearfix from nav-tab-wrapper to avoid the list
9713 * of tasks breaking into two lines in some cases.
9714 * The clearfix is added by WordPress core in
9715 * https://github.com/WordPress/wordpress-develop/blob/512f8052f00932bfab512e40400d80f62c9e6854/src/wp-admin/css/common.css#L2378-L2383
9716 * but it is not needed in our implementation because we use display: flex;
9717 * @see https://github.com/woocommerce/woocommerce/pull/39600
9718 */
9719 &:not(.wp-clearfix)::after {
9720 display: none;
9721 }
9722
9723 a {
9724 float: none;
9725 font-family: $font-sf-pro-display;
9726 margin-left: 0;
9727 border: 0;
9728 background: none;
9729 font-weight: 500;
9730 // 13px to match WP's `$default-font-size` (from
9731 // @wordpress/base-styles) and Gutenberg's
9732 // `--wpds-typography-font-size-md` (13px). Reads as quieter
9733 // chrome below the 15px floating-header h1, restoring the
9734 // chrome → tabs → content hierarchy the previous 14px size
9735 // was already aiming at.
9736 font-size: 13px;
9737 line-height: 20px;
9738 color: #505050;
9739 padding: 0 0 10px 0;
9740 text-decoration: none;
9741 &:focus, &:hover, &:active {
9742 outline: none;
9743 box-shadow: none;
9744 }
9745 }
9746 margin: 0;
9747 // Tab strip inherits the wp-admin body bg so it reads as one
9748 // continuous title region with the floating header above. Bottom
9749 // border colour matches the rest of the wp-admin chrome borders
9750 // ($wp-admin-border in packages/js/internal-build/styles); kept as
9751 // a literal here because legacy admin.scss doesn't import the
9752 // shared variables file.
9753 border-bottom: 1px solid #dcdcde;
9754
9755 .nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
9756 border-bottom: 2px solid var(--wp-admin-theme-color, #3858e9);
9757 color: #070707;
9758 }
9759
9760 .nav-tab:hover,
9761 .nav-tab:focus {
9762 color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
9763 }
9764
9765 @media screen and (max-width: 500px) {
9766 overflow: auto;
9767 flex-wrap: nowrap;
9768 a {
9769 font-size: 16px;
9770 }
9771 }
9772 }
9773
9774 .woocommerce-embedded-layout__primary {
9775 background-color: #f0f0f1;
9776 padding: 0 30px;
9777 .woocommerce-dismissable-list {
9778 margin-bottom: 0;
9779 }
9780 }
9781 }
9782
9783 /**
9784 * WooCommerce > Notifications > Stock notifications > Add/Edit elements.
9785 */
9786 .woocommerce-customer-stock-notifications #poststuff .notification-data {
9787 padding: 34px 32px;
9788
9789 &--create {
9790 .notification-data__product-data {
9791 margin-top: 20px;
9792 }
9793
9794 .or_relation_label {
9795 padding: 14px 0;
9796 display: block;
9797 text-align: center;
9798 color: #777;
9799 width: 80%;
9800 }
9801
9802 .select2-container,
9803 .or_relation_label__input {
9804 width: 80% !important;
9805 }
9806
9807 .notification-data__form-field .notification-data__form-field {
9808 margin-top: 40px;
9809 }
9810 }
9811
9812 &__row {
9813 display: block;
9814 margin-bottom: 2em;
9815
9816 &:last-child {
9817 margin-bottom: 0;
9818 }
9819
9820 &--columns {
9821 display: flex;
9822 flex-wrap: wrap;
9823 justify-content: space-between;
9824
9825 .notification-data__form-field,
9826 .notification-data__meta-column {
9827 width: 50%;
9828 }
9829
9830 .notification-data__meta-column:last-child,
9831 .notification-data__form-field:last-child {
9832 width: 50%;
9833 }
9834 }
9835
9836 @media screen and (max-width: 782px) {
9837 margin-bottom: 0px;
9838
9839 &--columns {
9840
9841 .notification-data__meta-column {
9842 width: 50% !important;
9843 }
9844
9845 .notification-data__form-field {
9846 width: 100% !important;
9847 }
9848 }
9849
9850 .notification-data__form-field {
9851 margin-bottom: 10px;
9852 }
9853 }
9854 }
9855
9856 &__header-column {
9857 width: 70%;
9858 overflow: hidden;
9859 }
9860
9861 &__header {
9862 margin: 0;
9863 font-size: 21px;
9864 font-weight: 300;
9865 line-height: 1.2;
9866 text-shadow: 1px 1px 1px #fff;
9867 padding: 0;
9868
9869 @media screen and (max-width: 782px) {
9870 margin-bottom: 20px;
9871 }
9872 }
9873
9874 &__customer-data {
9875 font-size: 17px;
9876 margin-top: 0;
9877 margin-bottom: 15px;
9878 }
9879
9880 &__form-field {
9881 clear: both;
9882
9883 label,
9884 input:not([type=checkbox]),
9885 select,
9886 textarea {
9887 width: 100%;
9888 }
9889
9890 label {
9891 color: #333;
9892 font-weight: bold;
9893 display: block;
9894 padding: 0 0 15px;
9895
9896 a {
9897 float: right;
9898 margin-left: 10px;
9899 }
9900 }
9901
9902 .form-field__actions {
9903 margin-bottom: 20px;
9904
9905 a {
9906 display: block;
9907 padding: 2px 0;
9908 }
9909 }
9910 }
9911
9912 &__meta {
9913 margin-top: 50px;
9914
9915 &-column :last-child {
9916 margin-bottom: 0;
9917 }
9918 }
9919
9920 &__meta-data {
9921 margin-bottom: 25px;
9922
9923 label {
9924 font-size: 13px;
9925 color: #777;
9926 display: block;
9927 margin-bottom: 13px;
9928 }
9929
9930 span {
9931 display: block;
9932
9933 a {
9934 margin-left: 10px;
9935 }
9936 }
9937 }
9938 }
9939
9940 /**
9941 * Hide screen meta links on Advanced Keys settings page.
9942 */
9943 body.woocommerce_page_wc-settings-advanced-keys,
9944 body.woocommerce_page_wc-settings-advanced-webhooks,
9945 body.woocommerce-admin-page__extensions,
9946 body.woocommerce-admin-launch-your-store,
9947 body.woocommerce-admin-full-screen {
9948 #screen-meta-links {
9949 display:none;
9950 }
9951 }
9952
9953 /**
9954 * Fixes for offline payment methods pages rendered in legacy mode (not Reactified).
9955 */
9956 body.woocommerce-settings-payments-section_legacy {
9957 .woocommerce-layout__header {
9958 border-bottom: 1px solid #ebebeb;
9959 }
9960
9961 #wpbody-content {
9962 background: #f0f0f1;
9963 }
9964 }
9965
9966 .wc-admin-color-swatch {
9967 background-color: #fff;
9968 display: inline-block;
9969 vertical-align: middle;
9970 border: 1px solid #7e8993;
9971 border-radius: 50%;
9972 margin-right: 0.5em;
9973 height: 1em;
9974 width: 1em;
9975 position: relative;
9976 top: -1px;
9977
9978 &.is-empty::before {
9979 content: '';
9980 border-radius: 50%;
9981 position: absolute;
9982 top: 0;
9983 right: 0;
9984 bottom: 0;
9985 left: 0;
9986 background: linear-gradient(to bottom right, transparent 47%, #7e8993 47%, #7e8993 53%, transparent 53%);
9987 }
9988 }
9989
9990 .wc-admin-visual-attribute-term-option {
9991 display: inline-flex;
9992 align-items: center;
9993 gap: 8px;
9994
9995 .wc-admin-color-swatch {
9996 margin-right: 0;
9997 flex-shrink: 0;
9998 height: 16px;
9999 width: 16px;
10000 background-size: cover;
10001 background-position: center;
10002 background-repeat: no-repeat;
10003 }
10004 }
10005
10006 .select2-selection__choice .wc-admin-visual-attribute-term-option {
10007 gap: 6px;
10008 vertical-align: middle;
10009 margin-bottom: 1px;
10010 margin-inline-start: 2px;
10011 }
10012
10013 .select2-results__option .wc-admin-visual-attribute-term-option {
10014 margin-top: 2px;
10015 width: 100%;
10016 }
10017
10018 .wc-admin-visual-attribute-type fieldset {
10019 display: flex;
10020 gap: 1.5em;
10021 }
10022
10023 .wc-admin-visual-attribute-color-picker-trigger,
10024 .wc-admin-visual-attribute-image-picker-trigger {
10025 width: 95%;
10026 display: flex;
10027 align-items: center;
10028 gap: 8px;
10029 padding: 0 12px;
10030 min-height: 40px;
10031 background: #fff;
10032 border: 1px solid #949494;
10033 border-radius: 2px;
10034 text-align: left;
10035 font-size: 13px;
10036 line-height: 1.4;
10037 cursor: pointer;
10038
10039 + .wc-admin-visual-attribute-color-picker-clear,
10040 + .wc-admin-visual-attribute-image-picker-clear {
10041 display: block;
10042 margin: 2px 0 5px;
10043 }
10044
10045 .wc-admin-color-swatch {
10046 margin-right: 0;
10047 }
10048
10049 .wc-admin-image-swatch {
10050 display: inline-flex;
10051 align-items: center;
10052 justify-content: center;
10053 width: 1em;
10054 min-width: 24px;
10055 height: 1em;
10056 min-height: 24px;
10057 flex-shrink: 0;
10058 border: 1px solid #c3c4c7;
10059 border-radius: 2px;
10060 overflow: hidden;
10061 background: #f0f0f1;
10062
10063 &.is-empty {
10064 background: #f0f0f1;
10065 }
10066
10067 img {
10068 display: block;
10069 width: 100%;
10070 height: 100%;
10071 object-fit: cover;
10072 }
10073 }
10074 }
10075