fix: ajusta ultimos erros #2

Merged
LeonardoPereiraRocha merged 1 commits from feature/checkout into main 2022-12-27 01:56:01 +00:00
6 changed files with 63 additions and 10 deletions
Showing only changes of commit 143604f1fb - Show all commits

View File

@ -157,16 +157,21 @@ export default class Footer {
this.footerPrateleira.innerHTML = ""; this.footerPrateleira.innerHTML = "";
} }
}); });
/*window.addEventListener("hashchange", () => { window.addEventListener("hashchange", () => {
if ((window.location.hash = "#/cart")) { if ((window.location.hash == "#/cart")) {
if (target.style.display == "none") { if (target.style.display == "none") {
this.footerPrateleira.classList.remove("desable"); this.footerPrateleira.classList.remove("desable");
this.footerPrateleira.innerHTML = "";
this.catalogoApi(); this.catalogoApi();
} else {
myCart.classList.add("desable");
} }
} else { } else {
this.footerPrateleira.classList.add("desable"); this.footerPrateleira.classList.add("desable");
myCart.classList.add("desable");
this.footerPrateleira.innerHTML = "";
} }
});*/ });
}); });
observer.observe(this.checkoutVazio, { observer.observe(this.checkoutVazio, {

View File

@ -321,6 +321,12 @@
color: #303030; color: #303030;
font-weight: 500; font-weight: 500;
text-decoration: underline; text-decoration: underline;
@media (min-width: 2500px) {
font-weight: 400;
font-size: 20px;
line-height: 23px;
}
} }
.vtex-omnishipping-1-x-deliveryGroup { .vtex-omnishipping-1-x-deliveryGroup {

View File

@ -248,9 +248,10 @@
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
text-decoration-line: line-through; text-decoration-line: line-through;
@include mq(sm, max) { @media (min-width: 2500px) {
font-size: 12px; font-weight: 400;
line-height: 14px; font-size: 24px;
line-height: 28px;
} }
.old-product-price-label { .old-product-price-label {
@ -347,11 +348,17 @@
display: none; display: none;
} }
span { span {
font-family: $font-family-secundary;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: $color-black;
@media (min-width: 2500px) {
font-weight: 400;
font-size: 28px;
line-height: 33px;
}
} }
} }
@ -365,6 +372,12 @@
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
font-family: $font-family; font-family: $font-family;
@media (min-width: 2500px) {
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
} }
} }
@ -632,6 +645,8 @@
color: #303030; color: #303030;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
@media (min-width: 2500px) {
}
} }
#deliver-at-text a { #deliver-at-text a {
@ -906,7 +921,7 @@
padding: 12px 19px; padding: 12px 19px;
&:hover { &:hover {
background-color: darken($color-green, 5); background-color: $color-blue2;
} }
&:after { &:after {

View File

@ -170,12 +170,12 @@ body .container-main.container-order-form .orderform-template.active {
.PaymentCardNumber input { .PaymentCardNumber input {
display: block; display: block;
width: 223px; width: 200px;
height: 25px; height: 25px;
} }
.steps-view { .steps-view {
width: 393px; width: 393px;
height: 292px; height: 300px;
margin-right: 0px; margin-right: 0px;
} }

View File

@ -117,7 +117,7 @@
.slick-next { .slick-next {
position: absolute; position: absolute;
border: none; border: none;
bottom: 235px; bottom: 272px;
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg") background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg")
no-repeat center center; no-repeat center center;
z-index: 4; z-index: 4;

View File

@ -55,6 +55,8 @@
justify-content: center; justify-content: center;
gap: 5px; gap: 5px;
width: 92%; width: 92%;
flex-flow: wrap;
height: 90px;
text-transform: uppercase; text-transform: uppercase;
display: flex; display: flex;
margin: 0; margin: 0;
@ -122,6 +124,8 @@
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-bottom: 16px;
margin-top: 16px;
@media (max-width: 1024px) { @media (max-width: 1024px) {
flex-direction: column; flex-direction: column;
@ -147,6 +151,12 @@
width: 537px; width: 537px;
max-width: 100%; max-width: 100%;
} }
@media (max-width: 1024px) {
margin-left: 16px;
margin-top: 16px;
margin-bottom: 16px;
max-width: 100%;
}
} }
&__stamps { &__stamps {
@ -154,9 +164,22 @@
display: flex; display: flex;
justify-self: center; justify-self: center;
list-style: none; list-style: none;
margin: 0;
@media (max-width: 1024px) {
margin-left: 12px;
margin-bottom: 16px;
}
.logo-footer-cards { .logo-footer-cards {
display: flex; display: flex;
figure {
display: block;
margin-block-start: 0;
margin-block-end: 0;
margin-inline-start: 0;
margin-inline-end: 0;
}
.logo1, .logo1,
.logo6, .logo6,
@ -208,6 +231,10 @@
display: flex; display: flex;
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
@media (max-width: 1024px) {
margin-left: 16px;
margin-bottom: 16px;
}
span { span {
@media (min-width: 2500px) { @media (min-width: 2500px) {
font-weight: 400; font-weight: 400;