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