forked from M3-Academy/m3-academy-template-checkout
fix: ajustes footer
This commit is contained in:
parent
8f628e83eb
commit
b10dbaca3b
@ -8,10 +8,8 @@ export default class Footer {
|
|||||||
async init() {
|
async init() {
|
||||||
await this.selectors();
|
await this.selectors();
|
||||||
this.onUpdate();
|
this.onUpdate();
|
||||||
this.checkoutPayments = await waitElement(".footerCheckout__payments");
|
// document.addEventListener("onload", this.onUpdate.bind(this));
|
||||||
this.checkoutVtexPci = await waitElement(".footerCheckout__vtexpci");
|
await this.footerItens();
|
||||||
await this.footerPayments();
|
|
||||||
await this.vtexPci();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async selectors() {
|
async selectors() {
|
||||||
@ -19,20 +17,26 @@ export default class Footer {
|
|||||||
this.checkoutVazio = await waitElement(".empty-cart-content");
|
this.checkoutVazio = await waitElement(".empty-cart-content");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onUpdateReload() {
|
||||||
|
const checkoutVazioTitle = document.querySelector("#cart-title");
|
||||||
|
if (
|
||||||
|
window.location.href === "https://m3academy.myvtex.com/checkout/#/cart" &&
|
||||||
|
this.checkoutVazio.style.display == "none"
|
||||||
|
) {
|
||||||
|
this.prateleiraHTML();
|
||||||
|
checkoutVazioTitle.style.display = "block";
|
||||||
|
}
|
||||||
|
if (this.checkoutVazio.style.display === "block") {
|
||||||
|
this.footerContainerPrateleira.innerHTML = "";
|
||||||
|
checkoutVazioTitle.style.display = "none";
|
||||||
|
}
|
||||||
|
}
|
||||||
onUpdate() {
|
onUpdate() {
|
||||||
|
this.onUpdateReload();
|
||||||
let observer = new MutationObserver((mutations) => {
|
let observer = new MutationObserver((mutations) => {
|
||||||
console.log("oioioio");
|
|
||||||
mutations.forEach((mutationRecord) => {
|
mutations.forEach((mutationRecord) => {
|
||||||
console.log(mutationRecord);
|
console.log(mutationRecord);
|
||||||
if (
|
this.onUpdateReload();
|
||||||
window.location.href === "https://m3academy.myvtex.com/checkout/#/cart" &&
|
|
||||||
this.checkoutVazio.style.display == "none"
|
|
||||||
) {
|
|
||||||
this.prateleiraHTML();
|
|
||||||
}
|
|
||||||
if (this.checkoutVazio.style.display == "block") {
|
|
||||||
this.footerContainerPrateleira.innerHTML = "";
|
|
||||||
}
|
|
||||||
window.addEventListener("hashchange", () => {
|
window.addEventListener("hashchange", () => {
|
||||||
if (
|
if (
|
||||||
window.location.hash == "#/cart" &&
|
window.location.hash == "#/cart" &&
|
||||||
@ -50,7 +54,11 @@ export default class Footer {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
observer.observe(this.checkoutVazio, { attributes: true, attributeFilter: ["style"] });
|
observer.observe(this.checkoutVazio, {
|
||||||
|
attributes: true,
|
||||||
|
attributeOldValue: true,
|
||||||
|
attributeFilter: ["style"],
|
||||||
|
});
|
||||||
}
|
}
|
||||||
prateleiraHTML() {
|
prateleiraHTML() {
|
||||||
this.footerContainerPrateleira.innerHTML = `<h3>Você também pode gostar:</h3><ul id="prateleiraCheckout" class="footerCheckout__prateleira__wrapper"></ul>`;
|
this.footerContainerPrateleira.innerHTML = `<h3>Você também pode gostar:</h3><ul id="prateleiraCheckout" class="footerCheckout__prateleira__wrapper"></ul>`;
|
||||||
@ -90,27 +98,84 @@ export default class Footer {
|
|||||||
arrows: true,
|
arrows: true,
|
||||||
infinite: false,
|
infinite: false,
|
||||||
variableWidth: true,
|
variableWidth: true,
|
||||||
|
responsive: [
|
||||||
|
{
|
||||||
|
breakpoint: 1025,
|
||||||
|
settings: {
|
||||||
|
slidesToShow: 3,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
infinite: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: 601,
|
||||||
|
settings: {
|
||||||
|
slidesToShow: 2,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: 361,
|
||||||
|
settings: {
|
||||||
|
slidesToShow: 1,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async footerPayments() {
|
async footerItens() {
|
||||||
if (this.checkoutPayments) {
|
const checkoutPayments = await waitElement(".footerCheckout__payments", {
|
||||||
this.checkoutPayments.innerHTML = `
|
timeout: 5000,
|
||||||
<figure>
|
interval: 1000,
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png">
|
});
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png">
|
const checkoutVtexPci = await waitElement(".footerCheckout__vtexpci", {
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png">
|
timeout: 5000,
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png">
|
interval: 1000,
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png">
|
});
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png">
|
if (checkoutPayments) {
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png">
|
checkoutPayments.innerHTML = `<ul>
|
||||||
</figure>`;
|
<li>
|
||||||
|
<figure class="pequeno">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/masterCardM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<figure class="mini">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/visaM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<figure class="mini">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/amexM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<figure class="medio">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/eloM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<figure class="mini">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/hiperCardM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<figure class="pequeno">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/payPalM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<figure class="pequeno">
|
||||||
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/boletoM3Academy.png">
|
||||||
|
</figure>
|
||||||
|
</li>
|
||||||
|
</ul>`;
|
||||||
}
|
}
|
||||||
}
|
if (checkoutVtexPci) {
|
||||||
async vtexPci() {
|
checkoutVtexPci.innerHTML = `
|
||||||
if (this.checkoutVtexPci) {
|
|
||||||
this.checkoutVtexPci.innerHTML = `
|
|
||||||
<figure>
|
<figure>
|
||||||
<img src="https://agenciamagma.vteximg.com.br/arquivos/vtexPciM3Academy.png">
|
<img src="https://agenciamagma.vteximg.com.br/arquivos/vtexPciM3Academy.png">
|
||||||
</figure>`;
|
</figure>`;
|
||||||
|
@ -1,38 +1,45 @@
|
|||||||
.empty-cart {
|
.empty-cart {
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
&-content {
|
&-content {
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@include mq(md, max) {
|
@include mq(md, max) {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-title {
|
&-title {
|
||||||
font-size: 20px;
|
font-weight: 700;
|
||||||
}
|
font-size: 24px;
|
||||||
|
line-height: 33px;
|
||||||
|
text-align: center;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
&-message {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
&-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;
|
||||||
|
|
||||||
&-links {
|
&:hover {
|
||||||
.link-choose-products {
|
background: lighten($color-black, 5);
|
||||||
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;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: lighten($color-black, 5);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -9,12 +9,17 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
footer .footerCheckout__wrapper .container {
|
footer .footerCheckout__wrapper .container {
|
||||||
width: 94.9734%;
|
width: 95%;
|
||||||
margin: auto auto 0 auto;
|
margin: auto auto 0 auto;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
header {
|
header {
|
||||||
border-bottom: 1px solid #000;
|
border-bottom: 1px solid #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer .footerCheckout__prateleira,
|
footer .footerCheckout__prateleira,
|
||||||
.headerCheckout .container {
|
.headerCheckout .container {
|
||||||
width: 79.53125%;
|
width: 79.53125%;
|
||||||
@ -23,7 +28,13 @@ footer .footerCheckout__prateleira,
|
|||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
footer .footerCheckout__prateleira {
|
||||||
|
width: 79.375%;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
width: auto;
|
||||||
|
padding: 0 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -105,14 +105,38 @@
|
|||||||
.slick-prev {
|
.slick-prev {
|
||||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg")
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-mini-M3Academy.svg")
|
||||||
no-repeat center center;
|
no-repeat center center;
|
||||||
|
background-size: 100%;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
|
width: 13.64px;
|
||||||
|
height: 29.47px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-M3Academy.svg")
|
||||||
|
no-repeat center center;
|
||||||
|
width: 26px;
|
||||||
|
height: 57.99px;
|
||||||
|
}
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.slick-next {
|
.slick-next {
|
||||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg")
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-mini-M3Academy.svg")
|
||||||
no-repeat center center;
|
no-repeat center center;
|
||||||
|
background-size: 100%;
|
||||||
z-index: 4;
|
z-index: 4;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
width: 13.64px;
|
||||||
|
height: 29.47px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-M3Academy.svg")
|
||||||
|
no-repeat center center;
|
||||||
|
width: 26px;
|
||||||
|
height: 57.99px;
|
||||||
|
}
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.slick-arrow.slick-hidden {
|
.slick-arrow.slick-hidden {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
@ -8,7 +8,17 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 32px;
|
font-family: $font-family-secundary;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 38px;
|
||||||
|
text-align: center;
|
||||||
|
color: #000000;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
font-size: 48px;
|
||||||
|
line-height: 76px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -18,7 +28,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 50px 0;
|
padding: 20px 0 54px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
@ -30,25 +40,73 @@
|
|||||||
}
|
}
|
||||||
&__produto {
|
&__produto {
|
||||||
width: 242px !important;
|
width: 242px !important;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
width: 488.07px !important;
|
||||||
|
}
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
width: 320px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
width: 164px !important;
|
||||||
|
}
|
||||||
ul {
|
ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
|
.name {
|
||||||
|
font-family: $font-family;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 18px;
|
||||||
|
text-align: center;
|
||||||
|
color: #000000;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
font-size: 26px;
|
||||||
|
line-height: 35px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.skus {
|
.skus {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
width: 92%;
|
||||||
|
min-height: 61px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
li {
|
li {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 18px;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
font-size: 26px;
|
||||||
|
line-height: 35px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.skus li,
|
.skus li,
|
||||||
.verProdBtn a {
|
.verProdBtn a {
|
||||||
color: #fff;
|
font-family: $font-family;
|
||||||
font-weight: 500;
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.verProdBtn a {
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 18px;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
font-size: 26px;
|
||||||
|
line-height: 35px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.skus li,
|
.skus li,
|
||||||
.verProdBtn {
|
.verProdBtn {
|
||||||
@ -68,122 +126,204 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
border-top: 1px solid #000000;
|
||||||
|
padding: 16px 0;
|
||||||
.container {
|
.container {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
}
|
||||||
|
@media (max-width: 490px) {
|
||||||
|
padding: 0 8px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__address {
|
&__address {
|
||||||
color: $color-gray2;
|
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: 400;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
line-height: 12px;
|
line-height: 14px;
|
||||||
text-transform: capitalize;
|
text-transform: capitalize;
|
||||||
max-width: 40%;
|
color: #292929;
|
||||||
|
width: 33%;
|
||||||
@include mq(md, max) {
|
span {
|
||||||
margin-bottom: 24px;
|
width: 66.36%;
|
||||||
max-width: 100%;
|
}
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 27px;
|
||||||
|
}
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
margin: 16px 0 16px 8px;
|
||||||
|
order: 2;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__stamps {
|
&__stamps {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-self: center;
|
justify-content: center;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
width: 33%;
|
||||||
@include mq(md, max) {
|
margin: 0;
|
||||||
align-self: center;
|
@media (max-width: 1024px) {
|
||||||
margin-bottom: 12px;
|
width: 100%;
|
||||||
|
order: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__divider {
|
&__divider {
|
||||||
background-color: $color-gray4;
|
background-color: $color-gray4;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 0 8px;
|
margin: 0 10px 0 13.35px;
|
||||||
width: 1px;
|
width: 1px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
margin: 0 10px 0 13.37px;
|
||||||
|
height: 42.99px;
|
||||||
|
}
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
margin: 0 10px 0 4.37px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&__vtexpci {
|
||||||
|
figure {
|
||||||
|
width: 53px;
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&__vtexpci,
|
&__vtexpci,
|
||||||
&__payments {
|
&__payments {
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
img {
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
figure {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&__payments ul {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
list-style: none;
|
||||||
|
gap: 13.22px;
|
||||||
|
margin: 0;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
gap: 5px;
|
||||||
|
}
|
||||||
|
li {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
figure.mini {
|
||||||
|
width: 34.78px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
width: 67.93px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
figure.pequeno {
|
||||||
width: 35.65px;
|
width: 35.65px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
width: 69.63px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
figure.medio {
|
||||||
|
width: 36.52px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
width: 71.33px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__developedBy {
|
&__developedBy {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: flex-end;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
width: 33%;
|
||||||
|
gap: 10.73px;
|
||||||
|
@media (max-width: 1024px) {
|
||||||
|
justify-content: flex-start;
|
||||||
|
margin: 0 0 0 8px;
|
||||||
|
order: 3;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
li:first-child {
|
li:first-child {
|
||||||
// margin-left: 16px;
|
width: auto;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
span {
|
display: flex;
|
||||||
display: flex;
|
|
||||||
&::after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png")
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png")
|
||||||
no-repeat center center;
|
no-repeat center center;
|
||||||
display: block;
|
background-size: 100%;
|
||||||
width: 16px;
|
display: block;
|
||||||
height: 16px;
|
width: 44.92px;
|
||||||
|
height: 16px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
height: 31.24px;
|
||||||
|
width: 87.73px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
span {
|
||||||
|
margin-right: 10.12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
li:last-child {
|
li:last-child {
|
||||||
// margin-left: 16px;
|
width: auto;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
span {
|
display: flex;
|
||||||
display: flex;
|
&::after {
|
||||||
&::after {
|
content: "";
|
||||||
content: "";
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png")
|
||||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/logoM3M3Academy.png")
|
no-repeat center center;
|
||||||
no-repeat center center;
|
background-size: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
width: 16px;
|
width: 28.66px;
|
||||||
height: 16px;
|
height: 15.65px;
|
||||||
|
@media (min-width: 2500px) {
|
||||||
|
height: 30.55px;
|
||||||
|
width: 55.98px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
span {
|
||||||
|
margin-right: 10.95px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
align-items: center;
|
|
||||||
color: $color-gray2;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
font-family: $font-family;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 0px;
|
font-size: 0px;
|
||||||
line-height: 12px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-end;
|
||||||
span {
|
span {
|
||||||
margin-right: 8px;
|
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
color: #292929;
|
color: #292929;
|
||||||
&::after {
|
width: auto;
|
||||||
content: "";
|
@media (min-width: 2500px) {
|
||||||
background: url("https://agenciamagma.vteximg.com.br/arquivos/logoVTEXM3Academy.png")
|
font-size: 18px;
|
||||||
no-repeat center center;
|
line-height: 25px;
|
||||||
display: block;
|
|
||||||
width: 44.92px;
|
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
@import url("https://fonts.googleapis.com/css2?family=Tenor+Sans&display=swap");
|
@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");
|
@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: "Open Sans", sans-serif;
|
||||||
$font-family-secundary:"Tenor Sans", sans-serif;
|
$font-family-secundary: "Tenor Sans", sans-serif;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
$color-black: #292929;
|
$color-black: #292929;
|
||||||
@ -12,7 +12,7 @@ $color-white: #fff;
|
|||||||
$color-gray: #6c6c6c;
|
$color-gray: #6c6c6c;
|
||||||
$color-gray2: #7d7d7d;
|
$color-gray2: #7d7d7d;
|
||||||
$color-gray3: #f0f0f0;
|
$color-gray3: #f0f0f0;
|
||||||
$color-gray4: #8d8d8d;
|
$color-gray4: #c4c4c4;
|
||||||
$color-gray5: #e5e5e5;
|
$color-gray5: #e5e5e5;
|
||||||
|
|
||||||
$color-blue: #4267b2;
|
$color-blue: #4267b2;
|
||||||
@ -21,18 +21,18 @@ $color-green: #4caf50;
|
|||||||
|
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
$grid-breakpoints: (
|
$grid-breakpoints: (
|
||||||
xs: 0,
|
xs: 0,
|
||||||
cstm: 400,
|
cstm: 400,
|
||||||
sm: 576px,
|
sm: 576px,
|
||||||
md: 768px,
|
md: 768px,
|
||||||
lg: 992px,
|
lg: 992px,
|
||||||
xl: 1200px
|
xl: 1200px,
|
||||||
) !default;
|
) !default;
|
||||||
|
|
||||||
$z-index: (
|
$z-index: (
|
||||||
level1: 5,
|
level1: 5,
|
||||||
level2: 10,
|
level2: 10,
|
||||||
level3: 15,
|
level3: 15,
|
||||||
level4: 20,
|
level4: 20,
|
||||||
level5: 25
|
level5: 25,
|
||||||
) !default;
|
) !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user