Merge pull request 'development' (#27) from development into main

Reviewed-on: #27
This commit is contained in:
Rafael Sampaio de Oliveira 2022-12-22 11:17:13 +00:00
commit c00a75e168
9 changed files with 660 additions and 68 deletions

View File

@ -8,17 +8,17 @@ export default class Footer {
async init() { async init() {
this.list = await this.fetchApiData(); this.list = await this.fetchApiData();
await this.selectors(); await this.selectors();
this.events();
this.cartTitle = await waitElement("#cart-title"); this.cartTitle = await waitElement("#cart-title");
if (window.location.hash === "#/cart") { if (window.location.hash === "#/cart") {
await this.cartUpdate(); await this.cartUpdate();
} }
this.emptyButton = await waitElement(".link-choose-products"); this.emptyButton = await waitElement(".link-choose-products");
this.paymentsMethods = await waitElement(".footerCheckout__payments");
this.certification = await waitElement(".footerCheckout__vtexpci");
this.emptyCartButton(); this.emptyCartButton();
this.paymentsMethods = await waitElement(".footerCheckout__payments");
this.addPaymentsMethodsIcons(); this.addPaymentsMethodsIcons();
this.certification = await waitElement(".footerCheckout__vtexpci");
this.addCertificationIcon(); this.addCertificationIcon();
this.events();
this.items = await waitElement(".footerCheckout__prateleira-container"); this.items = await waitElement(".footerCheckout__prateleira-container");
await this.renderItems(); await this.renderItems();
await this.addCarrossel(); await this.addCarrossel();
@ -39,7 +39,6 @@ export default class Footer {
events() { events() {
window.addEventListener("hashchange", this.outPrateleira.bind(this)); window.addEventListener("hashchange", this.outPrateleira.bind(this));
window.addEventListener("resize", this.onRisize.bind(this));
} }
async cartUpdate() { async cartUpdate() {
@ -176,12 +175,6 @@ export default class Footer {
`; `;
} }
async onRisize(e) {
const windowSize = e.target.innerWidth;
console.log(windowSize);
}
async addCarrossel() { async addCarrossel() {
const elemento = await waitElement(".footerCheckout__prateleira-container"); const elemento = await waitElement(".footerCheckout__prateleira-container");
$(elemento).slick({ $(elemento).slick({
@ -192,6 +185,14 @@ export default class Footer {
"<button><img class='a-left control-c prev slick-prev' src='https://agenciamagma.vteximg.com.br/arquivos/arrow-left-M3Academy.svg' /></button>", "<button><img class='a-left control-c prev slick-prev' src='https://agenciamagma.vteximg.com.br/arquivos/arrow-left-M3Academy.svg' /></button>",
nextArrow: nextArrow:
"<button><img class='a-right control-c next slick-next' src='https://agenciamagma.vteximg.com.br/arquivos/arrow-right-M3Academy.svg' /></button>", "<button><img class='a-right control-c next slick-next' src='https://agenciamagma.vteximg.com.br/arquivos/arrow-right-M3Academy.svg' /></button>",
responsive: [
{
breakpoint: 1025,
settings: {
slidesToShow: 3,
},
},
],
}); });
} }
} }

View File

@ -19,6 +19,13 @@
line-height: 16px; line-height: 16px;
text-transform: uppercase; text-transform: uppercase;
@media (max-width: 1024px) {
font-size: 10px;
line-height: 12px;
font-weight: 400;
margin-right: 16px;
}
&:hover { &:hover {
color: lighen($color-black, 10); color: lighen($color-black, 10);
} }
@ -34,6 +41,10 @@
h3 { h3 {
margin-bottom: 16px; margin-bottom: 16px;
@media (max-width: 1024px) {
margin: 38px 0;
}
span { span {
color: $color-black; color: $color-black;
font-family: "Tenor Sans"; font-family: "Tenor Sans";
@ -41,6 +52,11 @@
font-size: 20px; font-size: 20px;
line-height: 23px; line-height: 23px;
text-transform: uppercase; text-transform: uppercase;
@media (max-width: 1024px) {
font-size: 14px;
line-height: 16px;
}
} }
small { small {
@ -50,6 +66,11 @@
font-size: 20px; font-size: 20px;
line-height: 23px; line-height: 23px;
text-transform: uppercase; text-transform: uppercase;
@media (max-width: 1024px) {
font-size: 14px;
line-height: 16px;
}
} }
} }
} }
@ -58,6 +79,10 @@
margin: 0 0 16px; margin: 0 0 16px;
width: 54.883%; width: 54.883%;
@media (max-width: 1024px) {
width: 96.875% !important;
}
input { input {
position: relative; position: relative;
height: 50px; height: 50px;
@ -99,6 +124,14 @@
top: -1.5%; top: -1.5%;
width: 22.555%; width: 22.555%;
@media (max-width: 1024px) {
width: 12.762%;
}
@media (max-width: 900px) {
font-size: 8px;
}
@media (max-width: 490px) { @media (max-width: 490px) {
height: 48px; height: 48px;
margin: 0; margin: 0;
@ -120,13 +153,17 @@
border: 1px solid $color-black; border: 1px solid $color-black;
border-radius: 5px; border-radius: 5px;
margin-top: 10px; margin-top: 10px;
width: 35.743%; width: 366px;
@media (min-width: 1025px) and (max-width: 1026px) { @media (min-width: 1025px) and (max-width: 1026px) {
margin-top: 0; margin-top: 0;
padding: 16px; padding: 16px;
} }
@media (max-width: 1024px) {
width: 343px;
}
h3 { h3 {
color: $color-black; color: $color-black;
margin: 0 0 8px 0; margin: 0 0 8px 0;
@ -151,10 +188,14 @@
} }
} }
i::before { .icon-lock::before {
color: $color-black; color: $color-black;
font-size: 6rem; font-size: 6rem;
opacity: 0.5; opacity: 0.5;
@media (max-width: 1024px) {
display: none;
}
} }
} }
} }
@ -166,7 +207,17 @@
border-radius: 8px; border-radius: 8px;
border: 1px solid $color-gray3; border: 1px solid $color-gray3;
font-family: $font-family; font-family: $font-family;
padding: 16px; // padding: 16px;
width: 90.052%;
@media (max-width: 1024px) {
width: 293.77%;
margin-left: 16px;
}
@media (max-width: 767px) {
width: 141.5%;
}
// .accordion-heading { // .accordion-heading {
// span { // span {
@ -214,12 +265,12 @@
p { p {
label { label {
color: $color-gray9; color: $color-gray9;
font-weight: 500;
font-family: "Open Sans"; font-family: "Open Sans";
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 12px;
line-height: 19px; line-height: 16px;
letter-spacing: 0.05em;
#opt-in-newsletter { #opt-in-newsletter {
width: 18px; width: 18px;
@ -262,9 +313,8 @@
button.submit { button.submit {
border: none; border: none;
border-radius: 5px; border-radius: 8px;
background: $color-blue; background: $color-blue;
margin-top: 8px;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
width: 100%; width: 100%;
@ -306,6 +356,15 @@
font-weight: 500; font-weight: 500;
} }
.vtex-omnishipping-1-x-shippingSectionTitle {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-gray9;
}
.shp-lean { .shp-lean {
border: 1px solid $color-gray11; border: 1px solid $color-gray11;
border-radius: 0; border-radius: 0;
@ -314,8 +373,13 @@
label { label {
background-color: $color-white; background-color: $color-white;
box-shadow: none; box-shadow: none;
color: #303030; color: $color-gray9 !important;
padding: 8px 12px; padding: 8px 12px;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
svg path { svg path {
fill: #d8c8ac; fill: #d8c8ac;
@ -325,28 +389,42 @@
} }
.delivery-address-title { .delivery-address-title {
color: #303030; font-family: "Open Sans";
font-size: 14px; font-style: normal;
font-weight: 500; font-weight: 700;
font-size: 12px;
line-height: 16px;
letter-spacing: 0.05em;
color: $color-gray9;
} }
.shp-summary-group-info { .shp-summary-group-info {
border-color: $color-gray4; border: none !important;
} }
.address-summary { .address-summary {
background: none; background: none;
border-color: $color-gray11; border-color: $color-gray11;
border-radius: 8px; border-radius: 8px;
color: #303030; color: $color-gray9;
padding: 12px; padding: 12px;
position: relative;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
&:first-child::before { &:first-child::before {
content: ""; content: "";
background-image: url("https://agenciamagma.vteximg.com.br/arquivos/homeM3Academy.png"); background-image: url("https://agenciamagma.vteximg.com.br/arquivos/homeM3Academy.png") !important;
background-size: 21px 20px; background-size: 25px 25px;
width: 21px; width: 25px;
height: 20px; height: 25px;
display: block;
position: absolute;
top: 28%;
right: 89%;
} }
@include mq(md, max) { @include mq(md, max) {
@ -359,8 +437,48 @@
text-decoration: underline; text-decoration: underline;
} }
.ship-street { .street {
display: none !important; left: 15%;
position: absolute;
}
.neighborhood {
position: absolute;
left: 15%;
}
.neighborhood-delimiter-after {
position: absolute;
left: 36.5%;
}
.city {
position: absolute;
left: 39%;
}
.state-delimiter {
position: absolute;
left: 63%;
}
.state {
position: absolute;
left: 65%;
}
#force-shipping-fields {
top: 50%;
position: absolute;
left: 80%;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-decoration: none;
color: $color-blue;
text-transform: lowercase;
} }
} }
@ -380,6 +498,7 @@
.vtex-omnishipping-1-x-summaryChange { .vtex-omnishipping-1-x-summaryChange {
border-color: #303030; border-color: #303030;
color: #303030; color: #303030;
display: none;
} }
.vtex-omnishipping-1-x-deliveryChannelsToggle { .vtex-omnishipping-1-x-deliveryChannelsToggle {
@ -412,6 +531,79 @@
td { td {
padding: 25px 0 !important; padding: 25px 0 !important;
} }
.info {
border-bottom: 1px solid #f0f0f0;
}
}
.vtex-omnishipping-1-x-leanShippingTextLabel {
color: $color-gray9 !important;
}
.vtex-omnishipping-1-x-leanShippingText {
border-right: 1px solid $color-gray11;
}
.vtex-omnishipping-1-x-leanShippingOptionActive {
background: $color-gray12 !important;
}
.steps-view {
width: 59.746%;
height: 292px;
}
.link-gift-card {
display: none !important;
}
.payment-group-list-btn {
width: 100%;
.pg-deposito {
display: none;
}
.pg-transferencia-bancaria {
display: none;
}
#payment-group-creditDirectSalePaymentGroup {
display: none;
}
#payment-group-promissoryPaymentGroup {
display: none;
}
.pg-money {
display: none;
}
#payment-group-instantPaymentPaymentGroup {
display: none;
}
#payment-group-PSEPaymentGroup {
display: none;
}
.pg-promisory---monica {
display: none;
}
.pg-desconto-em-folha {
display: none;
}
#payment-group-MercadoPagoPaymentGroup {
display: none;
}
#payment-group-SPEIPaymentGroup {
display: none;
}
} }
} }
@ -420,8 +612,57 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
input { input {
width: 280px; width: 94.95%;
max-width: 280px; max-width: 100%;
height: 35px;
}
}
.vtex-omnishipping-1-x-address {
label {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
letter-spacing: 0.05em;
color: $color-gray9;
}
.ship-street,
.ship-neighborhood,
.ship-city,
.ship-state {
display: none;
}
.ship-number {
width: 100%;
input {
width: 94.95%;
height: 25px;
border-radius: 8px;
// margin-bottom: 20px;
}
}
.ship-receiverName {
width: 100%;
input {
width: 94.95%;
border-radius: 8px;
height: 25px;
margin: 0;
}
}
.ship-complement {
width: 100%;
input {
width: 94.95%;
border-radius: 8px;
height: 25px;
}
} }
} }
} }

