feature/optimization #1

Merged
josecarloslins merged 16 commits from feature/optimization into main 2022-12-17 01:38:19 +00:00
8 changed files with 846 additions and 54 deletions
Showing only changes of commit fc17bf1786 - Show all commits

View File

@ -145,7 +145,7 @@
li {
span {
color: $color-black-neutra;
font-family: $color-black-neutra;
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 12px;
@ -241,6 +241,73 @@
}
}
}
@media (min-width: 2500px) {
.link-cart {
a {
font-size: 28px;
line-height: 33px;
}
}
.pre-email {
h3 {
span {
&::before {
font-size: 40px;
line-height: 47px;
}
}
}
}
.client-email {
width: 48.5%;
justify-content: space-between;
align-items: center;
input {
font-size: 24px;
line-height: 33px;
height: 50px;
width: 96% !important;
&::placeholder {
font-size: 24px;
line-height: 33px;
}
}
button {
height: 52px;
top: -1px;
span {
font-size: 28px;
line-height: 38px;
}
}
}
.emailInfo {
width: 776px;
margin-bottom: 94px;
h3 {
font-size: 24px;
line-height: 33px;
}
ul li span {
font-size: 24px;
line-height: 33px;
}
i::before {
font-size: 11.1rem;
}
}
}
}
.client-profile-data {
@ -292,6 +359,11 @@
height: 20px;
z-index: 10;
background-color: #fff;
@media screen and (min-width: 2500px) {
width: 37px;
height: 37px;
}
}
i {
@ -310,6 +382,25 @@
display: none;
fill: #303030;
}
.accordion-toggle.collapsed.accordion-toggle-active {
a {
display: none !important;
}
}
}
}
@media screen and (min-width: 2500px) {
.accordion-group {
.accordion-heading {
.accordion-toggle {
&::before {
font-size: 32px;
line-height: 37px;
}
}
}
}
}
}
@ -322,6 +413,13 @@
padding: 24px 17px 29px 17px;
.accordion-heading {
.accordion-toggle.collapsed.accordion-toggle-active {
flex-direction: row;
i {
display: none !important;
}
}
.accordion-toggle {
display: flex;
align-items: center;
@ -356,6 +454,13 @@
.icon-home {
display: none !important;
@media screen and (min-width: 2500px) {
&::after {
width: 37px;
height: 37px;
}
}
}
a {
@ -383,6 +488,11 @@
height: 20px;
z-index: 20;
background-color: #fff;
@media screen and (min-width: 2500px) {
width: 37px;
height: 37px;
}
}
@media (max-width: 1024px) {
@ -391,6 +501,11 @@
}
}
}
@media screen and (min-width: 2500px) {
font-size: 32px;
line-height: 37px;
}
}
}
}
@ -402,6 +517,13 @@
border-radius: 8px;
font-family: $font-family;
padding: 24px 17px 29px 17px;
.accordion-toggle.collapsed.accordion-toggle-active {
flex-direction: row;
i {
display: none !important;
}
}
.accordion-toggle {
display: flex;
align-items: center;
@ -470,6 +592,11 @@
height: 20px;
z-index: 20;
background-color: #fff;
@media screen and (min-width: 2500px) {
width: 37px;
height: 37px;
}
}
@media (max-width: 1024px) {
@ -478,6 +605,18 @@
}
}
}
@media screen and (min-width: 2500px) {
font-size: 32px;
line-height: 37px;
i {
&::after {
width: 37px;
height: 37px;
}
}
}
}
}
}
@ -498,6 +637,11 @@
line-height: 24px;
letter-spacing: -0.01em;
margin-top: 12px;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 48px;
}
}
}
@ -509,6 +653,10 @@
fieldset {
width: 32.608%;
margin-top: 16px;
@media screen and (min-width: 2500px) {
width: 31.608%;
}
.payment-group-list-btn {
width: 100%;
margin: 0;
@ -597,6 +745,17 @@
}
}
}
@media screen and (min-width: 2500px) {
a {
span {
&::before {
font-size: 28px;
line-height: 24px;
}
}
}
}
}
@media (max-width: 1024px) {
@ -692,6 +851,11 @@
line-height: 19px;
color: $color-gray2;
margin-top: 14px;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
.box-step {
@ -724,6 +888,11 @@
display: none;
}
}
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-addressForm {
@ -737,6 +906,11 @@
color: $color-gray2;
margin-bottom: 11px;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-addressSummary {
@ -754,6 +928,11 @@
width: 21.25px;
display: flex;
align-self: center;
@media screen and (min-width: 2500px) {
height: 41px;
width: 38px;
}
}
.address-summary {
@ -769,11 +948,21 @@
font-size: 12px;
line-height: 16px;
color: $color-gray2;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
a {
color: $color-blue-light;
text-decoration-line: none;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
}
}
@ -804,6 +993,11 @@
font-size: 12px;
line-height: 16px;
letter-spacing: 0.05em;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
input {
@ -867,6 +1061,12 @@
min-width: 18px !important;
height: 18px;
margin: 2px;
@media screen and (min-width: 2500px) {
min-width: 35px !important;
height: 35px;
margin: 4px;
}
}
}
@ -878,6 +1078,11 @@
font-size: 12px;
line-height: 16px;
color: #808080;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
label {
@ -890,6 +1095,11 @@
display: flex;
align-items: center;
@media screen and (min-width: 2500px) {
font-size: 32px;
line-height: 37px;
}
}
select,
@ -901,11 +1111,25 @@
padding: 0 12px;
box-sizing: border-box;
min-width: 100% !important;
&::placeholder {
color: #bdbdbd;
}
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
height: 61px;
}
}
.help.error {
color: red;
width: 100%;
@media screen and (min-width: 2500px) {
font-size: 22px;
}
}
}
@ -939,6 +1163,11 @@
line-height: 19px;
text-transform: uppercase;
width: 100%;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
/* Shipping configurations */
@ -965,6 +1194,11 @@
color: $color-gray2;
margin-bottom: 11px;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
.shp-lean {
@ -985,6 +1219,11 @@
font-size: 12px;
line-height: 16px;
color: $color-gray2;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
.shp-option-text-label {
@ -1009,6 +1248,12 @@
width: 18px;
height: 18px;
@media screen and (min-width: 2500px) {
background-size: contain;
width: 35px;
height: 35px;
}
svg path {
display: none;
}
@ -1023,6 +1268,12 @@
width: 18px;
height: 18px;
@media screen and (min-width: 2500px) {
background-size: contain;
width: 35px;
height: 35px;
}
svg path {
display: none;
}
@ -1049,6 +1300,11 @@
font-size: 12px;
line-height: 16px;
color: $color-gray2;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
}
}
@ -1075,6 +1331,11 @@
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
.shp-summary-group-price {
@ -1113,6 +1374,11 @@
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-deliveryOptionInactive {
@ -1124,6 +1390,11 @@
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-isActive {
@ -1166,6 +1437,11 @@
font-size: 12px;
line-height: 16px;
color: $color-gray2;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
}
@ -1184,6 +1460,11 @@
font-size: 12px;
line-height: 16px;
color: $color-black;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
}
}

