feat: estilização checkout carrinho e checkout email

This commit is contained in:
Thiago Bronisio 2022-12-17 02:07:02 -03:00
parent 050a896629
commit 30d61a4c05
7 changed files with 756 additions and 584 deletions

View File

@ -8,7 +8,7 @@ export default class Footer {
async init() { async init() {
await this.selectors(); await this.selectors();
this.footerHTML(); this.footerHTML();
this.addCarrossel();
// this.onUpdate(); // this.onUpdate();
} }
@ -24,6 +24,7 @@ export default class Footer {
this.checkoutVazio = await waitElement(".empty-cart-content"); this.checkoutVazio = await waitElement(".empty-cart-content");
console.log(this.checkoutVazio) console.log(this.checkoutVazio)
} }
footerHTML() { footerHTML() {
const footerPrat = this.footerPrateleira const footerPrat = this.footerPrateleira
const textAdress = this.footerAdress; const textAdress = this.footerAdress;
@ -49,10 +50,10 @@ export default class Footer {
<figcaption>${product.productName}</figcaption> <figcaption>${product.productName}</figcaption>
</figure> </figure>
<div class="container-tamanho-cores">${product.items.map((nameProduct) => { <div class="container-tamanho-cores">${product.items.map((nameProduct) => {
return ` <input name="tamanho" type="radio"/> return `<input name="tamanho" type="radio"/>
<label name="tamanho"> <label name="tamanho">
${nameProduct.name} ${nameProduct.name}
</label>` </label>`
}).join("")} }).join("")}
</div> </div>
<div class="container-button-prateleira"> <div class="container-button-prateleira">
@ -62,6 +63,10 @@ export default class Footer {
footerPrat.children[1].appendChild(li) footerPrat.children[1].appendChild(li)
}) })
}) })
.then(() => { this.addCarrossel() })
.catch((error) => {
console.log(error)
})
textAdress.innerHTML = ` textAdress.innerHTML = `

View File

