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