feat: modifica mobile

This commit is contained in:
Naian Felix dos Santos 2022-12-17 23:01:06 -03:00
parent 7a33301d53
commit 291b2f281b
7 changed files with 844 additions and 342 deletions

View File

@ -70,6 +70,9 @@ export default class CheckoutUI {
} else {
cartId.style.display = "block";
}
if (window.location.hash === "#/shipping" || window.location.hash === "#/payment") {
cartId.style.display = "none";
}
});
if (itemsForm === 0) {
cartId.style.display = "none";

View File

@ -1,289 +1,719 @@
.checkout-container {
.client-pre-email {
border-color: $color-gray4;
font-family: $font-family;
padding-top: 8px;
.client-pre-email {
border-color: $color-gray4;
font-family: $font-family;
border-top: 1px solid $color-black1;
width: unset;
padding: 0 16px;
.link-cart {
a {
color: $color-black;
font-size: 14px;
@include mq(md, min) {
width: 100%;
padding: 0;
}
&:hover {
color: lighen($color-black, 10);
}
}
}
.link-cart {
margin: 0;
a {
font-family: $font-family-secundary;
color: $color-black1;
font-size: 10px;
line-height: 12px;
font-weight: 400;
text-transform: uppercase;
.pre-email {
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
&:hover {
color: lighen($color-black1, 10);
}
}
}
h3 {
margin-bottom: 16px;
.pre-email {
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
span {
color: #303030;
font-size: 24px;
}
h3 {
width: 100%;
max-width: 90.666666666667%;
margin: 98px 0 20px;
small {
color: $color-gray4;
}
}
}
span {
width: 0;
height: 0;
color: #303030;
font-size: 0;
}
.client-email {
margin: 0 0 16px;
small {
color: $color-gray4;
font-size: 0;
}
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;
&::after {
content: "Para finalizar a compra, informe seu e-mail. Rápido. Fácil. Seguro.";
text-transform: uppercase;
font-family: $font-family-secundary;
font-weight: 400;
font-size: 14px;
line-height: 16px;
color: $color-black1;
}
}
}
@media (max-width: 490px) {
width: auto;
}
}
.client-email {
margin: 0;
padding-bottom: 16px;
max-width: 100%;
button {
background-color: $color-black;
border-radius: 5px;
border: none;
font-family: $font-family;
height: 54px;
right: 0;
top: 0;
input {
height: 52px;
box-shadow: none;
color: $color-black;
box-sizing: border-box;
border: 1px solid $color-black1;
border-radius: 5px 8px 8px 5px;
@media (max-width: 490px) {
height: 48px;
margin: 0;
position: absolute;
}
}
&::placeholder {
color: $color-black1;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
}
}
span.help.error {
color: red;
}
}
button {
position: absolute;
background-color: $color-blue-100;
border-radius: 0px 8px 8px 0px;
border: none;
font-family: $font-family;
color: $color-black1;
height: 52px;
font-weight: 700;
font-size: 14px;
line-height: 19px;
right: 0px;
top: -5px;
width: 37.6%;
max-width: 126px;
}
.emailInfo {
padding: 16px;
background-color: $color-white;
border: 1px solid $color-gray4;
border-radius: 0;
span.help.error {
font-family: $font-family;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: $color-red;
height: 19.44px;
}
}
h3 {
color: #303030;
margin: 0 0 8px 0;
}
.emailInfo {
width: auto;
margin: 49px auto 0 auto;
background-color: $color-white;
border: 1px solid $color-gray4;
border-radius: 0;
padding: 16px 20px 14px 16px;
ul {
margin: 0;
h3 {
color: $color-black1;
margin: 0 0 8px 0;
font-family: $font-family;
font-weight: 700;
font-size: 12px;
line-height: 16px;
}
li {
span {
color: $color-black;
}
ul {
margin: 0;
i::before {
color: $color-black;
font-size: 1rem;
opacity: 1;
}
}
}
li {
span {
font-family: $font-family;
color: $color-black1;
font-weight: 700;
font-size: 12px;
line-height: 16px;
}
i::before {
color: $color-black;
font-size: 6rem;
opacity: 0.5;
}
}
}
i::before {
color: $color-blue-100;
font-size: 1rem;
opacity: 0.5;
}
}
}
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray4;
font-family: $font-family;
padding: 16px;
i.icon-lock::before {
display: none;
}
}
}
.accordion-heading {
span {
color: #303030;
margin-bottom: 8px;
padding: 0;
.shipping-data,
.payment-data {
.accordion-group {
margin-bottom: 17px;
.accordion-heading {
display: flex;
justify-content: space-between;
margin-bottom: 14px;
}
i::before {
fill: #303030;
}
}
.accordion-inner {
margin-bottom: 12px;
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;
}
}
input {
height: 25px;
}
.accordion-inner {
padding: 0;
.box-step {
.vtex-omnishipping-1-x-shippingSectionTitle {
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-gray2;
}
/* General configurations */
div.undefined {
font-family: $font-family;
}
.client-notice {
color: $color-black;
}
div.shipping-method-wrapper {
background-color: $color-white;
border-radius: 100px;
width: 100%;
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
background: $color-white;
border: 1px solid #f5f5f5;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
border-radius: 100px;
}
p {
label {
color: $color-black;
font-weight: 500;
}
.vtex-omnishipping-1-x-address {
display: flex;
flex-direction: column;
font-weight: 700;
select,
input {
border-radius: 0;
border: 1px solid $color-gray4;
box-shadow: none;
}
.ship-number {
width: 95.47%;
}
label {
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 16px;
letter-spacing: 0.05em;
color: $color-gray2;
margin-bottom: 3px;
}
.help.error {
color: red;
}
}
input {
width: 100%;
margin-bottom: 5px;
}
}
button.submit {
background: #00c8ff;
border-radius: 8px;
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: #ffffff;
}
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
font-weight: 500;
text-decoration: underline;
}
}
.ship-country {
display: none;
}
.state-inscription-box span {
font-weight: 500;
}
.ship-postalCode {
display: flex;
flex-direction: column;
position: relative;
font-family: $font-family;
font-weight: 700;
font-size: 12px;
line-height: 16px;
color: $color-gray2;
button.submit {
border: none;
border-radius: 5px;
background: $color-black;
margin-top: 8px;
outline: none;
transition: all 0.2s linear;
&::after {
content: "CEP:";
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #7d7d7d;
position: absolute;
}
&:hover {
background: lighten($color-black, 5);
}
#ship-postalCode {
width: 100%;
max-width: 95.49%;
}
}
}
}
}
}
&:active {
background: darken($color-black, 5);
}
}
.row-fluid {
.shipping-data,
.payment-data,
.client-profile-data {
.accordion-group {
border-radius: 0;
border: 1px solid $color-gray7;
border-radius: 8px;
font-family: $font-family;
padding: 16px;
margin: 0 16px 17px 16px;
/* Shipping configurations */
.accordion-heading {
position: relative;
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
&::after {
display: none;
}
span {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: $color-black;
}
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.accordion-toggle {
width: 100%;
.shp-lean {
border: 1px solid $color-gray4;
border-radius: 0;
&::before {
content: "";
background-image: url(" https://agenciamagma.vteximg.com.br/arquivos/lapisM3Academy.png");
display: block;
background-size: 100% 100%;
background-repeat: no-repeat;
width: 20px;
height: 20px;
float: right;
}
label {
background-color: $color-white;
box-shadow: none;
color: #303030;
padding: 8px 12px;
span {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: $color-black;
}
svg path {
fill: #d8c8ac;
}
}
}
}
.icon-user + span {
display: none;
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.icon-user,
.icon-home,
.icon-credit-card {
&::before {
display: none;
}
}
}
.shp-summary-group-info {
border-color: $color-gray4;
}
.accordion-toggle-active {
&::before {
display: none;
}
}
.address-summary {
background: none;
border-color: $color-gray4;
border-radius: 0;
color: #303030;
padding: 12px;
a {
display: none;
align-items: center;
background-color: #303030;
border-radius: 8px;
border: none;
color: $color-white;
justify-content: center;
padding: 6px 5px 6px 8px;
}
}
@include mq(md, max) {
background-position: 8px 9px;
}
.accordion-inner {
padding: 0;
a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
}
.form-step {
margin-bottom: 36px;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray2;
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
}
.client-profile-email {
padding: 68px 0 0 0;
margin: 0;
.shp-summary-group-price {
padding-right: 16px;
}
&::after {
content: "Identificação";
position: absolute;
top: -1px;
left: 0;
font-family: $font-family-secundary;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: $color-black;
}
.shp-summary-package {
padding-left: 16px;
}
.client-profile-summary {
margin-bottom: 36px;
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
span {
margin-bottom: 6px;
}
}
}
span {
display: block;
margin-bottom: 6px;
}
br {
display: none;
}
}
/* General configurations */
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: #d8c8ac;
border: 1px solid #d8c8ac;
}
.client-notice {
color: transparent;
font-size: 0;
position: relative;
margin-bottom: 55px;
.vtex-omnishipping-1-x-deliveryOptionActive {
text-shadow: 1.3px 1px lighten($color-black, 50);
}
}
}
}
&::after {
position: absolute;
content: "Identificação";
font-family: $font-family-secundary;
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: $color-black;
top: 0px;
}
}
p.client-first-name,
p.client-last-name,
p.client-document,
p.client-phone {
width: 48.369%;
margin: 0;
}
p.client-first-name {
float: left !important;
input.input-small {
width: 89% !important;
}
}
p.client-last-name {
float: right !important;
input.input-small {
width: 89% !important;
}
}
p {
[type="checkbox"] {
display: none;
&:checked + .newsletter-text::after {
content: "";
width: 12px;
display: block;
position: absolute;
top: 3px;
border-radius: 3px;
left: 3px;
height: 12px;
background-color: $color-blue-100;
}
}
}
label {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray2;
}
select,
input {
border-radius: 5px;
border: 1px solid $color-gray7;
box-shadow: none;
}
label {
&.checkbox {
position: relative;
padding-left: 26px;
.newsletter-text {
&::before {
position: absolute;
content: "";
border: 1px solid #828282;
border-radius: 3px;
width: 16px;
height: 16px;
top: 0;
left: 0;
}
}
}
}
.help.error {
color: red;
}
}
.box-client-info-pf {
float: unset;
}
.box-client-info-pj {
.link a#is-corporate-client,
.link a#not-corporate-client {
color: $color-black;
font-weight: 500;
text-decoration: underline;
display: none;
}
}
.state-inscription-box span {
font-weight: 500;
}
p.submit {
margin: 0;
button.submit {
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
border: none;
margin-top: 44px;
outline: none;
transition: all 0.2s linear;
background: $color-blue-100;
color: $color-white;
border-radius: 8px;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 28px;
width: 100%;
&:hover {
background: lighten($color-blue-100, 5);
}
&:active {
background: darken($color-blue-100, 5);
}
}
}
/* Shipping configurations */
.vtex-omnishipping-1-x-addressFormPart1 small {
margin-left: 0;
margin-top: 10px;
}
.vtex-omnishipping-1-x-cta {
.undefined {
background: $color-blue-100;
border-radius: 8px;
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
color: $color-white;
}
}
.ship-postalCode small a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
.vtex-omnishipping-1-x-deliveryGroup {
p {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.shp-lean {
border: 1px solid $color-gray7;
border-radius: 8px;
label {
box-shadow: none;
color: #303030;
padding: 8px 12px;
&.checkbox {
position: relative;
padding-left: 26px;
}
&.shp-lean-option::before {
margin-right: 8px;
content: "";
border: 1px solid #828282;
border-radius: 3px;
width: 16px;
height: 16px;
}
.vtex-omnishipping-1-x-leanShippingIcon {
display: none;
}
.vtex-omnishipping-1-x-leanShippingOptionRadio {
[type="checkbox"] {
display: none;
&:checked + .newsletter-text::after {
content: "";
width: 12px;
display: block;
position: absolute;
top: 3px;
border-radius: 3px;
left: 3px;
height: 12px;
background-color: $color-blue-100;
}
}
}
}
}
}
.delivery-address-title {
color: #303030;
font-size: 14px;
font-weight: 500;
}
.shp-summary-group-info {
border-color: $color-gray4;
}
.address-summary {
background: none;
border-color: $color-gray4;
color: #303030;
padding: 12px;
border: 1px solid $color-gray7;
border-radius: 8px;
background-position: 8px 9px;
&::before {
content: "";
background-image: url("https://agenciamagma.vteximg.com.br/arquivos/homeM3Academy.png");
display: block;
background-size: 100% 100%;
background-repeat: no-repeat;
width: 20px;
height: 20px;
float: left;
margin: 8px 9.38px 0 0;
}
a {
color: #303030;
font-weight: 500;
text-decoration: underline;
}
.link-edit {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-blue-100;
float: right;
text-transform: lowercase;
}
}
.shp-summary-group-price,
.shp-summary-package {
color: $color-gray4;
}
.shp-summary-group-price {
padding-right: 16px;
}
.shp-summary-package {
padding-left: 16px;
}
.vtex-omnishipping-1-x-summaryChange {
border-color: #303030;
color: #303030;
}
.vtex-omnishipping-1-x-deliveryChannelsToggle {
background-color: $color-white;
border: 1px solid #292929;
box-shadow: 2px 2px 4px rgb(0 0 0 / 20%);
border-radius: 100px;
}
.vtex-omnishipping-1-x-deliveryOptionActive {
color: $color-black;
text-transform: uppercase;
font-family: $font-family;
}
.vtex-omnishipping-1-x-deliveryOptionInactive {
color: $color-gray4;
text-transform: uppercase;
font-family: $font-family;
}
}
}
}
}

