feat: Aplica css desktop

This commit is contained in:
Sabrina Miranda 2022-12-23 01:29:41 -03:00
parent bd69ec7778
commit 452357eebf
3 changed files with 294 additions and 31 deletions

View File

@ -1,8 +1,26 @@
.checkout-container {
overflow: visible;
.ship-country select {
height: 45px;
border: 1px solid $color-gray6 !important;
border-radius: 8px !important;
outline: none;
@include mq(xg, min) {
height: 61px;
font-size: 24px;
line-height: 32px;
}
}
input {
height: 42px;
@include mq(xg, min) {
height: 61px;
font-size: 28px;
line-height: 38px;
}
}
.client-profile-data .accordion-group .accordion-inner p label,
@ -13,6 +31,11 @@
font-size: 14px;
line-height: 19px;
color: $color-gray2 !important;
@include mq(xg, min) {
font-size: 28px;
line-height: 38px;
}
}
.box-client-info {
@ -22,7 +45,7 @@
#client-email,
#client-company-name,
#client-company-nickname {
width: 297px;
width: 100%;
margin-bottom: 16px;
}
@ -38,6 +61,13 @@
#go-to-shipping {
margin: 0 0 44px 0;
@include mq(xg, min) {
height: 61px;
font-size: 28px;
line-height: 38px;
padding: 12px 141px;
}
}
#client-first-name,
@ -47,16 +77,26 @@
#client-company-ie,
#client-company-document {
width: 141px;
}
/* #is-corporate-client {
display: none;
}*/
@include mq(xg, min) {
width: 273px;
}
}
#opt-in-newsletter,
#state-inscription {
width: 18px;
height: 18px;
@include mq(xg, min) {
width: 34px;
height: 34px;
}
}
.newsletter,
.checkbox {
margin: 12px 0;
}
.newsletter-text,
@ -76,6 +116,11 @@
font-size: 14px;
line-height: 19px;
color: $color-gray2;
@include mq(xg, min) {
font-size: 32px;
line-height: 37px;
}
}
#not-corporate-client,
@ -88,6 +133,15 @@
line-height: 16px;
text-align: right;
color: $color-black2 !important;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
}
.items {
margin: 25px 0;
}
}
.client-pre-email {
@ -120,6 +174,10 @@
}
}
#checkoutMainContainer {
margin-bottom: 92px;
}
.pre-email {
flex-direction: column;
display: flex;
@ -250,7 +308,6 @@
border-radius: 5px;
width: 400px;
height: 150px;
margin-bottom: 92px;
@include mq(xg, min) {
width: 776px;
@ -329,19 +386,35 @@
padding-top: 15px;
padding-bottom: 28px;
margin: 0;
@include mq(xg, min) {
font-size: 28px;
line-height: 38px;
}
}
.shipping-data {
height: 105px;
.email,
.name,
.tel {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
}
}
.client-data {
height: 459px;
.client-profile-email {
margin-bottom: 0;
}
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray3;
@ -349,7 +422,29 @@
padding: 24px 17px 0px;
border-radius: 8px;
box-shadow: none;
width: 331px;
width: 100%;
margin-bottom: 17px;
@include mq(xg, min) {
padding: 24px 34px 0px;
}
.ship-country,
.ship-postalCode {
label {
font-family: $font-family;
font-style: normal;
font-weight: 700 !important;
font-size: 12px;
line-height: 16px;
color: $color-gray2 !important;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
}
}
}
.accordion-heading {
.accordion-toggle {
@ -359,7 +454,13 @@
font-size: 16px;
line-height: 19px;
color: $color-black;
padding: 0
padding: 0;
@include mq(xg, min) {
font-size: 32px;
line-height: 37px;
}
}
.accordion-toggle-active {
@ -376,9 +477,15 @@
color: $color-black;
margin-top: 24px;
padding: 0;
@include mq(xg, min) {
font-size: 32px;
line-height: 37px;
}
}
}
}
span {
i::before {
fill: #303030;
@ -423,6 +530,12 @@
.help.error {
color: $color-red;
@include mq(xg, min) {
font-size: 24px;
line-height: 32px;
white-space: nowrap;
}
}
}
@ -474,9 +587,45 @@
/* Shipping configurations */
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-black;
margin-left: -10px;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-geolocationTitle {
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 18px;
color: $color-gray2;
@include mq(xg, min) {
font-size: 28px;
line-height: 36px;
}
}
.vtex-omnishipping-1-x-subtitle {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray2;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
}
}
.vtex-omnishipping-1-x-deliveryGroup {
@ -554,13 +703,18 @@
}
.vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50);
color: #000;
color: $color-black;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
padding: 9px 0;
@include mq(xg, min) {
font-size: 28px;
line-height: 38px;
}
}
}
}
@ -570,6 +724,11 @@
border: 1px solid $color-black !important;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: white !important;
border: 1px solid $color-black !important;
}
.vtex-omnishipping-1-x-deliveryOptionInactive {
width: 50%;
color: #c4c4c4;
@ -578,6 +737,56 @@
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
padding: 9px 0;
@include mq(xg, min) {
font-size: 28px;
line-height: 38px;
}
}
.vtex-omnishipping-1-x-addressFormPart1 {
margin-bottom: 10px;
@include mq(xg, min) {
margin-bottom: 11px;
}
}
.vtex-omnishipping-1-x-addressFormPart1 input {
width: 100%;
max-width: 100%;
height: 45px;
border: 1px solid $color-gray6 !important;
border-radius: 8px !important;
outline: none;
margin-bottom: 10px;
@include mq(xg, min) {
height: 61px;
margin-bottom: 11px;
}
}
#find-pickups-manualy-button-denied {
background-color: $color-blue2;
border: 1px solid $color-blue2;
border-radius: 8px;
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: $color-white;
padding: 11px 60px;
margin-bottom: 16px;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
padding: 11px 110px;
margin-bottom: 25px;
}
}
.shipping-data,
@ -589,12 +798,16 @@
background-position: right;
background-size: 20px;
cursor: pointer;
@include mq(xg, min) {
background-size: 38px;
}
}
}
}
#shipping-data {
margin-bottom: 17px;
margin-bottom: 0;
}
.hproduct {
@ -605,6 +818,13 @@
height: 60px;
object-fit: cover;
margin-right: 7px;
@include mq(xg, min) {
width: 116px;
max-width: 116px;
height: 116px;
margin-right: 13px;
}
}
}
@ -621,12 +841,23 @@
text-align: right;
color: $color-black !important;
white-space: nowrap;
@include mq(xg, min) {
font-size: 24px;
line-height: 33px;
}
}
}
.cart-template .cart-fixed .cart {
li {
display: flex;
align-items: center;
}
}
.shp-method-option-text {
text-shadow: none;
}
}

