feat: Adiciona fonte Tenor Sans e cria variáveis de cores

This commit is contained in:
Eleonora Otz de Mendonça Soares 2022-12-08 21:57:56 -03:00
parent 0c286472f0
commit 4d82127fae
8 changed files with 363 additions and 362 deletions

View File

@ -3,4 +3,4 @@
@import "./partials/header"; @import "./partials/header";
@import "./partials/footer"; @import "./partials/footer";
@import "./checkout/checkout.scss"; @import "./checkout/checkout.scss";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Tenor+Sans&display=swap');

View File

@ -1,16 +1,16 @@
.checkout-container { .checkout-container {
.client-pre-email { .client-pre-email {
border-color: $color-gray4; border-color: #8d8d8d;
font-family: $font-family; font-family: $font-family;
padding-top: 8px; padding-top: 8px;
.link-cart { .link-cart {
a { a {
color: $color-black; color: #292929;
font-size: 14px; font-size: 14px;
&:hover { &:hover {
color: lighen($color-black, 10); color: lighen(#292929, 10);
} }
} }
} }
@ -30,7 +30,7 @@
} }
small { small {
color: $color-gray4; color: #8d8d8d;
} }
} }
} }
@ -40,10 +40,10 @@
input { input {
box-shadow: none; box-shadow: none;
color: $color-black; color: #292929;
font-family: $font-family; font-family: $font-family;
padding: 0 16px; padding: 0 16px;
border: 2px solid $color-gray3; border: 2px solid f0f0f0;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
@ -53,7 +53,7 @@
} }
button { button {
background-color: $color-black; background-color: #292929;
border-radius: 5px; border-radius: 5px;
border: none; border: none;
font-family: $font-family; font-family: $font-family;
@ -75,8 +75,8 @@
.emailInfo { .emailInfo {
padding: 16px; padding: 16px;
background-color: $color-white; background-color: #fff;
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
border-radius: 0; border-radius: 0;
h3 { h3 {
@ -89,11 +89,11 @@
li { li {
span { span {
color: $color-black; color: #292929;
} }
i::before { i::before {
color: $color-black; color: #292929;
font-size: 1rem; font-size: 1rem;
opacity: 1; opacity: 1;
} }
@ -101,7 +101,7 @@
} }
i::before { i::before {
color: $color-black; color: #292929;
font-size: 6rem; font-size: 6rem;
opacity: 0.5; opacity: 0.5;
} }
@ -113,7 +113,7 @@
.client-profile-data { .client-profile-data {
.accordion-group { .accordion-group {
border-radius: 0; border-radius: 0;
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
font-family: $font-family; font-family: $font-family;
padding: 16px; padding: 16px;
@ -133,7 +133,7 @@
background-color: #303030; background-color: #303030;
border-radius: 8px; border-radius: 8px;
border: none; border: none;
color: $color-white; color: #fff;
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 6px 5px 6px 8px; padding: 6px 5px 6px 8px;
@ -146,19 +146,19 @@
/* General configurations */ /* General configurations */
.client-notice { .client-notice {
color: $color-black; color: #292929;
} }
p { p {
label { label {
color: $color-black; color: #292929;
font-weight: 500; font-weight: 500;
} }
select, select,
input { input {
border-radius: 0; border-radius: 0;
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
box-shadow: none; box-shadow: none;
} }
@ -170,7 +170,7 @@
.box-client-info-pj { .box-client-info-pj {
.link a#is-corporate-client, .link a#is-corporate-client,
.link a#not-corporate-client { .link a#not-corporate-client {
color: $color-black; color: #292929;
font-weight: 500; font-weight: 500;
text-decoration: underline; text-decoration: underline;
} }
@ -183,17 +183,17 @@
button.submit { button.submit {
border: none; border: none;
border-radius: 5px; border-radius: 5px;
background: $color-black; background: #292929;
margin-top: 8px; margin-top: 8px;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
&:hover { &:hover {
background: lighten($color-black, 5); background: lighten(#292929, 5);
} }
&:active { &:active {
background: darken($color-black, 5); background: darken(#292929, 5);
} }
} }
@ -213,11 +213,11 @@
} }
.shp-lean { .shp-lean {
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
border-radius: 0; border-radius: 0;
label { label {
background-color: $color-white; background-color: #fff;
box-shadow: none; box-shadow: none;
color: #303030; color: #303030;
padding: 8px 12px; padding: 8px 12px;
@ -236,12 +236,12 @@
} }
.shp-summary-group-info { .shp-summary-group-info {
border-color: $color-gray4; border-color: #8d8d8d;
} }
.address-summary { .address-summary {
background: none; background: none;
border-color: $color-gray4; border-color: #8d8d8d;
border-radius: 0; border-radius: 0;
color: #303030; color: #303030;
padding: 12px; padding: 12px;
@ -259,7 +259,7 @@
.shp-summary-group-price, .shp-summary-group-price,
.shp-summary-package { .shp-summary-package {
color: $color-gray4; color: #8d8d8d;
} }
.shp-summary-group-price { .shp-summary-group-price {
@ -281,7 +281,7 @@
} }
.vtex-omnishipping-1-x-deliveryOptionActive { .vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50); text-shadow: 1.3px 1px lighten(#292929, 50);
} }
} }
} }

View File

@ -13,7 +13,7 @@
display: none; display: none;
} }
.cart { .cart {
border: 3px solid $color-gray3; border: 3px solid f0f0f0;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
padding: 16px; padding: 16px;
@ -32,7 +32,7 @@
font-family: $font-family; font-family: $font-family;
width: 100%; width: 100%;
h2 { h2 {
background: $color-white; background: #fff;
border: none; border: none;
color: #303030; color: #303030;
font-size: 14px; font-size: 14px;
@ -48,7 +48,7 @@
} }
.cart { .cart {
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
ul li { ul li {
border-top: none; border-top: none;
@ -70,7 +70,7 @@
.summary-template-holder { .summary-template-holder {
border-top: none; border-top: none;
background: $color-white; background: #fff;
} }
#go-to-cart-button a { #go-to-cart-button a {
@ -85,24 +85,24 @@
} }
#payment-data-submit { #payment-data-submit {
background: $color-black; background: #292929;
border: none; border: none;
border-radius: 0; border-radius: 0;
color: $color-white; color: #fff;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
&:hover { &:hover {
background: lighten($color-black, 5); background: lighten(#292929, 5);
} }
&:active { &:active {
background: darken($color-black, 5); background: darken(#292929, 5);
} }
} }
} }
.lookatme { .lookatme {
background-color: $color-white; background-color: #fff;
} }
.cart-items { .cart-items {
@ -111,7 +111,7 @@
} }
th { th {
color: $color-black; color: #292929;
padding: 0 0 16px; padding: 0 0 16px;
font-style: normal; font-style: normal;
font-weight: bold; font-weight: bold;
@ -155,7 +155,7 @@
} }
a { a {
color: $color-blue; color: #00c8ff;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
@ -163,7 +163,7 @@
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
&:hover { &:hover {
color: darken($color-blue, 10); color: darken(#00c8ff, 10);
text-decoration: none; text-decoration: none;
} }
@ -179,7 +179,7 @@
} }
td.shipping-date { td.shipping-date {
color: $color-gray2; color: #7d7d7d;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@ -200,7 +200,7 @@
} }
span.list-price { span.list-price {
color: $color-gray2; color: #7d7d7d;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
text-decoration-line: line-through; text-decoration-line: line-through;
@ -217,7 +217,7 @@
td.quantity { td.quantity {
align-items: center; align-items: center;
border: 1px solid $color-gray3; border: 1px solid f0f0f0;
border-radius: 0; border-radius: 0;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
@ -233,8 +233,8 @@
} }
input { input {
background-color: $color-white; background-color: #fff;
border: 1px solid $color-gray3; border: 1px solid f0f0f0;
border-radius: 0; border-radius: 0;
border-width: 0 1px; border-width: 0 1px;
display: block; display: block;
@ -242,7 +242,7 @@
margin: 0 !important; margin: 0 !important;
padding: 8px 0; padding: 8px 0;
width: 38px; width: 38px;
color: $color-gray2; color: #7d7d7d;
box-shadow: none; box-shadow: none;
@include mq(lg, max) { @include mq(lg, max) {
@ -253,7 +253,7 @@
.icon-plus-sign, .icon-plus-sign,
.icon-minus-sign { .icon-minus-sign {
&::before { &::before {
color: $color-black; color: #292929;
display: block; display: block;
font-weight: 500; font-weight: 500;
padding: 1px 12px; padding: 1px 12px;
@ -300,7 +300,7 @@
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: #292929;
} }
} }
@ -315,7 +315,7 @@
top: 0; top: 0;
} }
.icon::before { .icon::before {
color: $color-gray4; color: #8d8d8d;
font-size: 15px; font-size: 15px;
@include mq(md, max) { @include mq(md, max) {
@ -326,7 +326,7 @@
.item-unavailable-message { .item-unavailable-message {
background-color: #d8c8ac; background-color: #d8c8ac;
color: $color-white; color: #fff;
.icon-warning-sign { .icon-warning-sign {
color: #bb4f4f; color: #bb4f4f;
@ -356,7 +356,7 @@
font-weight: normal; font-weight: normal;
font-size: 24px; font-size: 24px;
line-height: 28px; line-height: 28px;
color: $color-gray2; color: #7d7d7d;
@include mq(md, max) { @include mq(md, max) {
margin-top: 0; margin-top: 0;
@ -364,17 +364,17 @@
} }
.srp-description { .srp-description {
color: $color-gray2; color: #7d7d7d;
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 18px;
margin: 0 0 12px; margin: 0 0 12px;
} }
button.shp-open-options { button.shp-open-options {
background-color: $color-gray5; background-color: #e5e5e5;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-gray2; color: #7d7d7d;
font-size: 16px; font-size: 16px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
line-height: 19px; line-height: 19px;
@ -384,11 +384,11 @@
transition: all 0.2s linear; transition: all 0.2s linear;
&:hover { &:hover {
background-color: lighten($color-gray5, 5); background-color: lighten(#e5e5e5, 5);
} }
&:active { &:active {
background-color: darken($color-gray5, 5); background-color: darken(#e5e5e5, 5);
} }
} }
} }
@ -405,10 +405,10 @@
} }
.srp-pickup-my-location__button { .srp-pickup-my-location__button {
background-color: $color-black; background-color: #292929;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-white; color: #fff;
outline: none; outline: none;
width: 100%; width: 100%;
@ -419,11 +419,11 @@
letter-spacing: 0.05em; letter-spacing: 0.05em;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten(#292929, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken(#292929, 5);
} }
} }
} }
@ -432,7 +432,7 @@
margin: 0 0 34px; margin: 0 0 34px;
&__wrapper { &__wrapper {
background-color: $color-white; background-color: #fff;
border-radius: 100px; border-radius: 100px;
width: 100%; width: 100%;
font-family: $font-family; font-family: $font-family;
@ -444,12 +444,12 @@
} }
&__current { &__current {
border: 1px solid $color-blue; border: 1px solid #00c8ff;
border-radius: 100px; border-radius: 100px;
} }
.blue { .blue {
color: $color-blue; color: #00c8ff;
} }
label { label {
@ -469,15 +469,15 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-black; color: #292929;
margin-bottom: 12px; margin-bottom: 12px;
} }
input { input {
border: 1px solid $color-gray3; border: 1px solid f0f0f0;
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
color: $color-gray3; color: f0f0f0;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
padding: 12px 8px; padding: 12px 8px;
@ -485,10 +485,10 @@
} }
& ~ button { & ~ button {
background-color: $color-black; background-color: #292929;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-white; color: #fff;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
@ -501,11 +501,11 @@
text-transform: uppercase; text-transform: uppercase;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten(#292929, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken(#292929, 5);
} }
} }
@ -515,7 +515,7 @@
font-weight: normal; font-weight: normal;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
color: $color-blue; color: #00c8ff;
margin-top: 7px; margin-top: 7px;
} }
@ -549,7 +549,7 @@
} }
.srp-shipping-current-single { .srp-shipping-current-single {
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
border-radius: 0; border-radius: 0;
color: #303030; color: #303030;
margin: 16px 0 0; margin: 16px 0 0;
@ -561,11 +561,11 @@
} }
.srp-delivery-select { .srp-delivery-select {
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
} }
.srp-delivery-select-container { .srp-delivery-select-container {
border: 1px solid $color-gray4; border: 1px solid #8d8d8d;
border-radius: 0; border-radius: 0;
.srp-shipping-current-many { .srp-shipping-current-many {
@ -583,7 +583,7 @@
} }
&__arrow svg { &__arrow svg {
fill: $color-gray4; fill: #8d8d8d;
} }
} }
} }
@ -608,7 +608,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: #00c8ff;
text-decoration: none; text-decoration: none;
} }
} }
@ -636,7 +636,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-gray2; color: #7d7d7d;
cursor: none; cursor: none;
} }
@ -657,10 +657,10 @@
} }
input { input {
border: 2px solid $color-gray3; border: 2px solid f0f0f0;
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
color: $color-gray4; color: #8d8d8d;
font-size: 12px; font-size: 12px;
height: 34px; height: 34px;
padding: 0 12px; padding: 0 12px;
@ -673,10 +673,10 @@
} }
button { button {
background: $color-black; background: #292929;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-white; color: #fff;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
@ -691,11 +691,11 @@
} }
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten(#292929, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken(#292929, 5);
} }
} }
} }
@ -716,7 +716,7 @@
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: #292929;
padding: 12px 0; padding: 12px 0;
} }
@ -737,7 +737,7 @@
font-weight: normal; font-weight: normal;
font-size: 18px; font-size: 18px;
line-height: 21px; line-height: 21px;
color: $color-black; color: #292929;
} }
} }
} }
@ -776,13 +776,13 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: #00c8ff;
} }
} }
.btn-place-order-wrapper { .btn-place-order-wrapper {
a { a {
background: $color-green; background: #4caf50;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
display: block; display: block;
@ -791,7 +791,7 @@
padding: 12px 19px; padding: 12px 19px;
&:hover { &:hover {
background-color: darken($color-green, 5); background-color: darken(#4caf50, 5);
} }
&:after { &:after {
@ -800,7 +800,7 @@
font-weight: 500; font-weight: 500;
font-size: 13px; font-size: 13px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: $color-white; color: #fff;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;

View File

@ -1,7 +1,7 @@
.empty-cart { .empty-cart {
font-family: $font-family; font-family: $font-family;
&-content { &-content {
color: $color-black; color: #292929;
text-align: center; text-align: center;
@include mq(md, max) { @include mq(md, max) {
@ -15,7 +15,7 @@
&-links { &-links {
.link-choose-products { .link-choose-products {
background: $color-black; background: #292929;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
@ -27,11 +27,11 @@
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: $color-white; color: #fff;
text-transform: uppercase; text-transform: uppercase;
&:hover { &:hover {
background: lighten($color-black, 5); background: lighten(#292929, 5);
} }
} }
} }

View File

@ -54,21 +54,21 @@ body {
} }
.btn-success { .btn-success {
background: $color-black; background: #292929;
text-shadow: none; text-shadow: none;
&:hover { &:hover {
background: lighten($color-black, 15%); background: lighten(#292929, 15%);
} }
} }
.emailInfo h3 { .emailInfo h3 {
color: $color-black !important; color: #292929 !important;
} }
#cart-title, #cart-title,
#orderform-title { #orderform-title {
color: $color-gray2; color: #7d7d7d;
font-family: $font-family; font-family: $font-family;
font-weight: 500; font-weight: 500;
font-size: 36px; font-size: 36px;
@ -96,7 +96,7 @@ body {
&::before, &::before,
&::after { &::after {
content: ""; content: "";
background: $color-gray2; background: #7d7d7d;
display: block; display: block;
float: right; float: right;
height: 2px; height: 2px;

View File

@ -1,7 +1,7 @@
/* _footer.scss */ /* _footer.scss */
.footerCheckout { .footerCheckout {
border-top: none; border-top: none;
color: $color-gray2; color: #7d7d7d;
&__wrapper { &__wrapper {
align-items: center; align-items: center;
@ -10,7 +10,7 @@
} }
&__address { &__address {
color: $color-gray2; color: #7d7d7d;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
@ -37,7 +37,7 @@
} }
&__divider { &__divider {
background-color: $color-gray4; background-color: #8d8d8d;
display: inline-block; display: inline-block;
height: 24px; height: 24px;
margin: 0 8px; margin: 0 8px;
@ -57,7 +57,7 @@
a { a {
align-items: center; align-items: center;
color: $color-gray2; color: #7d7d7d;
display: flex; display: flex;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;

View File

@ -26,7 +26,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-gray; color: #6c6c6c;
} }
i { i {

View File

@ -2,22 +2,23 @@
@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-white: #fff; $white: #ffffff;
$color-gray: #6c6c6c; $gray-100: #ededed;
$color-gray2: #7d7d7d; $gray-200: #e5e5e5;
$color-gray3: #f0f0f0; $gray-300: #f0f0f0;
$color-gray4: #8d8d8d; $gray-400: #c4c4c4;
$color-gray5: #e5e5e5; $gray-500: #989898;
$gray-600: #858585;
$color-blue: #4267b2; $black-400: #292929;
$black-500: #000000;
$color-green: #4caf50; $vivid-blue: #00C8FF;
/* Grid breakpoints */ /* Grid breakpoints */
$grid-breakpoints: ( $grid-breakpoints: (
@ -26,7 +27,7 @@ $grid-breakpoints: (
sm: 576px, sm: 576px,
md: 768px, md: 768px,
lg: 992px, lg: 992px,
xl: 1200px xl: 1200px,
) !default; ) !default;
$z-index: ( $z-index: (
@ -34,5 +35,5 @@ $z-index: (
level2: 10, level2: 10,
level3: 15, level3: 15,
level4: 20, level4: 20,
level5: 25 level5: 25,
) !default; ) !default;