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

95 lines
2.5 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");
/* Grid breakpoints */
.container {
padding: 16px 360px;
margin: 0;
max-width: 100%;
}
@media (min-width: 1025px) and (max-width: 2499px), (min-width: 491px) and (max-width: 1024px), (min-width: 280px) and (max-width: 490px) {
.container {
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 (min-width: 1025px) and (max-width: 2499px) {
.productImageTag--main, .videoContainer {
max-height: 664px !important;
}
}
@media (min-width: 491px) and (max-width: 1024px) {
.productImageTag--main, .videoContainer {
max-height: 944px !important;
}
}
@media (min-width: 280px) and (max-width: 490px) {
.productImageTag--main, .videoContainer {
max-height: 296px !important;
}
}
.carouselGaleryThumbs {
margin-top: 0;
}
@media (min-width: 280px) and (max-width: 490px), (min-width: 491px) and (max-width: 1024px) {
.carouselGaleryThumbs {
display: block !important;
}
}
.carouselGaleryThumbs .productImagesThumb {
width: 10% !important;
height: 100% !important;
margin: 16px 16px 0 0;
border-radius: 8px;
max-width: calc(100% - 16px);
}
@media (min-width: 1025px) and (max-width: 2499px), (min-width: 491px) and (max-width: 1024px), (min-width: 280px) and (max-width: 490px) {
.carouselGaleryThumbs .productImagesThumb {
width: 90px !important;
height: 90px !important;
}
}
.carouselGaleryThumbs .productImagesThumb .figure, .carouselGaleryThumbs .productImagesThumb .thumbImg {
width: 100%;
height: 100%;
}
.productNameContainer--quickview {
display: flex;
justify-content: end;
align-items: center;
font-family: "Open Sans", sans-serif;
padding: 0;
margin: 0 0 8px 0;
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
@media (min-width: 491px) and (max-width: 1024px), (min-width: 280px) and (max-width: 490px) {
.productNameContainer--quickview {
justify-content: flex-start;
margin-top: 32px;
}
}