View File

@ -148,6 +148,11 @@
@media (max-width: 1024px) {
margin: 0;
}
@media (min-width: 2500px) {
font-size: 32px;
line-height: 37px;
}
}
.item-unavailable {
@ -228,6 +233,7 @@
a {
min-width: 60px;
height: 60px;
margin-right: 7px;
img {
width: 100% !important;
@ -236,6 +242,27 @@
}
}
}
@media screen and (min-width: 2500px) {
ul li {
a {
min-width: 116.5px;
height: 116.5px;
margin-right: 13.5px;
}
.fn.product-name {
font-size: 24px;
line-height: 28px;
}
.description {
.price.pull-right {
font-size: 24px;
line-height: 33px;
}
}
}
}
}
.summary-template-holder {
@ -262,6 +289,11 @@
line-height: 16px;
color: $color-black-neutra;
text-decoration: underline;
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 33px;
}
}
.summary-totalizers {
@ -321,6 +353,11 @@
display: none;
}
}
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
th.shipping-date {
@ -346,6 +383,11 @@
font-weight: 400;
font-size: 14px;
line-height: 16px;
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 33px;
}
}
}
@ -364,6 +406,15 @@
min-width: 60px;
object-fit: cover;
}
@media screen and (min-width: 2500px) {
padding-right: 31px;
img {
height: 146px;
min-width: 146px;
}
}
}
.product-name {
@ -399,6 +450,11 @@
@include mq(md, max) {
display: none;
}
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}
td.product-price {
@ -442,6 +498,19 @@
}
color: #989898;
}
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
.old-product-price.muted {
&::before {
content: "de ";
font-size: 24px;
line-height: 28px;
}
}
}
}
}
@ -450,6 +519,11 @@
span {
display: flex;
margin-top: 2px;
font-family: "Tenor Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 16px;
.new-product-price-label {
font-size: 0;
@ -476,6 +550,20 @@
span.new-product-real-price {
display: none;
}
@media screen and (min-width: 2500px) {
span {
font-size: 28px;
line-height: 33px;
.new-product-price {
&::before {
font-size: 28px;
line-height: 33px;
}
}
}
}
}
td.quantity {
@ -536,6 +624,28 @@
padding: 0;
}
}
@media screen and (min-width: 2500px) {
max-height: 50px;
max-width: max-content;
margin: 48px 0 0;
input {
font-size: 28px;
line-height: 33px;
width: 51px;
}
.icon-plus-sign,
.icon-minus-sign {
&::before {
padding: 9px 11px;
}
}
a.item-quantity-change {
font-size: 31px;
}
}
}
.quantity-price,
@ -559,6 +669,15 @@
font-weight: 700;
line-height: 19px;
}
@media screen and (min-width: 2500px) {
white-space: nowrap;
padding-right: 23px;
.total-selling-price {
font-size: 28px;
line-height: 38px;
}
}
}
.quantity-price {
@ -587,6 +706,12 @@
@include mq(md, max) {
font-size: 18px;
}
@media screen and (min-width: 2500px) {
font-size: 26px;
width: 20px;
height: 20px;
}
}
}
@ -688,7 +813,7 @@
font-family: $font-family;
background-color: #ededed;
border: none;
border-radius: 5px;
border-radius: 8px;
color: $color-black-neutra;
font-size: 14px;
letter-spacing: 0.05em;
@ -707,6 +832,26 @@
background-color: darken($color-gray5, 5);
}
}
@media screen and (min-width: 2500px) {
max-width: 552px;
.srp-main-title {
font-size: 48px;
line-height: 65px;
}
.srp-description {
font-size: 28px;
line-height: 36px;
max-width: 100%;
margin-bottom: 11px;
}
button.shp-open-options {
font-size: 28px;
line-height: 38px;
}
}
}
.srp-data.mt4 {
@ -720,14 +865,6 @@
.srp-data {
width: 280px;
@include mq(cstm, max) {
width: calc(100vw - 32px);
}
@include mq(md, max) {
margin-bottom: 40px;
}
.srp-pickup-my-location__button {
background-color: $color-blue-light;
border: none;
@ -745,6 +882,15 @@
text-transform: uppercase;
padding: 12px 0;
}
@media screen and (min-width: 2500px) {
width: 543px;
.srp-pickup-my-location__button {
font-size: 28px;
line-height: 38px;
}
}
}
.srp-toggle {
@ -755,19 +901,32 @@
background-color: $color-white;
border-radius: 100px;
width: 100%;
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 19px !important;
text-transform: uppercase;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
color: $color-gray7;
@media screen and (max-width: 1024px) {
max-width: 343px;
}
label {
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 19px !important;
text-transform: uppercase;
}
.srp-toggle__pickup {
color: $color-gray7;
}
@media screen and (min-width: 2500px) {
label {
font-size: 28px;
line-height: 38px !important;
}
}
}
&__current {
@ -780,6 +939,14 @@
color: $color-black-neutra;
}
.srp-toggle__delivery.flex-none.bg-transparent.pointer.w-50.tc.ttu.pv3.gray {
color: $color-gray7;
}
.srp-toggle__delivery.flex-none.bg-transparent.pointer.w-50.tc.ttu.pv3.gray.blue {
color: $color-black-neutra;
}
label {
width: 50%;
@ -865,6 +1032,45 @@
}
}
@media screen and (min-width: 2500px) {
.ship-postalCode {
width: 260px;
label {
font-size: 24px;
line-height: 33px;
}
input {
width: 333px;
height: 55px;
}
& ~ button {
font-size: 28px;
line-height: 38px;
height: 55px;
right: -284px;
top: 45px;
padding: 0 19px;
}
small a {
&::before {
font-size: 20px;
line-height: 23px;
}
}
span.help.error {
margin: 0;
color: red;
font-size: 20px;
line-height: 23px;
left: 0;
width: 100%;
top: 17px;
}
}
}
@media screen and (max-width: 1024px) {
.ship-postalCode {
input {
@ -1185,6 +1391,92 @@
}
}
}
@media screen and (min-width: 2500px) {
width: 688px;
.coupon-data {
span {
font-size: 24px;
line-height: 28px;
}
}
.coupon-column {
.coupon {
margin: 0;
@media screen and (max-width: 1024px) {
padding: 0 16px;
.coupon-fields {
span {
display: flex;
width: 100%;
#cart-coupon {
width: 100%;
margin-right: 8px;
}
#cart-coupon-add {
width: 66.7755%;
max-width: 133px;
margin: 0;
}
i {
display: none;
}
}
}
}
}
.link-coupon-add {
color: #303030;
font-size: 12px;
text-decoration: underline;
}
.coupon-label label {
font-size: 24px;
line-height: 28px;
}
.coupon-fields {
input {
font-size: 24px;
line-height: 28px;
}
button {
font-size: 28px;
line-height: 38px;
height: 55px;
margin-left: 30px;
}
}
}
.accordion-group {
tr {
white-space: nowrap;
td {
&.info,
&.monetary {
font-size: 28px;
line-height: 33px;
}
}
}
tfoot {
td.info,
td.monetary {
font-size: 36px;
line-height: 49px;
}
}
}
}
}
}
@ -1242,6 +1534,26 @@
}
}
}
@media screen and (min-width: 2500px) {
width: 688px;
.link-choose-more-products-wrapper {
a {
font-size: 24px;
line-height: 28px;
}
}
.btn-place-order-wrapper {
a {
&:after {
font-size: 28px;
line-height: 38px;
}
}
}
}
}
}
@ -1288,4 +1600,9 @@
@media (min-width: 1025px) {
margin: 0;
}
@media screen and (min-width: 2500px) {
font-size: 24px;
line-height: 28px;
}
}

