Feat(Checkout): Cria responsividade mobile

This commit is contained in:
Rhayllon Daudt 2022-12-18 20:22:34 -03:00
parent 5f41f7dca1
commit f64723544d
10 changed files with 481 additions and 56 deletions

View File

@ -14,9 +14,14 @@ export default class Footer {
this.createShelf(); this.createShelf();
this.shelfList = await waitElement(".footerCheckout__shelfList"); this.shelfList = await waitElement(".footerCheckout__shelfList");
this.shelfItens(); this.shelfItens();
// await this.shelfUpdate(); if (window.innerWidth > 1024){
this.addCarrossel(); this.addCarrossel();
} }
if (window.innerWidth < 1024){
this.addCarrosselMobile();
}
}
async selectors() { async selectors() {
//Para verificar se o carrinho está vazio e remover a prateleira de produtos: //Para verificar se o carrinho está vazio e remover a prateleira de produtos:
@ -54,8 +59,17 @@ export default class Footer {
infinite: false, infinite: false,
}); });
} }
async addCarrosselMobile() {
const elemento = await waitElement(".footerCheckout__shelfList");
$(elemento).slick({
slidesToShow: 3,
slidesToScroll: 1,
arrows: true,
infinite: false,
});
}
addIconVtexAndM3() { addIconVtexAndM3() {
if (this.iconsVtexAndM3 && window.innerWidth > 1024) { if (this.iconsVtexAndM3) {
this.iconsVtexAndM3.innerHTML = ` this.iconsVtexAndM3.innerHTML = `
<li> <li>
<a class="Link1" href="https://vtex.com/br-pt/"> <a class="Link1" href="https://vtex.com/br-pt/">
@ -75,7 +89,7 @@ export default class Footer {
} }
addIconsCardAndVtxpci() { addIconsCardAndVtxpci() {
if (this.iconesCartoesAndVtexpci && window.innerWidth > 1024) { if (this.iconesCartoesAndVtexpci) {
this.iconesCartoesAndVtexpci.innerHTML = ` this.iconesCartoesAndVtexpci.innerHTML = `
<li> <li>
<span class="footerCheckout__payments"><img class="footer-imgs-cards" src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png" alt="Img bandeira Mastercard" /> <span class="footerCheckout__payments"><img class="footer-imgs-cards" src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png" alt="Img bandeira Mastercard" />

View File

@ -4,6 +4,10 @@
font-family: $font-family; font-family: $font-family;
padding-top: 8px; padding-top: 8px;
@media screen and (max-width: 1024px) {
padding-top: 11px;
}
.link-cart { .link-cart {
a { a {
color: $color-black2; color: $color-black2;
@ -13,9 +17,9 @@
line-height: 16px; line-height: 16px;
text-transform: uppercase; text-transform: uppercase;
// &:hover { @media screen and (max-width: 1024px) {
// color: lighen($color-black, 10); margin-right: 16px;
// } }
} }
} }
@ -29,6 +33,11 @@
margin-bottom: 20px; margin-bottom: 20px;
margin-top: 7px; margin-top: 7px;
@media screen and (max-width: 1024px) {
margin-bottom: 38px;
margin-top: 49px;
}
span { span {
color: $color-black2; color: $color-black2;
font-family: $font-family-secundary; font-family: $font-family-secundary;
@ -36,6 +45,11 @@
line-height: 23px; line-height: 23px;
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
@media screen and (max-width: 1024px) {
font-size: 14px;
line-height: 16px;
}
} }
small { small {
@ -46,6 +60,11 @@
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
padding: 0; padding: 0;
@media screen and (max-width: 1024px) {
font-size: 14px;
line-height: 16px;
}
} }
} }
} }
@ -56,6 +75,10 @@
width: 57%; width: 57%;
justify-content: flex-start; justify-content: flex-start;
@media screen and (max-width: 1024px) {
width: 97%;
}
input { input {
box-shadow: none; box-shadow: none;
color: $color-black; color: $color-black;
@ -67,6 +90,11 @@
border-radius: 5px 0px 0px 5px; border-radius: 5px 0px 0px 5px;
width: 77%; width: 77%;
height: 52px; height: 52px;
@media screen and (max-width: 1024px) {
width: 88%;
}
&::placeholder{ &::placeholder{
color: $color-black2; color: $color-black2;
font-weight: 400; font-weight: 400;
@ -109,6 +137,12 @@
line-height: 19px; line-height: 19px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
text-transform: uppercase; text-transform: uppercase;
color: $color-black2;
@media screen and (max-width: 1024px) {
padding: 4px 18px;
height: 50px;
}
} }
span.help.error { span.help.error {
@ -119,6 +153,11 @@
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
@media screen and (max-width: 1024px) {
left: 435px;
margin-top: 7px;
}
} }
} }
@ -192,6 +231,15 @@
font-family: $font-family; font-family: $font-family;
padding: 17px 17px 29px 17px; padding: 17px 17px 29px 17px;
@media screen and (max-width: 1024px) {
padding: 17px 17px 44px 17px;
margin-bottom: 17px;
.PaymentCardNumber input {
width: 97%;
height: 33px;
}
}
span{ span{
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@ -376,6 +424,10 @@
color: #303030; color: #303030;
padding: 8px 12px; padding: 8px 12px;
@media screen and (max-width: 1024px) {
padding: 13px 12px;
}
svg path { svg path {
fill: #d8c8ac; fill: #d8c8ac;
} }
@ -471,11 +523,26 @@
input#ship-complement.input-large, input#ship-complement.input-large,
input#ship-receiverName.input-xlarge { input#ship-receiverName.input-xlarge {
width: 95%; width: 95%;
@media screen and (max-width: 1024px) {
width: 98.5%;
}
}
.payment-group{
width: 32.7%;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
.steps-view{ .steps-view{
width: 57%; width: 57%;
margin-top: 35px; margin-top: 35px;
@media screen and (max-width: 1024px) {
width: 96.85%;
}
} }
span.payment-group-item-text{ span.payment-group-item-text{
background-image: none !important; background-image: none !important;
@ -496,13 +563,20 @@
line-height: 24px; line-height: 24px;
text-align: center; text-align: center;
letter-spacing: -0.01em; letter-spacing: -0.01em;
margin-left: 0;
width: 76.8%;
@media screen and (max-width: 1024px) {
margin-left: 0;
width: 94.6%;
}
&-text{ &-text{
padding: 5px 0 5px 0; padding: 5px 0 5px 0;
} }
} }
.payment-group-item.active{ .payment-group-item.active{
margin-left: 5px; margin-left: 0px;
border-radius: 6px; border-radius: 6px;
border-right: 1px solid $color-orange ; border-right: 1px solid $color-orange ;
border: 1px solid $color-orange; border: 1px solid $color-orange;
@ -510,6 +584,13 @@
text-decoration: none; text-decoration: none;
opacity: 1; opacity: 1;
background: rgba(220, 221, 227, 0.3); background: rgba(220, 221, 227, 0.3);
width: 76.8%;
@media screen and (max-width: 1024px) {
margin-left: 0;
width: 94.6%;
}
} }
} }
} }

View File

@ -26,6 +26,24 @@ input#creditCardpayment-card-0Number.input.medium{
border-radius: 5px; border-radius: 5px;
padding: 16px 16px 5px 16px; padding: 16px 16px 5px 16px;
@media screen and (max-width: 1024px) {
padding: 16px 0;
position: relative;
}
.table.cart-items{
@media screen and (max-width: 1024px) {
thead{
display: none;
}
tbody{
.shipping-date.empty,
.quantity-price {
display: none;
}
}
}
}
@include mq(md, max) { @include mq(md, max) {
margin: 0px 0 25px 0; margin: 0px 0 25px 0;
border-left: none; border-left: none;
@ -41,7 +59,14 @@ input#creditCardpayment-card-0Number.input.medium{
width: 99.5%; width: 99.5%;
border: 1px solid $color-gray5; border: 1px solid $color-gray5;
height: 397px !important; height: 397px !important;
max-height: 397px !important;
border-radius: 8px; border-radius: 8px;
@media screen and (max-width: 1024px) {
margin: 0;
padding-bottom: 50px;
}
h2 { h2 {
background: $color-white; background: $color-white;
border: none; border: none;
@ -65,6 +90,10 @@ input#creditCardpayment-card-0Number.input.medium{
.cart { .cart {
border: none; border: none;
@media screen and (max-width: 1024px) {
padding: 34px 16px 16px 16px;
}
ul li { ul li {
border-top: none; border-top: none;
margin-top: 0; margin-top: 0;
@ -138,6 +167,11 @@ input#creditCardpayment-card-0Number.input.medium{
.product-name{ .product-name{
padding-top: 10px; padding-top: 10px;
@media screen and (max-width: 1024px) {
position: absolute;
padding-top: 5px;
}
} }
} }
@ -185,6 +219,10 @@ input#creditCardpayment-card-0Number.input.medium{
padding: 0; padding: 0;
width: 60px; width: 60px;
@media screen and (max-width: 1024px) {
padding: 0 16px;
}
@include mq(sm, max) { @include mq(sm, max) {
width: 72px; width: 72px;
} }
@ -253,6 +291,10 @@ input#creditCardpayment-card-0Number.input.medium{
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@media screen and (max-width: 1024px) {
display: none;
}
@include mq(md, max) { @include mq(md, max) {
display: none; display: none;
} }
@ -274,6 +316,11 @@ input#creditCardpayment-card-0Number.input.medium{
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
text-decoration-line: line-through; text-decoration-line: line-through;
@media screen and (max-width: 1024px) {
padding-left: 8px;
}
@include mq(sm, max) { @include mq(sm, max) {
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@ -286,6 +333,18 @@ input#creditCardpayment-card-0Number.input.medium{
} }
td.product-price{ td.product-price{
padding: 10px 5px 0 5px; padding: 10px 5px 0 5px;
@media screen and (max-width: 1024px) {
float: right;
padding: 26px 16px 0 0;
height: 37px;
}
}
td.item-remove{
@media screen and (max-width: 1024px) {
position: absolute;
right: 10px;
top: 11px;
}
} }
td.quantity { td.quantity {
@ -301,6 +360,12 @@ input#creditCardpayment-card-0Number.input.medium{
padding: 0; padding: 0;
width: max-content !important; width: max-content !important;
@media screen and (max-width: 1024px) {
float: left;
height: 34px;
margin: 28px auto 0;
}
@media (max-width: 490px) { @media (max-width: 490px) {
margin-left: 84px !important; margin-left: 84px !important;
} }
@ -318,6 +383,10 @@ input#creditCardpayment-card-0Number.input.medium{
color: $color-gray2; color: $color-gray2;
box-shadow: none; box-shadow: none;
@media screen and (max-width: 1024px) {
padding: 0 3px;
}
@include mq(lg, max) { @include mq(lg, max) {
width: 24px !important; width: 24px !important;
} }
@ -408,13 +477,15 @@ input#creditCardpayment-card-0Number.input.medium{
} }
.item-remove { .item-remove {
@media (max-width: 490px) {
top: 0;
}
.icon::before { .icon::before {
color: $color-gray4; color: $color-gray4;
font-size: 15px; font-size: 15px;
@media screen and (max-width: 1024px) {
color: $color-gray8;
font-size: 13px;
}
@include mq(md, max) { @include mq(md, max) {
font-size: 18px; font-size: 18px;
} }
@ -446,6 +517,9 @@ input#creditCardpayment-card-0Number.input.medium{
@include mq(md, max) { @include mq(md, max) {
padding: 0 16px; padding: 0 16px;
} }
@media screen and (max-width: 1024px) {
padding: 0 0 0 16px;
}
.srp-main-title { .srp-main-title {
margin: 33px 0 12px; margin: 33px 0 12px;
@ -465,6 +539,10 @@ input#creditCardpayment-card-0Number.input.medium{
font-size: 14px; font-size: 14px;
line-height: 18px; line-height: 18px;
margin: 0 0 10px; margin: 0 0 10px;
@media screen and (max-width: 1024px) {
max-width: 17.32rem;
}
} }
button.shp-open-options { button.shp-open-options {
@ -496,6 +574,10 @@ input#creditCardpayment-card-0Number.input.medium{
width: 280px; width: 280px;
margin-top: 0; margin-top: 0;
@media screen and (max-width: 1024px) {
width: 343px;
}
@include mq(cstm, max) { @include mq(cstm, max) {
width: calc(100vw - 32px); width: calc(100vw - 32px);
} }
@ -522,14 +604,6 @@ input#creditCardpayment-card-0Number.input.medium{
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
// &:hover {
// background-color: lighten($color-black, 5);
// }
// &:active {
// background-color: darken($color-black, 5);
// }
} }
} }
@ -613,13 +687,11 @@ input#creditCardpayment-card-0Number.input.medium{
width: 100px; width: 100px;
text-transform: uppercase; text-transform: uppercase;
// &:hover { @media screen and (max-width: 1024px) {
// background-color: lighten($color-black, 5); right: -36px;
// } top: 28px;
}
// &:active {
// background-color: darken($color-black, 5);
// }
} }
small a { small a {
@ -748,8 +820,10 @@ input#creditCardpayment-card-0Number.input.medium{
} }
.link-coupon-add { .link-coupon-add {
color: #303030; font-family: $font-family-secundary;
color: $color-black2;
font-size: 12px; font-size: 12px;
line-height: 14px;
text-decoration: underline; text-decoration: underline;
} }
.coupon-label{ .coupon-label{
@ -765,6 +839,10 @@ input#creditCardpayment-card-0Number.input.medium{
color: $color-gray2; color: $color-gray2;
cursor: none; cursor: none;
text-align: left; text-align: left;
@media screen and (max-width: 1024px) {
margin: 48px 0 4px 0;
}
} }
.coupon-fields { .coupon-fields {
@ -795,6 +873,14 @@ input#creditCardpayment-card-0Number.input.medium{
width: 51%; width: 51%;
margin-right: 7.4px; margin-right: 7.4px;
@media screen and (max-width: 1024px) {
padding: 0 0 0 12px;
margin-right: 0;
max-width: none;
width: 84.5%;
float: left;
}
@include mq(sm, max) { @include mq(sm, max) {
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
@ -822,13 +908,6 @@ input#creditCardpayment-card-0Number.input.medium{
width: 138px; width: 138px;
} }
// &:hover {
// background-color: lighten($color-black, 5);
// }
// &:active {
// background-color: darken($color-black, 5);
// }
} }
} }
} }
@ -850,6 +929,10 @@ input#creditCardpayment-card-0Number.input.medium{
line-height: 16px; line-height: 16px;
color: $color-black; color: $color-black;
padding: 12px 0; padding: 12px 0;
@media screen and (max-width: 1024px) {
padding: 10px 0;
}
} }
&.info { &.info {
@ -871,15 +954,17 @@ input#creditCardpayment-card-0Number.input.medium{
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: $color-black; color: $color-black;
// padding-top: 30px;
float: none; float: none;
} }
td.info{ td.info{
font-weight: 700; font-weight: 700;
font-size: 18px; font-size: 18px;
line-height: 25px; line-height: 25px;
// padding-left: 17px;
font-family: $font-family; font-family: $font-family;
@media screen and (max-width: 1024px) {
padding: 14px 0;
}
} }
td.monetary{ td.monetary{
padding-right: 0px; padding-right: 0px;
@ -916,6 +1001,11 @@ input#creditCardpayment-card-0Number.input.medium{
.coupon-data{ .coupon-data{
display: block !important; display: block !important;
margin-top: 33px; margin-top: 33px;
@media screen and (max-width: 1024px) {
margin-top: 48.35px;
margin-bottom: 10px;
}
} }
.cart-links-bottom { .cart-links-bottom {
@ -952,6 +1042,10 @@ input#creditCardpayment-card-0Number.input.medium{
line-height: 14px; line-height: 14px;
color: $color-black2; color: $color-black2;
text-decoration: none; text-decoration: none;
&#cart-choose-more-products.more.link-choose-more-products{
margin-right: 0;
}
} }
} }

