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,289 +1,289 @@
.checkout-container {
.client-pre-email {
border-color: $color-gray4;
font-family: $font-family;
padding-top: 8px;
.client-pre-email {
border-color: #8d8d8d;
font-family: $font-family;
padding-top: 8px;
.link-cart {
a {
color: $color-black;
font-size: 14px;
.link-cart {
a {
color: #292929;
font-size: 14px;
&:hover {
color: lighen($color-black, 10);
}
}
}
&:hover {
color: lighen(#292929, 10);
}
}
}
.pre-email {
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
.pre-email {
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
h3 {
margin-bottom: 16px;
h3 {
margin-bottom: 16px;
span {
color: #303030;
font-size: 24px;
}
span {
color: #303030;
font-size: 24px;
}
small {
color: $color-gray4;
}
}
}
small {
color: #8d8d8d;
}
}
}
.client-email {
margin: 0 0 16px;
.client-email {
margin: 0 0 16px;
input {
box-shadow: none;
color: $color-black;
font-family: $font-family;
padding: 0 16px;
border: 2px solid $color-gray3;
box-sizing: border-box;
border-radius: 5px;
input {
box-shadow: none;
color: #292929;
font-family: $font-family;
padding: 0 16px;
border: 2px solid f0f0f0;
box-sizing: border-box;
border-radius: 5px;
@media (max-width: 490px) {
width: auto;
}
}
@media (max-width: 490px) {
width: auto;
}
}
button {
background-color: $color-black;
border-radius: 5px;
border: none;
font-family: $font-family;
height: 54px;
right: 0;
top: 0;
button {
background-color: #292929;
border-radius: 5px;
border: none;
font-family: $font-family;
height: 54px;
right: 0;
top: 0;
@media (max-width: 490px) {
height: 48px;
margin: 0;
position: absolute;
}
}
@media (max-width: 490px) {
height: 48px;
margin: 0;
position: absolute;
}
}
span.help.error {
color: red;
}
}
span.help.error {
color: red;
}
}
.emailInfo {
padding: 16px;
background-color: $color-white;
border: 1px solid $color-gray4;
border-radius: 0;
.emailInfo {
padding: 16px;
background-color: #fff;
border: 1px solid #8d8d8d;
border-radius: 0;
h3 {
color: #303030;
margin: 0 0 8px 0;
}
h3 {
color: #303030;
margin: 0 0 8px 0;
}
ul {
margin: 0;
ul {
margin: 0;
li {
span {
color: $color-black;
}
li {
span {
color: #292929;
}
i::before {
color: $color-black;
font-size: 1rem;
opacity: 1;
}
}
}
i::before {
color: #292929;
font-size: 1rem;
opacity: 1;
}
}
}
i::before {
color: $color-black;
font-size: 6rem;
opacity: 0.5;
}
}
}
i::before {
color: #292929;
font-size: 6rem;
opacity: 0.5;
}
}
}
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray4;
font-family: $font-family;
padding: 16px;
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid #8d8d8d;
font-family: $font-family;
padding: 16px;
.accordion-heading {
span {
color: #303030;
margin-bottom: 8px;
padding: 0;
.accordion-heading {
span {
color: #303030;
margin-bottom: 8px;
padding: 0;
i::before {
fill: #303030;
}
}
i::before {
fill: #303030;
}
}
a {
align-items: center;
background-color: #303030;
border-radius: 8px;
border: none;
color: $color-white;
display: flex;
justify-content: center;
padding: 6px 5px 6px 8px;
}
}
a {
align-items: center;
background-color: #303030;
border-radius: 8px;
border: none;
color: #fff;
display: flex;
justify-content: center;
padding: 6px 5px 6px 8px;
}
}
.accordion-inner {
padding: 0;
.accordion-inner {
padding: 0;
/* General configurations */
/* General configurations */
.client-notice {
color: $color-black;
}
.client-notice {
color: #292929;
}
p {
label {
color: $color-black;
font-weight: 500;
}
p {
label {
color: #292929;
font-weight: 500;
}
select,
input {
border-radius: 0;
border: 1px solid $color-gray4;
box-shadow: none;
}
select,
input {
border-radius: 0;
border: 1px solid #8d8d8d;
box-shadow: none;
}
.help.error {
color: red;
}
}
.help.error {
color: red;
}
}
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
font-weight: 500;
text-decoration: underline;
}
}
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: #292929;
font-weight: 500;
text-decoration: underline;
}
}
.state-inscription-box span {
font-weight: 500;
}
.state-inscription-box span {
font-weight: 500;
}
button.submit {
border: none;
border-radius: 5px;
background: $color-black;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
button.submit {
border: none;
border-radius: 5px;
background: #292929;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
&:hover {
background: lighten($color-black, 5);
}
&:hover {
background: lighten(#292929, 5);
}
&:active {
background: darken($color-black, 5);
}
}
&:active {
background: darken(#292929, 5);
}
}
/* Shipping configurations */
/* Shipping configurations */
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.shp-lean {
border: 1px solid $color-gray4;
border-radius: 0;
.shp-lean {
border: 1px solid #8d8d8d;
border-radius: 0;
label {
background-color: $color-white;
box-shadow: none;
color: #303030;
padding: 8px 12px;
label {
background-color: #fff;
box-shadow: none;
color: #303030;
padding: 8px 12px;
svg path {
fill: #d8c8ac;
}
}
}
}
svg path {
fill: #d8c8ac;
}
}
}
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.shp-summary-group-info {
border-color: $color-gray4;
}
.shp-summary-group-info {
border-color: #8d8d8d;
}
.address-summary {
background: none;
border-color: $color-gray4;
border-radius: 0;
color: #303030;
padding: 12px;
.address-summary {
background: none;
border-color: #8d8d8d;
border-radius: 0;
color: #303030;
padding: 12px;
@include mq(md, max) {
background-position: 8px 9px;
}
@include mq(md, max) {
background-position: 8px 9px;
}
a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
}
a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
}
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
}
.shp-summary-group-price,
.shp-summary-package {
color: #8d8d8d;
}
.shp-summary-group-price {
padding-right: 16px;
}
.shp-summary-group-price {
padding-right: 16px;
}
.shp-summary-package {
padding-left: 16px;
}
.shp-summary-package {
padding-left: 16px;
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: #d8c8ac;
border: 1px solid #d8c8ac;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: #d8c8ac;
border: 1px solid #d8c8ac;
}
.vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50);
}
}
}
}
.vtex-omnishipping-1-x-deliveryOptionActive {
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,38 +1,38 @@
.empty-cart {
font-family: $font-family;
&-content {
color: $color-black;
text-align: center;
font-family: $font-family;
&-content {
color: #292929;
text-align: center;
@include mq(md, max) {
padding: 0 16px;
}
}
@include mq(md, max) {
padding: 0 16px;
}
}
&-title {
font-size: 20px;
}
&-title {
font-size: 20px;
}
&-links {
.link-choose-products {
background: $color-black;
border: none;
border-radius: 5px;
transition: ease-in 0.22s all;
outline: none;
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;
text-transform: uppercase;
&-links {
.link-choose-products {
background: #292929;
border: none;
border-radius: 5px;
transition: ease-in 0.22s all;
outline: none;
font-family: $font-family;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-align: center;
letter-spacing: 0.05em;
color: #fff;
text-transform: uppercase;
&:hover {
background: lighten($color-black, 5);
}
}
}
&:hover {
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

@ -2,37 +2,38 @@
@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");
$font-family: "Open Sans", sans-serif;
$font-family-secundary:"Tenor 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: (
xs: 0,
cstm: 400,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
xs: 0,
cstm: 400,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
) !default;
$z-index: (
level1: 5,
level2: 10,
level3: 15,
level4: 20,
level5: 25
level1: 5,
level2: 10,
level3: 15,
level4: 20,
level5: 25,
) !default;