added styles for some woo commerce blocks

This commit is contained in:
Maggie Cabrera 2021-01-26 11:54:46 +01:00
parent dad4b4c5f9
commit 0d41d5a705
4 changed files with 56 additions and 13 deletions

View file

@ -1,16 +1,33 @@
#content .wc-block-grid{
.wc-block-grid__product {
.wc-block-grid__product-onsale {
top: -0.5em;
right: -0.5em;
#content {
.wc-block-grid{
.wc-block-grid__product {
.wc-block-grid__product-onsale {
top: -0.5em;
right: -0.5em;
}
}
.wc-block-grid__product-title{
font-family: var(--global--font-secondary);
}
.wc-block-grid__product-price {
color: var(--global--color-foreground);
}
}
.wc-block-featured-product {
.wc-block-featured-product__price {
font-size: var(--global--font-size-sm);
}
}
.wc-block-grid__product-title{
font-family: var(--global--font-secondary);
}
.wc-block-grid__product-price {
color: var(--global--color-foreground);
}
}
.wc-block-components-review-list-item__author + .wc-block-components-review-list-item__published-date::before {
content: none;
}
.wc-block-components-review-list-item__product + .wc-block-components-review-list-item__author,
.wc-block-components-review-list-item__published-date {
font-size: var(--global--font-size-xs);
}

View file

@ -710,6 +710,19 @@ ul.wp-block-categories,
color: var(--global--color-foreground);
}
#content .wc-block-featured-product .wc-block-featured-product__price {
font-size: var(--global--font-size-sm);
}
.wc-block-components-review-list-item__author + .wc-block-components-review-list-item__published-date::before {
content: none;
}
.wc-block-components-review-list-item__product + .wc-block-components-review-list-item__author,
.wc-block-components-review-list-item__published-date {
font-size: var(--global--font-size-xs);
}
.screen-reader-text, .search-form input[type="submit"] {
/* Text meant only for screen readers. */
border: 0;

View file

@ -710,6 +710,19 @@ ul.wp-block-categories,
color: var(--global--color-foreground);
}
#content .wc-block-featured-product .wc-block-featured-product__price {
font-size: var(--global--font-size-sm);
}
.wc-block-components-review-list-item__author + .wc-block-components-review-list-item__published-date::before {
content: none;
}
.wc-block-components-review-list-item__product + .wc-block-components-review-list-item__author,
.wc-block-components-review-list-item__published-date {
font-size: var(--global--font-size-xs);
}
.screen-reader-text, .search-form input[type="submit"] {
/* Text meant only for screen readers. */
border: 0;

File diff suppressed because one or more lines are too long