forked from M3-Academy/challenge-vtex-io
195 lines
4.7 KiB
CSS
195 lines
4.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 */
|
|
.productNameContainer--quickview {
|
|
padding-right: 40px !important;
|
|
}
|
|
|
|
.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 .skuSelectorSubcontainer--tamanho .frameAround {
|
|
width: 40px;
|
|
height: 40px;
|
|
top: -2px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
|
|
padding: 0;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorInternalBox {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName {
|
|
text-transform: uppercase;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::after {
|
|
content: "S:";
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::before {
|
|
content: "OUTROS ";
|
|
}
|
|
.skuSelectorContainer .skuSelectorInternalBox {
|
|
border: 2px solid #B9B9B9;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItemImageValue, .skuSelectorContainer .skuSelectorInternalBox {
|
|
width: 100%;
|
|
border-radius: 24px;
|
|
}
|
|
.skuSelectorContainer .diagonalCross {
|
|
border: 1px solid #D5D5D5;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.productNameContainer--quickview {
|
|
text-align: end;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
font-size: 20px;
|
|
line-height: 34px;
|
|
color: #575757;
|
|
}
|
|
|
|
.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: 1024px) {
|
|
.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: 1024px) {
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
|
|
min-height: 4.9em;
|
|
}
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure .thumbImg {
|
|
border-radius: 8px;
|
|
width: 90px;
|
|
}
|
|
|
|
.productDescriptionContainer {
|
|
background: pink;
|
|
}
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
color: #575757;
|
|
}
|
|
@media screen and (min-width: 1920px) {
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-size: 32px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-size: 20px !important;
|
|
}
|
|
}
|
|
.productDescriptionContainer .content {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
color: #929292;
|
|
}
|
|
@media screen and (min-width: 1920px) {
|
|
.productDescriptionContainer .content {
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.productDescriptionContainer .content {
|
|
font-size: 14px !important;
|
|
line-height: 19px !important;
|
|
}
|
|
} |