@ -2,6 +2,7 @@
@import "./lib/slick"; @import "./lib/slick";
@import "./partials/header"; @import "./partials/header";
@import "./partials/footer"; @import "./partials/footer";
@import "./partials/prateleira";
@import "./checkout/checkout.scss"; @import "./checkout/checkout.scss";
html { html {
@ -64,18 +65,14 @@ body {
#cart-title, #cart-title,
#orderform-title { #orderform-title {
color: $color-gray2; color: $black-padrao;
font-family: $font-family; font-family: $font-family;
font-weight: 500; font-weight: 700;
font-size: 36px; font-size: 24px;
line-height: 42px; line-height: 33px;
margin: 40px 0 30px; margin: 16px 0 17px;
letter-spacing: 0.1em; letter-spacing: 1px;
text-transform: uppercase; text-transform: uppercase;
@include mq(md, max) {
margin-left: 30px;
}
} }
.dropdown { .dropdown {

View File

@ -1,289 +1,372 @@
.checkout-container { .checkout-container {
.client-pre-email { min-height: 410px;
border-color: $color-gray4; .client-pre-email {
font-family: $font-family; border-color: $color-gray4;
padding-top: 8px; font-family: $font-family;
padding-top: 8px;
.link-cart { .link-cart {
a { a {
color: $color-black; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 16px;
text-align: center;
color: $black-padrao;
font-family: $font-family-secundary;
text-transform: uppercase;
&:hover { &:hover {
color: lighen($color-black, 10); color: lighen($color-black, 10);
} }
} }
} }
.pre-email { .pre-email {
flex-direction: column; flex-direction: column;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
h3 { h3 {
margin-bottom: 16px; margin-bottom: 21px;
span { span {
color: #303030; margin-bottom: 21px;
font-size: 24px; font-weight: 400;
} font-size: 20px;
line-height: 23px;
color: $black-padrao;
font-family: $font-family-secundary;
text-transform: uppercase;
}
small { small {
color: $color-gray4; margin-bottom: 21px;
} font-weight: 400;
} font-size: 20px;
} line-height: 23px;
color: $black-padrao;
font-family: $font-family-secundary;
text-transform: uppercase;
}
}
}
.client-email { .client-email {
margin: 0 0 16px; margin: 0 0 24.55px;
input { input {
box-shadow: none; box-shadow: none;
color: $color-black; font-family: $font-family;
font-family: $font-family; padding: 15px 0 15px 14px;
padding: 0 16px; border: 1px solid $black-padrao;
border: 2px solid $color-gray3; box-sizing: border-box;
box-sizing: border-box; border-radius: 5px 8px 8px 5px;
border-radius: 5px; height: 50px;
@media (max-width: 490px) { font-weight: 400;
width: auto; font-size: 12px;
} line-height: 16px;
} font-family: $font-family;
color: $color-black;
button { @media (max-width: 490px) {
background-color: $color-black; width: auto;
border-radius: 5px; }
border: none; }
font-family: $font-family;
height: 54px;
right: 0;
top: 0;
@media (max-width: 490px) { button {
height: 48px; background-color: #00c8ff;
margin: 0; border-radius: 0px 8px 8px 0px;
position: absolute; border: none;
} height: 50px;
} right: 0;
top: 0;
span.help.error { font-weight: 700;
color: red; width: 126px;
} font-size: 14px;
} line-height: 19px;
letter-spacing: 0.05em;
text-transform: uppercase;
font-family: $font-family;
color: $black-padrao;
.emailInfo { @media (max-width: 490px) {
padding: 16px; height: 48px;
background-color: $color-white; margin: 0;
border: 1px solid $color-gray4; position: absolute;
border-radius: 0; }
}
h3 { span.help.error {
color: #303030; color: red;
margin: 0 0 8px 0; font-weight: 700;
} font-size: 12px;
line-height: 16px;
font-family: $font-family;
margin-top: 3px;
}
}
ul { .emailInfo {
margin: 0; padding: 16px 16px 26.5px 16px;
background-color: $color-white;
border: 1px solid $black-padrao;
border-radius: 5px;
width: 400px;
li { h3 {
span { color: $black-padrao;
color: $color-black; margin: 0 0 9.5px 0;
} font-weight: 700;
font-size: 12px;
line-height: 16px;
}
i::before { ul {
color: $color-black; margin: 0;
font-size: 1rem;
opacity: 1;
}
}
}
i::before { li {
color: $color-black; span {
font-size: 6rem; font-weight: 700;
opacity: 0.5; font-size: 12px;
} line-height: 16px;
} color: $color-black;
} }
.shipping-data, i::before {
.payment-data, color: $color-blue-100;
.client-profile-data { font-size: 17px;
.accordion-group { opacity: 1;
border-radius: 0; }
border: 1px solid $color-gray4; }
font-family: $font-family; }
padding: 16px;
.accordion-heading { i::before {
span { color: $color-black;
color: #303030; font-size: 6rem;
margin-bottom: 8px; opacity: 0.5;
padding: 0; }
}
}
i::before { .shipping-data,
fill: #303030; .payment-data,
} .client-profile-data {
} margin-left: 16px;
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray3;
font-family: $font-family;
padding: 11px;
a { .accordion-heading {
align-items: center; span {
background-color: #303030; color: #303030;
border-radius: 8px; margin-bottom: 8px;
border: none; padding: 0;
color: $color-white;
display: flex;
justify-content: center;
padding: 6px 5px 6px 8px;
}
}
.accordion-inner { i::before {
padding: 0; fill: #303030;
}
}
/* General configurations */ a {
align-items: center;
background-color: #303030;
border-radius: 8px;
border: none;
color: $color-white;
display: flex;
justify-content: center;
padding: 6px 5px 6px 8px;
}
}
.client-notice { .accordion-inner {
color: $color-black; padding: 0;
}
p { /* General configurations */
label {
color: $color-black;
font-weight: 500;
}
select, .client-notice {
input { display: none;
border-radius: 0; }
border: 1px solid $color-gray4;
box-shadow: none;
}
.help.error { .client-first-name p {
color: red; margin: 16px 10px 0 0;
} label {
} font-weight: 400;
font-size: 14px;
line-height: 19px;
font-family: $font-family;
color: $color-gray2;
}
.box-client-info-pj { select,
.link a#is-corporate-client, input {
.link a#not-corporate-client { border-radius: 0;
color: $color-black; border: 1px solid $color-gray9;
font-weight: 500; border-radius: 5px;
text-decoration: underline; box-shadow: none;
} height: 32px;
} width: 100%;
.state-inscription-box span { font-weight: 400;
font-weight: 500; font-size: 14px;
} line-height: 19px;
font-family: $font-family;
color: $color-gray10;
}
button.submit { .help.error {
border: none; color: red;
border-radius: 5px; }
background: $color-black; }
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
&:hover { .box-client-info-pj {
background: lighten($color-black, 5); display: none;
} .link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
font-weight: 500;
text-decoration: underline;
}
}
&:active { .state-inscription-box span {
background: darken($color-black, 5); font-weight: 500;
} }
}
/* Shipping configurations */ #opt-in-newsletter {
width: 18px;
height: 18px;
}
.ship-postalCode small a { .newsletter-text {
color: #303030; position: relative;
font-weight: 500; top: 2px;
text-decoration: underline; font-weight: 400px;
} line-height: 16px;
font-size: 12px;
font-family: $font-family;
}
.vtex-omnishipping-1-x-deliveryGroup { .submit {
p { margin: 45px 0;
color: #303030; button {
font-size: 14px; border: none;
font-weight: 500; border-radius: 8px;
} background: $color-blue-100;
outline: none;
transition: all 0.2s linear;
width: 100%;
.shp-lean { font-weight: 700;
border: 1px solid $color-gray4; font-size: 14px;
border-radius: 0; line-height: 19px;
letter-spacing: 0.05em;
text-transform: uppercase;
font-family: $font-family;
color: $color-white;
label { &:hover {
background-color: $color-white; background: lighten($color-blue-hover, 5);
box-shadow: none; }
color: #303030;
padding: 8px 12px;
svg path { &:active {
fill: #d8c8ac; background: darken($color-blue-hover, 5);
} }
} }
} }
}
.delivery-address-title { /* Shipping configurations */
color: #303030;
font-size: 14px;
font-weight: 500;
}
.shp-summary-group-info { .ship-postalCode small a {
border-color: $color-gray4; color: #303030;
} font-weight: 500;
text-decoration: underline;
}
.address-summary { .vtex-omnishipping-1-x-deliveryGroup {
background: none; p {
border-color: $color-gray4; color: #303030;
border-radius: 0; font-size: 14px;
color: #303030; font-weight: 500;
padding: 12px; }
@include mq(md, max) { .shp-lean {
background-position: 8px 9px; border: 1px solid $color-gray4;
} border-radius: 0;
a { label {
color: #303030; background-color: $color-white;
font-weight: 500; box-shadow: none;
text-decoration: underline; color: #303030;
} padding: 8px 12px;
}
.shp-summary-group-price, svg path {
.shp-summary-package { fill: #d8c8ac;
color: $color-gray4; }
} }
}
}
.shp-summary-group-price { .delivery-address-title {
padding-right: 16px; color: #303030;
} font-size: 14px;
font-weight: 500;
}
.shp-summary-package { .shp-summary-group-info {
padding-left: 16px; border-color: $color-gray4;
} }
.vtex-omnishipping-1-x-summaryChange { .address-summary {
border-color: #303030; background: none;
color: #303030; border-color: $color-gray4;
} border-radius: 0;
color: #303030;
padding: 12px;
.vtex-omnishipping-1-x-deliveryChannelsToggle { @include mq(md, max) {
background-color: #d8c8ac; background-position: 8px 9px;
border: 1px solid #d8c8ac; }
}
.vtex-omnishipping-1-x-deliveryOptionActive { a {
text-shadow: 1.3px 1px lighten($color-black, 50); color: #303030;
} font-weight: 500;
} text-decoration: underline;
} }
} }
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
}
.shp-summary-group-price {
padding-right: 16px;
}
.shp-summary-package {
padding-left: 16px;
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: #d8c8ac;
border: 1px solid #d8c8ac;
}
.vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50);
}
}
}
}
} }

