forked from M3-Academy/challenge-vtex-io
108 lines
3.0 KiB
CSS
108 lines
3.0 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--m3-custom-sku-selector {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .frameAround--m3-custom-sku-selector {
|
|
border-radius: 50%;
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName {
|
|
text-transform: uppercase;
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName::after {
|
|
content: "ES:";
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName::before {
|
|
content: "OUTRAS ";
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName {
|
|
text-transform: uppercase;
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::after {
|
|
content: "S:";
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::before {
|
|
content: "OUTROS ";
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .skuSelectorItemImageValue--m3-custom-sku-selector {
|
|
border-radius: 50%;
|
|
}
|
|
.skuSelectorContainer--m3-custom-sku-selector .diagonalCross--m3-custom-sku-selector {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.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;
|
|
} |