//
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
max-width: inherit;
}
//
//
.woocommerce {
span.onsale {
background-color: $success;
border-radius: 0;
line-height: inherit;
min-height: auto;
left: 0;
top: 0;
font-weight: 500;
}
ul.products li.product .onsale {
top: 0;
left: 0;
right: auto;
margin: 0;
}
}
//
//
.woocommerce nav.woocommerce-pagination ul li {
a:focus,
a:hover,
span.current {
background: none;
}
}
.woocommerce nav.woocommerce-pagination ul {
@include horizontal-list($spacing-xs);
border: none;
margin: 0;
li {
border: none;
}
}
//
//
.woocommerce {
.star-rating {
color: #ffb100;
}
}
//
//
$notices: (
'error': $error,
'info': #f0f0f0,
'message': $success,
);
@each $noticeName, $color in $notices {
.woocommerce .woocommerce-#{$noticeName},
.woocommerce-page .woocommerce-#{$noticeName} {
background: $color;
border: none;
font-size: .85em;
@if ( $noticeName != 'info' ) {
color: #fff;
&:before {
color: #fff;
}
a {
color: #fff;
font-weight: 800;
}
.button, .button:focus, .button:active, .button:hover {
background-color: #fff;
color: $color;
line-height: 1;
}
} @else {
a {
color: $body-color;
}
&:before {
color: $body-color;
}
.button, .button:focus, .button:active, .button:hover {
background-color: $body-color;
color: $color;
line-height: 1;
}
}
}
}
.woocommerce ul.woocommerce-error {
padding-left: 3.5em;
li {
margin: 0;
}
}
//