View File

@ -6,17 +6,21 @@
.cart-template { .cart-template {
font-family: $font-family; font-family: $font-family;
margin: 0 !important;
@include mq(md, max) { @include mq(md, max) {
padding: 0 0; padding: 0 0;
} }
.item-unit-label { .item-unit-label {
display: none; display: none;
} }
.cart { .cart {
border: 3px solid $color-gray3; border: 1px solid $color-gray3;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
padding: 16px; padding: 0 16px;
margin-bottom: 48px;
@include mq(md, max) { @include mq(md, max) {
margin: 0px 0 25px 0; margin: 0px 0 25px 0;
@ -25,9 +29,11 @@
border-radius: 0; border-radius: 0;
} }
} }
.cart-fixed.affix { .cart-fixed.affix {
position: relative !important; position: relative !important;
} }
.cart-fixed { .cart-fixed {
font-family: $font-family; font-family: $font-family;
width: 100%; width: 100%;
@ -112,11 +118,11 @@
th { th {
color: $color-black; color: $color-black;
padding: 0 0 16px; font-weight: 400;
font-style: normal;
font-weight: bold;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
font-family: $font-family-secundary;
padding: 17px 0;
@include mq(md, max) { @include mq(md, max) {
&.quantity-price, &.quantity-price,
@ -136,9 +142,11 @@
} }
img { img {
height: 60px; height: 60px !important;
max-width: 100%; width: 60px !important;
width: auto; object-fit: cover;
max-width: 60px !important;
margin: 0 16px 16px 0;
@include mq(sm, max) { @include mq(sm, max) {
height: 72px; height: 72px;
@ -148,18 +156,20 @@
} }
.product-name { .product-name {
padding-right: 0; padding: 0;
height: 60px;
@include mq(lg, max) { @include mq(lg, max) {
width: 250px; width: 36.796%;
} }
a { a {
color: $color-blue; display: flex;
font-style: normal; margin-bottom: 10px;
font-weight: normal; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $black-padrao;
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
&:hover { &:hover {
@ -183,13 +193,29 @@
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
span {
margin-bottom: 10px;
font-weight: 400;
font-size: 12px;
line-height: 14px;
font-family: $font-family-secundary;
color: $color-gray8;
}
@include mq(md, max) { @include mq(md, max) {
display: none; display: none;
} }
} }
th.product-price {
position: relative;
top: 0px;
}
.product-price { .product-price {
min-width: 100px; min-width: 100px;
position: relative;
top: 5px;
@include mq(md, max) { @include mq(md, max) {
min-width: 78px; min-width: 78px;
} }
@ -218,15 +244,17 @@
td.quantity { td.quantity {
align-items: center; align-items: center;
border: 1px solid $color-gray3; border: 1px solid $color-gray3;
border-radius: 0; border-radius: 8px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
justify-content: center; justify-content: center;
margin: 6px auto 0; margin: 10px auto 0;
max-height: 38px; max-height: 38px;
max-width: 118px; max-width: 118px;
padding: 0; padding: 0;
width: max-content !important; width: max-content !important;
position: relative;
top: 5px;
@media (max-width: 490px) { @media (max-width: 490px) {
margin-left: 84px !important; margin-left: 84px !important;
@ -234,7 +262,7 @@
input { input {
background-color: $color-white; background-color: $color-white;
border: 1px solid $color-gray3; border: 1px solid transparent;
border-radius: 0; border-radius: 0;
border-width: 0 1px; border-width: 0 1px;
display: block; display: block;
@ -262,15 +290,17 @@
.icon-minus-sign { .icon-minus-sign {
&:before { &:before {
content: "-"; font-size: 20px;
font-size: 16px; color: $color-blue-100;
padding-left: 0 0 0 11px;
} }
} }
.icon-plus-sign { .icon-plus-sign {
&:before { &:before {
content: "+"; font-size: 20px;
font-size: 14px; color: $color-blue-100;
padding-right: 0 11px 0 0;
} }
} }
@ -292,6 +322,8 @@
.quantity-price, .quantity-price,
.best-price { .best-price {
position: relative;
left: 5px;
.icon-question-sign { .icon-question-sign {
display: none; display: none;
} }
@ -301,22 +333,39 @@
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: $color-black;
position: relative;
} }
} }
.quantity-price { .quantity-price {
span {
position: relative;
top: -5px;
}
@include mq(md, max) { @include mq(md, max) {
display: none; display: none;
} }
} }
.item-remove { .item-remove {
a {
padding: 0;
margin-bottom: 20px;
display: flex;
i {
height: 10px;
width: 10px;
}
}
@media (max-width: 490px) { @media (max-width: 490px) {
top: 0; top: 0;
} }
.icon::before { .icon::before {
color: $color-gray4; color: $color-gray4;
font-size: 15px; width: 10px;
height: 10px;
@include mq(md, max) { @include mq(md, max) {
font-size: 18px; font-size: 18px;
@ -351,12 +400,12 @@
} }
.srp-main-title { .srp-main-title {
margin: 32px 0 12px; margin: 0px 0 12px;
font-style: normal; font-weight: 400;
font-weight: normal;
font-size: 24px; font-size: 24px;
line-height: 28px; line-height: 33px;
color: $color-gray2; font-family: $font-family;
color: $black-padrao;
@include mq(md, max) { @include mq(md, max) {
margin-top: 0; margin-top: 0;
@ -364,21 +413,24 @@
} }
.srp-description { .srp-description {
color: $color-gray2; margin: 0 0 10.65px;
font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 18px;
margin: 0 0 12px; font-family: $font-family;
color: $color-gray2;
} }
button.shp-open-options { button.shp-open-options {
background-color: $color-gray5; background-color: $color-gray6;
border: none; border: none;
border-radius: 5px; margin: 0;
color: $color-gray2; border-radius: 8px;
font-size: 16px; color: $black-padrao;
font-size: 14px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
line-height: 19px; line-height: 19px;
font-weight: 500; font-weight: 400;
outline: none; outline: none;
padding: 12px 40px; padding: 12px 40px;
transition: all 0.2s linear; transition: all 0.2s linear;
@ -405,31 +457,32 @@
} }
.srp-pickup-my-location__button { .srp-pickup-my-location__button {
background-color: $color-black; background-color: $color-blue-100;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-white; color: $color-white;
outline: none; outline: none;
width: 100%; width: 100%;
height: 42px;
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 19px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: ($color-blue-hover);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: ($color-blue-hover);
} }
} }
} }
.srp-toggle { .srp-toggle {
margin: 0 0 34px; margin: 0 0 20px;
&__wrapper { &__wrapper {
background-color: $color-white; background-color: $color-white;
@ -444,12 +497,13 @@
} }
&__current { &__current {
border: 1px solid $color-blue; border: 1px solid $black-padrao;
border-radius: 100px; border-radius: 100px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
} }
.blue { .blue {
color: $color-blue; color: $black-padrao;
} }
label { label {
@ -462,6 +516,10 @@
} }
.srp-postal-code { .srp-postal-code {
.ship-country {
display: none;
}
.ship-postalCode { .ship-postalCode {
label { label {
font-family: $font-family; font-family: $font-family;
@ -469,8 +527,8 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
margin-bottom: 2px;
color: $color-black; color: $color-black;
margin-bottom: 12px;
} }
input { input {
@ -485,38 +543,40 @@
} }
& ~ button { & ~ button {
background-color: $color-black;
border: none;
border-radius: 5px;
color: $color-white;
font-size: 12px;
height: 36px;
letter-spacing: 1px;
outline: none;
position: absolute; position: absolute;
width: 100px;
height: 36px;
right: -150px; right: -150px;
top: 36px; top: 24px;
border-radius: 8px;
border: none;
outline: none;
font-weight: 700;
line-height: 14px;
font-size: 14px;
color: $color-white;
background-color: $color-blue-100;
font-family: $font-family;
letter-spacing: 1px;
transition: all 0.2s linear; transition: all 0.2s linear;
width: 96px;
text-transform: uppercase; text-transform: uppercase;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten($color-blue-hover, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken($color-blue-hover, 5);
} }
} }
small a { small a {
font-family: $font-family; font-family: $font-family-secundary;
font-style: normal; font-weight: 400;
font-weight: normal;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
color: $color-blue; color: $black-padrao;
margin-top: 7px; margin-top: 4px;
} }
span.help.error { span.help.error {
@ -592,9 +652,16 @@
&-totalizers { &-totalizers {
padding: 0; padding: 0;
margin-bottom: 17px;
width: 346px; width: 346px;
.coupon-data { .coupon-data {
height: 14px;
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 8px;
margin: 0;
#cart-link-coupon-add { #cart-link-coupon-add {
text-decoration: none; text-decoration: none;
&:hover { &:hover {
@ -603,13 +670,11 @@
} }
} }
span { span {
font-family: $font-family; font-family: $font-family-secundary;
font-style: normal; font-weight: 400;
font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $black-padrao;
text-decoration: none;
} }
} }
@ -619,6 +684,7 @@
} }
.coupon-column { .coupon-column {
width: 362px;
.coupon { .coupon {
margin: 0; margin: 0;
} }
@ -630,21 +696,22 @@
} }
.coupon-label label { .coupon-label label {
margin-bottom: 12px; margin-bottom: 4px;
font-family: $font-family; font-weight: 400;
font-style: normal;
font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-gray2; color: $color-gray2;
cursor: none; font-family: $font-family-secundary;
display: flex;
justify-content: start;
} }
.coupon-fields { .coupon-fields {
margin-bottom: 32px; margin-bottom: 54px;
text-align: start;
@include mq(sm, max) { span {
span { @include mq(sm, max) {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
@ -657,14 +724,19 @@
} }
input { input {
border: 2px solid $color-gray3; border: 1px solid $color-gray3;
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
color: $color-gray4;
color: $color-gray7;
font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px;
height: 34px; height: 34px;
padding: 0 12px; padding: 0 12px;
max-width: 160px; width: 178px;
margin-right: 5px;
font-family: $font-family-secundary;
@include mq(sm, max) { @include mq(sm, max) {
max-width: 100%; max-width: 100%;
@ -673,18 +745,22 @@
} }
button { button {
background: $color-black; background: $color-blue-100;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-white; color: $black-padrao;
font-size: 12px; font-size: 14px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
margin-left: 6px;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
width: 94px; width: 133.5px;
text-transform: uppercase; text-transform: uppercase;
font-family: $font-family;
&::placeholder {
padding: 5px;
}
@include mq(md, max) { @include mq(md, max) {
width: 138px; width: 138px;
@ -704,6 +780,9 @@
.accordion-group { .accordion-group {
tr { tr {
border-color: #e5e5e5; border-color: #e5e5e5;
&:nth-child(3) {
display: none;
}
td { td {
&.empty { &.empty {
@ -712,12 +791,12 @@
&.info, &.info,
&.monetary { &.monetary {
font-style: normal; padding: 12px 0 10px;
font-weight: normal; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
font-family: $font-family-secundary;
color: $color-black; color: $color-black;
padding: 12px 0;
} }
&.info { &.info {
@ -733,11 +812,12 @@
tfoot { tfoot {
td.info, td.info,
td.monetary { td.monetary {
font-style: normal; padding: 14px 0 0;
font-weight: normal; font-weight: 700;
font-size: 18px; font-size: 18px;
line-height: 21px; line-height: 25px;
color: $color-black; color: $color-black;
font-family: $font-family;
} }
} }
} }
@ -758,13 +838,13 @@
@include mq(md, min) { @include mq(md, min) {
margin: 0; margin: 0;
padding-bottom: 50px; padding-bottom: 43.4px;
} }
.link-choose-more-products-wrapper { .link-choose-more-products-wrapper {
display: block; display: block;
text-align: center; text-align: center;
margin-bottom: 16px; margin-bottom: 15px;
@include mq(md, max) { @include mq(md, max) {
margin-bottom: 0px; margin-bottom: 0px;
@ -774,33 +854,33 @@
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
color: $black-padrao;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue;
} }
} }
.btn-place-order-wrapper { .btn-place-order-wrapper {
a { a {
background: $color-green;
border: none;
border-radius: 5px;
display: block; display: block;
font-size: 0;
transition: ease-in 0.22s all;
padding: 12px 19px; padding: 12px 19px;
font-size: 0;
background: $color-blue-100;
border: none;
border-radius: 8px;
transition: ease-in 0.22s all;
&:hover { &:hover {
background-color: darken($color-green, 5); background-color: darken($color-blue-hover, 5);
} }
&:after { &:after {
content: "finalizar compra"; content: "finalizar compra";
font-family: $font-family; font-family: $font-family;
font-weight: 500; font-weight: 700;
font-size: 13px; font-size: 13px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: $color-white; color: $black-padrao;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;

View File

@ -2,240 +2,6 @@
padding: 0 16px; padding: 0 16px;
position: relative; position: relative;
&__prateleira {
margin-bottom: 123px;
@media screen and (min-width: 2500px) {
margin-bottom: 156px;
}
@media screen and (max-width: 1024px) {
margin-bottom: 188px;
}
h2 {
display: flex;
margin: 0 0 20px;
font-weight: 400;
line-height: 38px;
font-size: 24px;
justify-content: center;
font-family: $font-family-secundary;
@media screen and (min-width: 2500px) {
font-size: 48px;
line-height: 76px;
}
}
.container-carousel-item {
display: flex;
margin: 0;
padding: 0 116px;
list-style: none;
@media screen and (min-width: 2500px) {
padding: 0 237px;
}
@media screen and (max-width: 1024px) {
padding: 0;
}
li {
width: 96.1% !important;
@media screen and (min-width: 1280px) and (max-width: 1281px) {
width: 242px !important;
margin-right: 16px;
}
@media screen and (min-width: 2500px) and (max-width: 2501px) {
width: 485.07px !important;
margin-right: 16.93px;
}
@media screen and (min-width: 1023px) and (max-width: 1024px) {
width: 320px !important;
margin-right: 15px;
}
figure {
margin: 0;
img {
width: 100%;
background: $color-gray-100;
}
figcaption {
display: flex;
margin-top: 20px;
justify-content: center;
font-weight: 400;
font-size: 13px;
align-items: center;
text-align: center;
line-height: 18px;
font-family: $font-family;
@media screen and (min-width: 2500px) {
font-size: 26px;
line-height: 35px;
}
@media screen and (min-width: 726px) and (max-width: 1024px) {
margin: 20px 0;
}
@media screen and (min-width: 376px) and (max-width: 725px) {
margin-top: 11px;
min-height: 36px;
}
@media screen and (min-width: 1025px) and (max-width: 1188px) {
min-height: 36px;
}
}
}
.container-tamanho-cores {
display: flex;
margin-top: 20px;
gap: 5px;
align-items: center;
justify-content: center;
flex-wrap: wrap;
@media screen and (max-width: 725px) {
min-height: 61px;
}
@media screen and (min-width: 1025px) and (max-width: 1188px) {
min-height: 61px;
}
input {
display: none;
}
label {
display: flex;
padding: 5px;
border-radius: 8px;
font-weight: 700;
font-size: 13px;
line-height: 18px;
align-items: center;
text-align: center;
text-transform: uppercase;
background: $color-blue-100;
letter-spacing: 0.05em;
color: $color-white;
justify-content: center;
@media screen and (min-width: 2500px) {
padding: 6.1px;
font-size: 26px;
line-height: 35px;
}
}
label:last-child {
margin-right: 0;
}
}
.container-button-prateleira {
margin-top: 20px;
@media screen and (min-width: 726px) and (max-width: 1024px) {
margin-top: 20px;
}
a {
text-decoration: none;
}
button {
width: 100%;
height: 42px;
font-weight: 700;
font-size: 13px;
line-height: 13px;
border: none;
border-radius: 8px;
color: $color-white;
background: $color-blue-100;
letter-spacing: 0.05em;
text-transform: uppercase;
font-family: $font-family;
@media screen and (min-width: 2500px) {
height: 59px;
font-size: 26px;
line-height: 35px;
letter-spacing: 0.05em;
}
}
}
}
}
.slick-prev {
width: 13px;
height: 29.5px;
border: none;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg)
no-repeat center center;
z-index: 4;
left: 125px;
top: 43%;
@media screen and (min-width: 2500px) {
width: 26px;
height: 58px;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-left-M3Academy.svg)
no-repeat center center;
left: 255px;
top: 45%;
}
@media screen and (max-width: 1024px) {
width: 13.65px;
height: 29.47px;
left: 10px;
top: 48%;
}
}
.slick-next {
width: 13px;
height: 29.5px;
border: none;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg)
no-repeat center center;
z-index: 4;
top: 43%;
right: 137px;
@media screen and (min-width: 2500px) {
width: 26px;
height: 58px;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-right-M3Academy.svg)
no-repeat center center;
top: 45%;
right: 265px;
}
@media screen and (max-width: 1024px) {
width: 13.65px;
height: 29.47px;
top: 48%;
right: 20px;
}
}
}
.container { .container {
display: flex; display: flex;
margin: 16px 0; margin: 16px 0;

View File

@ -1 +1,236 @@
/* _prateleira.scss */ /* _prateleira.scss */
.footerCheckout {
&__prateleira {
margin-bottom: 123px;
@media screen and (min-width: 2500px) {
margin-bottom: 156px;
}
@media screen and (max-width: 1024px) {
margin-bottom: 188px;
}
h2 {
display: flex;
margin: 0 0 20px;
font-weight: 400;
line-height: 38px;
font-size: 24px;
justify-content: center;
font-family: $font-family-secundary;
@media screen and (min-width: 2500px) {
font-size: 48px;
line-height: 76px;
}
}
.container-carousel-item {
display: flex;
margin: 0;
padding: 0 116px;
list-style: none;
@media screen and (min-width: 2500px) {
padding: 0 237px;
}
@media screen and (max-width: 1024px) {
padding: 0;
}
li {
width: 96.1% !important;
@media screen and (min-width: 1280px) and (max-width: 1281px) {
width: 242px !important;
margin-right: 16px;
}
@media screen and (min-width: 2500px) and (max-width: 2501px) {
width: 485.07px !important;
margin-right: 16.93px;
}
@media screen and (min-width: 1023px) and (max-width: 1024px) {
width: 320px !important;
margin-right: 15px;
}
figure {
margin: 0;
img {
width: 100%;
background: $color-gray-100;
}
figcaption {
display: flex;
margin-top: 20px;
justify-content: center;
font-weight: 400;
font-size: 13px;
align-items: center;
text-align: center;
line-height: 18px;
font-family: $font-family;
@media screen and (min-width: 2500px) {
font-size: 26px;
line-height: 35px;
}
@media screen and (min-width: 726px) and (max-width: 1024px) {
margin: 20px 0;
}
@media screen and (min-width: 376px) and (max-width: 725px) {
margin-top: 11px;
min-height: 36px;
}
@media screen and (min-width: 1025px) and (max-width: 1188px) {
min-height: 36px;
}
}
}
.container-tamanho-cores {
display: flex;
margin-top: 20px;
gap: 5px;
align-items: center;
justify-content: center;
flex-wrap: wrap;
@media screen and (max-width: 725px) {
min-height: 61px;
}
@media screen and (min-width: 1025px) and (max-width: 1224px) {
min-height: 61px;
}
input {
display: none;
}
label {
display: flex;
padding: 5px;
border-radius: 8px;
font-weight: 700;
font-size: 13px;
line-height: 18px;
align-items: center;
text-align: center;
text-transform: uppercase;
background: $color-blue-100;
letter-spacing: 0.05em;
color: $color-white;
justify-content: center;
@media screen and (min-width: 2500px) {
padding: 6.1px;
font-size: 26px;
line-height: 35px;
}
}
label:last-child {
margin-right: 0;
}
}
.container-button-prateleira {
margin-top: 20px;
@media screen and (min-width: 726px) and (max-width: 1024px) {
margin-top: 20px;
}
a {
text-decoration: none;
}
button {
width: 100%;
height: 42px;
font-weight: 700;
font-size: 13px;
line-height: 13px;
border: none;
border-radius: 8px;
color: $color-white;
background: $color-blue-100;
letter-spacing: 0.05em;
text-transform: uppercase;
font-family: $font-family;
@media screen and (min-width: 2500px) {
height: 59px;
font-size: 26px;
line-height: 35px;
letter-spacing: 0.05em;
}
}
}
}
}
.slick-prev {
width: 13px;
height: 29.5px;
border: none;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg)
no-repeat center center;
z-index: 4;
left: 125px;
top: 43%;
@media screen and (min-width: 2500px) {
width: 26px;
height: 58px;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-left-M3Academy.svg)
no-repeat center center;
left: 255px;
top: 45%;
}
@media screen and (max-width: 1024px) {
width: 13.65px;
height: 29.47px;
left: 10px;
top: 48%;
}
}
.slick-next {
width: 13px;
height: 29.5px;
border: none;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg)
no-repeat center center;
z-index: 4;
top: 43%;
right: 137px;
@media screen and (min-width: 2500px) {
width: 26px;
height: 58px;
background: url(https://agenciamagma.vteximg.com.br/arquivos/arrow-right-M3Academy.svg)
no-repeat center center;
top: 45%;
right: 265px;
}
@media screen and (max-width: 1024px) {
width: 13.65px;
height: 29.47px;
top: 48%;
right: 20px;
}
}
}
}

View File

@ -17,9 +17,15 @@ $color-gray2: #7d7d7d;
$color-gray3: #f0f0f0; $color-gray3: #f0f0f0;
$color-gray4: #8d8d8d; $color-gray4: #8d8d8d;
$color-gray5: #e5e5e5; $color-gray5: #e5e5e5;
$color-gray6: #ededed;
$color-gray7: #c4c4c4;
$color-gray8: #989898;
$color-gray9: #e0e0e0;
$color-gray10: #bdbdbd;
$color-blue: #4267b2; $color-blue: #4267b2;
$color-blue-100: #00c8ff; $color-blue-100: #00c8ff;
$color-blue-hover: #01addd;
$color-green: #4caf50; $color-green: #4caf50;