develop #14

Merged
ManuelaLuanaSchumackerTavares merged 26 commits from develop into main 2022-12-18 21:45:24 +00:00
2 changed files with 131 additions and 56 deletions
Showing only changes of commit 1227061b0e - Show all commits

View File

@ -13,7 +13,7 @@
display: none; display: none;
} }
.cart { .cart {
border: 3px solid $color-gray3; border: 1px solid $color-gray3;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
padding: 16px; padding: 16px;
@ -114,10 +114,32 @@
color: $color-black; color: $color-black;
padding: 0 0 16px; padding: 0 0 16px;
font-style: normal; font-style: normal;
font-weight: bold; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
&.shipping-date {
font-size: 0;
&::after {
content: "Frete";
font-weight: 400;
font-family: $font-family-secundary;
font-size: 14px;
line-height: 16px;
}
}
&.product-price {
&::after {
content: "Unidade";
font-weight: 400;
font-family: $font-family-secundary;
font-size: 14px;
line-height: 16px;
}
}
@include mq(md, max) { @include mq(md, max) {
&.quantity-price, &.quantity-price,
&.shipping-date { &.shipping-date {
@ -155,7 +177,7 @@
} }
a { a {
color: $color-blue; color: $color-black2;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
@ -163,7 +185,7 @@
transition: ease-in 0.22s all; transition: ease-in 0.22s all;
&:hover { &:hover {
color: darken($color-blue, 10); color: darken($color-black, 10);
text-decoration: none; text-decoration: none;
} }
@ -179,7 +201,7 @@
} }
td.shipping-date { td.shipping-date {
color: $color-gray2; color: $color-gray6;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
@ -190,6 +212,8 @@
.product-price { .product-price {
min-width: 100px; min-width: 100px;
font-size: 0;
@include mq(md, max) { @include mq(md, max) {
min-width: 78px; min-width: 78px;
} }
@ -200,25 +224,34 @@
} }
span.list-price { span.list-price {
color: $color-gray2; color: $color-gray6;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
text-decoration-line: line-through; text-decoration-line: line-through;
@include mq(sm, max) { @include mq(sm, max) {
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
} }
.muted {
color: $color-gray6;
}
.old-product-price-label { .old-product-price-label {
text-transform: lowercase; text-transform: lowercase;
} }
.new-product-price-label {
color: $color-black;
}
} }
} }
td.quantity { td.quantity {
align-items: center; align-items: center;
border: 1px solid $color-gray3; border: 1px solid $color-gray3;
border-radius: 0; border-radius: 8px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -236,7 +269,7 @@
background-color: $color-white; background-color: $color-white;
border: 1px solid $color-gray3; border: 1px solid $color-gray3;
border-radius: 0; border-radius: 0;
border-width: 0 1px; border-width: 0;
display: block; display: block;
max-height: 38px; max-height: 38px;
margin: 0 !important; margin: 0 !important;
@ -253,26 +286,26 @@
.icon-plus-sign, .icon-plus-sign,
.icon-minus-sign { .icon-minus-sign {
&::before { &::before {
color: $color-black; color: $color-blue2;
display: block; display: block;
font-weight: 500; font-weight: 500;
padding: 1px 12px; padding: 1px 12px;
} }
} }
.icon-minus-sign { // .icon-minus-sign {
&:before { // // &:before {
content: "-"; // // content: "-";
font-size: 16px; // // font-size: 16px;
} // // }
} // }
.icon-plus-sign { // .icon-plus-sign {
&:before { // &:before {
content: "+"; // content: "+";
font-size: 14px; // font-size: 14px;
} // }
} // }
.item-quantity-change { .item-quantity-change {
@media (max-width: 979px) and (min-width: 768px) { @media (max-width: 979px) and (min-width: 768px) {
@ -302,6 +335,12 @@
line-height: 16px; line-height: 16px;
color: $color-black; color: $color-black;
} }
.total-selling-price {
&.total-selling-price {
font-weight: 700;
}
}
} }
.quantity-price { .quantity-price {
@ -355,8 +394,9 @@
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 24px; font-size: 24px;
line-height: 28px; line-height: 33px;
color: $color-gray2; font-family: $font-family;
color: $color-black2;
@include mq(md, max) { @include mq(md, max) {
margin-top: 0; margin-top: 0;
@ -365,7 +405,8 @@
.srp-description { .srp-description {
color: $color-gray2; color: $color-gray2;
font-size: 12px; font-size: 14px;
font-weight: 400;
line-height: 18px; line-height: 18px;
margin: 0 0 12px; margin: 0 0 12px;
} }
@ -373,9 +414,9 @@
button.shp-open-options { button.shp-open-options {
background-color: $color-gray5; background-color: $color-gray5;
border: none; border: none;
border-radius: 5px; border-radius: 8px;
color: $color-gray2; color: $color-black2;
font-size: 16px; font-size: 14px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
line-height: 19px; line-height: 19px;
font-weight: 500; font-weight: 500;
@ -405,18 +446,22 @@
} }
.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%;
cursor: pointer;
padding: 12px 36px;
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;
white-space: nowrap;
text-transform: uppercase;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten($color-black, 5);
@ -444,12 +489,12 @@
} }
&__current { &__current {
border: 1px solid $color-blue; border: 1px solid $color-black2;
border-radius: 100px; border-radius: 100px;
} }
.blue { .blue {
color: $color-blue; color: $color-black2;
} }
label { label {
@ -462,6 +507,25 @@
} }
.srp-postal-code { .srp-postal-code {
.ship-country {
label {
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-black2;
margin-bottom: 12px;
}
select {
border: 1px solid $color-gray7;
border-radius: 5px;
box-shadow: none;
color: $color-black2;
}
}
.ship-postalCode { .ship-postalCode {
label { label {
font-family: $font-family; font-family: $font-family;
@ -469,15 +533,15 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-black; color: $color-black2;
margin-bottom: 12px; margin-bottom: 12px;
} }
input { input {
border: 1px solid $color-gray3; border: 1px solid $color-gray7;
border-radius: 5px; border-radius: 5px;
box-shadow: none; box-shadow: none;
color: $color-gray3; color: $color-black2;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
padding: 12px 8px; padding: 12px 8px;
@ -485,11 +549,14 @@
} }
& ~ button { & ~ button {
background-color: $color-black; background-color: $color-blue2;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-white; color: $color-white;
font-size: 12px; font-style: normal;
font-size: 14px;
font-weight: 700;
line-height: 19px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
outline: none; outline: none;
@ -501,22 +568,28 @@
text-transform: uppercase; text-transform: uppercase;
&:hover { &:hover {
background-color: lighten($color-black, 5); background-color: lighten($color-blue, 5);
} }
&:active { &:active {
background-color: darken($color-black, 5); background-color: darken($color-blue, 5);
} }
} }
small a { small a {
font-family: $font-family; font-size: 0;
&::after {
content: "Não sei meu código postal";
font-family: $font-family-secundary;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 10px; font-size: 10px;
line-height: 12px; line-height: 12px;
color: $color-blue; color: $color-black2;
margin-top: 7px; margin-top: 7px;
text-decoration-line: underline;
cursor: pointer;
}
} }
span.help.error { span.help.error {
@ -525,7 +598,7 @@
position: absolute; position: absolute;
left: 0; left: 0;
width: 100%; width: 100%;
top: 17px; top: 5px;
} }
} }
} }
@ -608,7 +681,7 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $color-black2;
text-decoration: none; text-decoration: none;
} }
} }
@ -734,7 +807,7 @@
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: 21px;
color: $color-black; color: $color-black;
@ -776,31 +849,31 @@
font-weight: normal; font-weight: normal;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
color: $color-blue; color: $color-black2;
} }
} }
.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-blue, 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: 13px;
letter-spacing: 0.05em; letter-spacing: 0.05em;
color: $color-white; color: $color-black2;
text-transform: uppercase; text-transform: uppercase;
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;

View File

@ -15,6 +15,8 @@ $color-gray2: #7d7d7d;
$color-gray3: #f0f0f0; $color-gray3: #f0f0f0;
$color-gray4: #8d8d8d; $color-gray4: #8d8d8d;
$color-gray5: #e5e5e5; $color-gray5: #e5e5e5;
$color-gray6: #989898;
$color-gray7: #c4c4c4;
$color-blue: #4267b2; $color-blue: #4267b2;
$color-blue2: #00c8ff; $color-blue2: #00c8ff;