Commit d637e61b by lmf

优化详情页面一些样式

parent fcd591d2
......@@ -155,7 +155,7 @@
.joshine-desction .desction-left{
width: 90%;
flot: left;
font-weight: inherit;
font-weight: 600;
color: #000;
}
.joshine-desction .desction-right{
......@@ -169,10 +169,17 @@
.joshine-desction .desction-info{
font-size: small;
}
.joshine-desction #description{
max-height: 300px;
overflow: auto;
@media (min-width: 780px){
.joshine-desction #description{
max-height: 350px;
overflow: auto;
}
}
span.swatch-attribute-selected-option{
margin-left: 20px;
color: cornflowerblue;
}
</style>
<?php
$short_description = $this->helper(Magento\Catalog\Helper\Output::class)->productAttribute(
......
......@@ -62,11 +62,11 @@
], function ($) {
$("#wishlist").html($(".product-addto-links > div:first").html());
setTimeout(function(){
// if ($("div").hasClass("swatch-attribute size")){
// var size = '<div id="product-intro__freeshipping-more-3" data-trigger="trigger">\n' +
// ' <a href="javascript:void(0);">Size Guide</a></span></div>';
// $(".swatch-attribute.size > span:last").after(size);
// }
if ($("div").hasClass("swatch-attribute size")){
var size = '<div id="product-intro__freeshipping-more-3" data-trigger="trigger">\n' +
' <a href="javascript:void(0);">Size Guide</a></span></div>';
$(".swatch-attribute.size > span:last").after(size);
}
},3000);
});
</script>
......@@ -87,13 +87,14 @@
<style>
#product-intro__freeshipping-more-3{
display: inline-block;
display: inline-block;
color: #2d68a;
font-size: 12px;
line-height: 1;
margin-top: -15px;
margin-left: 60%;
width: 50%;
width: 70px;
float: right;
margin-top: 10px;
}
.action.primary.tocart{
font-size: 18px;
......@@ -108,6 +109,7 @@
margin-top: 7px;
float: right;
width: 20%;
margin-left: 0;
}
#wishlist{
display: none;
......
......@@ -2084,6 +2084,11 @@ background-color: #000;
}
}
span.swatch-attribute-selected-option{
margin-left: 20px;
color: blue;
}
//.swatch-option.selected::before{
// box-shadow: 0 0 0 1px inset rgba(var(--brand-color), var(--brand-alpha, 1)), 0 0 0 3px inset #ffffff;
//}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment