docs: Substitui os numeros hexadecimais por variáveis

This commit is contained in:
Filipe Quintanilha Evangelista 2022-12-23 14:29:49 -03:00
parent 9ad80491b4
commit a24ee69827
7 changed files with 52 additions and 60 deletions

View File

@ -65,7 +65,7 @@
line-height: 23px; line-height: 23px;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
color: #000000; color: $color-black2;
@include mq(sm, max) { @include mq(sm, max) {
font-size: 12px !important; font-size: 12px !important;
@ -91,7 +91,7 @@
line-height: 23px; line-height: 23px;
text-align: center; text-align: center;
text-transform: uppercase; text-transform: uppercase;
color: #000000; color: $color-black2;
padding: 0; padding: 0;
@include mq(sm, max) { @include mq(sm, max) {
@ -127,10 +127,10 @@
} }
input { input {
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 5px 0px 0px 5px; border-radius: 5px 0px 0px 5px;
box-shadow: none; box-shadow: none;
color: #000000; color: $color-black2;
font-family: $font-family; font-family: $font-family;
padding: 0 16px; padding: 0 16px;
box-sizing: border-box; box-sizing: border-box;
@ -162,7 +162,7 @@
button { button {
min-width: fit-content; min-width: fit-content;
background: #00c8ff; background: #00c8ff;
color: #000000; color: $color-black2;
font-weight: 700; font-weight: 700;
border-radius: 0px 8px 8px 0px; border-radius: 0px 8px 8px 0px;
border: none; border: none;
@ -225,7 +225,7 @@
margin-top: 47px; margin-top: 47px;
padding: 16px; padding: 16px;
background-color: $color-white; background-color: $color-white;
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 5px; border-radius: 5px;
@include mq(md, max) { @include mq(md, max) {
@ -246,7 +246,7 @@
} }
h3 { h3 {
color: #000000; color: $color-black2;
margin: 0 0 9px 0; margin: 0 0 9px 0;
font-weight: 700; font-weight: 700;
@ -269,7 +269,7 @@
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 24px; font-size: 24px;
@ -334,7 +334,7 @@
} }
.accordion-group { .accordion-group {
border: 1px solid #f0f0f0; border: 1px solid $color-gray3;
border-radius: 8px; border-radius: 8px;
font-family: $font-family; font-family: $font-family;
padding: 24px 17px; padding: 24px 17px;
@ -378,7 +378,7 @@
font-weight: 400; font-weight: 400;
font-size: 16px; font-size: 16px;
line-height: 19px; line-height: 19px;
color: #292929; color: $color-black;
i::before { i::before {
fill: #303030; fill: #303030;
@ -421,7 +421,7 @@
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;
@ -566,7 +566,7 @@
label { label {
box-shadow: none; box-shadow: none;
color: #7d7d7d; color: $color-gray2;
padding: 8px 12px; padding: 8px 12px;
@include mq(xl, min) { @include mq(xl, min) {
@ -592,7 +592,7 @@
background: #f2f2f2; background: #f2f2f2;
} }
.vtex-omnishipping-1-x-leanShippingTextLabel { .vtex-omnishipping-1-x-leanShippingTextLabel {
color: #7d7d7d; color: $color-gray2;
font-family: $font-family; font-family: $font-family;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
@ -613,7 +613,7 @@
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: #7d7d7d; color: $color-gray2;
margin-bottom: 11px; margin-bottom: 11px;
@include mq(xl, min) { @include mq(xl, min) {
@ -679,7 +679,7 @@
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: #7d7d7d; color: $color-gray2;
background: none; background: none;
border: 0px; border: 0px;
@ -821,7 +821,7 @@
} }
.vtex-omnishipping-1-x-deliveryOptionActive { .vtex-omnishipping-1-x-deliveryOptionActive {
color: #292929; color: $color-black;
} }
.vtex-omnishipping-1-x-deliveryOptionInactive { .vtex-omnishipping-1-x-deliveryOptionInactive {
@ -853,7 +853,7 @@
font-weight: 700; font-weight: 700;
font-size: 0; font-size: 0;
line-height: 16px; line-height: 16px;
color: #7d7d7d; color: $color-gray2;
} }
label::after { label::after {
@ -898,7 +898,7 @@
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(sm, max) { @include mq(sm, max) {
margin-bottom: 11px; margin-bottom: 11px;
@ -1159,9 +1159,9 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: #f0f0f0; background: $color-gray3;
mix-blend-mode: normal; mix-blend-mode: normal;
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 6px; border-radius: 6px;
margin: 0; margin: 0;
color: #58595b; color: #58595b;
@ -1306,7 +1306,7 @@ div#payments-title {
font-size: 14px; font-size: 14px;
line-height: 24px; line-height: 24px;
letter-spacing: -0.01em; letter-spacing: -0.01em;
color: #7d7d7d; color: $color-gray2;
position: absolute; position: absolute;
top: 27px; top: 27px;
left: 0px; left: 0px;
@ -1343,7 +1343,7 @@ div.cart-template.mini-cart.span4 {
.cart-fixed { .cart-fixed {
height: auto !important; height: auto !important;
h2 { h2 {
border: 1px solid #e5e5e5; border: 1px solid $color-gray5;
border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0;
border-bottom: none; border-bottom: none;
text-align: left; text-align: left;
@ -1365,8 +1365,8 @@ div.cart-template.mini-cart.span4 {
border: none; border: none;
border-right: 1px solid #e5e5e5; border-right: 1px solid $color-gray5;
border-left: 1px solid #e5e5e5; border-left: 1px solid $color-gray5;
border-radius: 0; border-radius: 0;
padding: 0 17px 19px 17px; padding: 0 17px 19px 17px;
margin: 0; margin: 0;
@ -1391,7 +1391,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: #000000; color: $color-black2;
@include mq(sm, max) { @include mq(sm, max) {
max-width: 120px; max-width: 120px;
@ -1427,7 +1427,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
color: #292929; color: $color-black;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 24px; font-size: 24px;
@ -1438,7 +1438,7 @@ div.cart-template.mini-cart.span4 {
} }
.summary { .summary {
border: 1px solid #e5e5e5; border: 1px solid $color-gray5;
border-radius: 0 0 8px 8px; border-radius: 0 0 8px 8px;
border-top: none; border-top: none;
width: 99.4%; width: 99.4%;
@ -1457,7 +1457,7 @@ div.cart-template.mini-cart.span4 {
line-height: 16px; line-height: 16px;
text-align: right; text-align: right;
text-decoration-line: underline; text-decoration-line: underline;
color: #000000; color: $color-black2;
padding: 0 17px 0 0; padding: 0 17px 0 0;
@include mq(xl, min) { @include mq(xl, min) {
@ -1484,7 +1484,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;
@ -1498,7 +1498,7 @@ div.cart-template.mini-cart.span4 {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
color: #7d7d7d; color: $color-gray2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;
@ -1509,7 +1509,7 @@ div.cart-template.mini-cart.span4 {
tfoot { tfoot {
border: none; border: none;
border-top: 1px solid #e5e5e5; border-top: 1px solid $color-gray5;
td.info { td.info {
padding: 30px 0 22px 17px; padding: 30px 0 22px 17px;
@ -1769,7 +1769,3 @@ p.client-email.input.text.required {
.card-flags { .card-flags {
display: block; display: block;
} }
p.PaymentCardHolderDocument.input.text.required.mask {
display: none;
}

View File

@ -73,7 +73,7 @@
.shipping-date, .shipping-date,
.price { .price {
color: #7d7d7d; color: $color-gray2;
} }
} }
} }
@ -243,7 +243,7 @@
} }
a { a {
color: #000000; color: $color-black2;
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: 12px;
@ -362,7 +362,7 @@
td.quantity { td.quantity {
align-items: center; align-items: center;
border: 1px solid #f0f0f0; border: 1px solid $color-gray3;
border-radius: 8px; border-radius: 8px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
@ -721,12 +721,12 @@
} }
.blue { .blue {
color: #000000; color: $color-black2;
} }
} }
&__current { &__current {
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 100px; border-radius: 100px;
} }
@ -734,7 +734,7 @@
width: 50%; width: 50%;
&:active { &:active {
background-color: #f0f0f0; background-color: $color-gray3;
} }
} }
} }
@ -837,7 +837,7 @@
font-weight: normal; font-weight: normal;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
color: #000000; color: $color-black2;
margin-top: 4px; margin-top: 4px;
text-decoration: underline; text-decoration: underline;
@ -903,11 +903,11 @@
} }
&__sla { &__sla {
color: #7d7d7d; color: $color-gray2;
} }
&__price { &__price {
color: #7d7d7d; color: $color-gray2;
font-weight: 500; font-weight: 500;
} }
@ -949,7 +949,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: #000000; color: $color-black2;
text-decoration: none; text-decoration: none;
@include mq(xl, min) { @include mq(xl, min) {
@ -1044,7 +1044,7 @@
border: none; border: none;
border-radius: 8px; border-radius: 8px;
font-family: $font-family; font-family: $font-family;
color: #000000; color: $color-black2;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 19px; line-height: 19px;
@ -1181,7 +1181,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 24px; font-size: 24px;
@ -1214,7 +1214,7 @@
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: #000000; color: $color-black2;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;
@ -1261,7 +1261,7 @@
&__delivery, &__delivery,
&__pickup { &__pickup {
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 28px; font-size: 28px;

View File

@ -35,7 +35,7 @@
} }
.link-choose-products { .link-choose-products {
background-color: #ffffff; background-color: #ffffff;
border: 1px solid #000000; border: 1px solid $color-black2;
border-radius: 0px; border-radius: 0px;
outline: none; outline: none;
font-family: $font-family-secundary; font-family: $font-family-secundary;
@ -44,7 +44,7 @@
font-size: 0px; font-size: 0px;
line-height: 16px; line-height: 16px;
text-align: center; text-align: center;
color: #000000; color: $color-black2;
text-transform: uppercase; text-transform: uppercase;
width: 28.1%; width: 28.1%;
margin: 0; margin: 0;

View File

@ -92,7 +92,7 @@ body {
font-weight: 700; font-weight: 700;
font-size: 24px; font-size: 24px;
line-height: 33px; line-height: 33px;
color: #000000; color: $color-black2;
font-family: $font-family; font-family: $font-family;
text-transform: uppercase; text-transform: uppercase;
margin: 0 0 32px 0; margin: 0 0 32px 0;

View File

@ -12,7 +12,7 @@
font-size: 24px; font-size: 24px;
line-height: 38px; line-height: 38px;
align-self: center; align-self: center;
color: #000000; color: $color-black2;
@include mq(sm, max) { @include mq(sm, max) {
font-size: 14px; font-size: 14px;
@ -116,7 +116,7 @@
font-size: 13px; font-size: 13px;
line-height: 18px; line-height: 18px;
text-align: center; text-align: center;
color: #000000; color: $color-black2;
@include mq(xl, min) { @include mq(xl, min) {
font-size: 26px; font-size: 26px;

View File

@ -161,18 +161,13 @@
width: 98%; width: 98%;
} }
.card-flags {
display: flex !important;
justify-content: center !important;
}
#creditCardpayment-card-0Brand { #creditCardpayment-card-0Brand {
width: 90%; width: 90%;
} }
#go-to-cart-button { #go-to-cart-button {
width: 99.8%; width: 99.8%;
border: 1px solid #e5e5e5; border: 1px solid $color-gray5;
border-top: none; border-top: none;
border-bottom: none; border-bottom: none;

View File

@ -6,6 +6,7 @@ $font-family-secundary: "Tenor Sans", sans-serif;
/* Colors */ /* Colors */
$color-black: #292929; $color-black: #292929;
$color-black2: #000000;
$color-white: #fff; $color-white: #fff;