fix: modifica arrow do slider e ajusta alinhamento do product price

This commit is contained in:
Gabriel Gomes Fernandes 2023-02-07 17:34:47 -03:00
parent 9602fd9ade
commit b52c15b9e0
3 changed files with 52 additions and 8 deletions

View File

@ -124,6 +124,7 @@
"children": [
"product-summary-image#shelf",
"product-summary-name",
"product-summary-space",
"product-list-price#summary",
"product-selling-price#summary"
]

View File

@ -9,7 +9,7 @@
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap");
/* Grid breakpoints */
.sliderLayoutContainer--carousel {
background-color: white;
background-color: transparent;
height: 630px;
}
.sliderLayoutContainer--carousel .sliderTrackContainer {
@ -63,10 +63,32 @@
line-height: 33px;
color: #000000;
}
.sliderLayoutContainer--carousel .sliderLeftArrow,
.sliderLayoutContainer--carousel .sliderRightArrow {
padding: 0;
.sliderLayoutContainer--carousel .sliderRightArrow,
.sliderLayoutContainer--carousel .sliderLeftArrow {
margin: 0;
padding: 0;
}
.sliderLayoutContainer--carousel .sliderRightArrow .caretIcon,
.sliderLayoutContainer--carousel .sliderLeftArrow .caretIcon {
display: none;
}
.sliderLayoutContainer--carousel .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;
}
.sliderLayoutContainer--carousel .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;
}
.sliderLayoutContainer--carousel .paginationDotsContainer {
display: flex;

View File

@ -1,5 +1,5 @@
.sliderLayoutContainer--carousel {
background-color: white;
background-color: transparent;
height: 630px;
.sliderTrackContainer {
@ -63,10 +63,31 @@
}
}
.sliderLeftArrow,
.sliderRightArrow {
padding: 0;
.sliderRightArrow,
.sliderLeftArrow {
margin: 0;
padding: 0;
.caretIcon {
display: none;
}
}
.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;
}
.paginationDotsContainer {