feat: adiciona carrinho vazio

This commit is contained in:
Vitor Soares 2022-12-14 11:56:25 -03:00
parent 33ed850a60
commit aee45eb858
2 changed files with 29 additions and 12 deletions

View File

@ -1,7 +1,7 @@
.empty-cart {
font-family: $font-family;
&-content {
color: $color-black-100;
color: $color-black-500;
text-align: center;
@include mq(md, max) {
@ -10,29 +10,45 @@
}
&-title {
font-size: 20px;
font-size: 24px;
line-height: 32px;
font-weight: 700;
text-transform: uppercase;
margin: 0;
margin-bottom: 32px;
margin-top: 170px;
padding: 0;
}
&-message {
display: none;
}
&-links {
.link-choose-products {
background: $color-black-100;
border: none;
border-radius: 5px;
transition: ease-in 0.22s all;
outline: none;
background: $color-white-500;
border: 1px solid $color-black-500;
border-radius: 0;
transition: ease-in-out 0.2s all;
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-500;
color: $color-black-500;
text-transform: uppercase;
padding: 15px 65px 17px;
margin: 0;
&:hover {
background: lighten($color-black-100, 5);
background: $color-gray6;
}
}
}
}
.hide {
display: none !important;
opacity: 0;
pointer-events: none;
}

View File

@ -15,6 +15,7 @@ $color-gray2: #7d7d7d;
$color-gray3: #f0f0f0;
$color-gray4: #8d8d8d;
$color-gray5: #e5e5e5;
$color-gray6: #ededed;
$color-blue: #4267b2;