View File

@ -29,10 +29,16 @@
.cart-fixed {
font-family: $font-family;
width: 100%;
width: auto;
margin: 0 16px;
border-radius: 8px;
border: 1px solid $color-gray7;
h2 {
padding: 0 17px;
background: $color-white;
border: none;
margin: 24px 0 34px 0;
color: #303030;
font-size: 14px;
font-weight: 500;
@ -47,7 +53,8 @@
}
.cart {
border: 1px solid $color-gray4;
border: 0;
padding: 0 17px;
ul li {
border-top: none;
@ -60,6 +67,13 @@
border-top: 1px solid #e5e5e5;
}
img {
width: 60px;
height: 60px;
object-fit: cover;
transform: rotateY(180deg);
}
.shipping-date,
.price {
color: #7d7d7d;
@ -73,6 +87,7 @@
}
#go-to-cart-button a {
margin-right: 17px;
color: #303030;
text-decoration: underline;
}
@ -84,18 +99,23 @@
}
#payment-data-submit {
background: $color-black;
background: #298541;
border-radius: 8px;
border: none;
border-radius: 0;
color: $color-white;
outline: none;
transition: all 0.2s linear;
.icon-lock {
display: none;
}
&:hover {
background: lighten($color-black, 5);
background: lighten(#298541, 5);
}
&:active {
background: darken($color-black, 5);
background: darken(#298541, 5);
}
}
}
@ -105,6 +125,38 @@
}
.cart-items {
.hproduct.item.muted {
span.product-name {
width: 120px;
white-space: unset;
margin-top: 12px;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: $color-black;
}
span.quantity {
display: none;
}
span.shipping-date {
display: none;
}
.description {
margin-top: 0;
strong.price {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-black;
margin-left: 0;
margin-top: 20px;
}
}
}
.product-item {
padding: 16px;
margin-top: 0;
@ -149,10 +201,10 @@
border-top: 0;
margin-top: 2px;
padding-right: 0;
width: 250px;
width: 240px;
a {
color: $color-black;
color: $color-black1;
font-family: $font-family-secundary;
font-style: normal;
font-weight: normal;
@ -195,6 +247,10 @@
line-height: 14px;
text-decoration-line: line-through;
.muted {
color: $color-gray6;
}
.old-product-price-label {
text-transform: lowercase;
}
@ -217,6 +273,7 @@
margin-left: 75px !important;
input {
font-family: $font-family-secundary;
background-color: $color-white;
border: 0;
border-radius: 0;
@ -344,6 +401,7 @@
}
.srp-main-title {
font-family: $font-family;
font-style: normal;
color: $color-black;
font-weight: 400;
@ -364,7 +422,7 @@
background-color: $color-gray5;
border: none;
border-radius: 8px;
color: $color-black;
color: $color-black1;
font-size: 16px;
letter-spacing: 0.05em;
line-height: 19px;
@ -385,39 +443,37 @@
}
.srp-data {
width: 280px;
margin-bottom: 48.35px;
@include mq(cstm, max) {
width: calc(100vw - 32px);
}
width: calc(100vw - 32px);
.srp-pickup-my-location__button {
background-color: $color-black;
background-color: $color-blue-100;
font-family: $font-family;
border: none;
border-radius: 5px;
border-radius: 8px;
color: $color-white;
outline: none;
width: 100%;
height: 42px;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 16px;
letter-spacing: 0.05em;
font-weight: 700;
line-height: 19px;
text-transform: uppercase;
&: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);
}
}
}
.srp-toggle {
margin: 0 0 34px;
margin: 0 0 20px;
&__wrapper {
background-color: $color-white;
@ -432,12 +488,13 @@
}
&__current {
border: 1px solid $color-blue;
border: 1px solid $color-black;
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
border-radius: 100px;
}
.blue {
color: $color-blue;
color: $color-black;
}
label {
@ -450,18 +507,22 @@
}
.srp-postal-code {
.ship-country {
display: none;
}
.ship-postalCode {
label {
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: $color-black;
margin-bottom: 12px;
line-height: 16px;
color: $color-black1;
margin-bottom: 2px;
}
input {
position: relative;
border: 1px solid $color-gray3;
border-radius: 5px;
box-shadow: none;
@ -469,51 +530,64 @@
font-size: 12px;
height: 36px;
padding: 12px 8px;
width: 172px;
width: 215px;
}
& ~ button {
background-color: $color-black;
background-color: $color-blue-100;
border: none;
border-radius: 5px;
border-radius: 8px;
color: $color-white;
font-size: 12px;
font-size: 14px;
font-weight: 700;
height: 36px;
letter-spacing: 1px;
line-height: 19px;
outline: none;
position: absolute;
right: -150px;
top: 36px;
right: -213px;
top: 28px;
transition: all 0.2s linear;
width: 96px;
width: 120px;
text-transform: uppercase;
margin-left: 8px;
&: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);
}
}
small a {
font-family: $font-family;
font-style: normal;
font-weight: normal;
font-size: 10px;
line-height: 12px;
color: $color-blue;
color: transparent;
margin-top: 7px;
font-size: 0;
&::after {
position: absolute;
content: "Não sei meu código postal";
font-family: $font-family-secundary;
font-style: normal;
font-size: 10px;
font-weight: normal;
line-height: 12px;
color: $color-black1;
bottom: 11px;
right: -1px;
text-decoration-line: underline;
}
}
span.help.error {
color: red;
font-size: 12px;
position: absolute;
left: 0;
left: 12px;
width: 100%;
top: 17px;
top: 34px;
}
}
}
@ -553,8 +627,8 @@
}
.srp-delivery-select-container {
border: 1px solid $color-gray4;
border-radius: 0;
border: 1px solid $color-gray;
border-radius: 8px;
.srp-shipping-current-many {
&__name {
@ -579,9 +653,8 @@
}
&-totalizers {
padding: 0;
width: 346px;
padding: 0 16px;
width: 100%;
.coupon-data {
margin-bottom: 10px;
#cart-link-coupon-add {
@ -602,11 +675,6 @@
}
}
@include mq(md, max) {
padding: 0 16px;
width: 100%;
}
.coupon-column {
.coupon {
margin: 0;
@ -619,14 +687,15 @@
}
.coupon-label label {
margin-bottom: 12px;
font-family: $font-family;
margin-bottom: 4px;
font-family: $font-family-secundary;
font-style: normal;
font-weight: normal;
font-weight: 400;
font-size: 12px;
line-height: 14px;
color: $color-gray2;
cursor: none;
text-align: start;
}
.coupon-fields {
@ -646,45 +715,47 @@
}
input {
border: 2px solid $color-gray3;
border: 1px solid $color-gray5;
font-family: $font-family-secundary;
border-radius: 5px;
box-shadow: none;
color: $color-gray4;
font-size: 12px;
line-height: 14px;
font-weight: 400;
height: 34px;
padding: 0 12px;
max-width: 160px;
max-width: 59.568513119534%;
width: 100%;
@include mq(sm, max) {
max-width: 100%;
width: 100%;
::placeholder {
color: $color-gray1;
}
}
button {
background: $color-black;
background: $color-blue-100;
border: none;
border-radius: 5px;
color: $color-white;
font-size: 12px;
border-radius: 8px;
color: $color-black1;
height: 36px;
font-weight: 400;
font-size: 14px;
line-height: 19px;
letter-spacing: 1px;
margin-left: 6px;
outline: none;
transition: all 0.2s linear;
width: 94px;
width: 100%;
max-width: 38.924198250729%;
text-transform: uppercase;
@include mq(md, max) {
width: 138px;
}
font-family: $font-family;
&: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);
}
}
}
@ -692,8 +763,7 @@
.accordion-group {
tr {
border-color: #e5e5e5;
border-top: 1px solid $color-gray7;
td {
&.empty {
display: none;
@ -722,6 +792,7 @@
tfoot {
td.info,
td.monetary {
font-family: $font-family;
font-weight: 700;
font-size: 18px;
font-style: normal;
@ -766,7 +837,6 @@
transition: ease-in 0.22s all;
padding: 12px 19px;
margin-top: 14.91px;
width: 308px;
&:hover {
background-color: darken($color-blue-100, 5);

View File

@ -1,11 +1,10 @@
body .container-main.container-order-form .orderform-template.active {
.mini-cart {
width: 32.3242%;
width: 100%;
margin-left: unset;
margin-right: 0;
float: right;
}
.orderform-template-holder {
width: 66.1132%;
width: 100%;
}
}

View File

@ -10,7 +10,7 @@
font-weight: 700;
font-size: 24px;
line-height: 33px;
margin: 17px;
margin: 16px;
color: $color-black;
width: 91%;
}

View File

@ -22,11 +22,8 @@ body {
display: flex;
flex-direction: column;
min-height: 100% !important;
padding-top: 0 !important;
@include mq(md, max) {
padding-left: 0;
}
padding: 0 !important;
overflow-x: hidden;
&.body-cart {
height: 100%;
@ -35,18 +32,7 @@ body {
&.body-cart,
&.body-order-form {
@include mq(xl, min) {
padding-top: 0;
}
@include mq(lg, max) {
padding-bottom: 0 !important;
}
@include mq(md, max) {
padding-right: 0;
padding-left: 0;
}
padding: unset;
}
.container-order-form,
.container-cart {
@ -67,8 +53,7 @@ body {
color: $color-black !important;
}
#cart-title,
#orderform-title {
#cart-title {
color: $color-gray2;
font-family: $font-family;
font-weight: 500;
@ -77,10 +62,20 @@ body {
margin: 40px 0 30px;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-left: 30px;
}
@include mq(md, max) {
margin-left: 30px;
}
#orderform-title {
color: $color-black1;
font-family: $font-family;
letter-spacing: 0.1em;
text-transform: uppercase;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
margin: 16px;
width: 91%;
}
.dropdown {

View File

@ -6,6 +6,7 @@ $font-family-secundary: "Tenor Sans", sans-serif;
/* Colors */
$color-black: #292929;
$color-black1: #000000;
$color-white: #fff;
@ -16,19 +17,23 @@ $color-gray3: #f0f0f0;
$color-gray4: #8d8d8d;
$color-gray5: #e5e5e5;
$color-gray6: #989898;
$color-gray7: #e0e0e0;
$color-gray8: #828282;
$color-blue-100: #00c8ff;
$color-blue: #4267b2;
$color-green: #4caf50;
$color-red: #ff0000;
/* Grid breakpoints */
$grid-breakpoints: (
xs: 0,
cstm: 400,
sm: 576px,
md: 768px,
lg: 992px,
lg: 1024px,
xl: 1200px,
) !default;