feat: adicionando estilo a página (finalizar compra)

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-12-17 22:04:26 -03:00
parent fed1e56e31
commit 904eeabd59
3 changed files with 388 additions and 237 deletions

View File

@ -1,289 +1,435 @@
.checkout-container {
.client-pre-email {
border-color: $color-gray4;
font-family: $font-family;
padding-top: 8px;
@media (min-width: $checkout2500px) {
overflow: visible;
}
@media (max-width: $checkout375px) {
overflow: hidden;
}
.client-pre-email {
border-color: $color-black2;
font-family: $font-family;
padding-top: 8px;
.link-cart {
a {
color: $color-black;
font-size: 14px;
.link-cart {
a {
color: $color-black2;
font-size: 14px;
font-family: "Tenor Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
@media (min-width: $checkout2500px) {
font-size: 28px;
line-height: 33px;
}
@media (max-width: $checkout1024px) {
font-size: 10px;
line-height: 12px;
}
&:hover {
color: lighen($color-black, 10);
}
}
}
&:hover {
color: lighen($color-black, 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 {
font-family: "Tenor Sans";
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 23px;
text-transform: uppercase;
color: $color-black2;
@media (min-width: $checkout2500px) {
font-size: 40px;
line-height: 47px;
}
@media (max-width: $checkout1024px) {
font-size: 14px;
line-height: 16px;
}
@media (max-width: $checkout375px) {
font-size: 10px;
line-height: 12px;
margin-top: 100px;
}
}
span {
color: #303030;
font-size: 24px;
}
small {
font-family: "Tenor Sans";
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 23px;
text-transform: uppercase;
color: $color-black2;
@media (min-width: $checkout2500px) {
font-size: 40px;
line-height: 47px;
}
@media (max-width: $checkout1024px) {
font-size: 14px;
line-height: 16px;
}
@media (max-width: $checkout375px) {
font-size: 10px;
line-height: 12px;
}
}
}
}
small {
color: $color-gray4;
}
}
}
.client-email {
margin: 0 0 16px;
.client-email {
margin: 0 0 16px;
input {
box-shadow: none;
color: $color-gray2;
font-family: $font-family;
padding: 15.28px 14.09px;
box-sizing: border-box;
border: 1px solid #000000;
border-radius: 5px 0px 0px 5px;
width: 443px;
height: 50px;
left: 8px;
position: relative;
@media (max-width: 490px) {
width: auto;
}
@media (min-width: $checkout2500px) {
width: 765.37px;
height: 50px;
padding: 15.28px 14.35px;
}
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;
@media (max-width: $checkout375px) {
width: 216px !important;
position: relative;
left: 1px;
}
@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 {
border: none;
font-family: $font-family;
width: 126.76px;
height: 52px;
right: 0;
top: 0;
background: $color-blue2;
border-radius: 0px 8px 8px 0px;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
color: $color-black2;
cursor: pointer;
position: relative;
@media (max-width: 490px) {
height: 48px;
margin: 0;
position: absolute;
}
@media (min-width: $checkout2500px) {
width: 219px;
height: 52px;
font-size: 28px;
}
@media (max-width: 490px) {
height: 48px;
margin: 0;
position: absolute;
}
}
@media (max-width: $checkout375px) {
width: 127px !important;
position: relative;
right: 2px;
}
}
span.help.error {
color: red;
}
}
span.help.error {
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: $color-red;
}
}
.emailInfo {
padding: 16px;
background-color: $color-white;
border: 1px solid $color-gray4;
border-radius: 0;
.emailInfo {
padding: 16px;
background-color: $color-white;
border: 1px solid $color-black2;
border-radius: 5px;
width: 366.1px;
height: 116.1px;
@media (min-width: $checkout2500px) {
width: 742.1px;
height: 204.59px;
}
@media (max-width: $checkout375px) {
width: 313px;
}
h3 {
margin: 0 0 8px 0;
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: $color-black2 !important;
@media (min-width: $checkout2500px) {
font-size: 24px;
line-height: 33px;
}
}
h3 {
color: #303030;
margin: 0 0 8px 0;
}
ul {
margin: 0;
ul {
margin: 0;
li {
span {
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: $color-black2;
@media (min-width: $checkout2500px) {
font-size: 24px;
line-height: 33px;
}
}
li {
span {
color: $color-black;
}
i::before {
color: $color-blue2;
font-size: 1rem;
opacity: 1;
@media (min-width: $checkout2500px) {
font-size: 33px;
}
}
}
}
i::before {
color: $color-black;
font-size: 1rem;
opacity: 1;
}
}
}
i::before {
color: $color-black;
font-size: 6rem;
opacity: 0.5;
}
}
}
i::before {
color: $color-black;
font-size: 6rem;
opacity: 0.5;
}
}
}
a#orderform-to-cart {
margin-right: 16px;
}
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray4;
font-family: $font-family;
padding: 16px;
input#client-pre-email::placeholder {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-black2;
@media (min-width: $checkout2500px) {
font-size: 24px;
line-height: 33px;
}
}
.accordion-heading {
span {
color: #303030;
margin-bottom: 8px;
padding: 0;
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray4;
font-family: $font-family;
padding: 16px;
i::before {
fill: #303030;
}
}
.accordion-heading {
span {
color: #303030;
margin-bottom: 8px;
padding: 0;
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;
}
}
i::before {
fill: #303030;
}
}
.accordion-inner {
padding: 0;
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;
}
}
/* General configurations */
.accordion-inner {
padding: 0;
.client-notice {
color: $color-black;
}
/* General configurations */
p {
label {
color: $color-black;
font-weight: 500;
}
.client-notice {
color: $color-black;
}
select,
input {
border-radius: 0;
border: 1px solid $color-gray4;
box-shadow: none;
}
p {
label {
color: $color-black;
font-weight: 500;
}
.help.error {
color: red;
}
}
select,
input {
border-radius: 0;
border: 1px solid $color-gray4;
box-shadow: none;
}
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
font-weight: 500;
text-decoration: underline;
}
}
.help.error {
color: red;
}
}
.state-inscription-box span {
font-weight: 500;
}
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
font-weight: 500;
text-decoration: underline;
}
}
button.submit {
border: none;
border-radius: 5px;
background: $color-black;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
.state-inscription-box span {
font-weight: 500;
}
&:hover {
background: lighten($color-black, 5);
}
button.submit {
border: none;
border-radius: 5px;
background: $color-black;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
&:active {
background: darken($color-black, 5);
}
}
&:hover {
background: lighten($color-black, 5);
}
/* Shipping configurations */
&:active {
background: darken($color-black, 5);
}
}
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
/* Shipping configurations */
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
.shp-lean {
border: 1px solid $color-gray4;
border-radius: 0;
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
font-size: 14px;
font-weight: 500;
}
label {
background-color: $color-white;
box-shadow: none;
color: #303030;
padding: 8px 12px;
.shp-lean {
border: 1px solid $color-gray4;
border-radius: 0;
svg path {
fill: #d8c8ac;
}
}
}
}
label {
background-color: $color-white;
box-shadow: none;
color: #303030;
padding: 8px 12px;
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
svg path {
fill: #d8c8ac;
}
}
}
}
.shp-summary-group-info {
border-color: $color-gray4;
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.address-summary {
background: none;
border-color: $color-gray4;
border-radius: 0;
color: #303030;
padding: 12px;
.shp-summary-group-info {
border-color: $color-gray4;
}
@include mq(md, max) {
background-position: 8px 9px;
}
.address-summary {
background: none;
border-color: $color-gray4;
border-radius: 0;
color: #303030;
padding: 12px;
a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
}
@include mq(md, max) {
background-position: 8px 9px;
}
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
}
a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
}
.shp-summary-group-price {
padding-right: 16px;
}
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
}
.shp-summary-package {
padding-left: 16px;
}
.shp-summary-group-price {
padding-right: 16px;
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
.shp-summary-package {
padding-left: 16px;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: #d8c8ac;
border: 1px solid #d8c8ac;
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
.vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50);
}
}
}
}
.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);
}
}
}
}
}
.client-pre-email .emailInfo .icon-lock {
@media (max-width: $checkout375px) {
display: none;
}
}

View File

@ -103,6 +103,9 @@ body {
@include mq(md, max) {
margin-left: 30px;
@media (max-width: $checkout1024px) {
margin-left: 16px;
}
}
}

View File

@ -24,6 +24,8 @@ $color-blue2: #00c8ff;
$color-green: #4caf50;
$color-red: #FF0000;
/* Grid breakpoints */
$grid-breakpoints: (
xs: 0,