challenge-vtex-io-gabriel-g.../styles/css/vtex.slider-layout.css

87 lines
2.7 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@400;500;600;700&family=Roboto:wght@400;500;700&display=swap");
/* Grid breakpoints */
.sliderLayoutContainer--carousel {
background-color: white;
height: 630px;
}
.sliderLayoutContainer--carousel .sliderTrackContainer {
margin: 32px 27px 32px 27px;
}
.sliderLayoutContainer--carousel .slide {
width: 100%;
max-width: 314px;
height: 448px;
margin-right: 16px;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-summary-2-x-container) {
max-width: unset !important;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) {
padding: 0;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-imageContainer) {
width: 314px;
height: 314px;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-product-summary-2-x-imageNormal) {
max-height: 314px !important;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-summary-2-x-nameContainer) {
justify-content: center;
text-align: center;
padding: 16px 0 8px 0;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-productBrand) {
font-family: "Open Sans", sans-serif;
font-size: 18px;
line-height: 25px;
color: #000000;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-price-1-x-listPrice) {
display: block;
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #bababa;
padding-bottom: 8px;
}
.sliderLayoutContainer--carousel .slide :global(.vtex-product-price-1-x-sellingPrice) {
text-align: center;
font-family: "Open Sans", sans-serif;
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: #000000;
}
.sliderLayoutContainer--carousel .sliderLeftArrow,
.sliderLayoutContainer--carousel .sliderRightArrow {
padding: 0;
margin: 0;
}
.sliderLayoutContainer--carousel .paginationDotsContainer {
display: flex;
align-items: center;
margin-bottom: 64px;
}
.sliderLayoutContainer--carousel .paginationDotsContainer .paginationDot {
width: 10px;
height: 10px;
background-color: black;
border: none;
}
.sliderLayoutContainer--carousel .paginationDotsContainer .paginationDot--isActive {
width: 17px !important;
height: 17px !important;
background-color: white;
border: 0.5px solid #000000;
}