forked from M3-Academy/m3-academy-template-checkout
feat: adiciona header desktop
This commit is contained in:
parent
30555d9098
commit
dda45bcf4d
10970
checkout/package-lock.json
generated
10970
checkout/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
.link-cart {
|
.link-cart {
|
||||||
a {
|
a {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: lighen($color-black, 10);
|
color: lighen($color-black-100, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
padding: 0 16px;
|
padding: 0 16px;
|
||||||
border: 2px solid $color-gray3;
|
border: 2px solid $color-gray3;
|
||||||
@ -53,7 +53,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: $color-black;
|
background-color: $color-black-100;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: none;
|
border: none;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
@ -89,11 +89,11 @@
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
span {
|
span {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
}
|
}
|
||||||
|
|
||||||
i::before {
|
i::before {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
@ -101,7 +101,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
i::before {
|
i::before {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
font-size: 6rem;
|
font-size: 6rem;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
@ -146,12 +146,12 @@
|
|||||||
/* General configurations */
|
/* General configurations */
|
||||||
|
|
||||||
.client-notice {
|
.client-notice {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
label {
|
label {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,7 +170,7 @@
|
|||||||
.box-client-info-pj {
|
.box-client-info-pj {
|
||||||
.link a#is-corporate-client,
|
.link a#is-corporate-client,
|
||||||
.link a#not-corporate-client {
|
.link a#not-corporate-client {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
@ -183,17 +183,17 @@
|
|||||||
button.submit {
|
button.submit {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background: $color-black;
|
background: $color-black-100;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: all 0.2s linear;
|
transition: all 0.2s linear;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: lighten($color-black, 5);
|
background: lighten($color-black-100, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background: darken($color-black, 5);
|
background: darken($color-black-100, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -281,7 +281,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.vtex-omnishipping-1-x-deliveryOptionActive {
|
.vtex-omnishipping-1-x-deliveryOptionActive {
|
||||||
text-shadow: 1.3px 1px lighten($color-black, 50);
|
text-shadow: 1.3px 1px lighten($color-black-100, 50);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,18 +85,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#payment-data-submit {
|
#payment-data-submit {
|
||||||
background: $color-black;
|
background: $color-black-100;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
outline: none;
|
outline: none;
|
||||||
transition: all 0.2s linear;
|
transition: all 0.2s linear;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: lighten($color-black, 5);
|
background: lighten($color-black-100, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background: darken($color-black, 5);
|
background: darken($color-black-100, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
padding: 0 0 16px;
|
padding: 0 0 16px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -253,7 +253,7 @@
|
|||||||
.icon-plus-sign,
|
.icon-plus-sign,
|
||||||
.icon-minus-sign {
|
.icon-minus-sign {
|
||||||
&::before {
|
&::before {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
padding: 1px 12px;
|
padding: 1px 12px;
|
||||||
@ -300,7 +300,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -405,7 +405,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.srp-pickup-my-location__button {
|
.srp-pickup-my-location__button {
|
||||||
background-color: $color-black;
|
background-color: $color-black-100;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
@ -419,11 +419,11 @@
|
|||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.05em;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: lighten($color-black, 5);
|
background-color: lighten($color-black-100, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: darken($color-black, 5);
|
background-color: darken($color-black-100, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -469,7 +469,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -485,7 +485,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
& ~ button {
|
& ~ button {
|
||||||
background-color: $color-black;
|
background-color: $color-black-100;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
@ -501,11 +501,11 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: lighten($color-black, 5);
|
background-color: lighten($color-black-100, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: darken($color-black, 5);
|
background-color: darken($color-black-100, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -673,7 +673,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background: $color-black;
|
background: $color-black-100;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
@ -691,11 +691,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: lighten($color-black, 5);
|
background-color: lighten($color-black-100, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: darken($color-black, 5);
|
background-color: darken($color-black-100, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -716,7 +716,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -737,7 +737,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 21px;
|
line-height: 21px;
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
.empty-cart {
|
.empty-cart {
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
&-content {
|
&-content {
|
||||||
color: $color-black;
|
color: $color-black-100;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@include mq(md, max) {
|
@include mq(md, max) {
|
||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
&-links {
|
&-links {
|
||||||
.link-choose-products {
|
.link-choose-products {
|
||||||
background: $color-black;
|
background: $color-black-100;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
transition: ease-in 0.22s all;
|
transition: ease-in 0.22s all;
|
||||||
@ -31,7 +31,7 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: lighten($color-black, 5);
|
background: lighten($color-black-100, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,8 +14,7 @@ footer .footerCheckout__wrapper {
|
|||||||
}
|
}
|
||||||
footer .footerCheckout__prateleira,
|
footer .footerCheckout__prateleira,
|
||||||
header {
|
header {
|
||||||
width: 79.53125%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -54,16 +53,16 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-success {
|
.btn-success {
|
||||||
background: $color-black;
|
background: $color-black-100;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: lighten($color-black, 15%);
|
background: lighten($color-black-100, 15%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.emailInfo h3 {
|
.emailInfo h3 {
|
||||||
color: $color-black !important;
|
color: $color-black-100 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cart-title,
|
#cart-title,
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
/* _header.scss */
|
/* _header.scss */
|
||||||
.headerCheckout {
|
.headerCheckout {
|
||||||
|
border-bottom: 1px solid $color-black-500;
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
width: auto !important;
|
padding: 30px 0;
|
||||||
|
width: 79.53%;
|
||||||
}
|
}
|
||||||
&__wrapper {
|
&__wrapper {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -11,12 +14,15 @@
|
|||||||
|
|
||||||
&__logo {
|
&__logo {
|
||||||
img {
|
img {
|
||||||
height: 52px;
|
height: 37px;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__safeBuy {
|
&__safeBuy {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -25,12 +31,12 @@
|
|||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 14px;
|
line-height: 16px;
|
||||||
color: $color-gray;
|
color: $color-black-100;
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
img {
|
||||||
margin-right: 8px;
|
height: 15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,8 @@ $font-family: "Open Sans", sans-serif;
|
|||||||
$font-family-secundary:"Tenor Sans", sans-serif;
|
$font-family-secundary:"Tenor Sans", sans-serif;
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
$color-black: #292929;
|
$color-black-100: #292929;
|
||||||
|
$color-black-500: #000000;
|
||||||
|
|
||||||
$color-white: #fff;
|
$color-white: #fff;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user