Entrega do Desafio #13

Merged
anacarolinaduartecavalcante merged 3 commits from feature/challenge-vtex-io into develop 2023-02-09 13:19:35 +00:00
6 changed files with 72 additions and 40 deletions

View File

@ -12,6 +12,7 @@
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
margin-left: 40px; margin-left: 40px;
margin-right: 40px;
padding: 0 0 16px; padding: 0 0 16px;
} }
@media (max-width: 2561px) and (min-width: 1920px) { @media (max-width: 2561px) and (min-width: 1920px) {
@ -21,8 +22,7 @@
} }
} }
.container .homeLink { .container .homeLink {
padding-right: 6px; padding: 0 12px 0 0;
padding-left: 0;
} }
.container .homeLink::before { .container .homeLink::before {
content: "Home"; content: "Home";
@ -36,13 +36,37 @@
display: none; display: none;
} }
.container .arrow { .container .arrow {
padding: 0 6px; align-items: center;
display: flex;
padding: 0 12px 0 0;
}
.container .arrow .caretIcon {
display: none;
}
.container .arrow ::before {
content: ">";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
margin-right: 13px;
} }
.container .arrow .link { .container .arrow .link {
padding: 0 6px; padding: 0;
}
.container .termArrow {
display: none;
} }
.container .term { .container .term {
padding: 0 6px; padding: 0;
}
.container .term::before {
content: ">";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
margin-right: 15px;
} }
.container .link, .container .link,
.container .term { .container .term {

View File

@ -18,22 +18,18 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 32px 40px;
} }
@media (max-width: 2561px) and (min-width: 1920px) { @media (max-width: 2561px) and (min-width: 1920px) {
.flexRow--main-header .flexRowContent--main-header { .flexRow--main-header .flexRowContent--main-header {
width: 71.858%;
margin: 0 auto; margin: 0 auto;
padding-left: 360px; padding: 32px 0;
padding-right: 360px;
} }
} }
.flexRow--main-header .flexRowContent--main-header :global(.vtex-minicart-2-x-minicartWrapperContainer) :global(.vtex-minicart-2-x-minicartContainer) :global(.vtex-minicart-2-x-openIconContainer) {
padding-right: 40px;
}
@media (max-width: 2561px) and (min-width: 1920px) {
.flexRow--main-header .flexRowContent--main-header :global(.vtex-minicart-2-x-minicartWrapperContainer) :global(.vtex-minicart-2-x-minicartContainer) :global(.vtex-minicart-2-x-openIconContainer) { .flexRow--main-header .flexRowContent--main-header :global(.vtex-minicart-2-x-minicartWrapperContainer) :global(.vtex-minicart-2-x-minicartContainer) :global(.vtex-minicart-2-x-openIconContainer) {
padding-right: 0; padding-right: 0;
} }
}
.flexRow--main-header .flexRowContent--main-header :global(.vtex-login-2-x-container) :global(.vtex-button) :global(.vtex-button__label) { .flexRow--main-header .flexRowContent--main-header :global(.vtex-login-2-x-container) :global(.vtex-button) :global(.vtex-button__label) {
visibility: hidden; visibility: hidden;
} }
@ -92,9 +88,6 @@
position: absolute; position: absolute;
} }
.flexColChild :global(.vtex-menu-2-x-menuContainerNav) :global(.vtex-menu-2-x-menuContainer) {
margin-left: 148.08px;
}
@media (max-width: 2561px) and (min-width: 1920px) { @media (max-width: 2561px) and (min-width: 1920px) {
.flexColChild :global(.vtex-menu-2-x-menuContainerNav) :global(.vtex-menu-2-x-menuContainer) { .flexColChild :global(.vtex-menu-2-x-menuContainerNav) :global(.vtex-menu-2-x-menuContainer) {
margin-left: 308.08px; margin-left: 308.08px;

View File

@ -8,14 +8,9 @@
*/ */
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.logoContainer {
padding-left: 40px;
}
@media (max-width: 2561px) and (min-width: 1920px) {
.logoContainer { .logoContainer {
padding-left: 0; padding-left: 0;
} }
}
.autoCompleteOuterContainer:first-child :global(.vtex-input) :global(.vtex-input-prefix__group) { .autoCompleteOuterContainer:first-child :global(.vtex-input) :global(.vtex-input-prefix__group) {
border-top: none; border-top: none;

View File

@ -3,14 +3,14 @@
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
margin-left: 40px; margin-left: 40px;
margin-right: 40px;
padding: 0 0 16px; padding: 0 0 16px;
@media (max-width: 2561px) and (min-width: 1920px) { @media (max-width: 2561px) and (min-width: 1920px) {
margin: 0 auto; margin: 0 auto;
width: 71.858%; width: 71.858%;
} }
.homeLink { .homeLink {
padding-right: 6px; padding: 0 12px 0 0;
padding-left: 0;
} }
.homeLink::before { .homeLink::before {
@ -27,14 +27,40 @@
} }
.arrow { .arrow {
padding: 0 6px; align-items: center;
display: flex;
padding: 0 12px 0 0;
.caretIcon {
display: none;
}
::before {
content: ">";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $gray;
margin-right: 13px;
}
.link { .link {
padding: 0 6px; padding: 0;
} }
} }
.termArrow {
display: none;
}
.term{ .term{
padding: 0 6px; padding: 0;
}
.term::before {
content: ">";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $gray;
margin-right: 15px;
} }
.link, .link,

View File

@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'); @import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
//Header //Header
@ -10,21 +10,19 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 32px 40px;
@media (max-width: 2561px) and (min-width: 1920px) { @media (max-width: 2561px) and (min-width: 1920px) {
width: 71.858%;
margin: 0 auto; margin: 0 auto;
padding-left: 360px; padding: 32px 0;
padding-right: 360px;
} }
:global(.vtex-minicart-2-x-minicartWrapperContainer) { :global(.vtex-minicart-2-x-minicartWrapperContainer) {
:global(.vtex-minicart-2-x-minicartContainer) { :global(.vtex-minicart-2-x-minicartContainer) {
:global(.vtex-minicart-2-x-openIconContainer) { :global(.vtex-minicart-2-x-openIconContainer) {
padding-right: 40px;
@media (max-width: 2561px) and (min-width: 1920px) {
padding-right: 0; padding-right: 0;
} }
} }
} }
}
:global(.vtex-login-2-x-container) { :global(.vtex-login-2-x-container) {
:global(.vtex-button) { :global(.vtex-button) {
:global(.vtex-button__label) { :global(.vtex-button__label) {
@ -98,7 +96,6 @@
.flexColChild { .flexColChild {
:global(.vtex-menu-2-x-menuContainerNav) { :global(.vtex-menu-2-x-menuContainerNav) {
:global(.vtex-menu-2-x-menuContainer) { :global(.vtex-menu-2-x-menuContainer) {
margin-left: 148.08px;
@media (max-width: 2561px) and (min-width: 1920px) { @media (max-width: 2561px) and (min-width: 1920px) {
margin-left: 308.08px; margin-left: 308.08px;
} }

View File

@ -1,11 +1,8 @@
//Logo Header //Logo Header
.logoContainer { .logoContainer {
padding-left: 40px;
@media (max-width: 2561px) and (min-width: 1920px) {
padding-left: 0; padding-left: 0;
} }
}
//Input Header //Input Header