forked from M3-Academy/challenge-vtex-io
117 lines
2.7 KiB
CSS
117 lines
2.7 KiB
CSS
/*
|
|
0 - 600PX: Phone
|
|
600 - 900px: Table portrait
|
|
900 - 1200px: Tablet landscape
|
|
[1200 - 1800] is where our nortal styles apply
|
|
1800px + : Big desktop
|
|
*/
|
|
/* Media Query M3 */
|
|
/* Grid breakpoints */
|
|
.skuSelectorContainer {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItemImage {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItem--selected .frameAround {
|
|
border-radius: 24px;
|
|
border: 2px solid #000000;
|
|
}
|
|
.skuSelectorContainer .frameAround {
|
|
width: 48px;
|
|
height: 48px;
|
|
z-index: 5;
|
|
bottom: 0;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName {
|
|
text-transform: uppercase;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName::after {
|
|
content: "ES:";
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName::before {
|
|
content: "OUTRAS ";
|
|
}
|
|
.skuSelectorContainer .skuSelectorInternalBox {
|
|
border: 2px solid #B9B9B9;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItemImageValue, .skuSelectorContainer .skuSelectorInternalBox {
|
|
width: 100%;
|
|
border-radius: 24px;
|
|
}
|
|
.skuSelectorContainer .diagonalCross {
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.carouselContainer {
|
|
padding: 0 40px 0;
|
|
}
|
|
.carouselContainer .productImage {
|
|
max-width: 85.238%;
|
|
}
|
|
@media screen and (min-width: 156.25em) {
|
|
.carouselContainer .productImage {
|
|
min-width: 904px;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 64.0625em) {
|
|
.carouselContainer .productImage {
|
|
min-width: 296px;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 23.375em) {
|
|
.carouselContainer .productImage {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
.carouselContainer .productImage .productImageTag- {
|
|
max-height: 100% !important;
|
|
margin-bottom: 1em;
|
|
align-self: stretch;
|
|
}
|
|
.carouselContainer .productImage .productImageTag--main {
|
|
border-radius: 8px;
|
|
max-height: 100% !important;
|
|
}
|
|
|
|
.carouselGaleryThumbs {
|
|
display: block;
|
|
height: max-content;
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb {
|
|
width: max-content !important;
|
|
background: white;
|
|
margin-right: 1em;
|
|
}
|
|
@media screen and (max-width: 64.0625em) {
|
|
.carouselGaleryThumbs .productImagesThumb {
|
|
width: 30% !important;
|
|
}
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure {
|
|
width: 100%;
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video {
|
|
min-height: 90px;
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
|
|
border-radius: 8px;
|
|
min-height: 5.54em;
|
|
}
|
|
@media screen and (max-width: 64.0625em) {
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
|
|
min-height: 4.9em;
|
|
}
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure .thumbImg {
|
|
border-radius: 8px;
|
|
width: 90px;
|
|
} |