You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/product/ProductAria/ProductAria.scss

117 lines
2.5 KiB
SCSS

#ProductAria {
padding: 1rem 0;
#aria-product-detail{
position: relative;
overflow: hidden;
.description{
border: solid 2px var(--xshop-primary);
border-top: 0;
border-bottom: 0;
}
h1{
font-size: 32px;
font-weight: 200;
}
#price{
color: var(--xshop-primary);
font-weight: 800;
font-size: 27px;
margin-bottom: 2rem;
}
#price-old{
text-decoration: line-through red;
font-size: 27px;
color: gray;
font-weight: 200;
}
.fav-btn, .compare-btn {
position: absolute;
inset-inline-end: 3%;
top: 3%;
width: 40px;
height: 40px;
background: #ffffff55;
font-size: 25px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--xshop-border-radius);
z-index: 4;
cursor: pointer;
transition: .4s;
&:hover {
background: var(--xshop-primary);
color: var(--xshop-diff);
}
}
.fav-btn {
top: calc(3% + 50px);
&[data-is-fav="-1"]{
display: none;
}
&[data-is-fav="1"]{
.ri-heart-line{
display: none;
}
}
&[data-is-fav="0"]{
.ri-heart-fill{
display: none;
}
}
}
}
p{
text-align: justify;
color: gray;
line-height: 2em;
}
#aria-main-img{
img{
height: 50vh;
object-fit: cover;
width: 100%;
border-radius: var(--xshop-border-radius);
}
}
#aria-img-slider{
margin-top: 5px;
img{
width: 100%;
height: 150px;
object-fit: cover;
border-radius: var(--xshop-border-radius);
}
}
.aria-product-data{
padding: 5px;
}
.aria-product-list{
padding: 5px;
img{
height: 20vh;
width: 100%;
object-fit: cover;
border-radius: var(--xshop-border-radius);
}
h5{
text-align: center;
padding: .5rem 0;
}
}
}