.woocommerce-task-dashboard__body { .woocommerce-card__description { color: $studio-gray-50; } .woocommerce-task-dashboard__container { .woocommerce-task-card { .wooocommerce-task-card__header { display: flex; .woocommerce-badge { margin-left: 16px; } } .woocommerce-list__item:not(.is-complete) { .woocommerce-task__icon { border: 1px solid $gray-100; background: $white; } } .woocommerce-list__item.is-complete { .woocommerce-list__item-title { color: $gray-700; } } .woocommerce-list__item-before .woocommerce-task__icon { border-radius: 50%; width: 32px; height: 32px; } .woocommerce-list__item-before svg { fill: $white; position: relative; top: 4px; left: 5px; } .components-popover__content { min-width: unset; } } } .woocommerce-task__additional-info, .woocommerce-task__estimated-time { color: $gray-700; font-weight: 400; font-size: 12px; } #wpbody-content { position: relative; } .components-modal__screen-overlay { background: rgba(43, 45, 47, 0.4); } .components-modal__frame { .components-modal__header { border-bottom: 0; margin-bottom: 0; } .woocommerce-task-payments__stripe-error-wrapper { align-items: flex-end; flex-grow: 1; display: flex; flex-direction: column; } } } .woocommerce-shipping-rate { display: flex; padding-top: $gap-small; padding-bottom: $gap-small; .woocommerce-shipping-rate__main { width: 100%; } .woocommerce-shipping-rate__icon { padding-top: $gap; margin-right: $gap-large; } .woocommerce-shipping-rate__name { align-items: center; display: flex; padding-top: $gap; font-size: 16px; line-height: 22px; color: $studio-gray-90; margin-bottom: $gap-small; border-top: 1px solid $studio-gray-5; .components-form-toggle { margin-left: auto; height: 18px; } } .woocommerce-shipping-rate__control-wrapper { .components-base-control { margin-bottom: 0; } .components-base-control__label { display: block; position: relative; top: -8px; width: 100%; font-size: 12px; } .text-control-with-affixes__prefix, .text-control-with-affixes__suffix { font-size: 16px; line-height: 24px; color: $studio-gray-50; border: 0; padding: 0; align-items: center; display: flex; top: -12px; } .components-text-control__input { position: relative; top: -12px; } .text-control-with-affixes__prefix { margin-right: $gap-smallest; } .text-control-with-affixes__suffix { margin-left: $gap-smallest; } } } .woocommerce-task-tax__automated-tax-control { display: flex; align-items: center; margin-top: $gap; i { margin-left: $gap; margin-right: $gap-large; } .woocommerce-task-tax__automated-tax-control-inner { border-top: 1px solid $studio-gray-5; display: flex; align-items: center; flex: 1; font-size: 16px; padding-top: $gap; padding-bottom: $gap; } .components-form-toggle { margin-left: auto; } } .woocommerce-task-tax__success { display: flex; flex-direction: column; align-items: center; padding: $gap-largest; text-align: center; .woocommerce-task-tax__success-icon { font-size: 48px; height: 48px; align-items: center; display: flex; } #woocommerce-task-tax__success-message { font-size: 32px; font-weight: 400; } p { margin-top: 0; font-size: 16px; } } .woocommerce-task-payment { display: flex; flex-direction: row; align-items: center; position: relative; overflow: hidden; box-shadow: $muriel-box-shadow-1dp; .woocommerce-task-payment__recommended-ribbon { position: absolute; transform: rotate(-45deg) translate(-50%, -50%); background: $studio-gray-80; color: $studio-white; font-size: 11px; line-height: 20px; position: absolute; top: 0; left: 0; line-height: 1; padding: 7px $gap-largest; transform-origin: top left; margin-top: 36px; margin-left: 36px; span { max-width: 70px; } } .woocommerce-task-payment__recommended-pill { border: 1px solid $studio-gray-5; border-radius: 28px; display: inline-block; font-size: 13px; margin-left: 12px; padding: 1px 10px; span { max-width: 70px; } } .components-card__media { margin: $gap-large $gap-larger; img { max-width: 100px; } } .woocommerce-task-payment__title { font-size: 16px; font-weight: 400; color: $studio-gray-80; margin-top: 0; margin-bottom: $gap-smaller; } .woocommerce-task-payment__content { font-size: 14px; color: $studio-gray-60; margin: 0; margin-right: $gap-larger; .text-style-strong { font-weight: bold; } p { font-size: 12px; } } .components-card__body { padding: $gap-large 0; flex: 1; } .components-card__footer { margin-left: auto; width: auto; .components-button.is-button { margin: 0; } } @include breakpoint( '<600px' ) { flex-direction: column; .woocommerce-task-payment__recommended-ribbon { display: none; } .woocommerce-task-payment__recommended-pill { display: none; } .components-card__media { order: 1; margin-right: auto; margin-bottom: $gap-large; } .components-card__footer { position: absolute; right: $gap-larger; top: $gap-large; .components-form-toggle { margin-top: $gap-smallest; } } .components-card__body { order: 3; margin-top: $gap; } } } .woocommerce-task-payment-method { > h3 { margin: 0; color: $studio-gray-90; } p { font-size: 14px; color: $studio-gray-50; font-weight: 400; margin-top: 16px; margin-bottom: $gap-smaller; } } .woocommerce-task-payment-method__fields { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0 $gap; margin-bottom: $gap-smaller; .components-base-control { margin-bottom: 0; } } .woocommerce-task-dashboard__container { .woocommerce-stepper { button.components-button.is-primary { margin: 0 8px 0 0; } } button.components-button.is-link { margin: 0; height: auto; color: $studio-gray-60; font-weight: normal; } } .woocommerce-task-payments__paypal-auto-create-account { margin-top: $gap; margin-bottom: $gap; } .woocommerce-task-payment-wcpay.woocommerce-task-payment-not-configured { background-color: $studio-woocommerce-purple-80; .woocommerce-task-payment__title { color: $studio-white; } .woocommerce-task-payment__content { color: $studio-white; a { color: $studio-white; } } } .woocommerce-task-card__prompt { width: 100%; min-width: 100%; margin-bottom: $gap-large; margin-top: -$gap-smallest; cursor: default; .components-snackbar__content { display: block; align-items: unset; justify-content: unset; span { margin-left: -$gap-large; } } .woocommerce-task-card__prompt-actions { button.is-link, button.is-link:active, button.is-link:focus { color: $studio-white; margin-left: $gap-large; background: transparent; } button.is-link:hover { color: $studio-white; } } .woocommerce-task-card__prompt-pointer { border-bottom: 10px solid $gray-900; /* Snackbar color */ border-left: 10px solid transparent; border-right: 10px solid transparent; position: relative; width: 0; height: 0; display: inline-block; top: -30px; } .woocommerce-task-card__prompt-content { display: flex; align-items: baseline; justify-content: space-between; max-height: 10px; margin-left: $gap-large; position: relative; top: -40px; } .woocommerce-task-card__prompt-actions { margin-right: -$gap; } &:hover { .woocommerce-task-card__prompt-pointer { border-bottom-color: $gray-900; /* Snackbar hover */ } } } .woocommerce-task-card__section-controls { text-align: center; } .woocommerce-task-dashboard__container { .woocommerce-task-card.is-loading { .woocommerce-card__body { border-top: 1px solid $studio-gray-5; padding: 0; } .is-placeholder { @include placeholder(); display: inline-block; height: 16px; } .woocommerce-card__title { .is-placeholder { width: 70%; height: 28px; } } .woocommerce-list__item-before { .is-placeholder { height: 36px; width: 36px; } } .woocommerce-list__item-text { width: 100%; .woocommerce-list__item-title { .is-placeholder { height: 22px; width: 60%; } } } .woocommerce-list__item-after { .is-placeholder { height: 18px; width: 60px; } } } } .woocommerce-task-dashboard__container .woocommerce-task__caption { color: $gray-700; margin-top: $gap; }