woocommerce/plugins/woocommerce-admin/client/components/card/style.scss

50 lines
714 B
SCSS

/** @format */
.woocommerce-card {
margin-bottom: 20px;
background: white;
border: 1px solid $core-grey-light-700;
}
.woocommerce-card__header {
padding: 16px;
border-bottom: 1px solid $core-grey-light-700;
display: grid;
align-items: center;
.has-action & {
grid-template-columns: 1fr 1fr;
}
.has-menu & {
grid-template-columns: 1fr 24px;
}
.has-menu.has-action & {
grid-template-columns: 1fr 1fr 48px;
}
h2 {
margin: 0;
padding: 1px 0;
}
}
.woocommerce-card__action,
.woocommerce-card__menu {
text-align: right;
}
.woocommerce-card__body {
padding: 20px;
}
.woocommerce-ellipsis-menu__toggle {
padding: 0;
}
.woocommerce-card__title {
font-size: 16px;
font-weight: 600;
}