forked from M3-Academy/m3-academy-template-checkout
Merge pull request 'Develop' (#1) from Develop into main
Reviewed-on: #1
This commit is contained in:
commit
1bbda8cd47
10970
checkout/package-lock.json
generated
10970
checkout/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,4 @@
|
||||
import { data } from "jquery";
|
||||
import { waitElement } from "m3-utils";
|
||||
|
||||
export default class Footer {
|
||||
@ -7,34 +8,239 @@ export default class Footer {
|
||||
|
||||
async init() {
|
||||
await this.selectors();
|
||||
// this.onUpdate();
|
||||
this.createPaymentsIcons();
|
||||
this.createVtexpciIcon();
|
||||
this.createDevIcons();
|
||||
this.onUpdate();
|
||||
this.events();
|
||||
}
|
||||
|
||||
events() {
|
||||
window.addEventListener("hashchange", () => {
|
||||
this.onUpdate();
|
||||
if (window.location.hash == "#/cart" && this.checkoutVazio.style.display == "none") {
|
||||
this.listaPrateleira.style.display = "flex";
|
||||
this.titleSlick.style.display = "block";
|
||||
}
|
||||
if (window.location.hash != "#/cart") {
|
||||
this.listaPrateleira.style.display = "none";
|
||||
this.titleSlick.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.checkoutVazio = await waitElement(".empty-cart-content");
|
||||
this.checkoutAtivo = await waitElement(".checkout-container");
|
||||
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.titulo = await waitElement(".transactions-container");
|
||||
this.cartTitulo = await waitElement("#cart-title");
|
||||
this.titleSlick = await waitElement(".transactions-container");
|
||||
}
|
||||
|
||||
onUpdate() {
|
||||
//Função qeu fará a verificação se o carrinho está vazio para remover a prateleira de produtos:
|
||||
// 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";
|
||||
if (!this.listaPrateleira.classList.contains("fetch")) {
|
||||
this.fetchApi();
|
||||
}
|
||||
} else {
|
||||
this.cartTitulo.style.display = "none";
|
||||
list.style.display = "none";
|
||||
}
|
||||
let config = { childList: true, attributes: true };
|
||||
let observer = new MutationObserver((mutations) => {
|
||||
if (!this.listaPrateleira.classList.contains("fetch")) {
|
||||
this.fetchApi();
|
||||
}
|
||||
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 = "flex";
|
||||
slickTitle.style.display = "block";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
observer.observe(target, config);
|
||||
observer.observe(target, config, cartTitle, slickTitle);
|
||||
}
|
||||
|
||||
async addCarrossel() {
|
||||
const elemento = await waitElement("#my-element");
|
||||
$(elemento).slick({
|
||||
const elemet = await waitElement(".slick-list");
|
||||
if ($(elemet).hasClass("slick-initialized")) {
|
||||
$(elemet).slick("unslick");
|
||||
}
|
||||
if (window.innerWidth > 1024) {
|
||||
$(elemet).not(".slick-initialized").slick({
|
||||
slidesToShow: 4,
|
||||
slidesToScroll: 1,
|
||||
});
|
||||
} else if (window.innerWidth > 375) {
|
||||
$(elemet).not(".slick-initialized").slick({
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 1,
|
||||
});
|
||||
} else if (window.innerWidth <= 375) {
|
||||
$(elemet).not(".slick-initialized").slick({
|
||||
slidesToShow: 2,
|
||||
slidesToScroll: 1,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
createPaymentsIcons() {
|
||||
this.payments.innerHTML = `
|
||||
<ul class="payments-icons-wrapper">
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
<li>
|
||||
<figure>
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
</li>
|
||||
</ul>
|
||||
`;
|
||||
}
|
||||
|
||||
createVtexpciIcon() {
|
||||
this.vtexpci.innerHTML = `
|
||||
<figure class="vtex-icon">
|
||||
<img
|
||||
src="https://agenciamagma.vteximg.com.br/arquivos/vtexPCIM3Academy.png"
|
||||
alt=""
|
||||
/>
|
||||
</figure>
|
||||
`;
|
||||
}
|
||||
|
||||
createDevIcons() {
|
||||
this.devIncons.innerHTML = `
|
||||
<li>
|
||||
<a href="https://vtex.com/br-pt/">
|
||||
<span>Powered By</span>
|
||||
<figure>
|
||||
<img class="vtex-icon" src="https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png" alt="">
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="https://agenciam3.com/">
|
||||
<span>Developed By</span>
|
||||
<figure>
|
||||
<img class="m3-icon" src="https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png" alt="">
|
||||
</figure>
|
||||
</a>
|
||||
</li>
|
||||
`;
|
||||
}
|
||||
|
||||
async fetchApi() {
|
||||
this.titulo.innerHTML = `
|
||||
<h3 class="title_slick">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 ul = document.createElement("ul");
|
||||
ul.classList.add("slick-list");
|
||||
this.listaPrateleira.appendChild(ul);
|
||||
|
||||
data.map((item) => {
|
||||
let cores = "";
|
||||
for (let i = 0; i < item.items.length; i++) {
|
||||
cores += `<p>${item.items[i].name}</p>`;
|
||||
}
|
||||
const li = document.createElement("li");
|
||||
li.setAttribute("name", item.itemId);
|
||||
li.classList.add("slick-list__itemList");
|
||||
|
||||
li.innerHTML = `
|
||||
<figure class="img-container">
|
||||
<img class="itemImg" src="${item.items[0].images[0].imageUrl}">
|
||||
</figure>
|
||||
<figcaption class="itemtName">${item.productName}</figcaption>
|
||||
<div class="itemSku">
|
||||
${cores}
|
||||
</div>
|
||||
<a class="itemLink" type="button" href="${item.link}">VER PRODUTO</a>
|
||||
`;
|
||||
ul.appendChild(li);
|
||||
this.listaPrateleira.classList.add("fetch");
|
||||
});
|
||||
})
|
||||
.then(() => {
|
||||
this.addCarrossel();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -8,14 +8,241 @@ 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"]) {
|
||||
console.log("teste 1");
|
||||
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");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
@import "./utils/all";
|
||||
@import "./lib/slick";
|
||||
@import "./partials/prateleira";
|
||||
@import "./partials/header";
|
||||
@import "./partials/footer";
|
||||
@import "./checkout/checkout.scss";
|
||||
|
@ -1,17 +1,30 @@
|
||||
.checkout-container {
|
||||
padding-bottom: 90px;
|
||||
.client-pre-email {
|
||||
border-color: $color-gray4;
|
||||
border-color: $black;
|
||||
font-family: $font-family;
|
||||
padding-top: 8px;
|
||||
padding-top: 14px;
|
||||
|
||||
.link-cart {
|
||||
a {
|
||||
color: $color-black;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
text-align: right;
|
||||
text-decoration-line: underline;
|
||||
padding: 19px 0 10px;
|
||||
|
||||
&:hover {
|
||||
color: lighen($color-black, 10);
|
||||
}
|
||||
a {
|
||||
color: $black;
|
||||
font-size: 14px;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 16px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,41 +38,74 @@
|
||||
margin-bottom: 16px;
|
||||
|
||||
span {
|
||||
color: #303030;
|
||||
font-size: 24px;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 23px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
small {
|
||||
color: $color-gray4;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 23px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.client-email {
|
||||
margin: 0 0 16px;
|
||||
width: 57%;
|
||||
margin: 0 0 47px;
|
||||
|
||||
input {
|
||||
width: 83%;
|
||||
box-shadow: none;
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
padding: 0 16px;
|
||||
border: 2px solid $color-gray3;
|
||||
border: 1px solid $black;
|
||||
box-sizing: border-box;
|
||||
border-radius: 5px;
|
||||
border-radius: 5px 0px 0px 5px;
|
||||
|
||||
&::placeholder {
|
||||
color: $black;
|
||||
}
|
||||
@media (max-width: 490px) {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
background-color: $color-black;
|
||||
border-radius: 5px;
|
||||
background-color: $blue;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
border: none;
|
||||
font-family: $font-family;
|
||||
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;
|
||||
height: 54px;
|
||||
right: 0;
|
||||
top: 0;
|
||||
color: $black;
|
||||
|
||||
@media (max-width: 490px) {
|
||||
height: 48px;
|
||||
@ -70,17 +116,26 @@
|
||||
|
||||
span.help.error {
|
||||
color: red;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.emailInfo {
|
||||
padding: 16px;
|
||||
background-color: $color-white;
|
||||
border: 1px solid $color-gray4;
|
||||
border-radius: 0;
|
||||
padding: 16px 16px 26px 16px;
|
||||
background-color: $white;
|
||||
border: 1px solid $black;
|
||||
border-radius: 5px;
|
||||
|
||||
h3 {
|
||||
color: #303030;
|
||||
color: $black;
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
@ -89,11 +144,15 @@
|
||||
|
||||
li {
|
||||
span {
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
i::before {
|
||||
color: $color-black;
|
||||
color: $blue;
|
||||
font-size: 1rem;
|
||||
opacity: 1;
|
||||
}
|
||||
@ -101,76 +160,185 @@
|
||||
}
|
||||
|
||||
i::before {
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
font-size: 6rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
.icon-lock {
|
||||
bottom: -30px;
|
||||
}
|
||||
}
|
||||
|
||||
.shipping-data,
|
||||
.payment-data,
|
||||
.client-profile-data {
|
||||
.ship-country {
|
||||
display: none;
|
||||
}
|
||||
.accordion-group {
|
||||
border-radius: 0;
|
||||
border: 1px solid $color-gray4;
|
||||
border: 1px solid $gray-100;
|
||||
font-family: $font-family;
|
||||
padding: 16px;
|
||||
|
||||
.vtex-omnishipping-1-x-address {
|
||||
div {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
P {
|
||||
input {
|
||||
width: 99%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.accordion-heading {
|
||||
span {
|
||||
color: #303030;
|
||||
margin-bottom: 8px;
|
||||
padding: 0;
|
||||
color: $black;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
i {
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
width: 19.2px;
|
||||
height: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
i::before {
|
||||
fill: #303030;
|
||||
background-image: url(https://agenciamagma.vteximg.com.br/arquivos/lapisM3Academy.png);
|
||||
background-size: 19.2px 18px;
|
||||
fill: transparent;
|
||||
color: transparent;
|
||||
width: 19.2px;
|
||||
height: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-user {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon-home {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon-credit-card {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// .icon-edit {
|
||||
// display: none;
|
||||
// }
|
||||
|
||||
span[data-i18n="clientProfileData.identification"] {
|
||||
color: $white;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
span[data-i18n="clientProfileData.identification"]::before {
|
||||
content: "Identificação";
|
||||
color: $black;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
margin: 0 0 0 17px;
|
||||
}
|
||||
|
||||
span[data-i18n="paymentData.payment"]::before {
|
||||
content: "";
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
align-items: center;
|
||||
background-color: #303030;
|
||||
background-color: transparent;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
color: $color-white;
|
||||
color: $white;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 6px 5px 6px 8px;
|
||||
padding: 20px 15px 6px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.accordion-inner {
|
||||
padding: 0;
|
||||
// margin: 15px 0 0 8px;
|
||||
|
||||
/* General configurations */
|
||||
|
||||
.client-notice {
|
||||
color: $color-black;
|
||||
height: 11px;
|
||||
margin: 0;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
label {
|
||||
color: $color-black;
|
||||
color: $gray-600;
|
||||
font-weight: 500;
|
||||
|
||||
#opt-in-newsletter {
|
||||
margin-top: -6px;
|
||||
}
|
||||
}
|
||||
|
||||
select,
|
||||
input {
|
||||
border-radius: 0;
|
||||
border: 1px solid $color-gray4;
|
||||
height: 32px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid $gray-25;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
box-shadow: none;
|
||||
color: $gray-700;
|
||||
}
|
||||
input {
|
||||
max-width: 68%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#client-email {
|
||||
max-width: 81%;
|
||||
}
|
||||
|
||||
.help.error {
|
||||
color: red;
|
||||
}
|
||||
|
||||
.checkbox {
|
||||
margin-top: 7px;
|
||||
padding: 0;
|
||||
|
||||
#opt-in-newsletter {
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-client-info-pj {
|
||||
display: none;
|
||||
.link a#is-corporate-client,
|
||||
.link a#not-corporate-client {
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@ -181,29 +349,44 @@
|
||||
}
|
||||
|
||||
button.submit {
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background: $color-black;
|
||||
margin-top: 8px;
|
||||
margin-top: 42px;
|
||||
border-radius: 8px;
|
||||
background: $blue;
|
||||
outline: none;
|
||||
transition: all 0.2s linear;
|
||||
|
||||
&:hover {
|
||||
background: lighten($color-black, 5);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: darken($color-black, 5);
|
||||
}
|
||||
cursor: pointer;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Shipping configurations */
|
||||
.ship-postalCode {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.ship-postalCode small a {
|
||||
color: #303030;
|
||||
#ship-postalCode {
|
||||
width: 95% !important;
|
||||
max-width: 95% !important;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
small a {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: $gray-500;
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.vtex-omnishipping-1-x-deliveryGroup {
|
||||
p {
|
||||
@ -213,17 +396,18 @@
|
||||
}
|
||||
|
||||
.shp-lean {
|
||||
border: 1px solid $color-gray4;
|
||||
border-radius: 0;
|
||||
border: 1px solid $gray-25;
|
||||
border-radius: 8px;
|
||||
|
||||
label {
|
||||
background-color: $color-white;
|
||||
background-color: $white;
|
||||
box-shadow: none;
|
||||
color: #303030;
|
||||
color: $gray-800;
|
||||
padding: 8px 12px;
|
||||
border-bottom: 1px solid $gray-25;
|
||||
|
||||
svg path {
|
||||
fill: #d8c8ac;
|
||||
fill: $blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -236,30 +420,51 @@
|
||||
}
|
||||
|
||||
.shp-summary-group-info {
|
||||
border-color: $color-gray4;
|
||||
border-color: $gray-200;
|
||||
}
|
||||
|
||||
.address-summary {
|
||||
position: relative;
|
||||
background: none;
|
||||
border-color: $color-gray4;
|
||||
border-radius: 0;
|
||||
color: #303030;
|
||||
padding: 12px;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
border-color: $gray-200;
|
||||
border-radius: 8px;
|
||||
color: $gray-600;
|
||||
padding: 12px 12px 12px 43px;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 12.86px;
|
||||
top: 35%;
|
||||
width: 21px;
|
||||
height: 23px;
|
||||
background-size: 21px 23px;
|
||||
background-image: url(https://agenciamagma.vteximg.com.br/arquivos/homeM3Academy.png);
|
||||
}
|
||||
|
||||
@include mq(md, max) {
|
||||
background-position: 8px 9px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #303030;
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
color: $blue;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
margin-left: 84%;
|
||||
}
|
||||
}
|
||||
|
||||
.shp-summary-group-price,
|
||||
.shp-summary-package {
|
||||
color: $color-gray4;
|
||||
color: $gray-200;
|
||||
}
|
||||
|
||||
.shp-summary-group-price {
|
||||
@ -270,18 +475,107 @@
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.vtex-omnishipping-1-x-SummaryItemContent {
|
||||
display: block;
|
||||
.vtex-omnishipping-1-x-SummaryItemInfo {
|
||||
border: none;
|
||||
|
||||
.vtex-omnishipping-1-x-SummaryItemAddress {
|
||||
.address-summary-BRA {
|
||||
padding: 12px 12px 12px 12px;
|
||||
}
|
||||
|
||||
.address-summary-BRA::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.vtex-omnishipping-1-x-submitPaymentButton {
|
||||
button.submit {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.vtex-omnishipping-1-x-summaryChange {
|
||||
display: none;
|
||||
border-color: #303030;
|
||||
color: #303030;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
.vtex-omnishipping-1-x-deliveryChannelsToggle {
|
||||
background-color: #d8c8ac;
|
||||
border: 1px solid #d8c8ac;
|
||||
background: $white;
|
||||
color: $black;
|
||||
border: 1px solid $gray-500;
|
||||
}
|
||||
|
||||
.vtex-omnishipping-1-x-deliveryOptionActive {
|
||||
text-shadow: 1.3px 1px lighten($color-black, 50);
|
||||
color: $black;
|
||||
}
|
||||
|
||||
.box-step-content {
|
||||
width: 102%;
|
||||
|
||||
form {
|
||||
.payment-group {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.steps-view {
|
||||
width: 64%;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.link-gift-card {
|
||||
display: none !important;
|
||||
}
|
||||
.payment-group-list-btn {
|
||||
margin: 0;
|
||||
|
||||
a {
|
||||
display: none;
|
||||
padding: 13px 9px;
|
||||
border: 1px solid $gray-600;
|
||||
border-radius: 6px;
|
||||
text-align: center;
|
||||
margin: 12px 0 0 0;
|
||||
|
||||
span {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
background-image: none !important;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
color: $gray-900;
|
||||
}
|
||||
span:hover {
|
||||
color: $orange;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border: 1px solid $orange;
|
||||
}
|
||||
|
||||
a[data-name="American Express"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a[data-name="Boleto Bancário"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a[data-name="Depósito"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a[data-name="Mercado Pago"] {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -5,18 +5,28 @@
|
||||
}
|
||||
|
||||
.cart-template {
|
||||
font-family: $font-family;
|
||||
font-family: $font-family-secundary;
|
||||
|
||||
@include mq(md, max) {
|
||||
padding: 0 0;
|
||||
}
|
||||
|
||||
.cart-template-holder {
|
||||
margin-bottom: 48px;
|
||||
}
|
||||
|
||||
.item-unit-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cart {
|
||||
border: 3px solid $color-gray3;
|
||||
box-sizing: border-box;
|
||||
border-radius: 5px;
|
||||
padding: 16px;
|
||||
padding: 30px 17px 0px 17px;
|
||||
|
||||
.clearfix::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@include mq(md, max) {
|
||||
margin: 0px 0 25px 0;
|
||||
@ -24,19 +34,37 @@
|
||||
border-right: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
@include mq(dt, max) {
|
||||
padding: 16px 0 16px 16px;
|
||||
}
|
||||
}
|
||||
.cart-fixed.affix {
|
||||
position: relative !important;
|
||||
height: 397px !important;
|
||||
}
|
||||
.cart-fixed {
|
||||
border: 1px solid $gray-50;
|
||||
border-radius: 8px;
|
||||
font-family: $font-family;
|
||||
width: 100%;
|
||||
height: 397px !important;
|
||||
|
||||
h2 {
|
||||
background: $color-white;
|
||||
padding: 17px 0 0 24px;
|
||||
background: $white;
|
||||
border: none;
|
||||
color: #303030;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: $gray-500;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 19px;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.item-unavailable {
|
||||
@ -48,9 +76,8 @@
|
||||
}
|
||||
|
||||
.cart {
|
||||
border: 1px solid $color-gray4;
|
||||
|
||||
ul li {
|
||||
line-break: strict;
|
||||
border-top: none;
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
@ -63,58 +90,98 @@
|
||||
|
||||
.shipping-date,
|
||||
.price {
|
||||
color: #7d7d7d;
|
||||
color: $black;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.summary-template-holder {
|
||||
border-top: none;
|
||||
background: $color-white;
|
||||
background: $white;
|
||||
|
||||
.row-fluid summary {
|
||||
margin-top: 48px;
|
||||
}
|
||||
.row-fluid summary ::after,
|
||||
::before {
|
||||
display: none;
|
||||
content: none;
|
||||
}
|
||||
|
||||
.row-fluid summary ::before,
|
||||
::after {
|
||||
display: none;
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
#go-to-cart-button a {
|
||||
color: #303030;
|
||||
text-decoration: underline;
|
||||
width: 100%;
|
||||
padding-right: 17px;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
color: black;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
}
|
||||
|
||||
.summary-totalizers {
|
||||
padding: 0 17px;
|
||||
|
||||
tr {
|
||||
border-top: 1px solid $gray-25;
|
||||
width: 100%;
|
||||
padding: 25px 0;
|
||||
}
|
||||
|
||||
td.info {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#payment-data-submit {
|
||||
background: $color-black;
|
||||
background: $color-green;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
color: $color-white;
|
||||
border-radius: 8px;
|
||||
color: $white;
|
||||
outline: none;
|
||||
transition: all 0.2s linear;
|
||||
&:hover {
|
||||
background: lighten($color-black, 5);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background: darken($color-black, 5);
|
||||
.store-country-BRA {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lookatme {
|
||||
background-color: $color-white;
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
.cart-items {
|
||||
.product-item {
|
||||
padding: 16px 0;
|
||||
white-space: normal !important;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.fn product-name {
|
||||
line-break: auto;
|
||||
width: 117px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
th {
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
padding: 0 0 16px;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
|
||||
@ -148,14 +215,21 @@
|
||||
}
|
||||
|
||||
.product-name {
|
||||
display: flex;
|
||||
width: 115px;
|
||||
line-break: normal;
|
||||
padding-right: 0;
|
||||
align-items: center;
|
||||
padding-top: 6%;
|
||||
white-space: normal !important;
|
||||
color: $black;
|
||||
|
||||
@include mq(lg, max) {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color-blue;
|
||||
color: $black;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
@ -163,7 +237,6 @@
|
||||
transition: ease-in 0.22s all;
|
||||
|
||||
&:hover {
|
||||
color: darken($color-blue, 10);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@ -179,7 +252,7 @@
|
||||
}
|
||||
|
||||
td.shipping-date {
|
||||
color: $color-gray2;
|
||||
color: $black;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
|
||||
@ -200,7 +273,7 @@
|
||||
}
|
||||
|
||||
span.list-price {
|
||||
color: $color-gray2;
|
||||
color: $black;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
text-decoration-line: line-through;
|
||||
@ -233,8 +306,8 @@
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: $color-white;
|
||||
border: 1px solid $color-gray3;
|
||||
background-color: $white;
|
||||
border: 1px solid $white;
|
||||
border-radius: 0;
|
||||
border-width: 0 1px;
|
||||
display: block;
|
||||
@ -242,7 +315,7 @@
|
||||
margin: 0 !important;
|
||||
padding: 8px 0;
|
||||
width: 38px;
|
||||
color: $color-gray2;
|
||||
color: $black;
|
||||
box-shadow: none;
|
||||
|
||||
@include mq(lg, max) {
|
||||
@ -253,7 +326,7 @@
|
||||
.icon-plus-sign,
|
||||
.icon-minus-sign {
|
||||
&::before {
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
display: block;
|
||||
font-weight: 500;
|
||||
padding: 1px 12px;
|
||||
@ -262,14 +335,14 @@
|
||||
|
||||
.icon-minus-sign {
|
||||
&:before {
|
||||
content: "-";
|
||||
color: $blue;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-plus-sign {
|
||||
&:before {
|
||||
content: "+";
|
||||
color: $blue;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@ -297,10 +370,10 @@
|
||||
}
|
||||
span {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
color: $color-black;
|
||||
color: $gray-500;
|
||||
}
|
||||
}
|
||||
|
||||
@ -315,7 +388,7 @@
|
||||
top: 0;
|
||||
}
|
||||
.icon::before {
|
||||
color: $color-gray4;
|
||||
color: $gray-200;
|
||||
font-size: 15px;
|
||||
|
||||
@include mq(md, max) {
|
||||
@ -326,10 +399,10 @@
|
||||
|
||||
.item-unavailable-message {
|
||||
background-color: #d8c8ac;
|
||||
color: $color-white;
|
||||
color: $white;
|
||||
|
||||
.icon-warning-sign {
|
||||
color: #bb4f4f;
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
.top-arrow {
|
||||
@ -344,7 +417,7 @@
|
||||
width: max-content;
|
||||
|
||||
.srp-container {
|
||||
padding: 0 0 0 10px;
|
||||
padding: 0 0 0 16px;
|
||||
|
||||
@include mq(md, max) {
|
||||
padding: 0 16px;
|
||||
@ -352,11 +425,12 @@
|
||||
|
||||
.srp-main-title {
|
||||
margin: 32px 0 12px;
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
color: $color-gray2;
|
||||
line-height: 33px;
|
||||
color: $black;
|
||||
|
||||
@include mq(md, max) {
|
||||
margin-top: 0;
|
||||
@ -364,32 +438,30 @@
|
||||
}
|
||||
|
||||
.srp-description {
|
||||
color: $color-gray2;
|
||||
color: $gray-150;
|
||||
font-family: "Open Sans";
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
button.shp-open-options {
|
||||
background-color: $color-gray5;
|
||||
background-color: $gray-50;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: $color-gray2;
|
||||
color: $black;
|
||||
font-size: 16px;
|
||||
letter-spacing: 0.05em;
|
||||
font-family: "Open Sans";
|
||||
line-height: 19px;
|
||||
font-weight: 500;
|
||||
outline: none;
|
||||
padding: 12px 40px;
|
||||
transition: all 0.2s linear;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($color-gray5, 5);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: darken($color-gray5, 5);
|
||||
}
|
||||
.ship-country {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@ -405,26 +477,19 @@
|
||||
}
|
||||
|
||||
.srp-pickup-my-location__button {
|
||||
background-color: $color-black;
|
||||
background-color: $blue;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: $color-white;
|
||||
color: $white;
|
||||
outline: none;
|
||||
width: 100%;
|
||||
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
line-height: 19px;
|
||||
letter-spacing: 0.05em;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($color-black, 5);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: darken($color-black, 5);
|
||||
}
|
||||
padding: 11px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -432,8 +497,9 @@
|
||||
margin: 0 0 34px;
|
||||
|
||||
&__wrapper {
|
||||
background-color: $color-white;
|
||||
background-color: $white;
|
||||
border-radius: 100px;
|
||||
border: 1px solid $gray-125;
|
||||
width: 100%;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
@ -441,15 +507,19 @@
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
text-transform: uppercase;
|
||||
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
|
||||
color: $gray-125;
|
||||
}
|
||||
|
||||
&__current {
|
||||
border: 1px solid $color-blue;
|
||||
border: 1px solid $black;
|
||||
border-radius: 100px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.blue {
|
||||
color: $color-blue;
|
||||
color: $black;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
label {
|
||||
@ -463,21 +533,25 @@
|
||||
|
||||
.srp-postal-code {
|
||||
.ship-postalCode {
|
||||
.ship-country {
|
||||
display: none;
|
||||
}
|
||||
|
||||
label {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: $color-black;
|
||||
color: $black;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
input {
|
||||
border: 1px solid $color-gray3;
|
||||
border: 1px solid $gray-125;
|
||||
border-radius: 5px;
|
||||
box-shadow: none;
|
||||
color: $color-gray3;
|
||||
color: $black;
|
||||
font-size: 12px;
|
||||
height: 36px;
|
||||
padding: 12px 8px;
|
||||
@ -485,10 +559,10 @@
|
||||
}
|
||||
|
||||
& ~ button {
|
||||
background-color: $color-black;
|
||||
background-color: $blue;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: $color-white;
|
||||
border-radius: 8px;
|
||||
color: $white;
|
||||
font-size: 12px;
|
||||
height: 36px;
|
||||
letter-spacing: 1px;
|
||||
@ -499,27 +573,26 @@
|
||||
transition: all 0.2s linear;
|
||||
width: 96px;
|
||||
text-transform: uppercase;
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($color-black, 5);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: darken($color-black, 5);
|
||||
}
|
||||
}
|
||||
|
||||
small a {
|
||||
width: 10%;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
color: $color-blue;
|
||||
color: $black;
|
||||
margin-top: 7px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
small:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
span.help.error {
|
||||
display: none;
|
||||
color: red;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
@ -544,12 +617,12 @@
|
||||
font-weight: 500;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.srp-shipping-current-single {
|
||||
border: 1px solid $color-gray4;
|
||||
border: 1px solid $gray-200;
|
||||
border-radius: 0;
|
||||
color: #303030;
|
||||
margin: 16px 0 0;
|
||||
@ -561,12 +634,13 @@
|
||||
}
|
||||
|
||||
.srp-delivery-select {
|
||||
border: 1px solid $color-gray4;
|
||||
border: 1px solid $gray-200;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.srp-delivery-select-container {
|
||||
border: 1px solid $color-gray4;
|
||||
border-radius: 0;
|
||||
border: 1px solid $gray-200;
|
||||
border-radius: 5px;
|
||||
|
||||
.srp-shipping-current-many {
|
||||
&__name {
|
||||
@ -583,7 +657,7 @@
|
||||
}
|
||||
|
||||
&__arrow svg {
|
||||
fill: $color-gray4;
|
||||
fill: $gray-200;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -598,17 +672,16 @@
|
||||
#cart-link-coupon-add {
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
span {
|
||||
font-family: $font-family;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: $color-blue;
|
||||
color: $black;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
@ -630,14 +703,16 @@
|
||||
}
|
||||
|
||||
.coupon-label label {
|
||||
text-align: left;
|
||||
font-family: $font-family-secundary !important;
|
||||
cursor: default;
|
||||
margin-bottom: 12px;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: $color-gray2;
|
||||
cursor: none;
|
||||
color: $gray-600;
|
||||
}
|
||||
|
||||
.coupon-fields {
|
||||
@ -660,11 +735,15 @@
|
||||
border: 2px solid $color-gray3;
|
||||
border-radius: 5px;
|
||||
box-shadow: none;
|
||||
color: $color-gray4;
|
||||
font-family: $font-family-secundary !important;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: $gray-200;
|
||||
height: 34px;
|
||||
padding: 0 12px;
|
||||
max-width: 160px;
|
||||
padding: 0 16px;
|
||||
width: 51%;
|
||||
|
||||
@include mq(sm, max) {
|
||||
max-width: 100%;
|
||||
@ -673,30 +752,28 @@
|
||||
}
|
||||
|
||||
button {
|
||||
background: $color-black;
|
||||
text-align: center;
|
||||
background: $blue;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
color: $color-white;
|
||||
font-size: 12px;
|
||||
color: $black;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
height: 36px;
|
||||
letter-spacing: 1px;
|
||||
margin-left: 6px;
|
||||
outline: none;
|
||||
transition: all 0.2s linear;
|
||||
width: 94px;
|
||||
width: 35%;
|
||||
text-transform: uppercase;
|
||||
text-shadow: none;
|
||||
margin-left: 5px;
|
||||
|
||||
@include mq(md, max) {
|
||||
width: 138px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: lighten($color-black, 5);
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: darken($color-black, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -716,8 +793,8 @@
|
||||
font-weight: normal;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
color: $color-black;
|
||||
padding: 12px 0;
|
||||
color: $gray-600;
|
||||
padding: 25px 0;
|
||||
}
|
||||
|
||||
&.info {
|
||||
@ -733,11 +810,12 @@
|
||||
tfoot {
|
||||
td.info,
|
||||
td.monetary {
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 21px;
|
||||
color: $color-black;
|
||||
line-height: 25px;
|
||||
color: $gray-500;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -771,39 +849,36 @@
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: $font-family;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: $color-blue;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-place-order-wrapper {
|
||||
a {
|
||||
background: $color-green;
|
||||
background: $blue;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
display: block;
|
||||
font-size: 0;
|
||||
transition: ease-in 0.22s all;
|
||||
padding: 12px 19px;
|
||||
|
||||
&:hover {
|
||||
background-color: darken($color-green, 5);
|
||||
}
|
||||
cursor: pointer;
|
||||
|
||||
&:after {
|
||||
content: "finalizar compra";
|
||||
font-family: $font-family;
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
line-height: 19px;
|
||||
letter-spacing: 0.05em;
|
||||
color: $color-white;
|
||||
color: $black;
|
||||
text-transform: uppercase;
|
||||
vertical-align: middle;
|
||||
line-height: 19px;
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
.empty-cart {
|
||||
font-family: $font-family;
|
||||
|
||||
&-content {
|
||||
color: $color-black;
|
||||
height: 100%;
|
||||
color: $black;
|
||||
text-align: center;
|
||||
|
||||
@include mq(md, max) {
|
||||
@ -9,29 +11,107 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-message {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&-title {
|
||||
font-size: 20px;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
margin-top: 170px;
|
||||
|
||||
@include mq(sm, max) {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
font-size: 48px;
|
||||
line-height: 65px;
|
||||
}
|
||||
}
|
||||
|
||||
&-links {
|
||||
.link-choose-products {
|
||||
background: $color-black;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
transition: ease-in 0.22s all;
|
||||
outline: none;
|
||||
font-family: $font-family;
|
||||
a {
|
||||
position: relative;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: transparent;
|
||||
|
||||
@include mq(tv, min) {
|
||||
width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
a::after {
|
||||
content: "Continuar comprando";
|
||||
color: $black;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
@include mq(Gf, max) {
|
||||
top: 25%;
|
||||
}
|
||||
|
||||
@include mq(sm, max) {
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
font-weight: 400;
|
||||
font-size: 28px;
|
||||
line-height: 33px;
|
||||
top: 13%;
|
||||
}
|
||||
}
|
||||
.link-choose-products {
|
||||
background: $white;
|
||||
border: 1px solid $black;
|
||||
border-radius: 0;
|
||||
outline: none;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
text-align: center;
|
||||
letter-spacing: 0.05em;
|
||||
color: $color-white;
|
||||
padding: 16px 65px;
|
||||
color: $white;
|
||||
text-transform: uppercase;
|
||||
|
||||
@include mq(sm, max) {
|
||||
padding: 16px 26px;
|
||||
}
|
||||
|
||||
@include mq(Gf, max) {
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: lighten($color-black, 5);
|
||||
background: $white;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,14 +7,25 @@ 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,
|
||||
footer .footerCheckout__prateleira {
|
||||
width: 97.5%;
|
||||
margin: 0 auto 56px;
|
||||
|
||||
@include mq(dt, min) {
|
||||
width: 79.376%;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
width: 79.53125%;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@ -23,11 +34,16 @@ body {
|
||||
flex-direction: column;
|
||||
min-height: 100% !important;
|
||||
padding-top: 0 !important;
|
||||
text-decoration: none;
|
||||
|
||||
@include mq(md, max) {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
&.body-cart {
|
||||
font-family: $font-family;
|
||||
}
|
||||
@ -49,37 +65,46 @@ body {
|
||||
}
|
||||
.container-order-form,
|
||||
.container-cart {
|
||||
width: 100%;
|
||||
|
||||
@include mq(dt, min) {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background: $color-black;
|
||||
background: $black;
|
||||
text-shadow: none;
|
||||
|
||||
&:hover {
|
||||
background: lighten($color-black, 15%);
|
||||
background: lighten($black, 15%);
|
||||
}
|
||||
}
|
||||
|
||||
.emailInfo h3 {
|
||||
color: $color-black !important;
|
||||
color: $black !important;
|
||||
}
|
||||
|
||||
#cart-title,
|
||||
#orderform-title {
|
||||
color: $color-gray2;
|
||||
font-family: $font-family;
|
||||
font-weight: 500;
|
||||
font-size: 36px;
|
||||
line-height: 42px;
|
||||
margin: 40px 0 30px;
|
||||
letter-spacing: 0.1em;
|
||||
color: $black;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
margin: 17px 0 17px;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
|
||||
@include mq(md, max) {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
@include mq(dt, max) {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
@ -96,7 +121,7 @@ body {
|
||||
&::before,
|
||||
&::after {
|
||||
content: "";
|
||||
background: $color-gray2;
|
||||
background: $gray-150;
|
||||
display: block;
|
||||
float: right;
|
||||
height: 2px;
|
||||
|
@ -1,47 +1,129 @@
|
||||
/* _footer.scss */
|
||||
.footerCheckout {
|
||||
border-top: none;
|
||||
color: $color-gray2;
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
padding: 7px 0;
|
||||
margin: 0;
|
||||
|
||||
@include mq(dt, min) {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 15px 0 15px 0;
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
padding: 26px 0 26px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__wrapper {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border-top: 1px solid $black;
|
||||
|
||||
@media screen and (max-width: 490px) {
|
||||
padding: 7px 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__address {
|
||||
color: $color-gray2;
|
||||
color: $gray-500;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
line-height: 14px;
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
text-transform: capitalize;
|
||||
max-width: 40%;
|
||||
|
||||
@include mq(md, max) {
|
||||
margin-bottom: 24px;
|
||||
max-width: 100%;
|
||||
@include mq(dt, max) {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
order: 2;
|
||||
margin-top: 17px;
|
||||
|
||||
span {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@include mq(dt, min) {
|
||||
min-width: 269px;
|
||||
margin-left: 32px;
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
font-size: 20px;
|
||||
line-height: 27px;
|
||||
min-width: 537px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&__stamps {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-self: center;
|
||||
height: 33px;
|
||||
align-items: center;
|
||||
list-style: none;
|
||||
margin: 0 0 0 5px;
|
||||
|
||||
@include mq(md, max) {
|
||||
align-self: center;
|
||||
margin-bottom: 12px;
|
||||
li {
|
||||
height: 33px;
|
||||
}
|
||||
|
||||
&__divider {
|
||||
background-color: $color-gray4;
|
||||
display: inline-block;
|
||||
height: 24px;
|
||||
margin: 0 8px;
|
||||
width: 1px;
|
||||
@include mq(dt, min) {
|
||||
justify-content: center;
|
||||
min-width: 404px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
min-width: 690.52px;
|
||||
}
|
||||
|
||||
.payments-icons-wrapper {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
gap: 4px;
|
||||
|
||||
figure {
|
||||
padding: 6px 0 7px;
|
||||
width: 35.65px;
|
||||
height: 20px;
|
||||
margin: 0;
|
||||
@include mq(tv, min) {
|
||||
width: 69.63px;
|
||||
}
|
||||
|
||||
@include mq(Gf, max) {
|
||||
width: 28px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footerCheckout__stamps__divider {
|
||||
border-left: 1px solid $gray-125;
|
||||
margin: 0 10px;
|
||||
height: 33px;
|
||||
padding: 0 0 9px;
|
||||
|
||||
@include mq(dt, min) {
|
||||
margin-left: 11.35px;
|
||||
}
|
||||
}
|
||||
|
||||
.footerCheckout__vtexpci {
|
||||
.vtex-icon {
|
||||
width: 53px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
.vtex-icon {
|
||||
width: 103.52px;
|
||||
height: 64.46px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,18 +133,43 @@
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
|
||||
li:last-child {
|
||||
@include mq(dt, max) {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
order: 3;
|
||||
margin-top: 17px;
|
||||
}
|
||||
|
||||
@include mq(dt, min) {
|
||||
min-width: 217px;
|
||||
margin-right: 22.5px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-left: 16px;
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.vtex-icon {
|
||||
width: 44.92px;
|
||||
margin: 0;
|
||||
}
|
||||
.m3-icon {
|
||||
width: 28.66px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
align-items: center;
|
||||
color: $color-gray2;
|
||||
color: $gray-500;
|
||||
display: flex;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10px;
|
||||
font-weight: 400;
|
||||
font-size: 9px;
|
||||
line-height: 12px;
|
||||
text-decoration: none;
|
||||
|
||||
@ -70,5 +177,38 @@
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@include mq(tv, min) {
|
||||
min-width: 388.98px;
|
||||
margin-right: 0;
|
||||
|
||||
a {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.vtex-icon {
|
||||
width: 87.73px;
|
||||
}
|
||||
.m3-icon {
|
||||
width: 55.98px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footerCheckout::after,
|
||||
::before {
|
||||
display: none;
|
||||
content: none;
|
||||
}
|
||||
|
||||
.footerCheckout::before,
|
||||
::after {
|
||||
display: none;
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
@ -1,36 +1,173 @@
|
||||
/* _header.scss */
|
||||
.headerCheckout {
|
||||
.container {
|
||||
width: auto !important;
|
||||
}
|
||||
&__wrapper {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 16px;
|
||||
border-bottom: 1px solid $black;
|
||||
|
||||
@media (min-width: 1025px) {
|
||||
padding: 33.5px 0;
|
||||
}
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
padding: 33.5px 0;
|
||||
}
|
||||
}
|
||||
.progress-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
right: 31.5%;
|
||||
top: 33%;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
right: 41%;
|
||||
}
|
||||
|
||||
.containerLi {
|
||||
display: flex;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
}
|
||||
ul {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
gap: 100px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&-text {
|
||||
font-family: $font-family-secundary;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-size: 24px;
|
||||
line-height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
&-line-1,
|
||||
&-line-2 {
|
||||
position: absolute;
|
||||
width: 169px;
|
||||
top: 82%;
|
||||
left: 55%;
|
||||
border: 1px solid $black;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 240px;
|
||||
top: 79%;
|
||||
left: 55%;
|
||||
}
|
||||
}
|
||||
|
||||
&-line-2 {
|
||||
width: 166px;
|
||||
left: -223%;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 230px;
|
||||
left: -143%;
|
||||
}
|
||||
}
|
||||
|
||||
&-circle-1,
|
||||
&-circle-2,
|
||||
&-circle-3 {
|
||||
display: flex;
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
align-self: center;
|
||||
background: $white;
|
||||
border: 1px solid $black;
|
||||
border-radius: 50%;
|
||||
margin-left: 40%;
|
||||
margin-top: 9px;
|
||||
padding: 0;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
background: $black;
|
||||
}
|
||||
}
|
||||
|
||||
&__logo {
|
||||
width: 45.35%;
|
||||
|
||||
@media (min-width: 1025px) {
|
||||
width: 17.059%;
|
||||
}
|
||||
|
||||
@media (min-width: 1025px) {
|
||||
width: 15.28%;
|
||||
|
||||
img {
|
||||
height: 52px;
|
||||
width: auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 2500px) {
|
||||
width: 19.22%;
|
||||
}
|
||||
}
|
||||
|
||||
&__safeBuy {
|
||||
span {
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@media (min-width: 1025px) {
|
||||
width: 15.5%;
|
||||
}
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
span {
|
||||
min-width: fit-content;
|
||||
height: 50%;
|
||||
text-transform: uppercase;
|
||||
font-family: $font-family;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
line-height: 16px;
|
||||
color: $color-gray;
|
||||
margin-left: 8px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 33px;
|
||||
}
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 8px;
|
||||
img {
|
||||
width: 4.5%;
|
||||
min-width: 12px;
|
||||
|
||||
@media (min-width: 2500px) {
|
||||
width: 6.1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1 +1,97 @@
|
||||
/* _prateleira.scss */
|
||||
.title_slick {
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 24px;
|
||||
line-height: 38px;
|
||||
text-align: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
footer .footerCheckout__prateleira {
|
||||
.slick-list {
|
||||
width: 100%;
|
||||
|
||||
&__itemList {
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
list-style: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 95.28% !important;
|
||||
margin: 0;
|
||||
|
||||
@include mq(dt, max) {
|
||||
width: 97% !important;
|
||||
margin: 0 7.5px;
|
||||
}
|
||||
|
||||
.img-container {
|
||||
margin: 0;
|
||||
background: #ededed;
|
||||
}
|
||||
|
||||
.itemtName {
|
||||
height: 36px;
|
||||
font-family: $font-family-secundary;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
color: $black;
|
||||
margin: 20px 0 !important;
|
||||
}
|
||||
|
||||
.itemSku {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
list-style: none;
|
||||
margin-bottom: 20px;
|
||||
|
||||
p {
|
||||
border-radius: 8px;
|
||||
background: $blue;
|
||||
color: $white;
|
||||
padding: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.itemLink {
|
||||
width: 100%;
|
||||
border-radius: 8px;
|
||||
background: $blue;
|
||||
padding: 12px 0;
|
||||
text-align: center;
|
||||
color: $white;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.slick-prev {
|
||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg")
|
||||
no-repeat center center;
|
||||
z-index: 4;
|
||||
top: 41%;
|
||||
left: 14px;
|
||||
border: none;
|
||||
height: 30px;
|
||||
|
||||
@include mq(dt, min) {
|
||||
left: 10px;
|
||||
}
|
||||
}
|
||||
.slick-next {
|
||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg")
|
||||
no-repeat center center;
|
||||
z-index: 4;
|
||||
top: 41%;
|
||||
right: 9px;
|
||||
border: none;
|
||||
height: 30px;
|
||||
|
||||
@include mq(dt, min) {
|
||||
right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,32 +1,48 @@
|
||||
/* fonts */
|
||||
@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
|
||||
|
||||
$font-family: "Open Sans", sans-serif;
|
||||
$font-family-secundary: "Tenor Sans", sans-serif;
|
||||
|
||||
/* Colors */
|
||||
$color-black: #292929;
|
||||
$black: #000;
|
||||
$white: #fff;
|
||||
|
||||
$color-white: #fff;
|
||||
$gray-50: #e5e5e5;
|
||||
$gray-25: #e0e0e0;
|
||||
$gray-100: #f0f0f0;
|
||||
$gray-125: #c4c4c4;
|
||||
$gray-150: #989898;
|
||||
$gray-200: #8d8d8d;
|
||||
$gray-500: #292929;
|
||||
$gray-600: #7d7d7d;
|
||||
$gray-700: #bdbdbd;
|
||||
$gray-800: #828282;
|
||||
$gray-900: #58595b;
|
||||
|
||||
$blue: #00c8ff;
|
||||
|
||||
$orange: #f15a31;
|
||||
|
||||
$color-gray: #6c6c6c;
|
||||
$color-gray2: #7d7d7d;
|
||||
$color-gray3: #f0f0f0;
|
||||
$color-gray4: #8d8d8d;
|
||||
$color-gray5: #e5e5e5;
|
||||
|
||||
$color-blue: #4267b2;
|
||||
|
||||
$color-green: #4caf50;
|
||||
$color-green: #298541;
|
||||
|
||||
/* Grid breakpoints */
|
||||
$grid-breakpoints: (
|
||||
xs: 0,
|
||||
Gf: 328px,
|
||||
cstm: 400,
|
||||
sm: 576px,
|
||||
md: 768px,
|
||||
lg: 992px,
|
||||
xl: 1200px
|
||||
dt: 1025px,
|
||||
xl: 1200px,
|
||||
tv: 2500px,
|
||||
) !default;
|
||||
|
||||
$z-index: (
|
||||
@ -34,5 +50,5 @@ $z-index: (
|
||||
level2: 10,
|
||||
level3: 15,
|
||||
level4: 20,
|
||||
level5: 25
|
||||
level5: 25,
|
||||
) !default;
|
||||
|
@ -30,7 +30,7 @@
|
||||
<li>
|
||||
<a href="https://agenciam3.com/">
|
||||
<span>Developed By</span>
|
||||
@TODO: m3 icon
|
||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png" alt="">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user