style: correção de estilos do header

This commit is contained in:
Ana Carolina Duarte Cavalcante 2023-02-09 10:15:55 -03:00
parent 6e86c78bff
commit 4d87f71095
4 changed files with 11 additions and 29 deletions

View File

@ -18,21 +18,17 @@
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) { .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; padding-right: 0;
}
@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) {
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

@ -9,12 +9,7 @@
/* Media Query M3 */ /* Media Query M3 */
/* Grid breakpoints */ /* Grid breakpoints */
.logoContainer { .logoContainer {
padding-left: 40px; padding-left: 0;
}
@media (max-width: 2561px) and (min-width: 1920px) {
.logoContainer {
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) {

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,18 +10,16 @@
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; padding-right: 0;
@media (max-width: 2561px) and (min-width: 1920px) {
padding-right: 0;
}
} }
} }
} }
@ -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,10 +1,7 @@
//Logo Header //Logo Header
.logoContainer { .logoContainer {
padding-left: 40px; padding-left: 0;
@media (max-width: 2561px) and (min-width: 1920px) {
padding-left: 0;
}
} }
//Input Header //Input Header