challenge-vtex-io-eleonora-otz/styles/sass/pages/product/vtex.slider-layout.scss

121 lines
2.0 KiB
SCSS

// Prateleira de produtos
// Container
.sliderLayoutContainer {
width: 94%;
margin: auto;
padding: 0;
@media screen and (min-width: 1920px) {
width: 62%;
}
@media screen and (max-width: 1024px) {
width: 100%;
}
}
// Informações de cada produto
.slideChildrenContainer {
width: 314px;
padding-right: 16px;
}
// Preço sem desconto
.listPrice {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $gray-300;
margin: 0;
padding-bottom: 8px;
.listPriceLabel {
display: none;
}
.currencyContainer {
&::before {
content: "de ";
}
&::after {
content: " por";
}
}
}
// Preço com desconto
:global(.vtex-store-components-3-x-sellingPrice) {
padding: 0;
:global(.vtex-store-components-3-x-sellingPriceLabel) {
display: none;
}
:global(.vtex-store-components-3-x-sellingPriceValue) {
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: $black;
}
}
// Arrows
:global(.vtex-slider-layout-0-x-sliderRightArrow) {
visibility: hidden;
&::after {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-right-eleonoraotz.png);
margin: 0 40px 0 0;
@media screen and (min-width: 1920px) {
margin: 0;
}
}
}
:global(.vtex-slider-layout-0-x-sliderLeftArrow) {
visibility: hidden;
&::before {
visibility: visible;
content: url(https://agenciamagma.vtexassets.com/arquivos/arrow-left-eleonoraotz.png);
margin: 0 0 0 40px;
@media screen and (min-width: 1920px) {
margin: 0;
}
}
}
// Desconto
:global(.vtex-store-components-3-x-discountInsideContainer) {
display: none;
}
// Dots da prateleira de produtos
.paginationDotsContainer {
align-items: center;
bottom: -30px;
.paginationDot {
background-color: $black;
}
.paginationDot--isActive {
background-color: white;
border: 1px solid $black;
width: 17px !important;
height: 17px !important;
}
}