feat: Cria a area de links do footer

This commit is contained in:
Saulo Klein Nery 2022-12-08 16:52:28 -03:00
parent 0b4917dbbf
commit 8d2fa91700
6 changed files with 139 additions and 397 deletions

View File

@ -3,8 +3,10 @@
padding: 24px 15px; padding: 24px 15px;
&__wrapper { &__wrapper {
margin: 0 auto; @include mq(lg, min) {
max-width: 698px; margin: 0 auto;
max-width: 698px;
}
} }
&__title { &__title {

View File

@ -1,360 +1,63 @@
/***************************************************************/ .footer-links {
/**-- Footer ------------------------------********************/ @include mq(md, min) {
/*-------------------------------------------------------------*/ padding: 29px 0 25px;
border-bottom: 1px solid $gray-100;
.footer {
background-color: $color-black2;
.institucional-info {
color: $color-white;
font-size: 14px;
margin: auto;
max-width: 950px;
padding: 0 15px 25px;
@include mq(md, max) {
font-size: 16px;
padding-left: 0;
padding-right: 0;
}
.titulo {
font-size: 16px;
margin: 27px 0 17px;
@include mq(md, max) {
font-size: 22px;
text-align: center;
}
}
ul {
margin: 0;
@include mq(md, max) {
max-width: 310px;
margin: auto;
padding: 0 10px;
}
&:hover li a {
opacity: 0.7;
}
li a {
transition: all 0.15s linear;
&:hover {
opacity: 1;
}
}
}
a {
color: $color-white;
}
.institucional-links {
font-size: 16px;
}
.contato-sac {
font-size: 12px;
@include mq(md, max) {
border-bottom: 1px solid $color-black3;
padding: 10px 0 20px;
}
@include mq(md, max) {
font-size: 16px;
}
li {
margin-bottom: 8px;
&:last-child() {
font-size: 10px;
text-transform: uppercase;
@include mq(md, max) {
font-size: 14px;
}
strong {
display: block;
}
}
}
p {
margin: 0;
span {
text-decoration: underline;
}
}
}
.redes-sociais {
h3 {
@include mq(md, max) {
display: none;
}
}
ul {
@include mq(md, max) {
margin-top: 25px;
text-align: center;
}
}
li {
display: inline-block;
margin-right: 6px;
}
i {
@include mq(md, min) {
transform: scale(0.8);
}
}
}
} }
.selos { &__wrapper {
border-top: 1px solid $color-black3; display: grid;
padding: 5px 0; grid-template-columns: repeat(3, max-content);
text-align: center; justify-content: center;
@include mq(md, min) { @include mq(md, min) {
border-bottom: 1px solid $color-black3; gap: 148px;
} }
.col-12 {
@include mq(md, max) {
padding: 0;
}
}
ul {
display: inline-block;
@include mq(md, max) {
width: 100%;
}
&.pagamento {
padding-top: 10px;
padding-bottom: 10px;
@include mq(md, max) {
border-bottom: 1px solid $color-black3;
padding-bottom: 25px;
}
@include mq(md, min) {
border-right: 1px solid $color-gray;
margin-right: 20px;
padding-right: 20px;
}
li {
&:not(:last-child) {
@include mq(md, min) {
padding-right: 5px;
}
}
}
}
&.certificados {
li {
&:not(:last-child) {
padding-right: 10px;
}
}
}
li {
display: inline-block;
}
}
}
.razao {
font-size: 10px;
max-width: 1500px;
margin: auto;
padding: 15px;
@include mq(md, max) { @include mq(md, max) {
padding-top: 10px; grid-template-columns: 1fr;
}
p {
color: $color-gray2;
margin: 0;
@include mq(md, max) {
text-align: center;
}
span {
@include mq(md, max) {
display: block;
}
}
}
a {
color: $color-gray2;
display: inline-block;
}
.cnpj {
@include mq(md, max) {
padding: 20px 15px;
}
}
.desenvolvimento {
text-align: right;
@include mq(md, max) {
text-align: center;
padding: 20px 15px 0;
}
a:nth-child(2) {
@include mq(md, max) {
border-left: 1px solid $color-gray;
border-right: 1px solid $color-gray;
margin-right: 20px;
margin-left: 20px;
padding-right: 15px;
padding-left: 15px;
}
}
span {
display: inline-block;
}
} }
} }
}
.mobile-bottom-options { &__block {
background-color: $color-white; @include mq(md, max) {
border-top: 1px solid $color-gray; padding: 24px 15px;
bottom: 0; border-bottom: 1px solid $gray-100;
left: 0; }
margin-bottom: -65px;
opacity: 0;
position: fixed;
right: 0;
transition: all 0.2s ease-in-out;
visibility: hidden;
z-index: 6;
&.active {
margin-bottom: 0;
opacity: 1;
visibility: visible;
} }
ul { &__title {
display: flex; margin: 0 0 10px;
align-items: center; font-size: 12px;
justify-content: center; line-height: 15px;
margin: 0; margin: 0;
} }
li { .items-list {
display: inline-block; margin: 0;
width: 33%;
}
.option { &--social-networks {
background-color: transparent; display: grid;
border: none; grid-auto-flow: column;
cursor: pointer; grid-auto-columns: max-content;
display: block; align-items: center;
height: 66px; gap: 16px;
outline: none;
padding: 10px;
width: 100%;
&::before {
content: "";
display: block;
margin: auto;
@extend .sprite;
}
}
.show-search {
.option:before {
@extend .sprite;
@extend .sprite-lupa;
}
}
.show-carrinho {
li:not(.amount-items),
strong,
.title {
display: none;
} }
.AmountItemsInCart { &__item {
line-height: 0; padding: 4px 0;
text-align: center; line-height: 12px;
font-size: 10px;
} }
.portal-totalizers-ref { &__link {
display: inline-block; color: $black-500;
vertical-align: top; transition: color 0.2s linear;
position: relative;
.cartInfoWrapper { @include mq(lg, min) {
@extend .sprite; &:hover {
@extend .sprite-sacola; color: $blue-500;
@include mq(md, max) {
margin-right: 5px;
} }
} }
.amount-items {
background-color: $color-black2;
border-radius: 50%;
bottom: 2px;
color: $color-white;
font-size: 10px;
line-height: 1.3;
min-width: 19px;
text-align: center;
padding: 3px 4px;
position: absolute;
right: -8px;
@include mq(md, max) {
right: -3px;
}
em {
font-style: normal;
}
}
}
}
.show-menu {
margin-top: -2px;
.option:before {
@extend .sprite;
@extend .sprite-menu-bottom;
} }
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 920 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

View File

@ -1,64 +1,101 @@
<section class=" footer"> <section class="footer-links">
<div class="container-fluid"> <div class="footer-links__wrapper">
<div class="row"> <div class="footer-links__block">
<div class="institucional-info col-12 col-lg-10 offset-lg-1 col-xl-8 offset-xl-2 row"> <h4 class="footer-links__title">DÚVIDAS</h4>
<div class="institucional-links col-12 col-md-4 offset-md-0">
<h3 class="titulo">Dúvidas</h3> <ul class="items-list">
<ul> <li class="items-list__item">
<li><a href="/institucional/sobre" title="Sobre">Sobre</a></li> <a class="items-list__link" href="/institucional/sobre">SOBRE</a>
<li><a href="/institucional/pagamento" title="Formas de Pagamento">Formas de Pagamento</a></li> </li>
<li><a href="/institucional/entrega" title="Entrega">Entrega</a></li>
<li><a href="/institucional/troca-devolucao" title="Troca e Devolução">Troca e Devolução</a></li> <li class="items-list__item">
<li><a href="/institucional/seguranca-privacidade" title="Segurança e Privacidade">Segurança e Privacidade</a></li> <a
<li><a href="/institucional/contato" title="Contato">Contato</a></li> class="items-list__link"
</ul> href="/institucional/formas-de-pagamento"
</div> >FORMAS DE PAGAMENTO</a
<div class="contato-sac col-12 col-md-4 offset-md-0"> >
<h3 class="titulo">Fale Conosco</h3> </li>
<ul>
<li> <li class="items-list__item">
<span itemprop="faxNumber"> <a class="items-list__link" href="/institucional/entrega"
<a href="tel:+55 22 00000 00000"><strong>SAC:</strong> 22 00000 0000</a> >ENTREGA</a
</span> >
</li> </li>
<li>
<span itemprop="email"> <li class="items-list__item">
<a href="mail:contato@contato.com.br">contato@contato.com.br</a> <a
</span> class="items-list__link"
</li> href="/institucional/troca-e-devolucao"
<li> >TROCA E DEVOLUÇÃO</a
<p> >
<span> </li>
Atendimento Online
</span> <li class="items-list__item">
</p> <a
</li> class="items-list__link"
<li> href="/institucional/seguranca-e-privacidade"
<p> >SEGURANÇA E PRIVACIDADE</a
<strong> >
Segunda a Sexta </li>
</strong>
das 8h30 as 18h <li class="items-list__item">
</p> <a class="items-list__link" href="/institucional/contato"
</li> >CONTATO</a
</ul> >
</div> </li>
<div class="redes-sociais col-12 col-md-4 offset-md-0"> </ul>
<h3 class="titulo">Fique Ligado</h3> </div>
<ul>
<li> <div class="footer-links__block">
<a href="#" target="_blank" title="Instagram"> <h4 class="footer-links__title">FALE CONOSCO</h4>
<i class="sprite sprite-instagram-white"></i>
</a> <ul class="items-list">
</li> <li class="items-list__item">
<li> <a class="items-list__link" href="tel:11999999999"
<a href="#" target="_blank" title="Facebook"> >SAC: 11 9999 9999</a
<i class="sprite sprite-facebook-white"></i> >
</a> </li>
</li>
</ul> <li class="items-list__item">
</div> <a class="items-list__link" href="mailto:sac@micssb.com.br"
</div> >SAC@MISSB.COM.BR</a
>
</li>
<li class="items-list__item">
<u>ANTENDIMENTO ONLINE</u>
</li>
<li class="items-list__item">
<span>SEGUNDA À SEXTA</span>
</li>
<li class="items-list__item">
<span>DAS 8H30 ÀS 18H</span>
</li>
</ul>
</div>
<div class="footer-links__block">
<h4 class="footer-links__title">FIQUE LIGADO</h4>
<ul class="items-list items-list--social-networks">
<li class="items-list__item">
<a href="#" target="_blank" title="Instagram">
<i class="sprite sprite-insta-icon"></i>
</a>
</li>
<li class="items-list__item">
<a href="#" target="_blank" title="Facebook">
<i class="sprite sprite-face-icon"></i>
</a>
</li>
<li class="items-list__item">
<a href="#" target="_blank" title="Youtube">
<i class="sprite sprite-ytb-icon"></i>
</a>
</li>
</ul>
</div> </div>
</div> </div>
</section> </section>