forked from M3-Academy/m3-academy-template-checkout
feat: adicionando estilo a página (finalizar compra)
This commit is contained in:
parent
fed1e56e31
commit
904eeabd59
@ -1,13 +1,33 @@
|
|||||||
.checkout-container {
|
.checkout-container {
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
.client-pre-email {
|
.client-pre-email {
|
||||||
border-color: $color-gray4;
|
border-color: $color-black2;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
|
|
||||||
.link-cart {
|
.link-cart {
|
||||||
a {
|
a {
|
||||||
color: $color-black;
|
color: $color-black2;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
font-family: "Tenor Sans";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 16px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 28px;
|
||||||
|
line-height: 33px;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout1024px) {
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: lighen($color-black, 10);
|
color: lighen($color-black, 10);
|
||||||
@ -23,14 +43,49 @@
|
|||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: #303030;
|
font-family: "Tenor Sans";
|
||||||
font-size: 24px;
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 23px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: $color-black2;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 40px;
|
||||||
|
line-height: 47px;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout1024px) {
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 16px;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 12px;
|
||||||
|
margin-top: 100px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
small {
|
small {
|
||||||
color: $color-gray4;
|
font-family: "Tenor Sans";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 23px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: $color-black2;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 40px;
|
||||||
|
line-height: 47px;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout1024px) {
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 16px;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
font-size: 10px;
|
||||||
|
line-height: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -40,48 +95,105 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
color: $color-black;
|
color: $color-gray2;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
padding: 0 16px;
|
padding: 15.28px 14.09px;
|
||||||
border: 2px solid $color-gray3;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-radius: 5px;
|
border: 1px solid #000000;
|
||||||
|
border-radius: 5px 0px 0px 5px;
|
||||||
|
width: 443px;
|
||||||
|
height: 50px;
|
||||||
|
left: 8px;
|
||||||
|
position: relative;
|
||||||
@media (max-width: 490px) {
|
@media (max-width: 490px) {
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
width: 765.37px;
|
||||||
|
height: 50px;
|
||||||
|
padding: 15.28px 14.35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
width: 216px !important;
|
||||||
|
position: relative;
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: $color-black;
|
|
||||||
border-radius: 5px;
|
|
||||||
border: none;
|
border: none;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
height: 54px;
|
width: 126.76px;
|
||||||
|
height: 52px;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
background: $color-blue2;
|
||||||
|
border-radius: 0px 8px 8px 0px;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 19px;
|
||||||
|
text-align: center;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: $color-black2;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
@media (max-width: 490px) {
|
@media (max-width: 490px) {
|
||||||
height: 48px;
|
height: 48px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
width: 219px;
|
||||||
|
height: 52px;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
width: 127px !important;
|
||||||
|
position: relative;
|
||||||
|
right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
span.help.error {
|
span.help.error {
|
||||||
color: red;
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 16px;
|
||||||
|
color: $color-red;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.emailInfo {
|
.emailInfo {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
background-color: $color-white;
|
background-color: $color-white;
|
||||||
border: 1px solid $color-gray4;
|
border: 1px solid $color-black2;
|
||||||
border-radius: 0;
|
border-radius: 5px;
|
||||||
|
width: 366.1px;
|
||||||
|
height: 116.1px;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
width: 742.1px;
|
||||||
|
height: 204.59px;
|
||||||
|
}
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
width: 313px;
|
||||||
|
}
|
||||||
h3 {
|
h3 {
|
||||||
color: #303030;
|
|
||||||
margin: 0 0 8px 0;
|
margin: 0 0 8px 0;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 16px;
|
||||||
|
color: $color-black2 !important;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 33px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@ -89,13 +201,24 @@
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
span {
|
span {
|
||||||
color: $color-black;
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 16px;
|
||||||
|
color: $color-black2;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 33px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
i::before {
|
i::before {
|
||||||
color: $color-black;
|
color: $color-blue2;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 33px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,6 +231,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a#orderform-to-cart {
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input#client-pre-email::placeholder {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 16px;
|
||||||
|
color: $color-black2;
|
||||||
|
@media (min-width: $checkout2500px) {
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 33px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.shipping-data,
|
.shipping-data,
|
||||||
.payment-data,
|
.payment-data,
|
||||||
.client-profile-data {
|
.client-profile-data {
|
||||||
@ -287,3 +427,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.client-pre-email .emailInfo .icon-lock {
|
||||||
|
@media (max-width: $checkout375px) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -103,6 +103,9 @@ body {
|
|||||||
|
|
||||||
@include mq(md, max) {
|
@include mq(md, max) {
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
|
@media (max-width: $checkout1024px) {
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ $color-blue2: #00c8ff;
|
|||||||
|
|
||||||
$color-green: #4caf50;
|
$color-green: #4caf50;
|
||||||
|
|
||||||
|
$color-red: #FF0000;
|
||||||
|
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
$grid-breakpoints: (
|
$grid-breakpoints: (
|
||||||
xs: 0,
|
xs: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user