|
@@ -5,11 +5,6 @@
|
|
|
|
|
|
div.product {
|
|
div.product {
|
|
|
|
|
|
- & > .onsale {
|
|
|
|
- right: auto;
|
|
|
|
- left: -0.5em;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
div.images {
|
|
div.images {
|
|
margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
|
|
|
|
@@ -46,6 +41,24 @@
|
|
p.price {
|
|
p.price {
|
|
color: map-deep-get($config-global, "color", "foreground", "dark");
|
|
color: map-deep-get($config-global, "color", "foreground", "dark");
|
|
font-size: map-deep-get($config-global, "font", "size", "xl");
|
|
font-size: map-deep-get($config-global, "font", "size", "xl");
|
|
|
|
+ line-height: map-deep-get($config-global, "font", "line-height", "heading");
|
|
|
|
+
|
|
|
|
+ del {
|
|
|
|
+ color: currentColor;
|
|
|
|
+ opacity: 0.5;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ ins {
|
|
|
|
+ background: none;
|
|
|
|
+ font-weight: 700;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .from {
|
|
|
|
+ font-size: map-deep-get($config-global, "font", "size", "xs");
|
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "warning");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
p.stock {
|
|
p.stock {
|
|
@@ -66,20 +79,35 @@
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- div.social {
|
|
|
|
- margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
.product_meta > * {
|
|
.product_meta > * {
|
|
display: block;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Sale
|
|
|
|
+ & > .onsale {
|
|
|
|
+ right: auto;
|
|
|
|
+ left: -0.5em;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &.sale div.summary .span.price,
|
|
|
|
+ &.sale div.summary p.price {
|
|
|
|
+ ins {
|
|
|
|
+ color: map-deep-get($config-global, "color", "alert", "success");
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // Social
|
|
|
|
+ div.social {
|
|
|
|
+ margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
|
|
+ }
|
|
|
|
+
|
|
.up-sells {
|
|
.up-sells {
|
|
& > h2 {
|
|
& > h2 {
|
|
font-size: map-deep-get($config-global, "font", "size", "lg");
|
|
font-size: map-deep-get($config-global, "font", "size", "lg");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Add to cart form
|
|
p.cart {
|
|
p.cart {
|
|
margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
margin-bottom: map-deep-get($config-global, "spacing", "vertical");
|
|
}
|
|
}
|