Merge pull request 'feature/template-checkout' (#2) from feature/template-checkout into main

Reviewed-on: #2
This commit is contained in:
Filipe Quintanilha Evangelista 2022-12-26 14:13:05 +00:00
commit 93ab9d6efe
9 changed files with 285 additions and 128 deletions

View File

@ -16,6 +16,7 @@ export default class Footer {
this.titleCart(); this.titleCart();
this.buildSlickItems(); this.buildSlickItems();
this.onUpdate(); this.onUpdate();
this.reload();
} }
async selectors() { async selectors() {
@ -46,6 +47,21 @@ export default class Footer {
window.addEventListener("hashchange", this.onUpdate.bind(this)); window.addEventListener("hashchange", this.onUpdate.bind(this));
} }
reload() {
if (window.performance) {
console.info("window.performance works fine on this browser");
}
if (
performance.navigation.type == performance.navigation.TYPE_RELOAD &&
this.checkoutVazio.style.display == "none"
) {
this.addCarrossel();
console.log("This page is reloaded");
} else {
console.log("This page is not reloaded");
}
}
buildSlickItems() { buildSlickItems() {
const slickItems = fetch( const slickItems = fetch(
"https://m3academy.myvtex.com/api/catalog_system/pub/products/search/?fq=productClusterIds:319" "https://m3academy.myvtex.com/api/catalog_system/pub/products/search/?fq=productClusterIds:319"
@ -118,10 +134,11 @@ export default class Footer {
if (mutation.type === "attributes" && mutation.attributeName === "style") { if (mutation.type === "attributes" && mutation.attributeName === "style") {
if (target.style.display === "none") { if (target.style.display === "none") {
if (!this.footerPrateleira.classList.contains("slick-initialized")) if (!this.footerPrateleira.classList.contains("slick-initialized"))
this.addCarrossel(); this.footerPrateleira.style.display = "";
this.footerPrateleira.style.display = ""; this.addCarrossel();
} else { } else {
this.footerPrateleira.style.display = "none"; this.footerPrateleira.style.display = "none";
this.removeCarrossel();
} }
} }
}.bind(this) }.bind(this)
@ -155,6 +172,10 @@ export default class Footer {
}); });
} }
removeCarrossel() {
$(this.footerPrateleira).slick("unslick");
}
pagamentos() { pagamentos() {
this.payments.innerHTML = ` this.payments.innerHTML = `
<ul class="lista-pagamentos" > <ul class="lista-pagamentos" >

View File

@ -65,7 +65,7 @@
line-height: 23px; line-height: 23px;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
color: #000000; color: $color-black2;
@include mq(sm, max) { @include mq(sm, max) {
font-size: 12px !important; font-size: 12px !important;
@ -91,7 +91,7 @@
line-height: 23px; line-height: 23px;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
color: #000000; color: $color-black2;
padding: 0; padding: 0;
@include mq(sm, max) { @include mq(sm, max) {
@ -127,10 +127,10 @@
} }
input { input {
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 5px 0px 0px 5px; border-radius: 5px 0px 0px 5px;
box-shadow: none; box-shadow: none;
color: #000000; color: $color-black2;
font-family: $font-family; font-family: $font-family;
padding: 0 16px; padding: 0 16px;
box-sizing: border-box; box-sizing: border-box;
@ -162,7 +162,7 @@
button { button {
min-width: fit-content; min-width: fit-content;
background: #00c8ff; background: #00c8ff;
color: #000000; color: $color-black2;
font-weight: 700; font-weight: 700;
border-radius: 0px 8px 8px 0px; border-radius: 0px 8px 8px 0px;
border: none; border: none;
@ -225,7 +225,7 @@
margin-top: 47px; margin-top: 47px;
padding: 16px; padding: 16px;
background-color: $color-white; background-color: $color-white;
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 5px; border-radius: 5px;
@include mq(md, max) { @include mq(md, max) {
@ -246,7 +246,7 @@
} }
h3 { h3 {
color: #000000; color: $color-black2;
margin: 0 0 9px 0; margin: 0 0 9px 0;
font-weight: 700; font-weight: 700;
@ -269,7 +269,7 @@
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 24px; font-size: 24px;
@ -303,8 +303,25 @@
.client-profile-data { .client-profile-data {
.active { .active {
padding: 24px 17px 44px !important;
width: 89.5%;
@include mq(sm, max) {
width: 89.51% !important;
}
@include mq(xl, min) { @include mq(xl, min) {
width: 94.1%; width: 89.2% !important;
padding: 24px 33px 44px !important;
.box-step {
width: 100%;
padding-left: 0;
}
.form-step {
width: 100.3%;
}
} }
} }
} }
@ -317,20 +334,17 @@
} }
.accordion-group { .accordion-group {
border: 1px solid #f0f0f0; border: 1px solid $color-gray3;
border-radius: 8px; border-radius: 8px;
font-family: $font-family; font-family: $font-family;
padding: 24px 17px; padding: 24px 17px;
@include mq(xl, min) {
width: 93.8%;
}
.accordion-heading { .accordion-heading {
.link-box-edit { .link-box-edit {
outline: 0 !important; outline: 0 !important;
border: 0 !important; border: 0 !important;
box-shadow: none !important; box-shadow: none !important;
cursor: pointer;
} }
.icon-edit { .icon-edit {
@ -364,7 +378,7 @@
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
line-height: 19px; line-height: 19px;
color: #292929; color: $color-black;
i::before { i::before {
fill: #303030; fill: #303030;
@ -407,7 +421,7 @@
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;
@ -427,12 +441,14 @@
} }
#client-email { #client-email {
width: 95.3%;
height: 32px;
@include mq(sm, max) { @include mq(sm, max) {
height: 40px; height: 42px;
} }
@include mq(xl, min) { @include mq(xl, min) {
width: 92.5%; width: 97.6%;
height: 51px; height: 51px;
font-size: 21px; font-size: 21px;
} }
@ -463,6 +479,7 @@
p.submit { p.submit {
margin-top: 45px; margin-top: 45px;
margin-bottom: 0;
@include mq(sm, max) { @include mq(sm, max) {
margin-bottom: 20px; margin-bottom: 20px;
@ -549,7 +566,7 @@
label { label {
box-shadow: none; box-shadow: none;
color: #7d7d7d; color: $color-gray2;
padding: 8px 12px; padding: 8px 12px;
@include mq(xl, min) { @include mq(xl, min) {
@ -568,13 +585,14 @@
.vtex-omnishipping-1-x-leanShippingOption { .vtex-omnishipping-1-x-leanShippingOption {
border-bottom: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0;
width: auto;
} }
.shp-lean-option-active { .shp-lean-option-active {
background: #f2f2f2; background: #f2f2f2;
} }
.vtex-omnishipping-1-x-leanShippingTextLabel { .vtex-omnishipping-1-x-leanShippingTextLabel {
color: #7d7d7d; color: $color-gray2;
font-family: $font-family; font-family: $font-family;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
@ -595,7 +613,7 @@
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: #7d7d7d; color: $color-gray2;
margin-bottom: 11px; margin-bottom: 11px;
@include mq(xl, min) { @include mq(xl, min) {
@ -661,7 +679,7 @@
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: #7d7d7d; color: $color-gray2;
background: none; background: none;
border: 0px; border: 0px;
@ -683,6 +701,7 @@
@include mq(sm, max) { @include mq(sm, max) {
padding: 0 15px 0 15px; padding: 0 15px 0 15px;
float: right;
} }
} }
} }
@ -720,8 +739,8 @@
left: 10px; left: 10px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 18px; width: 16px;
height: 18px; height: 16px;
border-radius: 3px; border-radius: 3px;
background: $color-white; background: $color-white;
border: 1px solid #c4c4c4; border: 1px solid #c4c4c4;
@ -734,7 +753,7 @@
&::after { &::after {
content: ""; content: "";
position: absolute; position: absolute;
left: 14px; left: 13px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 12px; width: 12px;
@ -792,17 +811,17 @@
.vtex-omnishipping-1-x-deliveryChannelsWrapper { .vtex-omnishipping-1-x-deliveryChannelsWrapper {
@include mq(sm, max) { @include mq(sm, max) {
width: 100%; width: 99.31%;
} }
@include mq(xl, min) { @include mq(xl, min) {
height: 55px; height: 53px;
width: 99.6%; width: 99.8%;
} }
} }
.vtex-omnishipping-1-x-deliveryOptionActive { .vtex-omnishipping-1-x-deliveryOptionActive {
color: #292929; color: $color-black;
} }
.vtex-omnishipping-1-x-deliveryOptionInactive { .vtex-omnishipping-1-x-deliveryOptionInactive {
@ -834,7 +853,7 @@
font-weight: 700; font-weight: 700;
font-size: 0; font-size: 0;
line-height: 16px; line-height: 16px;
color: #7d7d7d; color: $color-gray2;
} }
label::after { label::after {
@ -855,8 +874,8 @@
max-width: 100%; max-width: 100%;
@include mq(xl, min) { @include mq(xl, min) {
height: 51px; height: 51px !important;
width: 97.5%; width: 97.5% !important;
font-size: 20px; font-size: 20px;
} }
} }
@ -879,7 +898,7 @@
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(sm, max) { @include mq(sm, max) {
margin-bottom: 11px; margin-bottom: 11px;
@ -934,6 +953,7 @@
} }
.box-client-info-pf { .box-client-info-pf {
width: 100.7%;
@include mq(sm, max) { @include mq(sm, max) {
width: 100%; width: 100%;
} }
@ -981,7 +1001,7 @@
} }
.newsletter { .newsletter {
margin-top: -8px; margin-top: 8px;
margin-bottom: 0 !important; margin-bottom: 0 !important;
@include mq(sm, max) { @include mq(sm, max) {
@ -990,14 +1010,16 @@
input { input {
@include mq(xl, min) { @include mq(xl, min) {
width: 34px; width: 35px;
height: 34px; height: 35px;
} }
} }
&-text { &-text {
@include mq(xl, min) { @include mq(xl, min) {
padding-left: 10px; padding-left: 10px;
font-size: 24px;
line-height: 33px;
} }
} }
@ -1015,6 +1037,45 @@
.shipping-data { .shipping-data {
position: relative; position: relative;
.active {
width: 89.2%;
padding: 24px 17px 44px !important;
@include mq(sm, max) {
width: 89.51%;
}
.shipping-container {
width: 100.7%;
#ship-postalCode {
width: 95.2%;
max-width: 100%;
height: 35px;
}
.vtex-omnishipping-1-x-deliveryChannelsWrapper {
width: 99.3%;
}
}
}
@include mq(xl, min) {
.active {
padding: 24px 34px 44px !important;
width: 88.5%;
}
.box-step {
width: 100.6%;
padding-left: 0;
}
.vtex-omnishipping-1-x-addressSummaryActive {
width: auto !important;
}
}
.vtex-omnishipping-1-x-SummaryItemGroup { .vtex-omnishipping-1-x-SummaryItemGroup {
padding: 0; padding: 0;
} }
@ -1041,11 +1102,11 @@
.postalCode { .postalCode {
position: absolute; position: absolute;
top: 68px; top: 68px;
left: 137px; left: 146px;
@include mq(xl, min) { @include mq(xl, min) {
top: 87px; top: 87px;
left: 272px; left: 287px;
} }
} }
@ -1070,7 +1131,7 @@
.forma-entrega { .forma-entrega {
@include mq(xl, min) { @include mq(xl, min) {
left: 29px !important; left: 18px !important;
} }
} }
} }
@ -1098,9 +1159,9 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: #f0f0f0; background: $color-gray3;
mix-blend-mode: normal; mix-blend-mode: normal;
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 6px; border-radius: 6px;
margin: 0; margin: 0;
color: #58595b; color: #58595b;
@ -1245,7 +1306,7 @@ div#payments-title {
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
letter-spacing: -0.01em; letter-spacing: -0.01em;
color: #7d7d7d; color: $color-gray2;
position: absolute; position: absolute;
top: 27px; top: 27px;
left: 0px; left: 0px;
@ -1262,10 +1323,18 @@ div#payments-title {
div { div {
.steps-view { .steps-view {
width: 393px; width: 56.7%;
float: left;
left: 50px;
@include mq(sm, max) {
left: 0;
width: 91.6%;
}
@include mq(xl, min) { @include mq(xl, min) {
width: 674px; width: 674px;
left: 290px;
} }
} }
} }
@ -1274,13 +1343,13 @@ div.cart-template.mini-cart.span4 {
.cart-fixed { .cart-fixed {
height: auto !important; height: auto !important;
h2 { h2 {
border: 1px solid #e5e5e5; border: 1px solid $color-gray5;
border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0;
border-bottom: none; border-bottom: none;
text-align: left; text-align: left;
padding: 24px 0 34px 17px; padding: 24px 0 34px 17px;
@include mq(sm, max) { @include mq(md, max) {
margin: 0; margin: 0;
} }
@ -1296,8 +1365,8 @@ div.cart-template.mini-cart.span4 {
border: none; border: none;
border-right: 1px solid #e5e5e5; border-right: 1px solid $color-gray5;
border-left: 1px solid #e5e5e5; border-left: 1px solid $color-gray5;
border-radius: 0; border-radius: 0;
padding: 0 17px 19px 17px; padding: 0 17px 19px 17px;
margin: 0; margin: 0;
@ -1322,7 +1391,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: #000000; color: $color-black2;
@include mq(sm, max) { @include mq(sm, max) {
max-width: 120px; max-width: 120px;
@ -1358,7 +1427,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: #292929; color: $color-black;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 24px; font-size: 24px;
@ -1369,7 +1438,7 @@ div.cart-template.mini-cart.span4 {
} }
.summary { .summary {
border: 1px solid #e5e5e5; border: 1px solid $color-gray5;
border-radius: 0 0 8px 8px; border-radius: 0 0 8px 8px;
border-top: none; border-top: none;
width: 99.4%; width: 99.4%;
@ -1388,7 +1457,7 @@ div.cart-template.mini-cart.span4 {
line-height: 16px; line-height: 16px;
text-align: right; text-align: right;
text-decoration-line: underline; text-decoration-line: underline;
color: #000000; color: $color-black2;
padding: 0 17px 0 0; padding: 0 17px 0 0;
@include mq(xl, min) { @include mq(xl, min) {
@ -1415,7 +1484,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;
@ -1429,7 +1498,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;
@ -1440,7 +1509,7 @@ div.cart-template.mini-cart.span4 {
tfoot { tfoot {
border: none; border: none;
border-top: 1px solid #e5e5e5; border-top: 1px solid $color-gray5;
td.info { td.info {
padding: 30px 0 22px 17px; padding: 30px 0 22px 17px;
@ -1465,9 +1534,17 @@ div.cart-template.mini-cart.span4 {
background: #298541; background: #298541;
border-radius: 8px; border-radius: 8px;
margin-top: 20px; margin-top: 20px;
text-transform: uppercase;
top: -20px;
@include mq(sm, max) { @include mq(sm, max) {
margin-top: 0; margin-top: 0;
top: 25px;
}
@include mq(xl, min) {
font-size: 28px;
line-height: 38px;
} }
i { i {
@ -1498,21 +1575,35 @@ p.client-profile-summary {
#client-first-name, #client-first-name,
#client-last-name { #client-last-name {
width: 90%;
@include mq(xl, min) { @include mq(xl, min) {
width: 95%; width: 94.7%;
height: 51px; height: 51px;
font-size: 21px; font-size: 21px;
} }
} }
.client-last-name {
margin-left: 13px;
@include mq(xl, min) {
margin-left: 28px;
}
}
.client-first-name, .client-first-name,
.client-last-name { .client-last-name {
margin-right: 0 !important;
width: 47.8%;
@include mq(sm, max) { @include mq(sm, max) {
width: 45.7%; width: 45.7%;
} }
@include mq(xl, min) { @include mq(xl, min) {
width: 45%; width: 47.5%;
margin-right: 0 !important;
} }
} }
@ -1522,34 +1613,37 @@ p.client-profile-summary {
top: 75px; top: 75px;
right: 5px; right: 5px;
} }
@include mq(xl, min) {
margin-left: 19px;
}
} }
#client-document, #client-document,
#client-phone { #client-phone {
width: 90%;
@include mq(sm, max) { @include mq(sm, max) {
width: 90.3%; width: 90.3%;
} }
@include mq(xl, min) { @include mq(xl, min) {
width: 95%; width: 94.7%;
height: 51px; height: 51px;
font-size: 21px; font-size: 21px;
} }
} }
.client-phone { .client-phone {
margin-left: 13px;
@include mq(xl, min) { @include mq(xl, min) {
margin-left: 19px; margin-left: 28px;
} }
} }
.client-phone,
.client-document { .client-document {
margin-right: 0 !important;
width: 47.8%;
margin-bottom: 0 !important;
@include mq(xl, min) { @include mq(xl, min) {
width: 45%; width: 47.5%;
margin-right: 0 !important;
} }
} }
@ -1558,10 +1652,6 @@ p.client-profile-summary {
position: absolute; position: absolute;
right: -2px; right: -2px;
} }
@include mq(xl, min) {
width: 45%;
}
} }
.dados-wrapper { .dados-wrapper {
@ -1571,14 +1661,20 @@ p.client-profile-summary {
#ship-number { #ship-number {
@include mq(sm, max) { @include mq(sm, max) {
width: 99.4%; width: 98.62% !important;
height: 25px; height: 25px;
} }
} }
#ship-complement { #ship-complement {
@include mq(sm, max) { @include mq(sm, max) {
width: 100%; width: 100% !important;
}
}
#ship-receiverName {
@include mq(sm, max) {
width: 100% !important;
} }
} }
@ -1602,7 +1698,8 @@ p.client-profile-summary {
.btn-submit-wrapper { .btn-submit-wrapper {
@include mq(xl, min) { @include mq(xl, min) {
width: 95%; width: 100%;
margin-bottom: 0 !important;
} }
} }
@ -1628,7 +1725,7 @@ p.client-profile-summary {
#ship-number { #ship-number {
@include mq(xl, min) { @include mq(xl, min) {
width: 99.3%; width: 99.3% !important;
height: 51px; height: 51px;
font-size: 20px; font-size: 20px;
} }
@ -1637,22 +1734,35 @@ p.client-profile-summary {
#ship-complement, #ship-complement,
#ship-receiverName { #ship-receiverName {
@include mq(xl, min) { @include mq(xl, min) {
width: 97.5%; width: 97.5% !important;
height: 51px; height: 51px;
font-size: 20px; font-size: 20px;
} }
} }
#ship-number { #ship-number {
width: 99.5%; width: 98.53%;
}
#ship-complement {
width: 96%;
} }
#ship-complement,
#ship-receiverName { #ship-receiverName {
width: 96%; width: 95.2%;
}
.shipping-summary-info {
font-size: 14px;
line-height: 19px;
@include mq(xl, min) {
font-size: 28px;
line-height: 38px;
}
}
p.client-email.input.text.required {
@include mq(sm, max) {
width: 100.7%;
}
} }
//Pagamento //Pagamento

View File

@ -73,7 +73,7 @@
.shipping-date, .shipping-date,
.price { .price {
color: #7d7d7d; color: $color-gray2;
} }
} }
} }
@ -243,7 +243,7 @@
} }
a { a {
color: #000000; color: $color-black2;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
@ -362,7 +362,7 @@
td.quantity { td.quantity {
align-items: center; align-items: center;
border: 1px solid #f0f0f0; border: 1px solid $color-gray3;
border-radius: 8px; border-radius: 8px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
@ -721,12 +721,12 @@
} }
.blue { .blue {
color: #000000; color: $color-black2;
} }
} }
&__current { &__current {
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 100px; border-radius: 100px;
} }
@ -734,7 +734,7 @@
width: 50%; width: 50%;
&:active { &:active {
background-color: #f0f0f0; background-color: $color-gray3;
} }
} }
} }
@ -837,7 +837,7 @@
font-weight: normal; font-weight: normal;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
color: #000000; color: $color-black2;
margin-top: 4px; margin-top: 4px;
text-decoration: underline; text-decoration: underline;
@ -903,11 +903,11 @@
} }
&__sla { &__sla {
color: #7d7d7d; color: $color-gray2;
} }
&__price { &__price {
color: #7d7d7d; color: $color-gray2;
font-weight: 500; font-weight: 500;
} }
@ -949,7 +949,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: #000000; color: $color-black2;
text-decoration: none; text-decoration: none;
@include mq(xl, min) { @include mq(xl, min) {
@ -1044,7 +1044,7 @@
border: none; border: none;
border-radius: 8px; border-radius: 8px;
font-family: $font-family; font-family: $font-family;
color: #000000; color: $color-black2;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
@ -1181,7 +1181,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 24px; font-size: 24px;
@ -1214,7 +1214,7 @@
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: #000000; color: $color-black2;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;
@ -1261,7 +1261,7 @@
&__delivery, &__delivery,
&__pickup { &__pickup {
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;

View File

@ -14,6 +14,10 @@ body .container-main.container-order-form .orderform-template.active {
margin-top: 17px; margin-top: 17px;
} }
@include mq(xl, min) {
width: 32.14%;
}
.cart-fixed { .cart-fixed {
@include mq(sm, max) { @include mq(sm, max) {
width: 91.5%; width: 91.5%;

View File

@ -35,7 +35,7 @@
} }
.link-choose-products { .link-choose-products {
background-color: #ffffff; background-color: #ffffff;
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 0px; border-radius: 0px;
outline: none; outline: none;
font-family: $font-family-secundary; font-family: $font-family-secundary;
@ -44,7 +44,7 @@
font-size: 0px; font-size: 0px;
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;
color: #000000; color: $color-black2;
text-transform: uppercase; text-transform: uppercase;
width: 28.1%; width: 28.1%;
margin: 0; margin: 0;

View File

@ -92,7 +92,7 @@ body {
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
color: #000000; color: $color-black2;
font-family: $font-family; font-family: $font-family;
text-transform: uppercase; text-transform: uppercase;
margin: 0 0 32px 0; margin: 0 0 32px 0;

View File

@ -12,7 +12,7 @@
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
align-self: center; align-self: center;
color: #000000; color: $color-black2;
@include mq(sm, max) { @include mq(sm, max) {
font-size: 14px; font-size: 14px;
@ -116,7 +116,7 @@
font-size: 13px; font-size: 13px;
line-height: 18px; line-height: 18px;
text-align: center; text-align: center;
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 26px; font-size: 26px;

View File

@ -1,6 +1,10 @@
@media screen and (min-width: 376px) and (max-width: 1024px) { @media screen and (min-width: 376px) and (max-width: 1024px) {
.checkout-container { .checkout-container {
padding-bottom: 109px; padding-bottom: 109px;
.client-profile-data {
width: auto !important;
}
} }
.orderform-template-holder { .orderform-template-holder {
@ -27,7 +31,7 @@
} }
#client-email { #client-email {
width: 98.8%; width: 97.9% !important;
height: 32px; height: 32px;
} }
@ -35,24 +39,24 @@
.client-last-name, .client-last-name,
.client-document, .client-document,
.client-phone { .client-phone {
width: 50%; width: 48.9% !important;
margin-right: 0 !important; margin-right: 0 !important;
} }
#client-first-name, #client-first-name,
#client-document { #client-document {
width: 95.7%; width: 97% !important;
height: 34px; height: 32px;
} }
#client-last-name, #client-last-name,
#client-phone { #client-phone {
width: 97%; width: 97% !important;
height: 34px; height: 32px;
} }
.newsletter-label { .newsletter {
margin-top: -23px; margin-top: 12px !important;
} }
.box-step { .box-step {
@ -60,34 +64,47 @@
} }
#shipping-data { #shipping-data {
width: 93.4%; width: 100%;
margin-left: 16px; margin-left: -1px;
padding: 0 16px;
} }
.shipping-data { .shipping-data {
width: 100%;
.active { .active {
width: 100%; width: auto !important;
padding: 24px 17px 44px !important;
} }
} }
.shipping-container {
width: 100.21% !important;
.box-step {
width: auto;
}
}
.vtex-omnishipping-1-x-deliveryChannelsWrapper {
width: 98.51% !important;
}
#postalCode-finished-loading { #postalCode-finished-loading {
width: 32.31%; width: 32.31%;
} }
#ship-postalCode { #ship-postalCode {
width: 98.51%; width: auto !important;
max-width: 100%;
height: 35px;
} }
small { small {
padding-top: 10px; padding-top: 10px;
} }
.vtex-omnishipping-1-x-leanShippingOption {
width: auto !important;
}
#delivery-packages-options { #delivery-packages-options {
width: 100%; width: auto;
} }
#force-shipping-fields { #force-shipping-fields {
@ -95,27 +112,35 @@
} }
#ship-number { #ship-number {
width: 99.6%; width: 99.6% !important;
height: 25px; height: 25px;
} }
#ship-complement, #ship-complement,
#ship-receiverName { #ship-receiverName {
width: 98.51% !important; width: 98.6% !important;
height: 25px; height: 25px;
} }
#btn-go-to-payment {
height: 42px;
}
div#payments-title span.accordion-toggle.collapsed.accordion-toggle-active {
margin-bottom: 52px !important;
}
.postalCode { .postalCode {
left: 149px !important; left: 149px !important;
} }
#payment-data { #payment-data {
width: 93.4%; width: 100%;
margin-left: 16px; padding: 0 16px;
margin: -1px;
} }
.store-country-BRA { .store-country-BRA {
width: 100%;
margin-bottom: 17px !important; margin-bottom: 17px !important;
} }
@ -125,6 +150,7 @@
.steps-view { .steps-view {
width: 96.85% !important; width: 96.85% !important;
left: 0 !important;
} }
.SecurityEnvironmentIcon { .SecurityEnvironmentIcon {
@ -135,18 +161,13 @@
width: 98%; width: 98%;
} }
.card-flags {
display: flex !important;
justify-content: center !important;
}
#creditCardpayment-card-0Brand { #creditCardpayment-card-0Brand {
width: 90%; width: 90%;
} }
#go-to-cart-button { #go-to-cart-button {
width: 99.8%; width: 99.8%;
border: 1px solid #e5e5e5; border: 1px solid $color-gray5;
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;
@ -161,6 +182,6 @@
} }
#payment-data-submit { #payment-data-submit {
margin-top: 5px !important; margin-top: 20px !important;
} }
} }

View File

@ -6,6 +6,7 @@ $font-family-secundary: "Tenor Sans", sans-serif;
/* Colors */ /* Colors */
$color-black: #292929; $color-black: #292929;
$color-black2: #000000;
$color-white: #fff; $color-white: #fff;