feat: Cria checkout style #6

Merged
ThiagoDutraSampaioLeite merged 1 commits from feature/checkout into main 2022-12-16 21:33:57 +00:00
5 changed files with 292 additions and 284 deletions

View File

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

View File

@ -1,13 +1,24 @@
.checkout-container { .checkout-container {
.client-pre-email { .client-pre-email {
border-color: $color-gray4; border-color: $color-black-500;
font-family: $font-family; font-family: $font-family;
padding-top: 8px; padding-top: 8px;
input {
// color: $color-black-500;
font-size: 12px;
}
#client-pre-email::placeholder {
color: $color-black-500;
}
.link-cart { .link-cart {
a { a {
color: $color-black; color: $color-black-500;
font-size: 14px; font-size: 14px;
font-family: $font-family-secundary;
line-height: 16px;
text-transform: uppercase;
&:hover { &:hover {
color: lighen($color-black, 10); color: lighen($color-black, 10);
@ -25,12 +36,17 @@
margin-bottom: 16px; margin-bottom: 16px;
span { span {
color: #303030; color: $color-black-500;
font-size: 24px; font-size: 20px;
font-family: $font-family-secundary;
text-transform: uppercase;
} }
small { small {
color: $color-gray4; color: $color-black-500;
font-weight: 20px;
font-family: $font-family-secundary;
text-transform: uppercase;
} }
} }
} }
@ -43,7 +59,7 @@
color: $color-black; color: $color-black;
font-family: $font-family; font-family: $font-family;
padding: 0 16px; padding: 0 16px;
border: 2px solid $color-gray3; border: 1px solid $color-black-500;
box-sizing: border-box; box-sizing: border-box;
border-radius: 5px; border-radius: 5px;
@ -53,13 +69,15 @@
} }
button { button {
background-color: $color-black; background-color: $color-blue-100;
border-radius: 5px; border-radius: 0 5px 5px 0;
border: none; border: none;
font-family: $font-family; font-family: $font-family;
height: 54px; height: 54px;
right: 0; right: 0;
top: 0; top: 0;
color: $color-black-500;
font-weight: bold;
@media (max-width: 490px) { @media (max-width: 490px) {
height: 48px; height: 48px;
@ -70,14 +88,16 @@
span.help.error { span.help.error {
color: red; color: red;
font-weight: 700;
font-size: 12px;
} }
} }
.emailInfo { .emailInfo {
padding: 16px; padding: 16px;
background-color: $color-white; background-color: $color-white;
border: 1px solid $color-gray4; border: 1px solid $color-black-500;
border-radius: 0; border-radius: 5px;
h3 { h3 {
color: #303030; color: #303030;
@ -90,10 +110,12 @@
li { li {
span { span {
color: $color-black; color: $color-black;
font-weight: 700;
font-size: 12px;
} }
i::before { i::before {
color: $color-black; color: $color-blue-100;
font-size: 1rem; font-size: 1rem;
opacity: 1; opacity: 1;
} }

View File

@ -2,6 +2,12 @@
@include mq(md, max) { @include mq(md, max) {
width: 100%; width: 100%;
} }
#cart-title {
font-size: 24px;
color: $color-black;
letter-spacing: 5%;
}
} }
.cart-template { .cart-template {
@ -13,7 +19,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,7 +120,7 @@
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;
@ -227,6 +233,7 @@
max-width: 118px; max-width: 118px;
padding: 0; padding: 0;
width: max-content !important; width: max-content !important;
border-radius: 8px;
@media (max-width: 490px) { @media (max-width: 490px) {
margin-left: 84px !important; margin-left: 84px !important;
@ -262,15 +269,15 @@
.icon-minus-sign { .icon-minus-sign {
&:before { &:before {
content: "-";
font-size: 16px; font-size: 16px;
color: $color-blue-100;
} }
} }
.icon-plus-sign { .icon-plus-sign {
&:before { &:before {
content: "+"; color: $color-blue-100;
font-size: 14px; font-size: 16px;
} }
} }
@ -295,12 +302,15 @@
.icon-question-sign { .icon-question-sign {
display: none; display: none;
} }
.total-selling-price {
font-weight: bold;
}
span { span {
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 16px;
color: $color-black; color: $color-black-500;
} }
} }
@ -315,7 +325,7 @@
top: 0; top: 0;
} }
.icon::before { .icon::before {
color: $color-gray4; color: $color-gray6;
font-size: 15px; font-size: 15px;
@include mq(md, max) { @include mq(md, max) {
@ -630,6 +640,7 @@
} }
.coupon-label label { .coupon-label label {
display: flex;
margin-bottom: 12px; margin-bottom: 12px;
font-family: $font-family; font-family: $font-family;
font-style: normal; font-style: normal;
@ -641,6 +652,7 @@
} }
.coupon-fields { .coupon-fields {
display: flex;
margin-bottom: 32px; margin-bottom: 32px;
@include mq(sm, max) { @include mq(sm, max) {
@ -673,14 +685,14 @@
} }
button { button {
background: $color-black; background: $color-blue-100;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
color: $color-white; color: $color-black-500;
font-size: 12px; font-size: 12px;
height: 36px; height: 36px;
letter-spacing: 1px; letter-spacing: 1px;
margin-left: 6px; margin-left: 15px;
outline: none; outline: none;
transition: all 0.2s linear; transition: all 0.2s linear;
width: 94px; width: 94px;
@ -738,6 +750,7 @@
font-size: 18px; font-size: 18px;
line-height: 21px; line-height: 21px;
color: $color-black; color: $color-black;
font-weight: bold;
} }
} }
} }
@ -782,7 +795,7 @@
.btn-place-order-wrapper { .btn-place-order-wrapper {
a { a {
background: $color-green; background: $color-blue-100;
border: none; border: none;
border-radius: 5px; border-radius: 5px;
display: block; display: block;
@ -791,7 +804,7 @@
padding: 12px 19px; padding: 12px 19px;
&:hover { &:hover {
background-color: darken($color-green, 5); background-color: darken($color-blue-100, 5);
} }
&:after { &:after {
@ -805,6 +818,9 @@
vertical-align: middle; vertical-align: middle;
line-height: 19px; line-height: 19px;
text-shadow: none; text-shadow: none;
font-weight: bold;
color: $color-black-500;
letter-spacing: 5%;
} }
} }
} }

View File

@ -68,13 +68,13 @@ body {
#cart-title, #cart-title,
#orderform-title { #orderform-title {
color: $color-gray2; color: $color-black-500;
font-family: $font-family; font-family: $font-family;
font-weight: 500; font-weight: bold;
font-size: 36px; font-size: 24px;
line-height: 42px; line-height: 42px;
margin: 40px 0 30px; margin: 40px 0 30px;
letter-spacing: 0.1em; letter-spacing: 0%;
text-transform: uppercase; text-transform: uppercase;
@include mq(md, max) { @include mq(md, max) {

View File

@ -146,34 +146,3 @@
} }
} }
} }
.container-main {
// background-color: burlywood;
#cart-title {
// display: none !important;
}
.empty-cart-content {
.empty-cart-title {
font-size: 24px;
font-family: $font-family;
}
.empty-cart-message {
display: none;
}
.empty-cart-links {
.btn {
width: 327px;
background-color: transparent;
border: 1px solid $color-black;
border-radius: 0;
color: $color-black;
}
// .btn::after {
// content: "continuar comprando";
// color: $color-black;
// }
}
}
}