This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
2017-08-01 13:21:13 +00:00
|
|
|
/**
|
|
|
|
* Single Product
|
|
|
|
*/
|
|
|
|
.single-product {
|
|
|
|
div.product {
|
|
|
|
@include clearfix;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.woocommerce-product-gallery {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.woocommerce-product-gallery__trigger {
|
|
|
|
position: absolute;
|
|
|
|
top: 1em;
|
|
|
|
right: 1em;
|
|
|
|
display: block;
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-viewport {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-control-thumbs {
|
|
|
|
@include clearfix;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
cursor: pointer;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
img {
|
|
|
|
opacity: .5;
|
|
|
|
|
|
|
|
&.flex-active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@for $i from 2 through 5 {
|
|
|
|
&.woocommerce-product-gallery--columns-#{$i} {
|
|
|
|
.flex-control-thumbs {
|
|
|
|
li {
|
|
|
|
@include column-width($i);
|
|
|
|
|
|
|
|
&:nth-child(#{$i}n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(#{$i}n+1) {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.stock {
|
|
|
|
&:empty:before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.in-stock {
|
|
|
|
color: $woocommerce__color-success;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.out-of-stock {
|
|
|
|
color: $woocommerce__color-error;
|
|
|
|
}
|
2017-08-30 11:03:53 +00:00
|
|
|
}
|