feat(refactor):modificando css do header

This commit is contained in:
Victor Cardoso de Souza 2022-12-17 13:18:30 -03:00
parent 9ed1dfdc4c
commit 038e0733f1
4 changed files with 96 additions and 45 deletions

View File

@ -8,9 +8,20 @@
a { a {
color: $color-black; color: $color-black;
font-size: 14px; font-size: 14px;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
text-transform: uppercase;
/* Black */
color: #000000;
&:hover { &:hover {
color: lighen($color-black, 10); color: lighen($color-black-full, 10);
} }
} }
} }
@ -25,12 +36,25 @@
margin-bottom: 16px; margin-bottom: 16px;
span { span {
color: #303030; font-family: $font-family-secundary;
font-size: 24px; font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 23px;
text-align: center;
text-transform: uppercase;
color: $color-black-full;
} }
small { 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: $color-black-full;
} }
} }
} }
@ -40,10 +64,11 @@
input { input {
box-shadow: none; box-shadow: none;
color: $color-black; color: $color-black-full;
font-family: $font-family; font-family: $font-family;
font-weight: 400;
padding: 0 16px; padding: 0 16px;
border: 2px solid $color-gray3; border: 2px solid $color-black-full;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
@ -53,7 +78,17 @@
} }
button { button {
background-color: $color-black; background-color: $color-blue2;
font-weight: 700;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
color:$color-black-full;
border-radius: 5px; border-radius: 5px;
border: none; border: none;
font-family: $font-family; font-family: $font-family;
@ -69,19 +104,26 @@
} }
span.help.error { span.help.error {
color: red; color: $color-red;
font-size: 12px;
line-height: 16px;
font-weight: 700;
} }
} }
.emailInfo { .emailInfo {
padding: 16px; padding: 16px;
background-color: $color-white; background-color: $color-white;
border: 1px solid $color-gray4; border: 1px solid $color-black-full;
border-radius: 0; border-radius: 5px;
h3 { h3 {
color: #303030; color:$color-black-full;
margin: 0 0 8px 0; margin: 0 0 8px 0;
font-family: $font-family;
font-weight: 700;
font-size: 12px;
line-height: 16px;
} }
ul { ul {
@ -89,11 +131,17 @@
li { li {
span { span {
color: $color-black; color:$color-black-full;
font-family: $font-family;
font-weight: 700;
font-size: 12px;
line-height: 16px;
font-size: 12px;
} }
i::before { i::before {
color: $color-black; color: $color-blue2;
font-size: 1rem; font-size: 1rem;
opacity: 1; opacity: 1;
} }

View File

@ -416,25 +416,26 @@
} }
.srp-pickup-my-location__button { .srp-pickup-my-location__button {
background-color: $color-black; background-color: $color-blue2;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-white; color: $color-white;
outline: none; outline: none;
width: 100%; width: 100%;
padding: 12px 35px;
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 19px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten($color-blue2, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken($color-blue2, 5);
} }
} }
} }
@ -450,17 +451,17 @@
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 19px;
text-transform: uppercase; text-transform: uppercase;
} }
&__current { &__current {
border: 1px solid $color-blue; border: 1px solid $color-black-full;
border-radius: 100px; border-radius: 100px;
} }
.blue { .blue {
color: $color-blue; color: $color-black-full;
} }
label { label {
@ -496,9 +497,9 @@
} }
& ~ button { & ~ button {
background-color: $color-black; background-color: $color-blue2;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-white; color: $color-white;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
@ -619,7 +620,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $color-black-full;
text-decoration: none; text-decoration: none;
} }
} }
@ -641,7 +642,9 @@
} }
.coupon-label label { .coupon-label label {
margin-bottom: 12px; margin-bottom:0;
text-align: left;
margin-left: 38px;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
@ -684,17 +687,16 @@
} }
button { button {
background: $color-black; background: $color-blue2;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-white; color: $color-black-full;
font-size: 12px; font-size: 14px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 0.05em;
margin-left: 6px; margin-left: 6px;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
width: 94px;
text-transform: uppercase; text-transform: uppercase;
@include mq(md, max) { @include mq(md, max) {
@ -702,11 +704,11 @@
} }
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten($color-blue2, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken($color-blue2, 5);
} }
} }
} }
@ -724,7 +726,7 @@
&.info, &.info,
&.monetary { &.monetary {
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: $color-black;
@ -745,9 +747,9 @@
td.info, td.info,
td.monetary { td.monetary {
font-style: normal; font-style: normal;
font-weight: normal; font-weight: 700;
font-size: 18px; font-size: 18px;
line-height: 21px; line-height: 25px;
color: $color-black; color: $color-black;
} }
} }
@ -787,31 +789,31 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $color-black-full;
} }
} }
.btn-place-order-wrapper { .btn-place-order-wrapper {
a { a {
background: $color-green; background: $color-blue2;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
display: block; display: block;
font-size: 0; font-size: 0;
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
padding: 12px 19px; padding: 12px 19px;
&:hover { &:hover {
background-color: darken($color-green, 5); background-color: darken($color-blue2, 5);
} }
&:after { &:after {
content: "finalizar compra"; content: "finalizar compra";
font-family: $font-family; font-family: $font-family;
font-weight: 500; font-weight: 700;
font-size: 13px; font-size: 14px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: $color-white; color: $color-black-full;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;

View File

@ -67,7 +67,7 @@ body {
#cart-title, #cart-title,
#orderform-title { #orderform-title {
color: $color-black; color: $color-black-full;
font-family: $font-family; font-family: $font-family;
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;

View File

@ -20,6 +20,7 @@ $color-gray7: #C4C4C4;;
$color-red: #FF0000;
$color-blue: #4267b2; $color-blue: #4267b2;
$color-blue2:#00C8FF; $color-blue2:#00C8FF;