View File

@ -4,12 +4,22 @@ body .container-main.container-order-form .orderform-template.active {
margin-left: unset; margin-left: unset;
margin-right: 0; margin-right: 0;
float: right; float: right;
@media screen and (max-width: 1024px) {
width: 100%;
padding: 0 16px;
margin-bottom: 70px;
}
.payment-submit-wrap{ .payment-submit-wrap{
margin-top: 15px; margin-top: 15px;
} }
} }
.orderform-template-holder { .orderform-template-holder {
width: 66.1132%; width: 66.1132%;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
} }

View File

@ -17,6 +17,9 @@
margin: 170px 0 32px 0; margin: 170px 0 32px 0;
font-size: 0px; font-size: 0px;
line-height: 0px; line-height: 0px;
@media screen and (max-width: 1024px) {
margin: 170px 0 22px 0;
}
&::after{ &::after{
content: "SEU CARRINHO ESTÁ VAZIO"; content: "SEU CARRINHO ESTÁ VAZIO";
@ -25,6 +28,11 @@
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
color: $color-black2; color: $color-black2;
@media screen and (max-width: 1024px) {
font-size: 18px;
line-height: 25px;
}
} }
} }
@ -47,9 +55,13 @@
width: 31.74%; width: 31.74%;
padding: 15px 0; padding: 15px 0;
&:hover { @media screen and (max-width: 1024px) {
background: lighten($color-white, 5); width: 30.31%;
} }
// &:hover {
// background: lighten($color-white, 5);
// }
&::before{ &::before{
content: "Continuar comprando"; content: "Continuar comprando";
font-family: $font-family-secundary; font-family: $font-family-secundary;

View File

@ -16,6 +16,13 @@ footer .footerCheckout__wrapper {
display: flex; display: flex;
align-items: center; align-items: center;
width: 94.9734%; width: 94.9734%;
@media screen and (max-width: 1024px) {
flex-direction: column;
align-items: baseline;
width: 97%;
gap: 16px;
background-color: rebeccapurple;
}
} }
} }
footer .footerCheckout__prateleira, footer .footerCheckout__prateleira,
@ -26,6 +33,9 @@ header {
header{ header{
border-bottom: 1px solid $color-black2; border-bottom: 1px solid $color-black2;
padding: 29px 0; padding: 29px 0;
@media screen and (max-width: 1024px) {
padding: 16px 0;
}
} }
.headerCheckout__safeBuy{ .headerCheckout__safeBuy{
display: flex; display: flex;
@ -39,9 +49,22 @@ body {
min-height: 100% !important; min-height: 100% !important;
padding-top: 0 !important; padding-top: 0 !important;
.PaymentCardNumber input { .SecurityEnvironmentIcon{
@media screen and (max-width: 1024px) {
display: none;
}
}
.vtex-omnishipping-1-x-leanShippingOptionActive{
background: $color-gray12 !important;
}
#creditCardpayment-card-0Number {
width: 64%; width: 64%;
height: 25px; height: 25px;
@media screen and (max-width: 1024px) {
width: 97%;
height: 33px;
}
} }
p.PaymentCardHolderDocument.input.text.required.mask{ p.PaymentCardHolderDocument.input.text.required.mask{
display: none; display: none;
@ -60,6 +83,10 @@ body {
#ship-postalCode{ #ship-postalCode{
border: 1px solid $color-gray8; border: 1px solid $color-gray8;
border-radius: 8px; border-radius: 8px;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
#find-pickups-manualy-button-denied{ #find-pickups-manualy-button-denied{
color: $color-black2; color: $color-black2;
@ -78,6 +105,12 @@ body {
display: none; display: none;
} }
} }
p.input.ship-postalCode.required.text{
@media screen and (max-width: 1024px) {
width: 75%;
}
}
tbody.totalizers-list{ tbody.totalizers-list{
tr.srp-summary-result.hide{ tr.srp-summary-result.hide{
display: none; display: none;
@ -125,10 +158,10 @@ body {
div.span5.totalizers.summary-totalizers.cart-totalizers.pull-right{ div.span5.totalizers.summary-totalizers.cart-totalizers.pull-right{
margin-bottom: 0; margin-bottom: 0;
} }
}
button#payment-data-submit.submit.btn.btn-success.btn-large.btn-block{ button#payment-data-submit.submit.btn.btn-success.btn-large.btn-block{
margin-top: 47px; margin-top: 47px;
} }
}
div.step.accordion-group.client-profile-data { div.step.accordion-group.client-profile-data {
.client-profile-email{ .client-profile-email{
margin-bottom: 6px; margin-bottom: 6px;
@ -179,17 +212,6 @@ body {
color: $color-gray9; color: $color-gray9;
} }
} }
// form.form-page.client-pre-email.anim-death.anim-current{
// span{
// div#client-profile-data.span6.client-profile-data span{
// font-size: 20px;
// line-height: 23px;
// }
// &::after{
// display: none;
// }
// }
// }
a#payment-group-creditCardPaymentGroup.payment-group-item, a#payment-group-creditCardPaymentGroup.payment-group-item,
a#payment-group-bankInvoicePaymentGroup.payment-group-item { a#payment-group-bankInvoicePaymentGroup.payment-group-item {
display: block; display: block;
@ -197,6 +219,9 @@ body {
} }
.payment-group-list-btn{ .payment-group-list-btn{
width: 105%; width: 105%;
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
@ -226,10 +251,177 @@ body {
.container-order-form, .container-order-form,
.container-cart { .container-cart {
width: 80%; width: 80%;
@media screen and (max-width: 1024px) {
width: 100%;
}
}
.row-fluid .full-cart.active, .row-fluid .orderform-template.active{
@media screen and (max-width: 1024px) {
display: flex;
flex-direction: column;
}
.row-fluid{
@media screen and (max-width: 1024px) {
display: flex;
flex-direction: column;
}
#client-profile-data{
@media screen and (max-width: 1024px) {
width: 100%;
padding: 0 16px;
span.help.error{
font-size: 12px;
line-height: 14px;
&::after{
display: none;
}
}
}
p.client-email.input.text.required{
@media screen and (max-width: 1024px) {
width: 100%;
}
#client-email{
@media screen and (max-width: 1024px) {
width: 98.5%;
}
}
}
p.client-first-name.input.pull-left.text.required{
@media screen and (max-width: 1024px) {
width: 50%;
margin-right: 0.5%;
}
#client-first-name{
@media screen and (max-width: 1024px) {
width: 95.7%;
}
}
}
p.client-last-name.input.pull-left.text.required{
@media screen and (max-width: 1024px) {
width: 49.5%;
}
#client-last-name{
@media screen and (max-width: 1024px) {
width: 96.9%;
}
}
}
p.client-document.input.pull-left.text.required.mask{
@media screen and (max-width: 1024px) {
width: 50%;
margin-right: 0.5%;
margin-bottom: 0;
}
#client-document{
@media screen and (max-width: 1024px) {
width: 95.7%;
}
}
}
p.client-phone.input.pull-left.text.required.mask{
@media screen and (max-width: 1024px) {
width: 49.5%;
margin-bottom: 0;
}
#client-phone{
@media screen and (max-width: 1024px) {
width: 96.9%;
}
}
}
p.newsletter{
@media screen and (max-width: 1024px) {
margin-top: 0;
}
}
}
#shipping-data{
@media screen and (max-width: 1024px) {
width: 100%;
padding: 0 16px;
margin: 0;
}
div.accordion-inner.shipping-container{
div.box-step{
#postalCode-finished-loading{
@media screen and (max-width: 1024px) {
width: 33%;
}
}
p.input.ship-postalCode.required.text{
@media screen and (max-width: 1024px) {
width: 100%;
}
#ship-postalCode{
@media screen and (max-width: 1024px) {
max-width: 98.5%;
}
}
}
div.vtex-omnishipping-1-x-address{
@media screen and (max-width: 1024px) {
margin-bottom: 0;
}
p.input.ship-number.required.text{
@media screen and (max-width: 1024px) {
margin-right: 0;
}
}
}
}
}
}
#payment-data{
@media screen and (max-width: 1024px) {
width: 100%;
padding: 0 16px;
margin: 0;
}
div.step.accordion-group.store-country-BRA.active{
@media screen and (max-width: 1024px) {
width: 96.4%;
}
}
}
}
}
.container-cart {
@media screen and (max-width: 1024px) {
width: 100%;
}
} }
} }
.row-fluid .full-cart.active{ .row-fluid .full-cart.active{
margin-bottom: 0; margin-bottom: 0;
.row-fluid.summary{
@media screen and (max-width: 1024px) {
display: flex;
flex-direction: column;
}
.span5.totalizers.summary-totalizers.cart-totalizers.pull-right{
@media screen and (max-width: 1024px) {
width: 100%;
margin: 0;
padding: 0 16px;
}
}
}
.clearfix.pull-right.cart-links.cart-links-bottom.hide{
width: 97%;
padding: 0 16px;
@media screen and (max-width: 1024px) {
margin-bottom: 3px;
}
}
} }
.btn-success { .btn-success {
@ -256,7 +448,7 @@ body {
} }
} }
#cart-title{ #cart-title{
display: block !important; // display: block !important;
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
@ -264,7 +456,11 @@ body {
color: $color-black; color: $color-black;
margin: 16px 0; margin: 16px 0;
letter-spacing: 0.05em; letter-spacing: 0.05em;
}
#orderform-title{
@media screen and (max-width: 1024px) {
margin: 16px 0 16px 16px;
}
} }

