feat(checkout-email): Adapta tela de cadastro de email para o layout figma

This commit is contained in:
Manuela Luana Schumacker Tavares 2022-12-17 16:54:05 -03:00
parent 1227061b0e
commit 0c0bfea0ae
2 changed files with 275 additions and 237 deletions

View File

@ -3,11 +3,16 @@
border-color: $color-gray4; border-color: $color-gray4;
font-family: $font-family; font-family: $font-family;
padding-top: 8px; padding-top: 8px;
border-top: 1px solid $color-black2;
.link-cart { .link-cart {
a { a {
color: $color-black; color: $color-black2;
font-family: $font-family-secundary;
font-size: 14px; font-size: 14px;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
&:hover { &:hover {
color: lighen($color-black, 10); color: lighen($color-black, 10);
@ -25,12 +30,19 @@
margin-bottom: 16px; margin-bottom: 16px;
span { span {
color: #303030; font-family: $font-family-secundary;
font-size: 24px; color: $color-black2;
font-size: 20px;
line-height: 23px;
text-transform: uppercase;
} }
small { small {
color: $color-gray4; font-family: $font-family-secundary;
color: $color-black2;
font-size: 20px;
line-height: 23px;
text-transform: uppercase;
} }
} }
} }
@ -40,12 +52,19 @@
input { input {
box-shadow: none; box-shadow: none;
color: $color-black; font-weight: 400;
font-size: 12px;
line-height: 16px;
font-family: $font-family; font-family: $font-family;
padding: 0 16px; padding: 0 16px;
border: 2px solid $color-gray3; height: 52px;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border: 1px solid $color-black2;
border-radius: 5px 8px 8px 5px;
&::-webkit-input-placeholder {
color: $color-black2 !important;
}
@media (max-width: 490px) { @media (max-width: 490px) {
width: auto; width: auto;
@ -53,13 +72,19 @@
} }
button { button {
background-color: $color-black; background-color: $color-blue2;
border-radius: 5px; border-radius: 0px 8px 8px 0px;
border: none; border: none;
font-family: $font-family; font-family: $font-family;
height: 54px; font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: $color-black2;
padding: 12.46px 14.41px;
height: 52px;
right: 0; right: 0;
top: 0; top: 0;
cursor: pointer;
@media (max-width: 490px) { @media (max-width: 490px) {
height: 48px; height: 48px;
@ -69,18 +94,25 @@
} }
span.help.error { span.help.error {
color: red; color: $color-red;
font-weight: 700;
font-size: 12px;
line-height: 16px;
} }
} }
.emailInfo { .emailInfo {
padding: 16px; padding: 16px;
background-color: $color-white; background-color: $color-white;
border: 1px solid $color-gray4; border: 1px solid $color-black2;
border-radius: 0; border-radius: 5px;
h3 { h3 {
color: #303030; font-family: $font-family;
color: $color-black2;
font-weight: 700;
font-size: 12px;
line-height: 16px;
margin: 0 0 8px 0; margin: 0 0 8px 0;
} }
@ -89,11 +121,15 @@
li { li {
span { span {
color: $color-black; font-family: $color-black2;
color: $color-black2;
font-weight: 700;
font-size: 12px;
line-height: 16px;
} }
i::before { i::before {
color: $color-black; color: $color-blue2;
font-size: 1rem; font-size: 1rem;
opacity: 1; opacity: 1;
} }

View File

@ -8,6 +8,8 @@ $font-family-secundary: "Tenor Sans", sans-serif;
$color-black: #292929; $color-black: #292929;
$color-black2: #000000; $color-black2: #000000;
$color-red: #ff0000;
$color-white: #fff; $color-white: #fff;
$color-gray: #6c6c6c; $color-gray: #6c6c6c;