woocommerce/plugins/woocommerce-admin/client/homescreen/style.scss

78 lines
1.4 KiB
SCSS

.woocommerce-page #wpcontent,
.woocommerce-page.woocommerce_page_wc-admin #wpbody-content {
overflow-x: inherit !important; // Overwriting wc-admin css from elsewhere. Necessary to make the right-hand column 'stick'
}
.woocommerce-homescreen {
display: flex;
max-width: 1032px;
margin: 0 auto;
justify-content: space-between;
.woocommerce-task-dashboard__container {
width: 100%;
margin-bottom: $gap-large;
}
&.hasInbox .woocommerce-homescreen-column {
width: calc(50% - 12px);
margin: 0;
@include breakpoint( '<782px' ) {
width: 100%;
position: inherit;
top: auto;
}
}
@include breakpoint( '<782px' ) {
margin-left: -16px;
margin-right: -16px;
flex-direction: column-reverse;
}
}
.woocommerce-homescreen-column {
width: 50%;
top: 130px;
margin: 0 auto;
align-self: flex-start;
> div {
margin-bottom: $gap-large;
}
}
.temp-content {
width: 100%;
height: 300px;
background-color: #9acd32;
}
.is-inbox .temp-content {
height: 225px;
background-color: #6495ed;
}
.woocommerce-homescreen-card {
.components-card__header.is-size-large,
.components-card__header.is-size-medium {
min-height: 63px;
min-height: unset;
display: grid;
grid-template-columns: auto 24px;
// IE doesn't support `align-items` on grid container
& > * {
align-self: center;
}
}
.components-card__body.is-size-large {
padding: 0;
}
.components-card__footer.is-size-large {
padding: 0 $gap-smaller;
}
}