feature/optimization #1

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

10970
checkout/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,10 +3,11 @@ import { Container } from "m3-utils";
import "slick-carousel";
import Header from "./components/Header";
import Footer from "./components/Footer";
import Content from "./components/content";
const m3Checkout = new Container({
appName: "m3-checkout",
components: [CheckoutUI, Header, Footer],
components: [CheckoutUI, Content, Header, Footer],
});
m3Checkout.start();

View File

@ -1,8 +1,9 @@
.empty-cart {
font-family: $font-family;
&-content {
color: $color-black;
color: $color-black-neutra;
text-align: center;
margin: 170px 0 262px 0;
width: 100%;
@include mq(md, max) {
padding: 0 16px;
@ -10,29 +11,49 @@
}
&-title {
font-size: 20px;
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-transform: uppercase;
margin: 0;
}
&-links {
.link-choose-products {
background: $color-black;
border: none;
border-radius: 5px;
background: $color-white;
border: 1px solid $color-black-neutra;
transition: ease-in 0.22s all;
outline: none;
font-family: $font-family;
border-radius: 0;
font-family: "Tenor Sans";
font-style: normal;
font-weight: 500;
font-weight: 400;
font-size: 14px;
line-height: 16px;
text-align: center;
letter-spacing: 0.05em;
color: $color-white;
text-transform: uppercase;
color: $color-black-neutra;
box-sizing: border-box;
width: 34.4936%;
height: 48px;
margin: 32px 0 0 0;
padding-top: 15px;
&:hover {
background: lighten($color-black, 5);
background: $color-white;
}
}
}
}
#cart-title,
.empty-cart-message,
.transactions-container {
display: none !important;
}
.cart-template {
margin: 0 !important;
}

View File

@ -11,11 +11,12 @@ html {
footer .footerCheckout__wrapper {
width: 94.9734%;
margin: auto auto 0 auto;
padding: 16px 0;
}
footer .footerCheckout__prateleira,
header {
width: 79.53125%;
margin: 0 auto;
width: 100%;
border-bottom: 1px solid #000000;
}
body {

View File

@ -6,8 +6,9 @@ $font-family-secundary:"Tenor Sans", sans-serif;
/* Colors */
$color-black: #292929;
$color-black-neutra: #000000;
$color-white: #fff;
$color-white: #ffffff;
$color-gray: #6c6c6c;
$color-gray2: #7d7d7d;
@ -26,7 +27,7 @@ $grid-breakpoints: (
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
xl: 1200px,
) !default;
$z-index: (
@ -34,5 +35,5 @@ $z-index: (
level2: 10,
level3: 15,
level4: 20,
level5: 25
level5: 25,
) !default;