View File

@ -32,6 +32,10 @@ body .container-main.container-order-form .orderform-template.active {
width: 100%;
}
}
@media (min-width: 2500px) {
margin-bottom: 92px;
}
}
}
@ -58,6 +62,11 @@ body .container-main.container-order-form .orderform-template.active {
color: $color-gray2;
padding: 25px 0;
box-sizing: border-box;
@media (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
.monetary {
@ -93,6 +102,18 @@ body .container-main.container-order-form .orderform-template.active {
line-height: 19px;
padding-right: 17px;
}
@media screen and (min-width: 2500px) {
.info {
font-size: 36px;
line-height: 49px;
}
.monetary {
font-size: 28px;
line-height: 38px;
}
}
}
}
@ -119,6 +140,11 @@ body .container-main.container-order-form .orderform-template.active {
i {
display: none;
}
@media screen and (min-width: 2500px) {
font-size: 28px;
line-height: 38px;
}
}
}
}

View File

@ -23,6 +23,11 @@
font-size: 24px;
line-height: 33px;
text-transform: uppercase;
@media screen and (min-width: 2500px) {
font-size: 48px;
line-height: 65px;
}
}
@media (max-width: 1024px) {
@ -65,6 +70,16 @@
padding: 16px 26px;
margin-top: 22px;
}
@media screen and (min-width: 2500px) {
height: 66px;
padding: 16px 121px;
&::before {
font-size: 28px;
line-height: 33px;
}
}
}
}
}

