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/footer";
@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 {
.client-pre-email {
border-color: $color-gray4;
border-color: #8d8d8d;
font-family: $font-family;
padding-top: 8px;
.link-cart {
a {
color: $color-black;
color: #292929;
font-size: 14px;
&:hover {
color: lighen($color-black, 10);
color: lighen(#292929, 10);
}
}
}
@ -30,7 +30,7 @@
}
small {
color: $color-gray4;
color: #8d8d8d;
}
}
}
@ -40,10 +40,10 @@
input {
box-shadow: none;
color: $color-black;
color: #292929;
font-family: $font-family;
padding: 0 16px;
border: 2px solid $color-gray3;
border: 2px solid f0f0f0;
box-sizing: border-box;
border-radius: 5px;
@ -53,7 +53,7 @@
}
button {
background-color: $color-black;
background-color: #292929;
border-radius: 5px;
border: none;
font-family: $font-family;
@ -75,8 +75,8 @@
.emailInfo {
padding: 16px;
background-color: $color-white;
border: 1px solid $color-gray4;
background-color: #fff;
border: 1px solid #8d8d8d;
border-radius: 0;
h3 {
@ -89,11 +89,11 @@
li {
span {
color: $color-black;
color: #292929;
}
i::before {
color: $color-black;
color: #292929;
font-size: 1rem;
opacity: 1;
}
@ -101,7 +101,7 @@
}
i::before {
color: $color-black;
color: #292929;
font-size: 6rem;
opacity: 0.5;
}
@ -113,7 +113,7 @@
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
font-family: $font-family;
padding: 16px;
@ -133,7 +133,7 @@
background-color: #303030;
border-radius: 8px;
border: none;
color: $color-white;
color: #fff;
display: flex;
justify-content: center;
padding: 6px 5px 6px 8px;
@ -146,19 +146,19 @@
/* General configurations */
.client-notice {
color: $color-black;
color: #292929;
}
p {
label {
color: $color-black;
color: #292929;
font-weight: 500;
}
select,
input {
border-radius: 0;
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
box-shadow: none;
}
@ -170,7 +170,7 @@
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
color: #292929;
font-weight: 500;
text-decoration: underline;
}
@ -183,17 +183,17 @@
button.submit {
border: none;
border-radius: 5px;
background: $color-black;
background: #292929;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
&:hover {
background: lighten($color-black, 5);
background: lighten(#292929, 5);
}
&:active {
background: darken($color-black, 5);
background: darken(#292929, 5);
}
}
@ -213,11 +213,11 @@
}
.shp-lean {
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
border-radius: 0;
label {
background-color: $color-white;
background-color: #fff;
box-shadow: none;
color: #303030;
padding: 8px 12px;
@ -236,12 +236,12 @@
}
.shp-summary-group-info {
border-color: $color-gray4;
border-color: #8d8d8d;
}
.address-summary {
background: none;
border-color: $color-gray4;
border-color: #8d8d8d;
border-radius: 0;
color: #303030;
padding: 12px;
@ -259,7 +259,7 @@
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
color: #8d8d8d;
}
.shp-summary-group-price {
@ -281,7 +281,7 @@
}
.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;
}
.cart {
border: 3px solid $color-gray3;
border: 3px solid f0f0f0;
box-sizing: border-box;
border-radius: 5px;
padding: 16px;
@ -32,7 +32,7 @@
font-family: $font-family;
width: 100%;
h2 {
background: $color-white;
background: #fff;
border: none;
color: #303030;
font-size: 14px;
@ -48,7 +48,7 @@
}
.cart {
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
ul li {
border-top: none;
@ -70,7 +70,7 @@
.summary-template-holder {
border-top: none;
background: $color-white;
background: #fff;
}
#go-to-cart-button a {
@ -85,24 +85,24 @@
}
#payment-data-submit {
background: $color-black;
background: #292929;
border: none;
border-radius: 0;
color: $color-white;
color: #fff;
outline: none;
transition: all 0.2s linear;
&:hover {
background: lighten($color-black, 5);
background: lighten(#292929, 5);
}
&:active {
background: darken($color-black, 5);
background: darken(#292929, 5);
}
}
}
.lookatme {
background-color: $color-white;
background-color: #fff;
}
.cart-items {
@ -111,7 +111,7 @@
}
th {
color: $color-black;
color: #292929;
padding: 0 0 16px;
font-style: normal;
font-weight: bold;
@ -155,7 +155,7 @@
}
a {
color: $color-blue;
color: #00c8ff;
font-style: normal;
font-weight: normal;
font-size: 12px;
@ -163,7 +163,7 @@
transition: ease-in 0.22s all;
&:hover {
color: darken($color-blue, 10);
color: darken(#00c8ff, 10);
text-decoration: none;
}
@ -179,7 +179,7 @@
}
td.shipping-date {
color: $color-gray2;
color: #7d7d7d;
font-size: 12px;
line-height: 14px;
@ -200,7 +200,7 @@
}
span.list-price {
color: $color-gray2;
color: #7d7d7d;
font-size: 12px;
line-height: 14px;
text-decoration-line: line-through;
@ -217,7 +217,7 @@
td.quantity {
align-items: center;
border: 1px solid $color-gray3;
border: 1px solid f0f0f0;
border-radius: 0;
box-sizing: border-box;
display: flex;
@ -233,8 +233,8 @@
}
input {
background-color: $color-white;
border: 1px solid $color-gray3;
background-color: #fff;
border: 1px solid f0f0f0;
border-radius: 0;
border-width: 0 1px;
display: block;
@ -242,7 +242,7 @@
margin: 0 !important;
padding: 8px 0;
width: 38px;
color: $color-gray2;
color: #7d7d7d;
box-shadow: none;
@include mq(lg, max) {
@ -253,7 +253,7 @@
.icon-plus-sign,
.icon-minus-sign {
&::before {
color: $color-black;
color: #292929;
display: block;
font-weight: 500;
padding: 1px 12px;
@ -300,7 +300,7 @@
font-weight: normal;
font-size: 14px;
line-height: 16px;
color: $color-black;
color: #292929;
}
}
@ -315,7 +315,7 @@
top: 0;
}
.icon::before {
color: $color-gray4;
color: #8d8d8d;
font-size: 15px;
@include mq(md, max) {
@ -326,7 +326,7 @@
.item-unavailable-message {
background-color: #d8c8ac;
color: $color-white;
color: #fff;
.icon-warning-sign {
color: #bb4f4f;
@ -356,7 +356,7 @@
font-weight: normal;
font-size: 24px;
line-height: 28px;
color: $color-gray2;
color: #7d7d7d;
@include mq(md, max) {
margin-top: 0;
@ -364,17 +364,17 @@
}
.srp-description {
color: $color-gray2;
color: #7d7d7d;
font-size: 12px;
line-height: 18px;
margin: 0 0 12px;
}
button.shp-open-options {
background-color: $color-gray5;
background-color: #e5e5e5;
border: none;
border-radius: 5px;
color: $color-gray2;
color: #7d7d7d;
font-size: 16px;
letter-spacing: 0.05em;
line-height: 19px;
@ -384,11 +384,11 @@
transition: all 0.2s linear;
&:hover {
background-color: lighten($color-gray5, 5);
background-color: lighten(#e5e5e5, 5);
}
&:active {
background-color: darken($color-gray5, 5);
background-color: darken(#e5e5e5, 5);
}
}
}
@ -405,10 +405,10 @@
}
.srp-pickup-my-location__button {
background-color: $color-black;
background-color: #292929;
border: none;
border-radius: 5px;
color: $color-white;
color: #fff;
outline: none;
width: 100%;
@ -419,11 +419,11 @@
letter-spacing: 0.05em;
&:hover {
background-color: lighten($color-black, 5);
background-color: lighten(#292929, 5);
}
&:active {
background-color: darken($color-black, 5);
background-color: darken(#292929, 5);
}
}
}
@ -432,7 +432,7 @@
margin: 0 0 34px;
&__wrapper {
background-color: $color-white;
background-color: #fff;
border-radius: 100px;
width: 100%;
font-family: $font-family;
@ -444,12 +444,12 @@
}
&__current {
border: 1px solid $color-blue;
border: 1px solid #00c8ff;
border-radius: 100px;
}
.blue {
color: $color-blue;
color: #00c8ff;
}
label {
@ -469,15 +469,15 @@
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-black;
color: #292929;
margin-bottom: 12px;
}
input {
border: 1px solid $color-gray3;
border: 1px solid f0f0f0;
border-radius: 5px;
box-shadow: none;
color: $color-gray3;
color: f0f0f0;
font-size: 12px;
height: 36px;
padding: 12px 8px;
@ -485,10 +485,10 @@
}
& ~ button {
background-color: $color-black;
background-color: #292929;
border: none;
border-radius: 5px;
color: $color-white;
color: #fff;
font-size: 12px;
height: 36px;
letter-spacing: 1px;
@ -501,11 +501,11 @@
text-transform: uppercase;
&:hover {
background-color: lighten($color-black, 5);
background-color: lighten(#292929, 5);
}
&:active {
background-color: darken($color-black, 5);
background-color: darken(#292929, 5);
}
}
@ -515,7 +515,7 @@
font-weight: normal;
font-size: 10px;
line-height: 12px;
color: $color-blue;
color: #00c8ff;
margin-top: 7px;
}
@ -549,7 +549,7 @@
}
.srp-shipping-current-single {
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
border-radius: 0;
color: #303030;
margin: 16px 0 0;
@ -561,11 +561,11 @@
}
.srp-delivery-select {
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
}
.srp-delivery-select-container {
border: 1px solid $color-gray4;
border: 1px solid #8d8d8d;
border-radius: 0;
.srp-shipping-current-many {
@ -583,7 +583,7 @@
}
&__arrow svg {
fill: $color-gray4;
fill: #8d8d8d;
}
}
}
@ -608,7 +608,7 @@
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-blue;
color: #00c8ff;
text-decoration: none;
}
}
@ -636,7 +636,7 @@
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-gray2;
color: #7d7d7d;
cursor: none;
}
@ -657,10 +657,10 @@
}
input {
border: 2px solid $color-gray3;
border: 2px solid f0f0f0;
border-radius: 5px;
box-shadow: none;
color: $color-gray4;
color: #8d8d8d;
font-size: 12px;
height: 34px;
padding: 0 12px;
@ -673,10 +673,10 @@
}
button {
background: $color-black;
background: #292929;
border: none;
border-radius: 5px;
color: $color-white;
color: #fff;
font-size: 12px;
height: 36px;
letter-spacing: 1px;
@ -691,11 +691,11 @@
}
&:hover {
background-color: lighten($color-black, 5);
background-color: lighten(#292929, 5);
}
&:active {
background-color: darken($color-black, 5);
background-color: darken(#292929, 5);
}
}
}
@ -716,7 +716,7 @@
font-weight: normal;
font-size: 14px;
line-height: 16px;
color: $color-black;
color: #292929;
padding: 12px 0;
}
@ -737,7 +737,7 @@
font-weight: normal;
font-size: 18px;
line-height: 21px;
color: $color-black;
color: #292929;
}
}
}
@ -776,13 +776,13 @@
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-blue;
color: #00c8ff;
}
}
.btn-place-order-wrapper {
a {
background: $color-green;
background: #4caf50;
border: none;
border-radius: 5px;
display: block;
@ -791,7 +791,7 @@
padding: 12px 19px;
&:hover {
background-color: darken($color-green, 5);
background-color: darken(#4caf50, 5);
}
&:after {
@ -800,7 +800,7 @@
font-weight: 500;
font-size: 13px;
letter-spacing: 0.05em;
color: $color-white;
color: #fff;
text-transform: uppercase;
vertical-align: middle;
line-height: 19px;

View File

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

View File

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

View File

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

View File

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

View File

@ -5,19 +5,20 @@ $font-family: "Open Sans", sans-serif;
$font-family-secundary: "Tenor Sans", sans-serif;
/* Colors */
$color-black: #292929;
$color-white: #fff;
$white: #ffffff;
$color-gray: #6c6c6c;
$color-gray2: #7d7d7d;
$color-gray3: #f0f0f0;
$color-gray4: #8d8d8d;
$color-gray5: #e5e5e5;
$gray-100: #ededed;
$gray-200: #e5e5e5;
$gray-300: #f0f0f0;
$gray-400: #c4c4c4;
$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: (
@ -26,7 +27,7 @@ $grid-breakpoints: (
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
xl: 1200px,
) !default;
$z-index: (
@ -34,5 +35,5 @@ $z-index: (
level2: 10,
level3: 15,
level4: 20,
level5: 25
level5: 25,
) !default;