forked from M3-Academy/challenge-vtex-io
140 lines
4.7 KiB
CSS
140 lines
4.7 KiB
CSS
@charset "UTF-8";
|
|
/*
|
|
0 - 600PX: Phone
|
|
600 - 900px: Table portrait
|
|
900 - 1200px: Tablet landscape
|
|
[1200 - 1800] is where our nortal styles apply
|
|
1800px + : Big desktop
|
|
*/
|
|
/* Media Query M3 */
|
|
/* Grid breakpoints */
|
|
.flexRow--main-header {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.flexRow--main-header .flexRowContent--main-header {
|
|
height: 97px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
@media (max-width: 2561px) and (min-width: 1920px) {
|
|
.flexRow--main-header .flexRowContent--main-header {
|
|
margin: 0 auto;
|
|
padding-left: 360px;
|
|
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) {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
.flexRow--main-header .flexRowContent--main-header :global(.vtex-login-2-x-container) :global(.vtex-button) :global(.vtex-button__label) {
|
|
visibility: hidden;
|
|
}
|
|
.flexRow--main-header .flexRowContent--main-header :global(.vtex-login-2-x-container) :global(.vtex-button) :global(.vtex-button__label)::before {
|
|
content: "";
|
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/user-icon-m3academy-anacarolinaduartecavalcante.svg");
|
|
visibility: visible;
|
|
width: 22px;
|
|
height: 18px;
|
|
padding: 0;
|
|
}
|
|
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-store-components-3-x-logoLink) {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 40%;
|
|
}
|
|
@media (max-width: 768px) and (min-width: 375px) {
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-store-components-3-x-logoLink) {
|
|
left: 30%;
|
|
}
|
|
}
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-store-components-3-x-logoLink) :global(.vtex-store-components-3-x-sizeMobile) {
|
|
padding: 0;
|
|
height: 33px;
|
|
display: contents;
|
|
}
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-store-drawer-0-x-openIconContainer) {
|
|
visibility: hidden;
|
|
display: flex;
|
|
padding-left: 40px;
|
|
}
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-store-drawer-0-x-openIconContainer)::before {
|
|
content: "";
|
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/hamburger-icon-m3academy-anacarolinaduartecavalcante.svg");
|
|
visibility: visible;
|
|
width: 27.93px;
|
|
height: 21px;
|
|
}
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-login-2-x-container) :global(.vtex-button) :global(.vtex-button__label) {
|
|
visibility: hidden;
|
|
}
|
|
.flexRow--main-header-mobile .flexRowContent--main-header-mobile :global(.vtex-login-2-x-container) :global(.vtex-button) :global(.vtex-button__label)::before {
|
|
content: "";
|
|
background: url("https://agenciamagma.vteximg.com.br/arquivos/user-icon-m3academy-anacarolinaduartecavalcante.svg");
|
|
visibility: visible;
|
|
width: 22px;
|
|
height: 18px;
|
|
padding: 0;
|
|
}
|
|
|
|
.flexColChild :global(.vtex-menu-2-x-menuContainerNav) :global(.vtex-menu-2-x-menuContainer) :global(.vtex-menu-2-x-menuItem) :global(.vtex-menu-2-x-styledLink) :global(.vtex-menu-2-x-styledLinkContent) {
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
letter-spacing: -0.1em;
|
|
text-transform: uppercase;
|
|
color: #929292;
|
|
}
|
|
|
|
.flexRowContent {
|
|
padding: 0;
|
|
margin: 0;
|
|
column-gap: 32px;
|
|
}
|
|
|
|
.flexCol--stack-layout-content {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.flexRow .flexRowContent .stretchChildrenWidth :global(.vtex-button):first-child {
|
|
background: #000000;
|
|
padding: 12px 64px;
|
|
height: 49px;
|
|
border: none;
|
|
border-radius: 0;
|
|
}
|
|
@media (max-width: 768px) and (min-width: 375px) {
|
|
.flexRow .flexRowContent .stretchChildrenWidth :global(.vtex-button):first-child {
|
|
height: 74px;
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
.flexRow .flexRowContent .stretchChildrenWidth :global(.vtex-button):first-child :global(.vtex-button__label) :global(.vtex-add-to-cart-button-0-x-buttonDataContainer) {
|
|
font-size: 0;
|
|
}
|
|
.flexRow .flexRowContent .stretchChildrenWidth :global(.vtex-button):first-child :global(.vtex-button__label) :global(.vtex-add-to-cart-button-0-x-buttonDataContainer)::after {
|
|
content: "ADICIONAR À SACOLA";
|
|
font-family: "Open Sans", sans-serif;
|
|
color: #ffffff;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
}
|
|
|
|
@media (max-width: 768px) and (min-width: 375px) {
|
|
.flexRow--newsletter-footer {
|
|
margin-top: 32px;
|
|
}
|
|
} |