challenge-vtex-io-henrique-.../styles/css/vtex.store-components.css

134 lines
2.4 KiB
CSS
Raw Normal View History

/*
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 */
.container {
padding: 0;
}
.productImageTag {
object-fit: fill !important;
}
.carouselGaleryThumbs {
display: block !important;
margin-top: 16px;
}
.productImagesThumb {
width: 90px !important;
margin-left: 16px;
margin-bottom: 0;
}
.productImagesThumb .thumbImg {
border-radius: 8px;
}
.productImagesThumb:first-child {
margin-left: 0;
}
.productNameContainer {
line-height: 34px;
}
@media screen and (max-width: 768px) and (min-width: 375px) {
.productNameContainer {
width: 70.9459459459%;
margin-right: auto;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column;
}
.skuSelectorSubcontainer--cor .skuSelectorName,
.skuSelectorSubcontainer--tamanho .skuSelectorName {
font-size: 0;
}
.skuSelectorSubcontainer--cor .skuSelectorName::before,
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
font-size: 14px;
text-transform: uppercase;
}
.skuSelectorSubcontainer--cor {
order: 1;
}
.skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
font-size: 0;
width: 0;
height: 0;
}
.skuSelectorSubcontainer--cor .skuSelectorName::before {
content: "Outros Cores";
}
.skuSelectorSubcontainer--tamanho {
order: 0;
}
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
content: "Outros Tamanhos";
}
.skuSelectorOptionsList,
.skuSelectorOptionsList .skuSelectorItem,
.skuSelectorNameContainer {
margin: 0;
}
.skuSelectorOptionsList {
gap: 16px;
}
.skuSelectorItem {
width: 40px;
height: 40px;
}
.skuSelectorItem .frameAround,
.skuSelectorItem .skuSelectorInternalBox {
border-radius: 100%;
}
.skuSelectorItem .skuSelectorInternalBox {
z-index: unset;
}
.skuSelectorItem .frameAround {
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.diagonalCross {
width: 100%;
background: transparent;
}
.diagonalCross::before {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 100%;
height: 1px;
border-top: 1px solid #d5d5d5;
transform: translate(-50%, -50%) rotateZ(-45deg);
z-index: 2;
}
.skuSelectorItemTextValue {
width: 100%;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}
.skuSelectorSubcontainer--cor .skuSelectorItem {
width: 48px;
height: 48px;
}