View File

@ -51,6 +51,10 @@
width: 10.8%; width: 10.8%;
margin-right: 0px margin-right: 0px
} }
@media screen and (max-width: 1024px) {
width: 11.8%;
margin-right: 1.6%;
}
} }
.footer-imgs-vtexpci{ .footer-imgs-vtexpci{
width: 84.4%; width: 84.4%;
@ -73,6 +77,11 @@
width: 33.33%; width: 33.33%;
justify-content: flex-end; justify-content: flex-end;
@media screen and (max-width: 1024px) {
justify-content: normal;
}
.Link1{ .Link1{
justify-content: end; justify-content: end;

View File

@ -3,6 +3,9 @@
.container { .container {
width: 79.53125%; width: 79.53125%;
margin: 0 auto; margin: 0 auto;
@media screen and (max-width: 1024px) {
width: 97%;
}
} }
&__wrapper { &__wrapper {
align-items: center; align-items: center;

View File

@ -6,6 +6,11 @@
.footerCheckout__prateleira{ .footerCheckout__prateleira{
width: 79.38%; width: 79.38%;
margin-bottom: 54px; margin-bottom: 54px;
@media screen and (max-width: 1024px) {
width: 96.5%;
margin: 0 10px 54px auto;
}
} }
.footerCheckout__shelfList{ .footerCheckout__shelfList{
margin: 0; margin: 0;

View File

@ -26,6 +26,7 @@ $color-gray8: #C4C4C4;
$color-gray9: #808080; $color-gray9: #808080;
$color-gray10: #E0E0E0; $color-gray10: #E0E0E0;
$color-gray11: #828282; $color-gray11: #828282;
$color-gray12: #F2F2F2;
$color-blue: #4267b2; $color-blue: #4267b2;
$color-blue2: #00C8FF; $color-blue2: #00C8FF;