challenge-vtex-io-vitor-soares/styles/css/vtex.slider-layout.css

80 lines
1.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 */
/* Fontes */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
/* Cores */
/* Grid breakpoints */
.sliderLayoutContainer {
margin-bottom: 64px;
padding: 0 16px;
}
@media only screen and (max-width: 1025px) {
.sliderLayoutContainer {
padding: 0 12px;
}
}
@media only screen and (max-width: 767px) {
.sliderLayoutContainer {
padding: 0 8px;
margin-bottom: 32px;
}
}
.sliderLayoutContainer :global(.vtex-slider-layout-0-x-sliderTrack--carousel) {
gap: 16px;
}
.imageContainer {
max-width: 314px;
width: 100%;
height: 314px;
background: #EDEDED;
}
.paginationDotsContainer {
align-items: center;
gap: 12px;
}
.paginationDotsContainer .paginationDot {
width: 10px;
height: 10px;
background-color: #000000;
margin: 0;
}
:global(.vtex-slider-layout-0-x-paginationDot--isActive) {
width: 17px !important;
height: 17px !important;
background-color: #fff !important;
border: 0.5px solid #000000;
}
.sliderRightArrow {
visibility: hidden;
padding: 0;
margin: 0;
}
.sliderRightArrow::after {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/right-arrow-vitor-soares.png);
}
.sliderLeftArrow {
visibility: hidden;
padding: 0;
margin: 0;
}
.sliderLeftArrow::before {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/left-arrow-vitor-soares.png);
}
@media only screen and (max-width: 1025px) {
.sliderLeftArrow::before {
display: block;
}
}