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