View File

@ -11,7 +11,7 @@
.cart-template {
font-family: $font-family;
@include mq(md, max) {
padding: 0 0;
padding: 0;
}
.item-unit-label {
display: none;
@ -37,9 +37,17 @@
.cart-fixed.affix {
position: relative !important;
}
.cart-fixed {
font-family: $font-family;
width: 100%;
border: 1px solid $color-gray5;
border-radius: 8px;
height: 330px !important;
@include mq(xg, min) {
height: 480px !important;
}
h2 {
background: $color-white;
@ -50,6 +58,15 @@
font-weight: 400;
font-size: 16px;
line-height: 19px;
text-align: left;
margin: 24px 0 18px 0;
padding: 0 16px;
@include mq(xg, min) {
font-size: 32px;
line-height: 37px;
padding: 0 34px;
}
}
.item-unavailable {
@ -84,11 +101,13 @@
.summary-template-holder {
border-top: none;
background: $color-white;
padding: 0 16px;
}
#go-to-cart-button a {
color: #303030;
color: $color-black;
text-decoration: underline;
padding-right: 16px;
}
.summary-totalizers {
@ -121,6 +140,13 @@
background: darken($color-black, 5);
}
}
.summary-cart-template-holder {
.cart {
margin-bottom: 0;
border: none;
}
}
}
.lookatme {
@ -204,6 +230,11 @@
}
}
.fn {
width: 200px;
white-space: break-spaces;
}
.product-name {
padding: 0;
font-family: $font-family-secundary;
@ -212,11 +243,11 @@
font-size: 12px;
line-height: 14px;
color: $color-black2;
width: 200px;
white-space: break-spaces;
@include mq(xg, min) {
width: 600px;
font-size: 24px;
line-height: 28px;
}
@include mq(lg, max) {
@ -686,7 +717,6 @@
display: flex;
flex-direction: row;
.ship-postalCode,
.ship-country {
label {
@ -1060,6 +1090,11 @@
text-align: right;
}
}
.customTax {
margin: 25px 0;
}
}
tfoot {
@ -1076,6 +1111,11 @@
@include mq(xg, min) {
font-size: 36px;
line-height: 49px;
}
}
td.monetary {
@include mq(xg, min) {
width: 250px;
}
}

View File

@ -56,14 +56,6 @@ body {
display: none;
}
/*.container-order-form {
min-height: 400px;
@include mq(xg, min) {
min-height: 700px;
}
}*/
.container-order-form,
.container-cart {
width: 96.875%;