forked from M3-Academy/m3-academy-template-checkout
feature/optimization #1
10970
checkout/package-lock.json
generated
10970
checkout/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,10 +3,11 @@ import { Container } from "m3-utils";
|
|||||||
import "slick-carousel";
|
import "slick-carousel";
|
||||||
import Header from "./components/Header";
|
import Header from "./components/Header";
|
||||||
import Footer from "./components/Footer";
|
import Footer from "./components/Footer";
|
||||||
|
import Content from "./components/content";
|
||||||
|
|
||||||
const m3Checkout = new Container({
|
const m3Checkout = new Container({
|
||||||
appName: "m3-checkout",
|
appName: "m3-checkout",
|
||||||
components: [CheckoutUI, Header, Footer],
|
components: [CheckoutUI, Content, Header, Footer],
|
||||||
});
|
});
|
||||||
|
|
||||||
m3Checkout.start();
|
m3Checkout.start();
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
.empty-cart {
|
.empty-cart {
|
||||||
font-family: $font-family;
|
|
||||||
&-content {
|
&-content {
|
||||||
color: $color-black;
|
color: $color-black-neutra;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin: 170px 0 262px 0;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
@include mq(md, max) {
|
@include mq(md, max) {
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
@ -10,29 +11,49 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-title {
|
&-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 {
|
&-links {
|
||||||
.link-choose-products {
|
.link-choose-products {
|
||||||
background: $color-black;
|
background: $color-white;
|
||||||
border: none;
|
border: 1px solid $color-black-neutra;
|
||||||
border-radius: 5px;
|
|
||||||
transition: ease-in 0.22s all;
|
transition: ease-in 0.22s all;
|
||||||
outline: none;
|
border-radius: 0;
|
||||||
font-family: $font-family;
|
font-family: "Tenor Sans";
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 500;
|
font-weight: 400;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
letter-spacing: 0.05em;
|
|
||||||
color: $color-white;
|
|
||||||
text-transform: uppercase;
|
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 {
|
&:hover {
|
||||||
background: lighten($color-black, 5);
|
background: $color-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#cart-title,
|
||||||
|
.empty-cart-message,
|
||||||
|
.transactions-container {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cart-template {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
@ -11,11 +11,12 @@ html {
|
|||||||
footer .footerCheckout__wrapper {
|
footer .footerCheckout__wrapper {
|
||||||
width: 94.9734%;
|
width: 94.9734%;
|
||||||
margin: auto auto 0 auto;
|
margin: auto auto 0 auto;
|
||||||
|
padding: 16px 0;
|
||||||
}
|
}
|
||||||
footer .footerCheckout__prateleira,
|
footer .footerCheckout__prateleira,
|
||||||
header {
|
header {
|
||||||
width: 79.53125%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
border-bottom: 1px solid #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -6,8 +6,9 @@ $font-family-secundary:"Tenor Sans", sans-serif;
|
|||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
$color-black: #292929;
|
$color-black: #292929;
|
||||||
|
$color-black-neutra: #000000;
|
||||||
|
|
||||||
$color-white: #fff;
|
$color-white: #ffffff;
|
||||||
|
|
||||||
$color-gray: #6c6c6c;
|
$color-gray: #6c6c6c;
|
||||||
$color-gray2: #7d7d7d;
|
$color-gray2: #7d7d7d;
|
||||||
@ -26,7 +27,7 @@ $grid-breakpoints: (
|
|||||||
sm: 576px,
|
sm: 576px,
|
||||||
md: 768px,
|
md: 768px,
|
||||||
lg: 992px,
|
lg: 992px,
|
||||||
xl: 1200px
|
xl: 1200px,
|
||||||
) !default;
|
) !default;
|
||||||
|
|
||||||
$z-index: (
|
$z-index: (
|
||||||
@ -34,5 +35,5 @@ $z-index: (
|
|||||||
level2: 10,
|
level2: 10,
|
||||||
level3: 15,
|
level3: 15,
|
||||||
level4: 20,
|
level4: 20,
|
||||||
level5: 25
|
level5: 25,
|
||||||
) !default;
|
) !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user