feature/body #2

Merged
YahToth merged 6 commits from feature/body into main 2022-12-19 08:58:30 +00:00
3 changed files with 327 additions and 220 deletions
Showing only changes of commit 6e0ee168e1 - Show all commits

View File

@ -709,7 +709,6 @@
font-size: 14px;
line-height: 19px;
border-radius: 100px;
// text-shadow: 1.3px 1px lighten($color-black-100, 50);
}
.vtex-omnishipping-1-x-addressFormPart1 {

View File

@ -5,7 +5,7 @@
}
.cart-template {
font-family: $font-family;
font-family: $font-family-secundary;
@include mq(md, max) {
padding: 0 0;
}
@ -13,10 +13,11 @@
display: none;
}
.cart {
border: 3px solid $color-gray3;
border: 1px solid $color-gray3;
box-sizing: border-box;
border-radius: 5px;
padding: 16px;
padding: 16px 29px 16px 16px;
margin: 0 0 48px 0;
@include mq(md, max) {
margin: 0px 0 25px 0;
@ -25,14 +26,20 @@
border-radius: 0;
}
}
.cart-fixed.affix {
position: relative !important;
}
.cart-fixed {
font-family: $font-family;
width: 100%;
height: 397px !important;
padding: 24px 16px;
box-sizing: border-box;
h2 {
background: $color-white;
background: $color-white-500;
border: none;
color: #303030;
font-size: 14px;
@ -61,20 +68,26 @@
border-top: 1px solid #e5e5e5;
}
.shipping-date,
.price {
color: #7d7d7d;
.shipping-date {
display: none;
}
}
}
.summary-template-holder {
border-top: none;
background: $color-white;
background: $color-white-500;
.summary-totalizers {
max-width: unset;
}
}
#go-to-cart-button a {
color: #303030;
font-family: $font-family;
color: $color-black-500;
font-size: 12px;
line-height: 16px;
text-decoration: underline;
}
@ -85,24 +98,34 @@
}
#payment-data-submit {
background: $color-black;
font-family: "Open Sans", sans-serif;
background: $color-green2;
border: none;
border-radius: 0;
border-radius: 8px;
color: $color-white;
outline: none;
transition: all 0.2s linear;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
letter-spacing: 0.05em;
&:hover {
background: lighten($color-black, 5);
background: lighten($color-green2, 5);
}
&:active {
background: darken($color-black, 5);
background: darken($color-green2, 5);
}
.icon-lock {
display: none;
}
}
}
.lookatme {
background-color: $color-white;
background-color: $color-white-500;
}
.cart-items {
@ -111,12 +134,50 @@
}
th {
color: $color-black;
font-family: $font-family-secundary;
color: $color-black-100;
padding: 0 0 16px;
font-style: normal;
font-weight: bold;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: unset;
vertical-align: unset;
&.product {
width: 40.64%;
}
&.shipping-date {
font-size: 0;
width: 15.05%;
&::after {
content: "Frete";
font-family: $font-family-secundary;
color: $color-black-100;
font-weight: 400;
font-size: 14px;
line-height: 16px;
}
}
&.product-price {
font-size: 0;
width: 15.15%;
&::after {
content: "Unidade";
font-family: $font-family-secundary;
color: $color-black-100;
font-weight: 400;
font-size: 14px;
line-height: 16px;
}
}
&.quantity {
width: 18.53%;
}
@include mq(md, max) {
&.quantity-price,
@ -130,45 +191,48 @@
height: auto;
padding: 0;
width: 60px;
background: none;
a {
@include mq(sm, max) {
width: 72px;
display: block;
margin-right: 16px;
}
}
img {
height: 60px;
max-width: 100%;
width: auto;
@include mq(sm, max) {
height: 72px;
width: auto;
}
max-width: unset;
width: 60px;
transform: rotateY(180deg);
object-fit: cover;
}
}
.product-name {
padding-right: 0;
font-family: $font-family-secundary;
color: $color-black-500;
font-size: 12px;
line-height: 14px;
white-space: unset;
@include mq(lg, max) {
width: 250px;
}
a {
color: $color-blue;
font-style: normal;
font-weight: normal;
color: $color-black-500;
font-size: 12px;
line-height: 14px;
transition: ease-in 0.22s all;
text-decoration: none;
padding-left: 16px;
&:hover {
color: darken($color-blue, 10);
text-decoration: none;
}
@media (max-width: 490px) {
margin-left: 23px;
@include mq(md, max) {
margin: 0;
}
}
@ -179,9 +243,12 @@
}
td.shipping-date {
width: 147px;
color: $color-gray2;
font-size: 12px;
line-height: 14px;
text-align: unset;
padding: 0;
@include mq(md, max) {
display: none;
@ -189,7 +256,11 @@
}
.product-price {
text-align: unset;
min-width: 100px;
width: 148px;
padding: 0;
@include mq(md, max) {
min-width: 78px;
}
@ -213,80 +284,9 @@
text-transform: lowercase;
}
}
}
td.quantity {
align-items: center;
border: 1px solid $color-gray3;
border-radius: 0;
box-sizing: border-box;
display: flex;
justify-content: center;
margin: 6px auto 0;
max-height: 38px;
max-width: 118px;
padding: 0;
width: max-content !important;
@media (max-width: 490px) {
margin-left: 84px !important;
}
input {
background-color: $color-white;
border: 1px solid $color-gray3;
border-radius: 0;
border-width: 0 1px;
display: block;
max-height: 38px;
margin: 0 !important;
padding: 8px 0;
width: 38px;
color: $color-gray2;
box-shadow: none;
@include mq(lg, max) {
width: 24px !important;
}
}
.icon-plus-sign,
.icon-minus-sign {
&::before {
color: $color-black;
display: block;
font-weight: 500;
padding: 1px 12px;
}
}
.icon-minus-sign {
&:before {
content: "-";
font-size: 16px;
}
}
.icon-plus-sign {
&:before {
content: "+";
font-size: 14px;
}
}
.item-quantity-change {
@media (max-width: 979px) and (min-width: 768px) {
position: inherit;
bottom: inherit;
left: inherit;
height: inherit;
width: inherit;
top: inherit;
}
@media (max-width: 490px) {
padding: 0;
}
.price-details {
display: none;
}
}
@ -300,14 +300,25 @@
font-weight: normal;
font-size: 14px;
line-height: 16px;
color: $color-black;
color: $color-black-100;
}
}
.quantity-price {
text-align: unset;
padding: 0;
@include mq(md, max) {
display: none;
}
.total-selling-price {
text-align: unset;
font-size: 14px;
line-height: 19px;
font-weight: 700;
font-family: $font-family;
}
}
.item-remove {
@ -326,7 +337,7 @@
.item-unavailable-message {
background-color: #d8c8ac;
color: $color-white;
color: $color-white-500;
.icon-warning-sign {
color: #bb4f4f;
@ -338,6 +349,56 @@
}
}
.table td {
padding: 0;
}
td.quantity {
text-align: start;
border: 1px solid #f0f0f0;
border-radius: 8px;
box-sizing: border-box;
display: flex;
align-items: center;
max-width: 99px;
padding: 9px 11px;
height: 34px;
margin-top: 13px;
@include mq(md, max) {
width: 99px !important;
// margin-left: calc(60px + 16px) !important;
display: flex !important;
padding: 9px 11px !important;
}
.item-quantity-change {
@include mq(lg, max) {
position: unset !important;
width: unset !important;
height: unset !important;
}
}
.icon-minus-sign,
.icon-plus-sign {
color: $color-blue-100;
}
input {
border: none;
outline: none;
box-shadow: none;
margin: 0;
padding: 0;
flex: 1;
&:focus {
box-shadow: none;
}
}
}
.summary {
.cart-more-options {
margin: 0;
@ -351,12 +412,11 @@
}
.srp-main-title {
margin: 32px 0 12px;
font-style: normal;
font-weight: normal;
margin: 0 0 12px;
font-size: 24px;
line-height: 28px;
color: $color-gray2;
line-height: 32px;
color: $color-black-500;
font-family: $font-family;
@include mq(md, max) {
margin-top: 0;
@ -364,23 +424,27 @@
}
.srp-description {
font-family: $font-family;
color: $color-gray2;
font-size: 12px;
font-size: 14px;
line-height: 18px;
margin: 0 0 12px;
margin: 0 0 10px;
max-width: 276px;
}
button.shp-open-options {
background-color: $color-gray5;
background-color: $color-gray1;
font-family: $font-family;
border: none;
border-radius: 5px;
color: $color-gray2;
font-size: 16px;
border-radius: 8px;
color: $color-black-500;
letter-spacing: 0.05em;
font-size: 14px;
line-height: 19px;
font-weight: 500;
outline: none;
padding: 12px 40px;
padding: 12px 41px;
margin: 0;
transition: all 0.2s linear;
&:hover {
@ -405,51 +469,42 @@
}
.srp-pickup-my-location__button {
background-color: $color-black;
background-color: $color-blue-100;
border: none;
border-radius: 5px;
color: $color-white;
border-radius: 8px;
color: $color-white-500;
outline: none;
width: 100%;
font-style: normal;
font-weight: 500;
font-family: $font-family;
font-weight: 700;
font-size: 14px;
line-height: 16px;
line-height: 19px;
letter-spacing: 0.05em;
&:hover {
background-color: lighten($color-black, 5);
}
&:active {
background-color: darken($color-black, 5);
}
}
}
.srp-toggle {
margin: 0 0 34px;
margin: 0 0 20px;
&__wrapper {
background-color: $color-white;
background-color: $color-white-500;
border-radius: 100px;
width: 100%;
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 16px;
line-height: 19px;
text-transform: uppercase;
}
&__current {
border: 1px solid $color-blue;
border: 1px solid $color-black-500;
border-radius: 100px;
box-shadow: 2px 2px 4px rgba($color-black-500, 0.2);
}
.blue {
color: $color-blue;
color: $color-black-500;
}
label {
@ -462,6 +517,10 @@
}
.srp-postal-code {
.ship-country {
display: none;
}
.ship-postalCode {
label {
font-family: $font-family;
@ -469,63 +528,70 @@
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-black;
color: $color-black-100;
margin-bottom: 12px;
}
input {
border: 1px solid $color-gray3;
border: 1px solid $color-gray8;
border-radius: 5px;
box-shadow: none;
color: $color-gray3;
font-size: 12px;
color: $color-black-500;
font-size: 14px;
line-height: 16px;
height: 36px;
padding: 12px 8px;
width: 172px;
}
& ~ button {
background-color: $color-black;
background-color: $color-blue-100;
position: absolute;
right: calc(-138px - 9px);
border: none;
border-radius: 5px;
color: $color-white;
font-size: 12px;
border-radius: 8px;
color: $color-white-500;
height: 36px;
letter-spacing: 1px;
outline: none;
position: absolute;
right: -150px;
top: 36px;
transition: all 0.2s linear;
width: 96px;
width: 100px;
font-size: 14px;
line-height: 19px;
font-weight: 700;
letter-spacing: 0.05px;
font-family: $font-family;
text-transform: uppercase;
&:hover {
background-color: lighten($color-black, 5);
}
&:active {
background-color: darken($color-black, 5);
}
}
small a {
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 0px;
line-height: 12px;
color: $color-black-500;
&::after {
content: "Não sei meu código postal";
font-family: $font-family-secundary;
color: $color-black-500;
font-size: 10px;
line-height: 12px;
color: $color-blue;
margin-top: 7px;
text-decoration: underline;
}
}
span.help.error {
font-family: $font-family;
color: red;
font-size: 12px;
line-height: 16px;
font-weight: 700;
position: absolute;
left: 0;
width: 100%;
top: 17px;
top: 15px;
}
}
}
@ -591,14 +657,30 @@
}
&-totalizers {
margin: 0;
padding: 0;
width: 346px;
max-width: 354px;
width: 100%;
@include mq(md, max) {
float: none;
margin: 0;
width: 100%;
max-width: unset;
}
.coupon-data {
display: block !important;
margin: 0 0 10px;
#cart-link-coupon-add {
font-family: $font-family-secundary;
color: $color-black-500;
font-size: 12px;
line-height: 14px;
text-decoration: none;
&:hover {
text-decoration: underline;
text-decoration: none;
cursor: pointer;
}
}
@ -608,7 +690,7 @@
font-weight: normal;
font-size: 12px;
line-height: 14px;
color: $color-blue;
color: $color-black-500;
text-decoration: none;
}
}
@ -630,41 +712,46 @@
}
.coupon-label label {
margin-bottom: 12px;
font-family: $font-family;
font-style: normal;
font-weight: normal;
margin: 0;
font-family: $font-family-secundary;
font-size: 12px;
line-height: 14px;
color: $color-gray2;
cursor: none;
text-align: start;
}
.coupon-fields {
margin-bottom: 32px;
margin-bottom: 20px;
span {
display: flex;
i.loading-coupon {
display: none;
}
}
@include mq(sm, max) {
span {
display: flex;
flex-direction: row;
justify-content: space-between;
i {
position: absolute;
right: 91px;
opacity: 1;
}
}
}
input {
border: 2px solid $color-gray3;
border: 1px solid $color-gray5;
border-radius: 5px;
box-shadow: none;
color: $color-gray4;
font-size: 12px;
height: 34px;
padding: 0 12px;
max-width: 160px;
height: 36px;
padding: 0;
max-width: 204px;
width: 100%;
float: left;
padding: 0 16px;
box-sizing: border-box;
@include mq(sm, max) {
max-width: 100%;
@ -673,29 +760,32 @@
}
button {
background: $color-black;
background: $color-blue-100;
border: none;
border-radius: 5px;
color: $color-white;
font-size: 12px;
border-radius: 8px;
color: $color-black-500;
font-size: 14px;
line-height: 19px;
height: 36px;
letter-spacing: 1px;
margin-left: 6px;
margin-left: 14px;
outline: none;
transition: all 0.2s linear;
width: 94px;
max-width: 133px;
width: 100%;
text-transform: uppercase;
text-shadow: none;
@include mq(md, max) {
width: 138px;
}
&:hover {
background-color: lighten($color-black, 5);
background-color: lighten($color-blue-100, 5);
}
&:active {
background-color: darken($color-black, 5);
background-color: darken($color-blue-100, 5);
}
}
}
@ -703,7 +793,7 @@
.accordion-group {
tr {
border-color: #e5e5e5;
border-color: $color-gray5;
td {
&.empty {
@ -712,12 +802,12 @@
&.info,
&.monetary {
font-style: normal;
font-weight: normal;
font-family: $font-family;
color: $color-black-100;
font-size: 14px;
line-height: 16px;
color: $color-black;
padding: 12px 0;
line-height: 19px;
margin: 25px 0;
padding: 10px 0;
}
&.info {
@ -731,13 +821,28 @@
}
tfoot {
td.info,
td.monetary {
font-style: normal;
font-weight: normal;
font-family: $font-family;
font-size: 18px;
line-height: 21px;
color: $color-black;
line-height: 25px;
font-weight: 700;
color: $color-black-100;
td.info {
font-family: $font-family;
font-size: 18px;
line-height: 25px;
font-weight: 700;
color: $color-black-100;
padding: 14px 0;
}
td.monetary {
font-family: $font-family;
font-size: 18px;
line-height: 25px;
font-weight: 700;
color: $color-black-100;
padding: 14px 0;
}
}
}
@ -747,13 +852,15 @@
.cart-links-bottom {
display: flex;
flex-direction: column;
width: 343px;
max-width: 354px;
width: 100%;
@include mq(md, max) {
padding: 0 16px;
width: calc(100% - 32px);
float: none;
margin-bottom: 50px;
max-width: unset;
}
@include mq(md, min) {
@ -764,25 +871,28 @@
.link-choose-more-products-wrapper {
display: block;
text-align: center;
margin-bottom: 16px;
margin-bottom: 15px;
text-decoration: none;
@include mq(md, max) {
margin-bottom: 0px;
}
a {
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-family: $font-family-secundary;
font-size: 12px;
line-height: 14px;
color: $color-blue;
color: $color-black-500;
&:hover {
text-decoration: none;
}
}
}
.btn-place-order-wrapper {
a {
background: $color-green;
background: $color-blue-100;
border: none;
border-radius: 5px;
display: block;
@ -790,17 +900,13 @@
transition: ease-in 0.22s all;
padding: 12px 19px;
&:hover {
background-color: darken($color-green, 5);
}
&:after {
content: "finalizar compra";
font-family: $font-family;
font-weight: 500;
font-size: 13px;
font-weight: 700;
font-size: 14px;
letter-spacing: 0.05em;
color: $color-white;
color: $color-black-500;
text-transform: uppercase;
vertical-align: middle;
line-height: 19px;

View File

@ -54,3 +54,5 @@
}
}
}