challenge-vtex-io-eleonora-otz/styles/css/vtex.slider-layout.css

129 lines
3.3 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 */
/* Grid breakpoints */
.sliderLayoutContainer {
width: 94%;
margin: auto;
padding: 0;
}
@media screen and (min-width: 1920px) {
.sliderLayoutContainer {
width: 62%;
}
}
@media screen and (max-width: 1024px) {
.sliderLayoutContainer {
width: 100%;
padding: 0 40px;
}
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-containerNormal) {
max-width: unset !important;
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-containerNormal) :global(.vtex-product-summary-2-x-element) {
padding: 0;
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-imageNormal) {
height: 314px;
width: 105%;
max-height: unset !important;
object-fit: contain;
}
.sliderLayoutContainer :global(.vtex-product-summary-2-x-imageStackContainer) {
display: flex;
}
.slideChildrenContainer {
padding-right: 16px;
}
:global(.vtex-store-components-3-x-listPrice) {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #bababa;
margin: 0;
padding-bottom: 8px;
}
@media screen and (max-width: 1024px) {
:global(.vtex-store-components-3-x-listPrice) {
font-size: 12px;
line-height: 16px;
}
}
:global(.vtex-store-components-3-x-listPrice) :global(.vtex-store-components-3-x-listPriceLabel) {
display: none;
}
:global(.vtex-store-components-3-x-listPrice) :global(.vtex-store-components-3-x-currencyContainer)::before {
content: "de ";
}
:global(.vtex-store-components-3-x-listPrice) :global(.vtex-store-components-3-x-currencyContainer)::after {
content: " por";
}
:global(.vtex-store-components-3-x-sellingPrice) {
padding: 0;
}
:global(.vtex-store-components-3-x-sellingPrice) :global(.vtex-store-components-3-x-sellingPriceLabel) {
display: none;
}
:global(.vtex-store-components-3-x-sellingPrice) :global(.vtex-store-components-3-x-sellingPriceValue) {
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: #000000;
}
@media screen and (max-width: 1024px) {
:global(.vtex-store-components-3-x-sellingPrice) :global(.vtex-store-components-3-x-sellingPriceValue) {
font-size: 18px;
line-height: 25px;
}
}
:global(.vtex-slider-layout-0-x-sliderRightArrow) {
visibility: hidden;
}
:global(.vtex-slider-layout-0-x-sliderRightArrow)::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) {
:global(.vtex-slider-layout-0-x-sliderRightArrow)::after {
margin: 0;
}
}
:global(.vtex-slider-layout-0-x-sliderLeftArrow) {
visibility: hidden;
}
:global(.vtex-slider-layout-0-x-sliderLeftArrow)::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) {
:global(.vtex-slider-layout-0-x-sliderLeftArrow)::before {
margin: 0;
}
}
.paginationDotsContainer {
align-items: center;
bottom: -30px;
}
.paginationDotsContainer .paginationDot {
background-color: #000000;
}
.paginationDotsContainer .paginationDot--isActive {
background-color: white;
border: 1px solid #000000;
width: 17px !important;
height: 17px !important;
}