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

88 lines
1.9 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 */
/* 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 67px;
}
2023-02-09 15:17:44 +00:00
@media only screen and (max-width: 1025px) {
.sliderLayoutContainer {
padding: 0 63px;
}
}
@media only screen and (max-width: 767px) {
.sliderLayoutContainer {
padding: 0 59px;
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;
}
.sliderRightArrow::after {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/right-arrow-vitor-soares.png);
padding: 0 40px 0 0;
}
2023-02-09 15:17:44 +00:00
@media only screen and (max-width: 767px) {
.sliderRightArrow::after {
padding: 0 48px 0 0;
}
}
.sliderLeftArrow {
visibility: hidden;
}
.sliderLeftArrow::before {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/left-arrow-vitor-soares.png);
padding: 0 0 0 40px;
}
@media only screen and (max-width: 1025px) {
.sliderLeftArrow::before {
display: block;
}
2023-02-09 15:17:44 +00:00
}
@media only screen and (max-width: 767px) {
.sliderLeftArrow::before {
padding: 0 0 0 48px;
}
}