challenge-vtex-io-bernardo-.../styles/sass/pages/product/vtex.store-components.scss

275 lines
5.8 KiB
SCSS

.container {
padding:16px 360px;
margin: 0;
max-width: 100%;
@media #{$mq-desktop}, #{$mq-tablet}, #{$mq-mobile} {
padding: 16px 40px;
}
}
.swiperCaretNext, .swiperCaretPrev {
display: none;
}
.carouselGaleryCursor {
cursor: initial;
}
.productImageTag--main, .videoContainer {
object-fit: unset !important;
max-height: 904px !important;
cursor: url(https://agenciamagma.vtexassets.com/_v/public/assets/v1/published/vtex.store-components@3.164.0/public/react/91618bbaeb77d5f5b0173112a38a893e.svg) 8 8, default;
@media #{$mq-desktop} {
max-height: 664px !important;
}
@media #{$mq-tablet} {
max-height: 944px !important;
}
@media #{$mq-mobile} {
max-height: 296px !important;
}
}
.carouselGaleryThumbs {
margin-top: 0;
@media #{$mq-mobile}, #{$mq-tablet} {
display: block !important;
}
.productImagesThumb {
width: 10% !important;
height: 100% !important;
margin: 16px 16px 0 0;
border-radius: 8px;
max-width: calc(100% - 16px);
@media #{$mq-desktop}, #{$mq-tablet}, #{$mq-mobile} {
width: 90px !important;
height: 90px !important;
}
.figure, .thumbImg{
width: 100%;
height: 100%;
}
}
}
.productNameContainer--quickview {
display: flex;
justify-content: end;
align-items: center;
font-family: $font-family;
padding: 0;
margin: 0 0 8px 0;
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: $color-gray7;
@media #{$mq-tablet}, #{$mq-mobile} {
justify-content: flex-start;
margin-top: 32px;
}
}
.skuSelectorContainer--sku-product {
display: flex;
flex-direction: column-reverse;
margin-top: 16px;
.skuSelectorSubcontainer--tamanho {
.skuSelectorNameContainer {
margin: 0;
.skuSelectorTextContainer {
margin-bottom: 8px;
.skuSelectorName {
font-size: 0;
&::after {
content: "OUTROS TAMANHOS";
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray6;
}
}
}
.skuSelectorOptionsList {
column-gap: 16px;
margin: 0;
.skuSelectorItem {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #989898;
box-sizing: border-box;
border-radius: 50%;
width: 40px;
height: 40px;
margin: 0;
padding: 0;
.frameAround--sku-product {
border-color: $color-black0;
border-width: 2px;
border-radius: 24px;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 5;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.skuSelectorInternalBox {
border: none;
.diagonalCross--sku-product {
transform: rotate(45deg);
border-radius: 24px;
background: #D5D5D5;
width: 1px;
height: 100%;
margin: 0 auto;
}
}
.skuSelectorItemTextValue {
padding: 0;
margin: 0 auto;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray8;
}
}
.skuSelectorItem--selected {
.skuSelectorItemTextValue {
color: $color-black0;
}
}
}
}
}
.skuSelectorSubcontainer--cor {
.skuSelectorNameContainer {
margin: 0;
.skuSelectorSelectorImageValue {
display: none;
}
.skuSelectorTextContainer {
margin-bottom: 8px;
.skuSelectorName {
font-size: 0;
&::after {
content: "OUTRAS CORES";
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray6;
}
}
}
.skuSelectorOptionsList {
column-gap: 16px;
margin: 0;
.skuSelectorItem {
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #989898;
border-radius: 24px;
width: 48px;
height: 48px;
margin: 0;
padding: 0;
.frameAround--sku-product {
border-color: $color-black0;
border-width: 2px;
border-radius: 24px;
width: 48px;
height: 48px;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 5;
}
.skuSelectorInternalBox {
border: none;
.diagonalCross--sku-product {
transform: rotate(45deg);
border-radius: 24px;
background: #D5D5D5;
width: 1px;
height: 100%;
margin: 0 auto;
}
.valueWrapper--unavailable {
border: 1px solid #989898;
border-radius: 24px;
.skuSelectorItemImageValue {
height: 48px;
width: 48px;
}
}
}
}
.valueWrapper--sku-product {
height: 48px;
width: 48px;
.skuSelectorItemImageValue {
border-radius: 24px;
padding: 0;
}
}
.skuSelectorItem--selected {
.skuSelectorItemTextValue {
color: $color-black0;
}
}
}
}
}
}