challenge-vtex-io-naian-felix/styles/sass/pages/product/vtex.slider-layout.scss

117 lines
2.8 KiB
SCSS
Raw Normal View History

2023-02-07 19:53:56 +00:00
.sliderLayoutContainer {
background-color: transparent;
height: 630px;
.sliderRightArrow,
.sliderLeftArrow {
2023-02-08 03:55:14 +00:00
bottom: 48%;
2023-02-07 19:53:56 +00:00
margin: 0;
padding: 0;
.caretIcon {
2023-02-07 20:34:16 +00:00
display: none;
2023-02-07 19:53:56 +00:00
}
}
2023-02-07 20:34:16 +00:00
.sliderLeftArrow::after {
content: "";
display: block;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='31' viewBox='0 0 12 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000193945 15.2383L10.9291 30.1191L11.2002 27.7468L2.30458 15.2383L11.2002 2.89145L10.9291 0.519139L0.000193945 15.2383Z' fill='black'/%3E%3C/svg%3E%0A");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 11px;
height: 30px;
}
.sliderRightArrow::after {
content: "";
display: block;
background-image: url("data:image/svg+xml,%3Csvg width='12' height='31' viewBox='0 0 12 31' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.9998 15.4004L1.07091 0.519531L0.799804 2.89184L9.69542 15.4004L0.799802 27.7472L1.07091 30.1195L11.9998 15.4004Z' fill='black'/%3E%3C/svg%3E ");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 11px;
height: 30px;
}
2023-02-07 19:53:56 +00:00
.paginationDotsContainer {
display: flex;
align-items: center;
margin-bottom: 64px;
.paginationDot {
width: 10px;
height: 10px;
background-color: black;
border: none;
}
.paginationDot--isActive {
width: 17px !important;
height: 17px !important;
background-color: white;
border: 0.5px solid #000000;
}
}
}
:global(.vtex-product-summary-2-x-imageContainer) {
width: 314px;
height: 314px;
:global(.vtex-product-summary-2-x-imageNormal) {
max-height: 314px !important;
}
}
:global(.vtex-product-price-1-x-listPrice) {
display: block;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-bottom: 8px;
}
:global(.vtex-product-price-1-x-sellingPrice) {
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
:global(.vtex-product-summary-2-x-nameContainer) {
padding-bottom: 8px;
text-align: center;
justify-content: center;
:global(.vtex-product-summary-2-x-productBrand) {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #000000;
text-align: center;
word-wrap: none;
}
}
:global(.vtex-product-summary-2-x-element) {
padding: 0;
}
:global(.vtex-rich-text-0-x-container) {
display: none;
}
:global(.vtex-slider-layout-0-x-sliderTrackContainer) {
2023-02-08 03:55:14 +00:00
margin: 0 27px 32px 27px;
2023-02-07 19:53:56 +00:00
}
:global(.vtex-slider-layout-0-x-sliderTrack) {
margin-bottom: 32px;
}
:global(.vtex-slider-layout-0-x-slideChildrenContainer) {
max-width: 314px;
}
:global(.vtex-slider-layout-0-x-slide) {
width: 314px !important;
height: 448px;
}