PluginProbe
PostNL for WooCommerce / 4.4.0
PostNL for WooCommerce v4.4.0
5.9.12 5.9.11 5.9.10 5.9.9 5.9.8 5.9.7 5.9.6 trunk 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.1.4 3.1.5 3.1.6 3.1.7 4.0.0 4.0.1 4.0.2 4.3.2 4.3.3 4.4.0 4.4.1 All 72 releases
woo-postnl / assets / css / wcpn-admin-styles.css

wcpn-admin-styles.css in PostNL for WooCommerce 4.4.0, at assets/css/wcpn-admin-styles.css

428 lines 9.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*
2 * Generates helpers.
3 *
4 * The key of the outer map is the base property.
5 *
6 * alias Will be used in the class instead of the full property if set.
7 * variants Simple values.
8 * directionVariants Values that will be set for left, top, right and bottom.
9 */
10 .wcpn__d--none {
11 display: none !important; }
12
13 .wcpn__d--block {
14 display: block !important; }
15
16 .wcpn__d--inline-block {
17 display: inline-block !important; }
18
19 .wcpn__d--flex {
20 display: -ms-flexbox !important;
21 display: flex !important; }
22
23 .wcpn__m--auto {
24 margin: auto !important; }
25
26 .wcpn__ml--0 {
27 margin-left: 0 !important; }
28
29 .wcpn__ml--1 {
30 margin-left: 0.25em !important; }
31
32 .wcpn__ml--2 {
33 margin-left: 0.5em !important; }
34
35 .wcpn__ml--3 {
36 margin-left: 0.75em !important; }
37
38 .wcpn__mt--0 {
39 margin-top: 0 !important; }
40
41 .wcpn__mt--1 {
42 margin-top: 0.25em !important; }
43
44 .wcpn__mt--2 {
45 margin-top: 0.5em !important; }
46
47 .wcpn__mt--3 {
48 margin-top: 0.75em !important; }
49
50 .wcpn__mr--0 {
51 margin-right: 0 !important; }
52
53 .wcpn__mr--1 {
54 margin-right: 0.25em !important; }
55
56 .wcpn__mr--2 {
57 margin-right: 0.5em !important; }
58
59 .wcpn__mr--3 {
60 margin-right: 0.75em !important; }
61
62 .wcpn__mb--0 {
63 margin-bottom: 0 !important; }
64
65 .wcpn__mb--1 {
66 margin-bottom: 0.25em !important; }
67
68 .wcpn__mb--2 {
69 margin-bottom: 0.5em !important; }
70
71 .wcpn__mb--3 {
72 margin-bottom: 0.75em !important; }
73
74 .wcpn__pl--0 {
75 padding-left: 0 !important; }
76
77 .wcpn__pl--1 {
78 padding-left: 0.25em !important; }
79
80 .wcpn__pl--2 {
81 padding-left: 0.5em !important; }
82
83 .wcpn__pl--3 {
84 padding-left: 0.75em !important; }
85
86 .wcpn__pt--0 {
87 padding-top: 0 !important; }
88
89 .wcpn__pt--1 {
90 padding-top: 0.25em !important; }
91
92 .wcpn__pt--2 {
93 padding-top: 0.5em !important; }
94
95 .wcpn__pt--3 {
96 padding-top: 0.75em !important; }
97
98 .wcpn__pr--0 {
99 padding-right: 0 !important; }
100
101 .wcpn__pr--1 {
102 padding-right: 0.25em !important; }
103
104 .wcpn__pr--2 {
105 padding-right: 0.5em !important; }
106
107 .wcpn__pr--3 {
108 padding-right: 0.75em !important; }
109
110 .wcpn__pb--0 {
111 padding-bottom: 0 !important; }
112
113 .wcpn__pb--1 {
114 padding-bottom: 0.25em !important; }
115
116 .wcpn__pb--2 {
117 padding-bottom: 0.5em !important; }
118
119 .wcpn__pb--3 {
120 padding-bottom: 0.75em !important; }
121
122 .wcpn__ws--nowrap {
123 white-space: nowrap !important; }
124
125 .wcpn__text--left {
126 text-align: left !important; }
127
128 .wcpn__text--top {
129 text-align: top !important; }
130
131 .wcpn__text--right {
132 text-align: right !important; }
133
134 .wcpn__text--bottom {
135 text-align: bottom !important; }
136
137 .widefat .column-wc_actions .wcpn__action.button, .wcpn__action.button {
138 width: auto;
139 border-color: #0f5c47;
140 display: -ms-inline-flexbox;
141 display: inline-flex;
142 padding: 0 .25em !important; }
143 .widefat .column-wc_actions .wcpn__action.button:focus, .wcpn__action.button:focus {
144 border-color: #168869;
145 color: #168869;
146 box-shadow: 0 0 0 1px #168869; }
147 .widefat .column-wc_actions .wcpn__action.button img, .wcpn__action.button img {
148 width: 18px; }
149
150 /*
151 * Shipment overview: Print offset dialog
152 */
153 .wcpn__offset-dialog {
154 position: absolute; }
155 .wcpn__offset-dialog__icon {
156 -ms-flex: 0;
157 flex: 0;
158 height: 40px; }
159 .wcpn__offset-dialog p {
160 -ms-flex: 1;
161 flex: 1;
162 margin: auto; }
163 .wcpn__offset-dialog input {
164 margin-top: 0 !important; }
165
166 /*
167 * Shipment options form styling
168 */
169 .wcpn__shipment-options-dialog {
170 width: 28em; }
171 .wcpn__shipment-options-dialog table {
172 width: 100%; }
173 .wcpn__shipment-options-dialog table,
174 .wcpn__shipment-options-dialog select {
175 font-size: 90%; }
176 .wcpn__shipment-options-dialog select,
177 .wcpn__shipment-options-dialog input {
178 height: auto;
179 padding: 0 8px !important; }
180 .wcpn__shipment-options-dialog select,
181 .wcpn__shipment-options-dialog input,
182 .wcpn__shipment-options-dialog .form-row {
183 margin: 0; }
184 .wcpn__shipment-options-dialog td.wcpn_option_cost {
185 width: 60px;
186 text-align: right;
187 font-weight: bold; }
188 .wcpn__shipment-options-dialog a {
189 color: inherit;
190 text-decoration: none; }
191
192 /*
193 * Shipment summary (overview and single order)
194 */
195 .wcpn__shipment-summary {
196 list-style: none;
197 margin-right: .3em; }
198 .wcpn__shipment-summary .delivery-date,
199 .wcpn__shipment-summary .delivery-options {
200 display: block; }
201 .wcpn__shipment-summary li:before {
202 content: "+";
203 margin-right: 4px; }
204 .wcpn__shipment-summary__list {
205 width: auto; }
206
207 /*
208 * Shipment overview
209 */
210 .wcpn__order__track-trace {
211 word-break: break-all; }
212
213 /*
214 * Shipment overview: Track & Trace column
215 */
216 .wcpn__barcodes {
217 overflow: hidden;
218 text-overflow: ellipsis;
219 white-space: nowrap; }
220
221 .wcpn__box {
222 background-color: white;
223 border: 1px solid #ccc;
224 box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
225 padding: 10px;
226 position: absolute;
227 z-index: 999;
228 border-radius: 3px; }
229
230 /*
231 * Spinner
232 */
233 .wcpn__spinner {
234 display: -ms-inline-flexbox;
235 display: inline-flex;
236 margin: auto; }
237
238 .wcpn__spinner > img {
239 width: 16px;
240 display: none; }
241
242 .wcpn__spinner--loading .wcpn__spinner__loading,
243 .wcpn__spinner--success .wcpn__spinner__success,
244 .wcpn__spinner--failed .wcpn__spinner__failed {
245 margin-left: 4px;
246 display: block !important; }
247
248 .button > .wcpn__spinner {
249 margin-left: 0;
250 transition: all 0.3s ease; }
251
252 .button + .wcpn__spinner, input + .wcpn__spinner {
253 margin-left: 5px;
254 margin-top: 5px; }
255
256 .wcpn__bulk-spinner {
257 margin-top: 6px; }
258
259 .widefat .column-order_actions .column-wc_actions .wcpn__spinner {
260 position: absolute; }
261
262 .wcpn__spinner,
263 .wcpn__shipment-options__save input {
264 vertical-align: middle; }
265
266 .wcpn__encircle {
267 display: inline-block;
268 text-decoration: none;
269 border-radius: 50%;
270 width: 10px;
271 height: 10px;
272 font-size: 10px;
273 line-height: 10px;
274 padding: 2px;
275 border: 1px solid #666;
276 color: #666;
277 text-align: center; }
278
279 /*
280 * Track & Trace status
281 */
282 .wcpn__table--track-trace {
283 width: 100%;
284 margin-top: 10px;
285 margin-bottom: 10px;
286 border-collapse: collapse; }
287
288 .wcpn__table--track-trace th {
289 text-align: left; }
290
291 .wcpn__table--track-trace th,
292 .wcpn__table--track-trace td {
293 vertical-align: top;
294 padding: 5px 2px;
295 border-bottom: 1px solid #ccc; }
296
297 .wcpn__table--track-trace td.wcpn__td--create-label {
298 vertical-align: middle; }
299
300 /*
301 * Bulk export options styling
302 */
303 .wcpn__bulk-options .wcpn_settings-table td {
304 border: none;
305 padding: 0 7px 2px !important;
306 vertical-align: middle !important; }
307
308 .wcpn__bulk-options td.ordercell {
309 width: 60%; }
310
311 .wcpn__bulk-options input[type="checkbox"], input[type="radio"] {
312 margin-right: 8px; }
313
314 .wcpn__bulk-options {
315 width: 96%;
316 margin: 10px auto; }
317
318 .wcpn__bulk-options .wcpn__shipment-options__save {
319 margin-top: 8px;
320 float: right; }
321
322 /*
323 * Chosen delivery options styling
324 */
325 #order_data .delivery-options {
326 margin-top: 10px; }
327
328 #order_data .delivery-options strong {
329 display: block; }
330
331 /*
332 * Delivery options
333 */
334 .wcpn_delivery_option_details {
335 margin-top: 5px; }
336
337 .wcpn_delivery_option_details td {
338 padding: 0; }
339
340 /* fix woocommerce column float */
341 @media only screen and (min-width: 1280px) {
342 #order_data .order_data_column {
343 max-width: 31% !important; } }
344
345 /* Hide the "(optional)" spans on wcpn form labels in settings page and others*/
346 .wcpn label span.optional {
347 display: none; }
348
349 /*
350 * WCPN Settings page
351 */
352 .woocommerce_page_wcpn_settings tr.wcpn__child {
353 background: #e5e5e5; }
354
355 .woocommerce_page_wcpn_settings table.form-table select,
356 .woocommerce_page_wcpn_settings table.form-table input {
357 height: auto;
358 line-height: 1.8; }
359
360 .woocommerce_page_wcpn_settings tr.wcpn__child * {
361 font-size: .95em !important; }
362
363 .woocommerce_page_wcpn_settings tr.wcpn__child th {
364 padding-left: 10px;
365 padding-left: 10px; }
366
367 .woocommerce_page_wcpn_settings tr.wcpn__child td {
368 padding-top: 5px;
369 padding-bottom: 10px; }
370
371 .woocommerce_page_wcpn_settings input,
372 .woocommerce_page_wcpn_settings table.form-table .select2-container,
373 .woocommerce_page_wcpn_settings select {
374 max-width: 360px; }
375
376 .woocommerce_page_wcpn_settings table.form-table .select2-container {
377 min-width: auto !important;
378 width: 100% !important; }
379
380 .woocommerce_page_wcpn_settings table.form-table th {
381 width: 280px; }
382
383 .wcpn__close-button {
384 cursor: pointer; }
385
386 /* Toggle element */
387 .wcpn__toggle {
388 cursor: pointer; }
389
390 [data-disabled="true"] .wcpn__toggle,
391 [data-readonly="true"] .wcpn__toggle {
392 opacity: 65%;
393 cursor: not-allowed; }
394
395 /* Skeleton loader (Styles copied from Delivery Options) */
396 .wcpn__skeleton-loader {
397 width: 100%; }
398
399 .wcpn__skeleton-loader div {
400 height: 1.5em;
401 margin-top: 8px;
402 animation: shimmer 2s infinite linear;
403 background: rgba(0, 0, 0, 0.05) linear-gradient(to right, transparent 25%, rgba(0, 0, 0, 0.05) 50%, transparent 75%);
404 background-size: 400% 400%; }
405
406 .wcpn__skeleton-loader tr:nth-child(1) td:first-child div {
407 width: 60%; }
408
409 .wcpn__skeleton-loader tr:nth-child(2) td:first-child div {
410 width: 80%; }
411
412 .wcpn__skeleton-loader tr:nth-child(3) td:first-child div {
413 width: 75%; }
414
415 .wcpn__skeleton-loader tr:nth-child(4) td:first-child div {
416 width: 77%; }
417
418 .wcpn__skeleton-loader tr:nth-child(5) td:first-child div {
419 width: 64%; }
420
421 @keyframes shimmer {
422 0% {
423 background-position: 0 50%; }
424 50% {
425 background-position: 100% 50%; }
426 100% {
427 background-position: 0 50%; } }
428