Fix PHP, CSS AND JS coding standards
This commit is contained in:
parent
2351bef6ca
commit
f94fc1e59b
42 changed files with 357 additions and 213 deletions
|
@ -2,7 +2,9 @@
|
|||
* Single Product
|
||||
*/
|
||||
.single-product {
|
||||
|
||||
div.product {
|
||||
|
||||
@include clearfix;
|
||||
position: relative;
|
||||
|
||||
|
@ -22,6 +24,7 @@
|
|||
}
|
||||
|
||||
.flex-control-thumbs {
|
||||
|
||||
@include clearfix;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -32,7 +35,7 @@
|
|||
float: left;
|
||||
|
||||
img {
|
||||
opacity: .5;
|
||||
opacity: 0.5;
|
||||
|
||||
&.flex-active {
|
||||
opacity: 1;
|
||||
|
@ -40,6 +43,7 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
img {
|
||||
opacity: 1;
|
||||
}
|
||||
|
@ -48,9 +52,13 @@
|
|||
}
|
||||
|
||||
@for $i from 2 through 5 {
|
||||
|
||||
&.woocommerce-product-gallery--columns-#{$i} {
|
||||
|
||||
.flex-control-thumbs {
|
||||
|
||||
li {
|
||||
|
||||
@include column-width($i);
|
||||
|
||||
&:nth-child(#{$i}n) {
|
||||
|
@ -69,7 +77,8 @@
|
|||
}
|
||||
|
||||
.stock {
|
||||
&:empty:before {
|
||||
|
||||
&:empty::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue