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

49 lines
666 B
SCSS
Raw Normal View History

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