Merge pull request 'wip' (#1) from wip into main

Reviewed-on: #1
This commit is contained in:
SamuelCondack 2022-12-19 02:37:01 +00:00
commit ee54780d08
13 changed files with 11106 additions and 159 deletions

View File

@ -7,13 +7,69 @@ export default class Footer {
async init() {
await this.selectors();
this.footerCheckoutInnerHTML();
this.footerCheckoutDevelopedInnerHTML();
this.events();
this.onUpdate();
this.createPaymentsIcons();
this.createVtexpciIcon();
this.createDevIcons();
// this.onUpdate();
}
events() {
window.addEventListener("hashchange", () => {
if (window.location.hash == "#/cart" && this.checkoutVazio.style.display == "none") {
this.list.style.display = "block";
}
if (window.location.hash != "#/cart") {
this.list.style.display = "none";
}
});
addEventListener("resize", () => {
this.addCarrossel();
});
}
async selectors() {
//Para verificar se o carrinho está vazio e remover a prateleira de produtos:
// vocês devem olhar a doc fornecida no Desafio para aprender a usar o waitElement
this.list = await waitElement(".footerCheckout__prateleira", {
timeout: 5000,
interval: 1000,
});
this.checkoutVazio = await waitElement(".empty-cart-content");
this.footerCheckout = document.querySelector(".footerCheckout__stamps");
this.footerCheckoutDeveloped = document.querySelector(".footerCheckout__developedBy");
this.payments = await waitElement(".footerCheckout__payments");
this.vtexpci = await waitElement(".footerCheckout__vtexpci");
this.devIncons = await waitElement(".footerCheckout__developedBy");
this.listaPrateleira = await waitElement(".footerCheckout__prateleira");
this.cartTitulo = await waitElement("#cart-title")
}
async footerCheckoutInnerHTML(){
this.footerCheckout.innerHTML = `
<div class = "footerCheckout__stamps__div_wrapper">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png/">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png/">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png/">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png/">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png/">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png/">
<img class = "images_footer" src = "https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png/">
<p class="pipe"></p>
<img class = "images_footer_vtexPCIM" src = "https://agenciamagma.vteximg.com.br/arquivos/vtexPCIM3Academy.png/"
</div>
`
}
async footerCheckoutDevelopedInnerHTML(){
this.footerCheckoutDeveloped.innerHTML = `
<div class = "footerCheckout__stamps__div_wrapperDeveloper">
<p class = "footer_description_1">Powered by</p>
<img class = "images_footer_developed" src = "https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png"/>
<p class = "footer_desciption_2">Developed by</p>
<img class = "images_footer_developed" src = "https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png"/>
</div>
`;
}
onUpdate() {
@ -21,20 +77,95 @@ export default class Footer {
// vocês devem olhar a doc fornecida no Desafio para aprender a usar a MutationObserver
// sempre que o carrinho estiver vazio o elemento chcekoutVazio fica display: none e isso pode ser usado como atributo para a MutationObserver
let target = this.checkoutVazio;
let list = this.listaPrateleira;
let cartTitle = this.cartTitulo;
let slickTitle = this.titleSlick;
if (target.style.display == "none" && window.location.hash == "#/cart") {
list.style.display = "flex";
list.style.display = "block";
this.fetchApiData();
} else {
this.cartTitulo.style.display = "none";
list.style.display = "none";
}
let config = { childList: true, attributes: true };
let observer = new MutationObserver((mutations) => {
if (!this.list.classList.contains("fetch")) {
this.fetchApiData();
}
mutations.forEach(function (mutation) {
console.log(mutation.type);
if (target.style.display != "none") {
list.style.display = "none";
cartTitle.style.display == "none";
if (list.style.display == "none"){
slickTitle.style.display = "none";
}
} else {
cartTitle.style.display = "block";
list.style.display = "block";
}
});
});
observer.observe(target, config);
}
fetchApiData() {
this.list.innerHTML = `
<h3>Você também pode gostar:</h3>
`;
fetch(
"https://m3academy.myvtex.com/api/catalog_system/pub/products/search/?fq=productClusterIds:319"
)
.then((response) => response.json())
.then((data) => {
//const list = document.querySelector(".footerCheckout__prateleira");
const ul = document.createElement("ul");
ul.classList.add("slick-test");
this.list.appendChild(ul);
data.map((item) => {
let colors = "";
for (let i = 0; i < item.items.length; i++) {
colors += `<p>${item.items[i].name}</p>`;
}
const li = document.createElement("li");
li.setAttribute("name", item.itemId);
li.classList.add("itemList");
li.innerHTML = `<img class="productImg" src="${item.items[0].images[0].imageUrl}">
<p class="productName">${item.productName}</p>
<div class="itemSku">
${colors}
</div>
<a class="productLink" type="button" href="${item.link}">VER PRODUTO</a>`;
ul.appendChild(li);
this.list.classList.add("fetch");
ul.style.width = "100%";
});
})
.then(() => {
this.addCarrossel();
});
}
async addCarrossel() {
const elemento = await waitElement("#my-element");
$(elemento).slick({
slidesToShow: 4,
slidesToScroll: 1,
});
const elemento = await waitElement(".slick-test");
if ($(elemento).hasClass("slick-initialized")) {
$(elemento).slick("unslick");
}
if (window.innerWidth > 1024) {
$(elemento).not(".slick-initialized").slick({
slidesToShow: 4,
slidesToScroll: 1,
});
} else if (window.innerWidth > 375) {
$(elemento).not(".slick-initialized").slick({
slidesToShow: 3,
slidesToScroll: 1,
});
} else if (window.innerWidth <= 375) {
$(elemento).not(".slick-initialized").slick({
slidesToShow: 2,
slidesToScroll: 1,
});
}
}
}

View File

@ -8,14 +8,240 @@ export default class Header {
async init() {
await this.selectors();
console.log(this.item);
this.createProgressBar();
await this.progressBarProgress();
}
async selectors() {
this.item = await waitElement("#my-element", {
//#my-element pode ser a class ou o id do elemento html qeu vocÊ quer pegar
timeout: 5000, // vai esperar 5 segundos antes de rejeitar a promise
interval: 1000, // vai verificar a cada 1 segundo se o elemento existe
});
this.header = await waitElement(".headerCheckout");
this.progressBar = await waitElement("#progressBar");
}
createProgressBar() {
if (this.progressBar && window.innerWidth > 1024) {
this.progressBar.innerHTML = `
<ul>
<li>
<div class="containerLi">
<div>
<p class="progress-bar-text">Meu carrinho</p>
<p id="progress-bar-circle-1" class="progress-bar-circle-1"></p>
<p class="progress-bar-line-1"></p>
</div>
</div>
</li>
<li class="central">
<div class="containerLi">
<div>
<p class="progress-bar-text">Dados Pessoais</p>
<p id="progress-bar-circle-2" class="progress-bar-circle-2"></p>
</div>
</div>
</li>
<li>
<div class="containerLi">
<div>
<p class="progress-bar-text">Pagamento</p>
<p id="progress-bar-circle-3" class="progress-bar-circle-3"></p>
<p class="progress-bar-line-2"></p>
</div>
</div>
</li>
</ul>
`;
}
if (this.progressBar && window.innerWidth <= 1024) {
this.progressBar.innerHTML = ``;
}
}
async progressBarProgress() {
if (this.progressBar && window.innerWidth > 1024) {
const progressBarList = document.querySelectorAll("#progressBar ul li");
progressBarList.forEach((li) => {
if (window.location.href == "https://m3academy.myvtex.com/checkout/#/cart") {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
li.children[0].children[0].children["progress-bar-circle-1"].classList.add(
"active"
);
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (
window.location.href == "https://m3academy.myvtex.com/checkout/#/email" ||
window.location.href == "https://m3academy.myvtex.com/checkout/#/profile" ||
window.location.href == "https://m3academy.myvtex.com/checkout/#/shipping"
) {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
li.children[0].children[0].children["progress-bar-circle-2"].classList.add(
"active"
);
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (
window.location.href == "https://m3academy.myvtex.com/checkout/#/payment"
) {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
li.children[0].children[0].children["progress-bar-circle-3"].classList.add(
"active"
);
}
}
window.addEventListener("hashchange", () => {
if (window.location.hash == "#/cart") {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.add("active");
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (
window.location.hash == "#/email" ||
window.location.hash == "#/profile" ||
window.location.hash == "#/shipping"
) {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.add("active");
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.remove("active");
}
}
} else if (window.location.hash == "#/payment") {
if (li.children[0].children[0].children["progress-bar-circle-1"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-1"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-2"]) {
if (
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.contains("active")
) {
li.children[0].children[0].children[
"progress-bar-circle-2"
].classList.remove("active");
}
}
if (li.children[0].children[0].children["progress-bar-circle-3"]) {
li.children[0].children[0].children[
"progress-bar-circle-3"
].classList.add("active");
}
}
});
});
}
}
}

View File

@ -1,3 +1,32 @@
.client-pre-email-h{
.client-pre-email, span, small{
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 23px;
text-align: center;
text-transform: uppercase;
color: #000000;
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 40px;
line-height: 47px;
}
}
small{
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400 !important;
font-size: 20px !important;
line-height: 23px;
text-align: center;
text-transform: uppercase;
color: #000000 !important;
}
}
.checkout-container {
.client-pre-email {
border-color: $color-gray4;
@ -26,7 +55,9 @@
span {
color: #303030;
@media (min-width: 2500px){
font-size: 24px;
}
}
small {
@ -43,7 +74,7 @@
color: $color-black;
font-family: $font-family;
padding: 0 16px;
border: 2px solid $color-gray3;
border: 1px solid #000000;
box-sizing: border-box;
border-radius: 5px;
@ -53,13 +84,38 @@
}
button {
background-color: $color-black;
border-radius: 5px;
background: #00C8FF;
color: #000000;
border-radius: 8px;
border: none;
font-family: $font-family;
height: 54px;
right: 0;
top: 0;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 12.56px 14.4px 12px 14.41px;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 28px;
line-height: 38px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
}
@media (max-width: 490px) {
height: 48px;
@ -70,18 +126,39 @@
span.help.error {
color: red;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
}
.emailInfo {
padding: 16px;
background-color: $color-white;
border: 1px solid $color-gray4;
border-radius: 0;
border: 1px solid #000000;
border-radius: 5px;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
h3 {
color: #303030;
margin: 0 0 8px 0;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
ul {
@ -93,27 +170,90 @@
}
i::before {
color: $color-black;
color: #00C8FF;
font-size: 1rem;
opacity: 1;
font-size: 30px;
}
}
}
.icon-lock{
display: none;
}
i::before {
color: $color-black;
font-size: 6rem;
opacity: 0.5;
}
}
}
div[data-bind="css: {active: active, filled: visitedAndNotActive}"]{
@media (max-width: 1024px){
width: 92%;
}
}
.client-profile-email{
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.client-profile-summary{
span{
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
}
#client-profile-data{
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 37px;
}
@media (max-width: 1024px){
width: 100%;
}
}
#shipping-data{
@media (max-width: 1024px){
width: 100%;
}
}
#payment-data{
@media (max-width: 1024px) {
width: 100%;
}
width: 100%;
}
.client-profile-data{
.pull-left{
@media (max-width: 1024px){
float: left !important;
}
}
}
.shipping-data,
.payment-data,
.client-profile-data {
@media (max-width: 1024px){
margin: 0;
margin-top: 12px;
}
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray4;
border-radius: 8;
border: 1px solid #E0E0E0;
font-family: $font-family;
padding: 16px;
@ -121,31 +261,167 @@
span {
color: #303030;
margin-bottom: 8px;
padding: 0;
padding-bottom: 25px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 32px;
line-height: 37px;
}
i::before {
fill: #303030;
}
.icon-home{
display: none;
}
span[data-i18n="clientProfileData.identification"] {
color: #fff;
}
span[data-i18n="clientProfileData.identification"]::before {
content: "Identificação";
color: #000000;
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 37px;
}
}
}
a {
align-items: center;
background-color: #303030;
border-radius: 8px;
border: none;
color: $color-white;
background-color: white;
color: #00C8FF;
border: none;
font-size: 19px;
box-shadow: none;
text-shadow: none;
display: flex;
justify-content: center;
padding: 6px 5px 6px 8px;
}
}
.accordion-toggle{
padding-left: 0;
.icon-user{
display: none;
}
}
.accordion-heading {
.accordion-toggle, .collapsed, .accordion-toggle-active{
.icon-credit-card {
display: none;
}
}
}
.accordion-inner {
padding: 0;
.steps-view{
width: fit-content;
height: fit-content;
@media (max-width: 1024px){
width:
95%;
}
@media (max-width: 550px){
width: 90%;
}
}
.payment-group-item{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 24px;
color: #58595B;
background: #F0F0F0;
border: 1px solid hsl(0, 0%, 0%);
border-radius: 6px;
margin-bottom: 12px;
&:focus{
color: #F15A31 !important;
border: 1px solid #F15A31;
text-decoration: none;
}
&:hover{
color: #F15A31 !important;
border: 1px solid #F15A31;
}
.payment-group-item-text{
font-weight: 400;
font-size: 28px;
line-height: 24px;
}
}
a[data-i18n="paymentData.paymentGroup.giftCard.useGiftCard"]{
display: none;
}
a[data-name="Bancolombia Transfer"]{
display: none;
}
#payment-group-SPEIPaymentGroup{
display: none;
}
#payment-group-MercadoPagoPaymentGroup{
display: none;
}
#payment-group-custom201PaymentGroupPaymentGroup{
display: none;
}
#payment-group-customPrivate_502PaymentGroup{
display: none;
}
#payment-group-Bancolombia{
display: none;
}
#payment-group-PSEPaymentGroup{
display: none;
}
#payment-group-custom203PaymentGroupPaymentGroup{
display: none;
}
#payment-group-instantPaymentPaymentGroup{
display: none;
}
#payment-group-promissoryPaymentGroup{
display: none;
}
#payment-group-creditDirectSalePaymentGroup{
display: none;
}
#payment-group-creditControlPaymentGroup{
display: none;
}
.pg-transferencia-bancaria{
display: none;
}
.pg-deposito{
display: none;
}
padding: 0;
.link-change-shipping{
display: none;
}
.link-gift-card{
.box-step{
.box-step-content{
display: none;
}
}
}
.payment-group-list-btn{
span{
background-image: none !important;
}
}
/* General configurations */
.client-notice {
display: none;
color: $color-black;
}
@ -157,8 +433,8 @@
select,
input {
border-radius: 0;
border: 1px solid $color-gray4;
border-radius: 8;
border: 1px solid #E0E0E0;
box-shadow: none;
}
@ -168,8 +444,10 @@
}
.box-client-info-pj {
display: none;
.link a#is-corporate-client,
.link a#not-corporate-client {
display: none;
color: $color-black;
font-weight: 500;
text-decoration: underline;
@ -181,20 +459,29 @@
}
button.submit {
width: 100%;
border: none;
border-radius: 5px;
background: $color-black;
border-radius: 8px;
background: #00C8FF;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
text-transform: uppercase;
font-weight: 700;
margin-top: 45px;
&:hover {
background: lighten($color-black, 5);
background: lighten(#00C8FF, 5);
}
&:active {
background: darken($color-black, 5);
background: darken(#00C8FF, 5);
}
@media (min-width: 2500px){
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
}
/* Shipping configurations */
@ -203,18 +490,44 @@
color: #303030;
font-weight: 500;
text-decoration: underline;
margin: 0;
}
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
color: #7d7d7d;
font-size: 14px;
font-weight: 500;
font-weight: 700;
@media (min-width: 2500px){
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-leanShippingTextLabel{
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-leanShippingText{
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-optionPrice{
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.shp-lean {
border: 1px solid $color-gray4;
border-radius: 0;
border: 1px solid #E0E0E0;
border-radius: 8px;
label {
background-color: $color-white;
@ -223,28 +536,48 @@
padding: 8px 12px;
svg path {
fill: #d8c8ac;
width: 18px;
height: 18px;
fill: #00C8FF;
border: 1px solid #C4C4C4;
border-radius: 3px;
}
}
}
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
font-family: 'Open Sans';
font-style: normal;
color: #7d7d7d;
font-size: 12px;
font-weight: 700;
line-height: 16px;
letter-spacing: 0.05em;
@media (min-width: 2500px){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
.shp-summary-group-info {
border-color: $color-gray4;
}
#force-shipping-fields{
color: #00C8FF;
}
.address-summary {
background: none;
border-color: $color-gray4;
border-radius: 0;
background: none;
border-color: #E0E0E0;
border-radius: 5;
color: #303030;
padding: 12px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
@include mq(md, max) {
background-position: 8px 9px;
@ -255,11 +588,54 @@
font-weight: 500;
text-decoration: underline;
}
}
.ship-number{
@media (min-width: 2500px){
label{
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
}
.ship-complement{
@media (min-width: 2500px){
label{
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
input{
padding-right: 0px !important;
height: 35px;
width: 100%;
}
}
.ship-receiverName{
@media (min-width: 2500px){
label{
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
input{
padding-right: 0px !important;
height: 35px;
width: 100%;
}
}
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.shp-summary-group-price {
@ -267,23 +643,248 @@
}
.shp-summary-package {
padding-left: 16px;
padding-left: 0;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
#shipping-option-delivery{
@media (min-width: 2500px){
font-weight: 400;
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: #d8c8ac;
border: 1px solid #d8c8ac;
color: black;
text-transform: uppercase;
background-color: #fff;
border: 1px solid #292929;
border-radius: 100px;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.vtex-omnishipping-1-x-deliveryChannelsOption{
color: #C4C4C4;
text-transform: uppercase;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50);
color: #41115D;
text-transform: uppercase;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.ship-country{
display: none;
}
.vtex-omnishipping-1-x-address{
.ship-street{
display: none !important;
}
.ship-neighborhood{
display: none;
}
.ship-city{
display: none;
}
.ship-state{
display: none;
}
div{
display: flex;
flex-direction: column;
}
.text{
#ship-number{
width: 100%;
height: 35px !important;
padding-right: 0px !important;
}
}
}
}
.vtex-omnishipping-1-x-addressFormPart1, input{
max-width: none;
padding-right: 17px;
@media (min-width: 2500px){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
.box-client-info-pf{
@media (max-width: 815px){
margin-right: 15px;
}
label{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #7D7D7D;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 38px;
}
}
.input-small{
height: 42px;
}
.client-first-name{
width: 40%;
#client-first-name{
width: 100%;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
@media (max-width: 1024px){
width: 45%;
}
}
.client-last-name{
width: 40%;
#client-last-name{
width: 100%;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
@media (max-width: 1024px){
width: 45%;
margin-left: 14.5px;
}
}
.client-document{
width: 40%;
#client-document{
width: 100%;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
@media (max-width: 1024px){
width: 45%;
}
@media (max-width: 353px){
width: 40%;
}
}
.client-phone{
width: 40%;
#client-phone{
width: 100%;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
@media (max-width: 1024px){
width: 45%;
margin-left: 14.5px;
}
}
}
span[data-i18n="global.optinNewsLetter"]{
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.client-email{
#client-email{
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 38px;
}
}
label{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #7D7D7D;
}
.input-xlarge{
width: 95%;
min-height: 42px;
padding-right: 17px;
}
}
#ship-postalCode{
@media (min-width: 2500px){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
.ship-postalCode{
.input-small{
width: 100%;
min-height: 45px;
border-radius: 8px;
margin-bottom: 10px;
@media (min-width: 2500){
font-weight: 700;
font-size: 24px;
line-height: 33px;
}
}
}
small, a{
margin: 0;
}
}
}
}
}
}

View File

@ -27,16 +27,29 @@
}
.cart-fixed.affix {
position: relative !important;
@media (max-width: 1024px){
margin-bottom: 101px;
}
}
.cart-fixed {
font-family: $font-family;
width: 100%;
border: 1px solid #E5E5E5;
border-bottom: none;
border-radius: 8px;
h2 {
padding: 24px 0px 34px 17px;
text-align: left;
background: $color-white;
border: none;
color: #303030;
font-size: 14px;
font-weight: 500;
color: #292929;
font-size: 16px;
font-weight: 400;
@media (min-width: 2500px){
font-weight: 400;
font-size: 32px;
line-height: 37px;
}
}
.item-unavailable {
@ -48,7 +61,7 @@
}
.cart {
border: 1px solid $color-gray4;
border: none;
ul li {
border-top: none;
@ -65,6 +78,23 @@
.price {
color: #7d7d7d;
}
.price{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-align: right;
color: #292929;
@media (min-width: 2500px){
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
.shipping-date{
display: none;
}
}
}
@ -81,23 +111,45 @@
.summary-totalizers {
td.info {
width: 100%;
}
}
tr.info{
padding-left: 17px;
}
#payment-data-submit {
background: $color-black;
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;
background: #298541;
border: none;
border-radius: 0;
color: $color-white;
outline: none;
border-radius: 8px;
transition: all 0.2s linear;
@media (min-width: 2500px){
font-weight: 700;
font-size: 28px;
line-height: 38px;
}
&:hover {
background: lighten($color-black, 5);
background: darken(#298541, 5);
}
&:active {
background: darken($color-black, 5);
}
.icon-lock{
display: none;
}
}
}
@ -106,6 +158,7 @@
}
.cart-items {
width: 100%;
.product-item {
padding: 16px 0;
}
@ -117,6 +170,13 @@
font-weight: bold;
font-size: 14px;
line-height: 16px;
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 33px;
}
@include mq(md, max) {
&.quantity-price,
@ -131,36 +191,56 @@
padding: 0;
width: 60px;
@include mq(sm, max) {
width: 72px;
}
img {
height: 60px;
max-width: 100%;
width: auto;
@include mq(sm, max) {
height: 72px;
width: auto;
}
}
}
.product-name {
padding-right: 0;
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: #000000;
padding-top: 20px;
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 28px;
}
@include mq(lg, max) {
width: 250px;
}
a {
color: $color-blue;
color: #000000;
font-style: normal;
font-weight: normal;
font-size: 12px;
line-height: 14px;
transition: ease-in 0.22s all;
cursor: default;
&:hover {
color: darken($color-blue, 10);
@ -187,17 +267,7 @@
display: none;
}
}
.product-price {
min-width: 100px;
@include mq(md, max) {
min-width: 78px;
}
@media (max-width: 490px) {
position: absolute;
bottom: 0;
right: 0;
}
span.list-price {
color: $color-gray2;
@ -214,11 +284,10 @@
}
}
}
td.quantity {
align-items: center;
border: 1px solid $color-gray3;
border-radius: 0;
border-radius: 8px;
box-sizing: border-box;
display: flex;
justify-content: center;
@ -227,14 +296,13 @@
max-width: 118px;
padding: 0;
width: max-content !important;
@media (max-width: 490px) {
margin-left: 84px !important;
}
input {
background-color: $color-white;
border: 1px solid $color-gray3;
border: none;
border-radius: 0;
border-width: 0 1px;
display: block;
@ -253,6 +321,7 @@
.icon-plus-sign,
.icon-minus-sign {
&::before {
border-radius: 50%;
color: $color-black;
display: block;
font-weight: 500;
@ -262,17 +331,24 @@
.icon-minus-sign {
&:before {
content: "-";
font-size: 16px;
align-items: center;
color: #00C8FF;
font-size: 20px;
font-weight: 700;
}
}
.icon-plus-sign {
&:before {
content: "+";
font-size: 14px;
align-items: center;
color: #00C8FF;
font-size: 20px;
font-weight: 700;
}
}
.quantity{
border-radius: 8px;
}
.item-quantity-change {
@media (max-width: 979px) and (min-width: 768px) {
@ -337,18 +413,31 @@
}
}
}
#cart-shipping-calculate{
@media (max-width: 1024px){
display: none;
}
}
#ship-postalCode{
@media (max-width: 1024px){
width: 100%;
}
}
.summary {
.cart-more-options {
margin: 0;
width: max-content;
@media (max-width: 1024px){
width: 100%;
}
.srp-container {
padding: 0 0 0 10px;
@include mq(md, max) {
padding: 0 16px;
.srp-postal-code__form{
@media (max-width: 1024px){
width: 40%;
}
}
.srp-container {
.srp-main-title {
margin: 32px 0 12px;
@ -361,6 +450,17 @@
@include mq(md, max) {
margin-top: 0;
}
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 48px;
line-height: 65px;
display: flex;
align-items: center;
text-align: center;
}
}
.srp-description {
@ -368,6 +468,16 @@
font-size: 12px;
line-height: 18px;
margin: 0 0 12px;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 36px;
}
}
.ship-country{
display: none;
}
button.shp-open-options {
@ -397,7 +507,7 @@
width: 280px;
@include mq(cstm, max) {
width: calc(100vw - 32px);
width: 100%;
}
@include mq(md, max) {
@ -405,7 +515,7 @@
}
.srp-pickup-my-location__button {
background-color: $color-black;
background-color: #00C8FF;
border: none;
border-radius: 5px;
color: $color-white;
@ -419,11 +529,11 @@
letter-spacing: 0.05em;
&:hover {
background-color: lighten($color-black, 5);
background-color: lighten(#00C8FF, 5);
}
&:active {
background-color: darken($color-black, 5);
background-color: darken(#00C8FF, 5);
}
}
}
@ -441,15 +551,25 @@
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 38px;
display: flex;
align-items: center;
text-transform: uppercase;
}
}
&__current {
border: 1px solid $color-blue;
border: 1px solid #000000;
border-radius: 100px;
}
.blue {
color: $color-blue;
color: #000000;
}
label {
@ -550,13 +670,13 @@
.srp-shipping-current-single {
border: 1px solid $color-gray4;
border-radius: 0;
border-radius: 8;
color: #303030;
margin: 16px 0 0;
padding: 4px 12px;
svg path {
fill: #d8c8ac;
fill: #00C8FF;
}
}
@ -589,10 +709,28 @@
}
}
}
#cart-shipping-calculate{
background-color: #00C8FF;
border-radius: 8px;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 38px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
}
}
&-totalizers {
padding: 0;
width: 346px;
@media (max-width: 1024px){
width: 100%;
}
.coupon-data {
#cart-link-coupon-add {
@ -613,10 +751,6 @@
}
}
@include mq(md, max) {
padding: 0 16px;
width: 100%;
}
.coupon-column {
.coupon {
@ -630,7 +764,7 @@
}
.coupon-label label {
margin-bottom: 12px;
text-align: left;
font-family: $font-family;
font-style: normal;
font-weight: normal;
@ -664,7 +798,7 @@
font-size: 12px;
height: 34px;
padding: 0 12px;
max-width: 160px;
width: 204px;
@include mq(sm, max) {
max-width: 100%;
@ -673,10 +807,10 @@
}
button {
background: $color-black;
background: #00C8FF;
border: none;
border-radius: 5px;
color: $color-white;
color: #000000;
font-size: 12px;
height: 36px;
letter-spacing: 1px;
@ -691,11 +825,11 @@
}
&:hover {
background-color: lighten($color-black, 5);
background-color: lighten(#00C8FF, 5);
}
&:active {
background-color: darken($color-black, 5);
background-color: darken(#00C8FF, 5);
}
}
}
@ -718,36 +852,75 @@
line-height: 16px;
color: $color-black;
padding: 12px 0;
padding-left: 0px;
@media (min-width: 2500px){
font-weight: 400;
font-size: 28px;
line-height: 38px;
}
}
&.info {
padding-left: 17px;
text-align: left;
}
&.monetary {
text-align: right;
@media (max-width: 1024px){
padding-left: 0;
}
}
}
}
tfoot {
td.info{
padding-left: 17px;
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 33px;
}
}
td.info,
td.monetary {
padding-left: 17px;
padding-right: 8px;
font-style: normal;
font-weight: normal;
font-weight: 700;
font-size: 18px;
line-height: 21px;
color: $color-black;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 36px;
line-height: 49px;
}
}
}
}
}
}
.btn{
text-shadow: none !important;
}
.cart-links-bottom {
display: flex;
flex-direction: column;
justify-content: left;
align-items: left;
width: 343px;
@media (max-width: 1024px){
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
@include mq(md, max) {
padding: 0 16px;
@ -765,6 +938,9 @@
display: block;
text-align: center;
margin-bottom: 16px;
@media (max-width: 1024px){
padding-bottom: 27px;
}
@include mq(md, max) {
margin-bottom: 0px;
@ -779,28 +955,32 @@
color: $color-blue;
}
}
.btn-place-order-wrapper {
@media (max-width: 1024px){
width: 100%;
}
a {
background: $color-green;
background: #00C8FF;
border: none;
border-radius: 5px;
display: block;
font-size: 0;
transition: ease-in 0.22s all;
padding: 12px 19px;
text-shadow: none;
font-weight: 700;
&:hover {
background-color: darken($color-green, 5);
background-color: lighten(#00C8FF, 5);
}
&:after {
content: "finalizar compra";
font-family: $font-family;
font-weight: 500;
font-weight: 700;
font-size: 13px;
letter-spacing: 0.05em;
color: $color-white;
color: #000000;
text-transform: uppercase;
vertical-align: middle;
line-height: 19px;
@ -810,3 +990,15 @@
}
}
}
@media (min-width: 1025px){
.row-fluid{
display: block;
width: 100%;
}
}
@media (max-width: 1024px){
.row-fluid{
display: flex;
flex-direction: column;
}
}

View File

@ -1,11 +1,30 @@
body .container-main.container-order-form .orderform-template.active {
@media (max-width: 1024px){
display: flex;
flex-direction: column;
}
.mini-cart {
width: 32.3242%;
margin-left: unset;
margin-right: 0;
float: right;
@media (max-width: 1024px){
margin-top: 10px;
width: 100%;
}
}
.orderform-template-holder {
width: 66.1132%;
@media (min-width: 1025px){
.orderform-template-holder {
width: 66.1132%;
}
}
@media (max-width: 1024px){
.orderform-template-holder{
width: 100%;
}
}
}
.mini-cart .info{
float: none;
}

View File

@ -1,3 +1,6 @@
.empty-cart-message{
display: none;
}
.empty-cart {
font-family: $font-family;
&-content {
@ -8,31 +11,85 @@
padding: 0 16px;
}
}
&-title {
font-size: 20px;
margin-top: 170px;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
text-transform: uppercase;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 48px;
line-height: 65px;
text-align: center;
text-transform: uppercase;
}
}
&-links {
.link-choose-products {
background: $color-black;
border: none;
border-radius: 5px;
transition: ease-in 0.22s all;
outline: none;
font-family: $font-family;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-align: center;
letter-spacing: 0.05em;
color: $color-white;
text-transform: uppercase;
a {
color: transparent;
font-family: "Tenor Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
text-transform: uppercase;
letter-spacing: 0.05em;
}
@media (min-width: 2500px){
#cart-choose-products{
width: 20%;
line-height: 30px;
}
}
a::after {
content: "Continuar \a" "comprando";
color: #000000;
position: absolute;
left: 0;
right: 0;
@media (min-width: 2500px){
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 28px;
line-height: 33px;
text-align: center;
text-transform: uppercase;
}
@media (max-width: 406px) {
white-space: pre;
bottom: 10px;
}
}
.link-choose-products {
border: 1px solid #000000;
border-radius: 0;
width: 327px;
background-color: white;
color: transparent;
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
text-transform: uppercase;
&:hover {
background: lighten($color-black, 5);
background: none;
}
@media (max-width: 1024px) {
width: 60%;
}
}
}
}

View File

@ -7,15 +7,166 @@ html {
height: 100%;
min-height: 100%;
}
footer{
margin-top: auto;
}
footer .footerCheckout__wrapper {
width: 94.9734%;
width: 100%;
margin: auto auto 0 auto;
}
footer .footerCheckout__prateleira,
header {
width: 79.53125%;
margin: 0 auto;
//footer
.footerCheckout__prateleira
//, header {
{
h3 {
font-family: 'Tenor Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #000000;
text-align: center;
padding-left: 50px;
}
width: 79.53125%;
.itemList{
display: flex !important;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 0px 8px 0px 8px;
}
.productImg{
background-color: #ededed;
display: flex;
gap: 16px;
}
.productName{
text-align: center;
padding: 20px 5px 20px 5px;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 13px;
line-height: 18px;
color: #000000;
width: 100%;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 26px;
line-height: 35px;
text-align: center;
}
}
.itemSku{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 5px;
padding-bottom: 20px;
width: 100%;
@media (max-width: 801px){
flex-direction: column;
height: 193px;
}
p{
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 13px;
line-height: 18px;
margin: 0;
padding: 5px;
color: white;
background: #00C8FF;
border-radius: 8px;
margin: 0;
letter-spacing: 0.05em;
text-transform: uppercase;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 26px;
line-height: 35px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
}
}
}
.productLink{
height: 42px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
color: white;
background: #00C8FF;
border-radius: 8px;
margin-bottom: 56px;
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 13px;
line-height: 18px;
letter-spacing: 0.05em;
padding: 0 5px;
text-transform: uppercase;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 26px;
line-height: 35px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
}
&:hover{
text-decoration: none;
}
}
.slick-prev{
border: 0;
color: #858585;
top: 30%;
@media(max-width: 801px){
top: 20%;
left: 10px;
}
@media(max-width: 600px){
top: 15%;
}
@media(max-width: 450px){
top: 10%;
}
}
.slick-next{
border: 0;
color: #858585;
bottom: 65%;
@media(max-width: 801px){
bottom: 75%;
right: 10px;
}
@media(max-width: 600px){
bottom: 80%;
}
@media(max-width: 450px){
bottom: 85%;
}
}
}
body {
@ -31,7 +182,6 @@ body {
&.body-cart {
font-family: $font-family;
}
&.body-cart,
&.body-order-form {
@include mq(xl, min) {
@ -52,7 +202,6 @@ body {
width: 80%;
}
}
.btn-success {
background: $color-black;
text-shadow: none;
@ -61,21 +210,32 @@ body {
background: lighten($color-black, 15%);
}
}
.emailInfo{
border: 1px solid #000000;
border-radius: 5px;
}
.emailInfo h3 {
color: $color-black !important;
}
#cart-title,
#orderform-title {
color: $color-gray2;
color: #292929;
font-family: $font-family;
font-weight: 500;
font-size: 36px;
line-height: 42px;
font-weight: 700;
font-size: 24px;
line-height: 32px;
margin: 40px 0 30px;
letter-spacing: 0.1em;
letter-spacing: 0.05em;
text-transform: uppercase;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 48px;
line-height: 65px;
letter-spacing: 0.05em;
text-transform: uppercase;
}
@include mq(md, max) {
margin-left: 30px;

View File

@ -62,6 +62,7 @@
}
}
.slick-slide {
margin-right: 16px;
float: left;
height: 100%;
min-height: 1px;
@ -104,11 +105,22 @@
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg")
no-repeat center center;
z-index: 4;
left: 10px;
left: 20px;
border: 0;
color: #858585;
top: 30%;
@media (max-width: 550px){
left: 15px;
}
}
.slick-next {
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg")
no-repeat center center;
z-index: 4;
right: 10px;
right: 20px;
border: 0;
color: #858585;
bottom: 65%;
}
.slick-arrow.slick-hidden {
display: none;

View File

@ -1,8 +1,50 @@
/* _footer.scss */
.footerCheckout {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border-top: none;
color: $color-gray2;
@media (max-width: 550px){
align-items: normal;
}
.footerCheckout__wrapper{
border-top: 1px solid black;
margin: 0px;
width: 100%;
}
.container{
display: flex;
flex-direction: row;
justify-content: space-between;
padding-top: 16px;
width: 100%;
@include mq(dt, max) {
display: flex;
flex-direction: column;
align-items: left !important;
justify-content: none !important;
}
}
.images_footer{
width: 35.65px;
height: 20px;
}
.pipe{
display: inline-block;
border-left: 1px solid #c4c4c4;
}
.images_footer_vtexPCIM{
width: 53px;
height: 33px;
border-left: 1px solid #c4c4c4;
padding-left: 10px;
@media (min-width: 2500px){
width: 103.52px;
height: 64.46px;
}
}
&__wrapper {
align-items: center;
display: flex;
@ -10,6 +52,7 @@
}
&__address {
padding-right: 138px;
color: $color-gray2;
font-family: $font-family;
font-style: normal;
@ -18,10 +61,25 @@
line-height: 12px;
text-transform: capitalize;
max-width: 40%;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 27px;
}
@include mq(dt, max) {
display: flex;
order: 2;
padding: 0;
padding-top: 23px;
padding-left: 16px;
padding-right: 16px;
}
@include mq(md, max){
@include mq(md, max) {
margin-bottom: 24px;
max-width: 100%;
padding-top: 16px;
}
}
@ -30,10 +88,13 @@
display: flex;
justify-self: center;
list-style: none;
@include mq(md, max) {
align-self: center;
margin-bottom: 12px;
@media (max-width: 1024px){
display: flex;
align-items: left;
justify-content: left;
}
@media (min-width: 2500px){
height: 39.06px;
}
&__divider {
@ -46,10 +107,47 @@
}
&__developedBy {
padding-left: 138px;
align-items: center;
display: flex;
list-style-type: none;
margin: 0;
@include mq(dt, max) {
display: flex;
order: 3;
padding: 0;
padding-top: 16px;
padding-left: 16px;
}
.footerCheckout__stamps__div_wrapperDeveloper{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
.footer_description_1{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
}
.footer_description_2{
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
}
}
.images_footer_developed{
width: 38.71px;
height: 16px;
padding: 10px 10px;
@media (min-width: 2500px){
width: 70.91px;
height: 31.25px;
}
}
li:last-child {
margin-left: 16px;

View File

@ -1,7 +1,112 @@
/* _header.scss */
.headerCheckout {
.container {
width: auto !important;
.headerCheckout__wrapper{
border-bottom: 1px solid #000;
margin: 0;
width: 100%;
padding-top: 29px;
padding-bottom: 29px;
.headerCheckout__logo{
@media (min-width: 2500px){
img{
height: auto;
width: auto;
}
}
}
}
#progressBar{
width: 446px;
@media (min-width: 2500px){
width: 888px;
}
ul{
list-style-type: none;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 !important;
}
li .containerLi{
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
position: relative;
}
li.central .containerLi{
align-items: center;
margin-left: 7px;
}
li:last-child .containerLi{
align-items: flex-end;
}
li .containerLi div{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
li{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: "Tenor Sans", sans-serif;
font-size: 12px;
font-weight: 400;
line-height: 28px;
color: #000;
width: 39.9183%;
@media (min-width: 2500px){
font-size: 24px;
}
}
li.central{
width: auto;
}
li #progress-bar-circle-1,
li #progress-bar-circle-2,
li #progress-bar-circle-3{
width: 12px;
height: 12px;
border: 1px solid #000000;
border-radius: 50%;
@media (min-width: 2500px){
width: 24px;
height: 24px;
}
}
li #progress-bar-circle-1.active,
li #progress-bar-circle-2.active,
li #progress-bar-circle-3.active{
border: none;
background-color: #000000;
}
li .progress-bar-line-1{
display: flex;
position: absolute;
left: 25%;
transform: translateY(-50%);
bottom: 5px;
width: 100%;
height: 1px;
border-top: 1px solid #000000;
}
li .progress-bar-line-2{
position: absolute;
right: 21%;
transform: translateY(-50%);
bottom: 5px;
width: 100%;
height: 1px;
border-top: 1px solid #000000;
}
}
}
&__wrapper {
align-items: center;
@ -10,15 +115,37 @@
}
&__logo {
width: 15.2829%;
padding-left: 131px;
img {
height: 52px;
width: auto;
@media (max-width: 1024px){
width: 155px;
max-width: none;
padding-left: 16px;
}
}
@media (max-width: 1024px){
padding-left: 0px;
}
}
&__safeBuy {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 11.6895%;
padding-right: 131px;
img{
width: 12px;
@media (min-width: 2500px){
width: 29.47px;
height: 41.46px;
}
}
span {
align-items: center;
display: flex;
text-transform: uppercase;
font-family: $font-family;
@ -27,10 +154,24 @@
font-size: 12px;
line-height: 14px;
color: $color-gray;
@media (min-width: 2500px){
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 33px;
}
}
i {
margin-right: 8px;
}
@media (max-width: 1024px) {
display: flex;
justify-content: right;
width: 100%;
font-size: 12px;
padding-right: 16px;
}
}
}

View File

@ -26,7 +26,8 @@ $grid-breakpoints: (
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
xl: 1200px,
dt: 1025px
) !default;
$z-index: (

20
package-lock.json generated
View File

@ -45,6 +45,7 @@
"jquery": "^3.6.0",
"m3-utils": "^0.1.0",
"sass": "^1.38.1",
"slick-carousel": "^1.8.1",
"terser-webpack-plugin": "^5.1.4"
},
"devDependencies": {
@ -3484,6 +3485,8 @@
},
"checkout/node_modules/core-util-is": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
"license": "MIT"
},
"checkout/node_modules/cosmiconfig": {
@ -4844,6 +4847,8 @@
},
"checkout/node_modules/get-intrinsic": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"license": "MIT",
"dependencies": {
"function-bind": "^1.1.1",
@ -6294,6 +6299,8 @@
},
"checkout/node_modules/micromatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
"license": "MIT",
"dependencies": {
"braces": "^3.0.2",
@ -6305,6 +6312,8 @@
},
"checkout/node_modules/micromatch/node_modules/braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"license": "MIT",
"dependencies": {
"fill-range": "^7.0.1"
@ -19345,6 +19354,7 @@
"m3-utils": "^0.1.0",
"prettier": "^2.3.2",
"sass": "^1.38.1",
"slick-carousel": "^1.8.1",
"terser-webpack-plugin": "^5.1.4",
"webpack": "^5.51.1",
"webpack-merge": "^5.8.0"
@ -21672,7 +21682,9 @@
}
},
"core-util-is": {
"version": "1.0.3"
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
},
"cosmiconfig": {
"version": "7.1.0",
@ -22645,6 +22657,8 @@
},
"get-intrinsic": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"requires": {
"function-bind": "^1.1.1",
"has": "^1.0.3",
@ -23679,6 +23693,8 @@
},
"micromatch": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
"integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
"requires": {
"braces": "^3.0.2",
"picomatch": "^2.3.1"
@ -23686,6 +23702,8 @@
"dependencies": {
"braces": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"requires": {
"fill-range": "^7.0.1"
}

9291
yarn.lock Normal file

File diff suppressed because it is too large Load Diff