develop #14

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

View File

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

View File

@ -8,6 +8,8 @@ $font-family-secundary: "Tenor Sans", sans-serif;
$color-black: #292929; $color-black: #292929;
$color-black2: #000000; $color-black2: #000000;
$color-red: #ff0000;
$color-white: #fff; $color-white: #fff;
$color-gray: #6c6c6c; $color-gray: #6c6c6c;