2018-11-19 16:33:17 +00:00
|
|
|
// Import the woocommerce components stylesheet
|
2019-01-14 20:33:17 +00:00
|
|
|
@import "~@woocommerce/components/build-style/style.css";
|
2018-11-19 16:33:17 +00:00
|
|
|
|
2018-12-04 20:40:00 +00:00
|
|
|
// Hack to hide preview overflow.
|
|
|
|
.editor-block-preview__content {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2019-02-18 14:48:34 +00:00
|
|
|
// Align the block icons in edit mode
|
|
|
|
.components-placeholder__label .gridicon,
|
|
|
|
.components-placeholder__label .material-icon {
|
|
|
|
margin-right: 1ch;
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
|
2019-05-21 20:34:48 +00:00
|
|
|
// Remove the list styling, which is added back by core GB styles.
|
2019-05-28 10:17:45 +00:00
|
|
|
.editor-styles-wrapper {
|
|
|
|
.wc-block-grid {
|
|
|
|
.wc-block-grid__products {
|
|
|
|
list-style: none;
|
2019-10-28 13:53:09 +00:00
|
|
|
margin: 0 (-$gap/2) $gap;
|
2019-05-28 10:17:45 +00:00
|
|
|
|
|
|
|
.wp-block-button__link {
|
|
|
|
color: inherit;
|
2019-05-16 13:03:11 +00:00
|
|
|
}
|
2019-10-24 13:39:50 +00:00
|
|
|
|
|
|
|
.wc-block-grid__product {
|
|
|
|
margin: 0 0 $gap-large 0;
|
|
|
|
}
|
2019-05-16 13:03:11 +00:00
|
|
|
}
|
|
|
|
|
2019-05-28 10:17:45 +00:00
|
|
|
&.components-placeholder {
|
|
|
|
padding: 2em 1em;
|
2018-12-04 20:40:00 +00:00
|
|
|
}
|
|
|
|
|
2019-05-28 10:17:45 +00:00
|
|
|
&.is-loading,
|
|
|
|
&.is-not-found {
|
|
|
|
display: block;
|
2018-12-04 20:40:00 +00:00
|
|
|
}
|
|
|
|
}
|
2018-11-19 16:33:17 +00:00
|
|
|
}
|