2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-layout {
|
2018-05-18 17:31:08 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-10-14 14:04:17 +00:00
|
|
|
.woocommerce-layout__no-match {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.components-card {
|
|
|
|
max-width: 680px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-01 14:35:18 +00:00
|
|
|
.woocommerce-layout__primary {
|
2021-02-12 16:32:26 +00:00
|
|
|
margin: $gutter-large 0 0 $fallback-gutter-large;
|
|
|
|
margin: $gutter-large 0 0 $gutter-large;
|
2019-01-17 00:09:02 +00:00
|
|
|
|
|
|
|
@include breakpoint( '<782px' ) {
|
2021-02-12 16:32:26 +00:00
|
|
|
margin-top: 20px;
|
2019-01-17 00:09:02 +00:00
|
|
|
}
|
2018-05-18 17:31:08 +00:00
|
|
|
}
|
|
|
|
|
2018-06-28 13:52:45 +00:00
|
|
|
.woocommerce-layout .woocommerce-layout__main {
|
2018-09-11 07:27:13 +00:00
|
|
|
padding-right: $fallback-gutter-large;
|
2018-08-08 22:11:54 +00:00
|
|
|
padding-right: $gutter-large;
|
2018-07-30 15:14:09 +00:00
|
|
|
max-width: 100%;
|
2018-06-14 15:16:57 +00:00
|
|
|
}
|
2019-05-13 02:58:29 +00:00
|
|
|
|
2021-02-12 16:32:26 +00:00
|
|
|
.woocommerce-page {
|
|
|
|
.update-nag {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-05-13 02:58:29 +00:00
|
|
|
}
|
2019-07-22 04:53:13 +00:00
|
|
|
|
|
|
|
.woocommerce-admin-is-loading {
|
|
|
|
#adminmenumain,
|
|
|
|
#wpfooter,
|
2020-01-28 15:37:33 +00:00
|
|
|
#wpcontent,
|
2019-07-22 04:53:13 +00:00
|
|
|
#wpadminbar,
|
2019-10-30 01:49:27 +00:00
|
|
|
#wpbody-content,
|
2019-07-22 04:53:13 +00:00
|
|
|
.woocommerce-layout__header,
|
|
|
|
.update-nag,
|
|
|
|
.woocommerce-store-alerts,
|
|
|
|
.woocommerce-message,
|
|
|
|
.notice,
|
|
|
|
.error,
|
2019-11-01 04:00:57 +00:00
|
|
|
.updated,
|
|
|
|
.components-modal__screen-overlay {
|
2019-07-22 04:53:13 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-admin-full-screen {
|
2019-08-29 16:07:56 +00:00
|
|
|
background: $studio-gray-0;
|
|
|
|
color: $studio-gray-60;
|
2021-02-18 15:02:30 +00:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
|
|
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
|
2019-07-22 04:53:13 +00:00
|
|
|
|
2020-01-28 15:37:33 +00:00
|
|
|
#wpwrap {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2019-07-22 04:53:13 +00:00
|
|
|
#wpbody-content {
|
2021-07-08 14:33:15 +00:00
|
|
|
min-height: 100vh !important;
|
2019-07-22 04:53:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide wp-admin and WooCommerce elements when the dashboard body class is present */
|
2020-01-28 15:37:33 +00:00
|
|
|
#wpcontent > *,
|
2019-07-22 04:53:13 +00:00
|
|
|
#adminmenumain,
|
|
|
|
.woocommerce-layout__header,
|
|
|
|
.update-nag,
|
|
|
|
.woocommerce-store-alerts,
|
|
|
|
.woocommerce-message,
|
|
|
|
.notice,
|
|
|
|
.error,
|
|
|
|
.updated {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wpcontent {
|
2020-09-29 12:57:50 +00:00
|
|
|
margin-left: 0 !important;
|
2020-01-28 15:37:33 +00:00
|
|
|
|
|
|
|
> #wpbody {
|
|
|
|
display: block;
|
2021-02-12 16:32:26 +00:00
|
|
|
margin-top: 0 !important;
|
2020-01-28 15:37:33 +00:00
|
|
|
}
|
2019-07-22 04:53:13 +00:00
|
|
|
}
|
2021-02-18 15:02:30 +00:00
|
|
|
|
|
|
|
&.has-woocommerce-navigation {
|
|
|
|
#wpbody {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-19 13:20:32 +00:00
|
|
|
.is-wp-toolbar-disabled {
|
|
|
|
#wpadminbar {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-toolbar .is-wp-toolbar-disabled {
|
2021-02-18 15:02:30 +00:00
|
|
|
margin-top: -$adminbar-height;
|
|
|
|
@include breakpoint( '<600px' ) {
|
|
|
|
margin-top: -$adminbar-height-mobile;
|
|
|
|
}
|
2019-07-22 04:53:13 +00:00
|
|
|
}
|
2020-04-29 18:01:27 +00:00
|
|
|
|
|
|
|
.woocommerce-task-dashboard__container .components-button.is-button,
|
|
|
|
.woocommerce-profile-wizard__body .components-button.is-button,
|
|
|
|
.woocommerce-page .components-modal__frame .components-button.is-button {
|
|
|
|
height: 48px;
|
|
|
|
padding-left: 25px;
|
|
|
|
padding-right: 25px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 36px;
|
|
|
|
font-weight: 500;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-22 03:37:11 +00:00
|
|
|
// @todo Remove this after https://github.com/WordPress/gutenberg/issues/28311 is fixed
|
|
|
|
.components-modal__header .components-button svg + span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-11-26 00:27:37 +00:00
|
|
|
.components-modal__frame.woocommerce-usage-modal {
|
|
|
|
width: 600px;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
.components-modal__header {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-usage-modal__wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $studio-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.is-primary {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-usage-modal__actions {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-top: $gap;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-left: $gap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-payments__usage-modal {
|
|
|
|
.components-modal__header {
|
|
|
|
height: auto;
|
|
|
|
padding: 24px 24px 0 24px;
|
|
|
|
|
|
|
|
.components-modal__header-heading {
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 32px;
|
|
|
|
margin: 0 0 24px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-payments__usage-modal-message {
|
|
|
|
padding: $gap 0;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-payments__usage-footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding: $gap 0;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-left: $gap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-29 18:01:27 +00:00
|
|
|
.components-modal__frame.woocommerce-cart-modal {
|
|
|
|
width: 600px;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
.components-modal__header {
|
|
|
|
border-bottom: 0;
|
|
|
|
margin-bottom: $gap;
|
|
|
|
margin-top: $gap;
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-modal__header-heading {
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list {
|
2021-09-21 19:33:44 +00:00
|
|
|
margin-top: $gap-large;
|
2020-04-29 18:01:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list .woocommerce-list__item:first-child {
|
|
|
|
border-top: 1px solid $studio-gray-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-list__item {
|
|
|
|
border-bottom: 1px solid $studio-gray-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-cart-modal__help-text {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-cart-modal__actions {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
button.is-link {
|
|
|
|
margin-right: $gap;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.is-primary {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|