View File

@ -17,12 +17,16 @@
display: none; display: none;
} }
.cart { .cart {
// border: 1px solid $color-gray3; border: 1px solid $color-gray3;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
padding: 16px 16px; padding: 16px 16px;
margin-bottom: 0 !important; margin-bottom: 0 !important;
@media (max-width: 1024px) {
padding: 7px 16px;
}
@include mq(md, max) { @include mq(md, max) {
margin: 0px 0 25px 0; margin: 0px 0 25px 0;
border-left: none; border-left: none;
@ -58,8 +62,6 @@
} }
.cart { .cart {
// border: 1px solid $color-gray4;
ul li { ul li {
border-top: none; border-top: none;
margin-top: 0; margin-top: 0;
@ -70,6 +72,8 @@
display: flex; display: flex;
align-items: center; align-items: center;
color: $color-black; color: $color-black;
display: flex;
justify-content: space-between;
&:not(:first-child) { &:not(:first-child) {
margin-top: 8px; margin-top: 8px;
@ -108,28 +112,59 @@
line-height: 16px; line-height: 16px;
text-align: right; text-align: right;
text-decoration-line: underline; text-decoration-line: underline;
margin-right: 17px;
} }
.summary-totalizers { .summary-totalizers {
td {
border-top: 1px solid $color-gray3;
padding: 24px 17px !important;
box-sizing: border-box;
}
td.info { td.info {
width: 100%; width: 100%;
font-family: "Open Sans";
font-weight: 400 !important;
line-height: 19px !important;
color: $color-gray9 !important;
}
td.monetary {
font-size: 14px !important;
text-align: center !important;
color: $color-gray9 !important;
} }
} }
#payment-data-submit { #payment-data-submit {
background: $color-black; background: $color-green2;
border: none; border: none;
border-radius: 0; border-radius: 8px;
color: $color-white; color: $color-white;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
&:hover { position: absolute;
background: lighten($color-black, 5); font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-top: 20px;
i {
display: none;
} }
&:active { // &:hover {
background: darken($color-black, 5); // background: lighten($color-black, 5);
} // }
// &:active {
// background: darken($color-black, 5);
// }
} }
} }
@ -150,6 +185,11 @@
} }
.cart-items { .cart-items {
@media (max-width: 1024px) {
thead {
display: none;
}
}
.shipping-date { .shipping-date {
font-size: 0; font-size: 0;
@ -164,6 +204,10 @@
.product-item { .product-item {
padding: 16px 0; padding: 16px 0;
@media (max-width: 1024px) {
position: relative;
}
.shipping-estimate-date { .shipping-estimate-date {
color: $color-gray6; color: $color-gray6;
@ -215,11 +259,13 @@
} }
.product-name { .product-name {
padding-right: 0; padding-right: 10px;
white-space: normal; white-space: normal;
@include mq(lg, max) { @media (max-width: 1024px) {
width: 250px; position: absolute;
margin-left: 65px;
width: 15%;
} }
a { a {
@ -231,6 +277,10 @@
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
margin-left: 11px; margin-left: 11px;
@media (max-width: 1024px) {
margin-left: 16px;
}
&:hover { &:hover {
color: darken($color-blue, 10); color: darken($color-blue, 10);
text-decoration: none; text-decoration: none;
@ -263,6 +313,10 @@
width: 7%; width: 7%;
} }
@media (max-width: 1024px) {
display: none;
}
&::before { &::before {
content: ""; content: "";
} }
@ -285,6 +339,13 @@
.product-price { .product-price {
font-size: 0; font-size: 0;
@media (max-width: 1024px) {
min-width: 130px;
position: absolute;
left: 87.5%;
top: 25%;
}
&::before { &::before {
content: "Unidade"; content: "Unidade";
font-size: 14px; font-size: 14px;
@ -293,9 +354,9 @@
margin-left: 35px; margin-left: 35px;
} }
min-width: 100px; min-width: 100px;
@include mq(md, max) { // @include mq(md, max) {
min-width: 78px; // min-width: 78px;
} // }
@media (max-width: 490px) { @media (max-width: 490px) {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@ -310,6 +371,11 @@
position: absolute; position: absolute;
margin: 8px 0 0 35px; margin: 8px 0 0 35px;
left: 2.5%; left: 2.5%;
@media (max-width: 1024px) {
margin: 8px 0 0 47px;
}
@include mq(sm, max) { @include mq(sm, max) {
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@ -339,6 +405,15 @@
width: 64.91% !important; width: 64.91% !important;
position: relative; position: relative;
@media (max-width: 1024px) {
margin: 28px 0 0 16px;
width: 11% !important;
}
@media (max-width: 750px) {
width: 15% !important;
}
@media (max-width: 490px) { @media (max-width: 490px) {
margin-left: 84px !important; margin-left: 84px !important;
} }
@ -354,9 +429,9 @@
color: $color-gray2; color: $color-gray2;
box-shadow: none; box-shadow: none;
@include mq(lg, max) { // @include mq(lg, max) {
width: 24px !important; // width: 24px !important;
} // }
} }
.icon-plus-sign { .icon-plus-sign {
@ -387,7 +462,7 @@
.item-quantity-change { .item-quantity-change {
@media (max-width: 979px) and (min-width: 768px) { @media (max-width: 979px) and (min-width: 768px) {
position: inherit; position: relative;
bottom: inherit; bottom: inherit;
left: inherit; left: inherit;
height: inherit; height: inherit;
@ -404,6 +479,10 @@
.quantity-price { .quantity-price {
text-align: left; text-align: left;
@media (max-width: 1024px) {
display: none;
}
.icon-question-sign { .icon-question-sign {
display: none; display: none;
} }
@ -466,6 +545,11 @@
color: $color-gray8; color: $color-gray8;
font-size: 15px; font-size: 15px;
@media (max-width: 1024px) {
position: absolute;
top: 0;
}
@include mq(md, max) { @include mq(md, max) {
font-size: 18px; font-size: 18px;
} }
@ -492,7 +576,7 @@
width: max-content; width: max-content;
.srp-container { .srp-container {
padding: 0 0 0 10px; padding: 0 0 0 16px;
@include mq(md, max) { @include mq(md, max) {
padding: 0 16px; padding: 0 16px;
@ -544,6 +628,10 @@
.srp-data { .srp-data {
width: 280px; width: 280px;
@media (max-width: 1024px) {
margin-bottom: 48px;
}
.ship-country { .ship-country {
display: none; display: none;
} }
@ -570,6 +658,10 @@
line-height: 16px; line-height: 16px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
@media (max-width: 1024px) {
width: 122.5%;
}
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten($color-black, 5);
} }
@ -583,6 +675,10 @@
.srp-toggle { .srp-toggle {
margin: 0 0 20px; margin: 0 0 20px;
@media (max-width: 1024px) {
width: 122.5%;
}
&__wrapper { &__wrapper {
background-color: $color-white; background-color: $color-white;
border-radius: 100px; border-radius: 100px;
@ -634,6 +730,10 @@
height: 36px; height: 36px;
padding: 12px 8px; padding: 12px 8px;
width: 132.31%; width: 132.31%;
@media (max-width: 1024px) {
width: 165.39%;
}
} }
& ~ button { & ~ button {
@ -653,6 +753,11 @@
width: 76.93%; width: 76.93%;
text-transform: uppercase; text-transform: uppercase;
@media (max-width: 1024px) {
width: 92.31%;
right: -213px;
}
// &:hover { // &:hover {
// background-color: lighten($color-black, 5); // background-color: lighten($color-black, 5);
// } // }
@ -825,6 +930,10 @@
padding: 0 12px; padding: 0 12px;
width: 50.52%; width: 50.52%;
@media (max-width: 1024px) {
width: 83.1%;
}
@include mq(sm, max) { @include mq(sm, max) {
max-width: 100%; max-width: 100%;
width: 100%; width: 100%;
@ -843,6 +952,11 @@
width: 37.824%; width: 37.824%;
margin-left: 12px; margin-left: 12px;
@media (max-width: 1024px) {
width: 13.46%;
margin-left: 5px;
}
@include mq(md, max) { @include mq(md, max) {
width: 138px; width: 138px;
} }
@ -860,7 +974,7 @@
.accordion-group { .accordion-group {
tr { tr {
border-color: #e5e5e5; border-bottom: 1px solid $color-gray5 !important;
td { td {
&.empty { &.empty {
@ -899,6 +1013,11 @@
} }
} }
} }
@media (max-width: 1024px) {
display: flex;
flex-direction: column;
}
} }
.cart-links-bottom { .cart-links-bottom {
@ -906,6 +1025,11 @@
flex-direction: column; flex-direction: column;
width: 354px; width: 354px;
@media (max-width: 1024px) {
width: 97%;
padding: 0 16px;
}
@include mq(md, max) { @include mq(md, max) {
padding: 0 16px; padding: 0 16px;
width: calc(100% - 32px); width: calc(100% - 32px);

View File

@ -1,12 +1,18 @@
body .container-main.container-order-form .orderform-template.active { body .container-main.container-order-form .orderform-template.active {
.mini-cart { .mini-cart {
width: 32.3242%; width: 32.52%;
margin-left: unset; margin-left: unset;
margin-right: 0; margin-right: 0;
float: right; float: right;
border: 1px solid $color-gray5; border: 1px solid $color-gray5;
border-radius: 8px; border-radius: 8px;
@media (max-width: 1024px) {
width: 98.413%;
height: 397px;
margin-left: 16px;
}
.description { .description {
margin: 0 !important; margin: 0 !important;
width: 90px; width: 90px;
@ -21,7 +27,7 @@ body .container-main.container-order-form .orderform-template.active {
.url { .url {
height: 60px; height: 60px;
width: 78.93px; width: 60px;
margin-right: 7px; margin-right: 7px;
img { img {
@ -29,12 +35,145 @@ body .container-main.container-order-form .orderform-template.active {
width: 100%; width: 100%;
} }
} }
.totalizers {
margin: 0 !important;
}
.table {
tbody {
tr {
border-bottom: 1px solid $color-gray5 !important;
}
}
tfoot {
.info {
font-weight: 700 !important;
color: $color-gray2 !important;
}
.monetary {
color: $color-gray2 !important;
}
}
}
} }
.orderform-template-holder { .orderform-template-holder {
width: 66.1132%; width: 66.1132%;
.row-fluid {
@media (max-width: 1024px) {
display: flex;
flex-direction: column;
}
.client-email {
@media (max-width: 767px) {
width: 102%;
}
#client-email {
width: 95.67%;
@media (max-width: 1024px) {
width: 98.54%;
}
@media (max-width: 767px) {
max-width: 100% !important;
height: 42px !important;
}
}
}
.client-first-name {
width: 50%;
margin: 0;
@media (max-width: 1024px) {
}
#client-first-name {
width: 85.87%;
@media (max-width: 1024px) {
width: 95.512%;
}
}
}
.client-last-name {
width: 50%;
label {
margin-left: 10px;
}
@media (max-width: 1024px) {
}
#client-last-name {
width: 85.87%;
margin-left: 8px;
@media (max-width: 1024px) {
width: 95.512%;
margin-left: 7px;
}
}
}
.client-document {
width: 50%;
margin: 0;
@media (max-width: 1024px) {
}
#client-document {
width: 86.585%;
margin-bottom: 0;
@media (max-width: 1024px) {
width: 95.512%;
}
}
}
.client-phone {
width: 50%;
margin: 0;
@media (max-width: 1024px) {
}
label {
margin-left: 10px;
}
#client-phone {
width: 85.87%;
margin-left: 8px;
margin-bottom: 0;
@media (max-width: 1024px) {
width: 95.512%;
}
}
}
#shipping-data {
margin: 0;
}
#payment-data {
margin: 0;
.step {
margin-bottom: 17px;
}
}
}
.client-profile-data { .client-profile-data {
.accordion-group { .accordion-group {
padding: 26.41px 16px 28.41px 16px;
.accordion-heading { .accordion-heading {
.accordion-toggle { .accordion-toggle {
&::after { &::after {
@ -71,6 +210,7 @@ body .container-main.container-order-form .orderform-template.active {
width: 20px; width: 20px;
height: 20px; height: 20px;
content: ""; content: "";
margin-right: 8px;
} }
img { img {
@ -84,10 +224,11 @@ body .container-main.container-order-form .orderform-template.active {
.shipping-data { .shipping-data {
.accordion-group { .accordion-group {
padding: 24.5px 16px;
.accordion-heading { .accordion-heading {
span { span {
color: #303030; color: #303030;
margin-bottom: 8px; margin-bottom: 15px;
padding: 0; padding: 0;
i::before { i::before {
@ -113,6 +254,7 @@ body .container-main.container-order-form .orderform-template.active {
width: 20px; width: 20px;
height: 20px; height: 20px;
content: ""; content: "";
margin-right: 8px;
} }
} }
@ -130,10 +272,16 @@ body .container-main.container-order-form .orderform-template.active {
.payment-data { .payment-data {
.accordion-group { .accordion-group {
padding: 24.5px 16px;
width: 89.75%;
@media (max-width: 1024px) {
width: 144%;
}
.accordion-heading { .accordion-heading {
span { span {
color: #303030; color: #303030;
margin-bottom: 8px; margin-bottom: 15px;
padding: 0; padding: 0;
i::before { i::before {
@ -144,13 +292,23 @@ body .container-main.container-order-form .orderform-template.active {
a { a {
align-items: center; align-items: center;
background-color: #303030; background: transparent;
border-radius: 8px; border-radius: 8px;
border: none; border: none;
color: $color-white; color: $color-white;
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 6px 5px 6px 8px; padding: 0;
margin-top: 10px;
&::after {
background-image: url("https://agenciamagma.vteximg.com.br/arquivos/lapisM3Academy.png");
background-size: 20px;
width: 20px;
height: 20px;
content: "";
margin-right: 8px;
}
} }
} }
} }
@ -162,7 +320,10 @@ body .container-main.container-order-form .orderform-template.active {
} }
.summary-cart-template-holder { .summary-cart-template-holder {
.cart::before { .cart {
border: none;
&::before {
content: "Resumo do Pedido"; content: "Resumo do Pedido";
font-size: 16px; font-size: 16px;
line-height: 19px; line-height: 19px;
@ -170,3 +331,10 @@ body .container-main.container-order-form .orderform-template.active {
} }
} }
} }
@media (max-width: 1024px) {
display: flex;
flex-direction: column;
padding-right: 16px;
}
}

View File

@ -16,6 +16,14 @@ footer .footerCheckout__prateleira,
header { header {
width: 79.53125%; width: 79.53125%;
margin: 0 auto; margin: 0 auto;
@media (max-width: 1024px) {
width: 100%;
}
}
table {
border-collapse: unset !important;
} }
body { body {
@ -51,6 +59,10 @@ body {
.container-order-form, .container-order-form,
.container-cart { .container-cart {
width: 80%; width: 80%;
@media (max-width: 1024px) {
width: 100%;
}
} }
} }
@ -79,6 +91,10 @@ body {
letter-spacing: 0.05em; letter-spacing: 0.05em;
text-transform: uppercase; text-transform: uppercase;
@media (max-width: 1024px) {
margin: 20px 0 20px 16px;
}
@include mq(md, max) { @include mq(md, max) {
margin-left: 30px; margin-left: 30px;
} }

View File

@ -78,6 +78,16 @@
margin: 0 2px 0 8px; margin: 0 2px 0 8px;
} }
@media (max-width: 1024px) {
&:first-child {
margin: 0 8px 0 16px;
}
&:last-child {
margin: 0 16px 0 8px;
}
}
[dir="rtl"] & { [dir="rtl"] & {
float: right; float: right;
} }
@ -119,6 +129,11 @@
width: 14px; width: 14px;
height: 30px; height: 30px;
color: $color-gray6; color: $color-gray6;
@media (max-width: 1024px) {
left: 2.5%;
top: 48%;
}
} }
.slick-next { .slick-next {
// z-index: 4; // z-index: 4;
@ -130,6 +145,11 @@
width: 14px; width: 14px;
height: 30px; height: 30px;
color: $color-gray6; color: $color-gray6;
@media (max-width: 1024px) {
left: 96.5%;
top: 48%;
}
} }
.slick-arrow.slick-hidden { .slick-arrow.slick-hidden {
display: none; display: none;

View File

@ -82,6 +82,10 @@
@media (min-width: 1025px) and (max-width: 1107px) { @media (min-width: 1025px) and (max-width: 1107px) {
font-size: 11.5px; font-size: 11.5px;
} }
@media (min-width: 600px) and (max-width: 690px) {
font-size: 10.5px;
}
} }
&__sku { &__sku {
@ -113,6 +117,10 @@
@media (min-width: 1025px) and (max-width: 1107px) { @media (min-width: 1025px) and (max-width: 1107px) {
font-size: 9.7px; font-size: 9.7px;
} }
@media (min-width: 600px) and (max-width: 714px) {
font-size: 8.5px;
}
} }
} }
@ -150,8 +158,8 @@
height: 65px; height: 65px;
@media (max-width: 1024px) { @media (max-width: 1024px) {
flex-direction: column; display: grid;
align-items: flex-start; padding-top: 16px;
} }
&::before, &::before,
@ -169,10 +177,11 @@
font-size: 10px; font-size: 10px;
line-height: 14px; line-height: 14px;
text-transform: capitalize; text-transform: capitalize;
max-width: 40%; max-width: auto;
@media (max-width: 1024px) { @media (max-width: 1024px) {
margin: 15px 0; margin: 15px 0;
order: 2;
} }
@include mq(md, max) { @include mq(md, max) {
@ -189,6 +198,11 @@
width: 33.224%; width: 33.224%;
max-width: 404px; max-width: 404px;
@media (max-width: 1024px) {
width: auto;
order: 1;
}
span { span {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -228,6 +242,7 @@
@media (max-width: 1024px) { @media (max-width: 1024px) {
margin-top: 10px !important; margin-top: 10px !important;
order: 3;
} }
li:first-child { li:first-child {

View File

@ -5,6 +5,11 @@
width: 100%; width: 100%;
height: 95px; height: 95px;
border-bottom: 1px solid $color-black; border-bottom: 1px solid $color-black;
@media (max-width: 1024px) {
height: 70px;
}
.container { .container {
display: flex; display: flex;
justify-content: center; justify-content: center;

View File

@ -20,10 +20,12 @@ $color-gray8: #c4c4c4;
$color-gray9: #7d7d7d; $color-gray9: #7d7d7d;
$color-gray10: #ededed; $color-gray10: #ededed;
$color-gray11: #e0e0e0; $color-gray11: #e0e0e0;
$color-gray12: #f2f2f2;
$color-blue: #00c8ff; $color-blue: #00c8ff;
$color-green: #4caf50; $color-green: #4caf50;
$color-green2: #298541;
$color-red: #ff0000; $color-red: #ff0000;