View File

@ -42,7 +42,7 @@ body {
}
.checkout-container {
padding-top: 11px;
// padding-top: 11px;
}
}
@ -84,6 +84,11 @@ body {
@media screen and (max-width: 300px) {
font-size: 22px;
}
@media screen and (min-width: 2500px) {
font-size: 48px;
line-height: 65px;
}
}
.dropdown {

View File

@ -157,3 +157,18 @@
}
}
}
@media screen and (min-width: 2500px) {
.slick-arrow {
width: 26px;
height: 58px;
}
.slick-prev {
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-left-M3Academy.svg")
no-repeat center center;
}
.slick-next {
background: url("https://agenciamagma.vteximg.com.br/arquivos/arrow-right-M3Academy.svg")
no-repeat center center;
}
}

View File

@ -51,6 +51,11 @@
max-width: 100%;
margin-left: 16px;
}
@media screen and (min-width: 2500px) {
font-size: 20px;
line-height: 27px;
}
}
&__stamps {
@ -58,6 +63,7 @@
display: flex;
justify-self: center;
list-style: none;
margin: 0;
@media (max-width: 1024px) {
grid-area: stamps;
@ -71,6 +77,22 @@
height: 24px;
width: 1px;
}
@media screen and (min-width: 2500px) {
width: 29.0648%;
li:first-child {
width: 100%;
}
li:last-child {
width: 14.9275%;
}
&__divider {
height: 43px;
}
}
}
&__payments {
@ -89,6 +111,26 @@
height: 33px;
margin-left: 10px;
}
@media screen and (min-width: 2500px) {
width: 100%;
min-width: 103px;
height: auto;
white-space: nowrap;
.paymentFooter {
width: 11.4548%;
min-width: 69.63px;
margin-right: 13.35px;
height: auto;
}
.vtexIcon {
width: 100%;
height: auto;
margin-left: 10px;
}
}
}
&__developedBy {
@ -134,6 +176,30 @@
margin-left: 11px;
}
}
@media screen and (min-width: 2500px) {
width: 16.3437%;
white-space: nowrap;
li {
width: 100%;
}
a {
font-size: 18px;
line-height: 24px;
}
.logoVtexFooter {
width: 47.1666%;
height: auto;
}
.logoM3Footer {
width: 30.0967%;
height: auto;
}
}
}
&__prateleira {
@ -171,6 +237,10 @@
align-items: center;
flex-direction: column;
@media (min-width: 1280px) and (max-width: 1281px) {
width: 242px !important;
}
figure {
width: 100%;
margin: 0;
@ -254,12 +324,6 @@
font-size: 0;
.wrapper-list-variables {
.variable-pratileira {
font-size: 13px;
}
}
@media (max-width: 1024px) {
width: 100%;
padding: 0 8px;
@ -316,6 +380,7 @@
@media (min-width: 375px) and (max-width: 376px) {
width: 164px !important;
}
figure {
.image-card-pratileira {
height: 164px;
@ -329,33 +394,7 @@
@media (max-width: 340px) {
padding: 0 8px;
// .card-list-pratileira {
// @media (min-width: 375px) and (max-width: 376px) {
// width: 164px !important;
// }
// figure {
// .image-card-pratileira {
// height: 164px;
// @media (max-width: 300px) {
// height: 100px;
// }
// }
// }
// }
}
// @media (min-width: 375px) and (max-width: 376px) {
// padding: 0 16px;
// .card-list-pratileira {
// width: 195px !important;
// figure {
// .image-card-pratileira {
// height: 164px;
// width: 195px;
// }
// }
// }
// }
}
.slick-track {
display: flex;
@ -367,5 +406,45 @@
left: 7%;
}
}
@media screen and (min-width: 2500px) {
.titlePratileira {
font-size: 48px;
line-height: 76px;
}
.sliderPratileira {
.card-list-pratileira {
@media (min-width: 2500px) and (max-width: 2501px) {
width: 485px !important;
}
figure {
.image-card-pratileira {
height: 485px;
}
.title-item-pratileira {
font-size: 26px;
line-height: 35px;
height: 35px;
}
}
.wrapper-list-variables {
.variable-pratileira {
font-size: 26px;
line-height: 35px;
max-height: 45px;
}
}
.btn-pratileira {
font-size: 26px;
line-height: 35px;
}
}
}
}
}
}

View File

@ -33,10 +33,6 @@
left: 51%;
transform: translate(-50%, -50%);
z-index: -1;
// @media (min-width: 1140px) {
// width: 82%;
// }
}
.ProgressBar-step {
list-style: none;
@ -150,3 +146,61 @@
}
}
}
@media screen and (min-width: 2500px) {
.headerCheckout {
&__wrapper {
#progressBar {
width: 1078px;
}
}
&__logo {
width: 19.2152%;
img {
width: 100%;
}
}
.ProgressBar {
&::after {
width: 86%;
height: 1px;
top: 49px;
left: 51%;
}
.ProgressBar-step {
span {
width: max-content;
font-size: 24px;
line-height: 28px;
&::before {
width: 24px;
height: 24px;
border: 1px solid #000000;
margin-top: 9px;
}
}
}
}
&__safeBuy {
span {
font-size: 24px;
line-height: 32px;
white-space: nowrap;
}
img {
min-width: 12.6637%;
margin-right: 8px;
@media screen and (min-width: 2500px) and (max-width: 2501px) {
height: 41px;
}
}
}
}
}