challenge-vtex-io-ana-carol.../styles/sass/pages/product/vtexFlexLayout/vtex.flex-layout.scss

209 lines
5.0 KiB
SCSS
Raw Normal View History

2023-02-09 13:15:55 +00:00
@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");
2023-01-30 23:29:08 +00:00
//Header
.flexRow--main-header {
display: flex;
justify-content: center;
.flexRowContent--main-header {
height: 97px;
display: flex;
justify-content: space-between;
align-items: center;
2023-02-09 13:15:55 +00:00
padding: 32px 40px;
2023-01-30 23:29:08 +00:00
@media (max-width: 2561px) and (min-width: 1920px) {
margin: 0 auto;
padding: 32px 14.0593%;
2023-01-30 23:29:08 +00:00
}
:global(.vtex-minicart-2-x-minicartWrapperContainer) {
:global(.vtex-minicart-2-x-minicartContainer) {
:global(.vtex-minicart-2-x-openIconContainer) {
2023-02-09 13:15:55 +00:00
padding-right: 0;
2023-01-30 23:29:08 +00:00
}
}
}
:global(.vtex-login-2-x-container) {
:global(.vtex-button) {
:global(.vtex-button__label) {
visibility: hidden;
}
: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;
:global(.vtex-store-components-3-x-logoLink) {
position: absolute;
top: 16px;
left: 40%;
@media (max-width: 768px) and (min-width: 375px) {
left: 30%;
}
:global(.vtex-store-components-3-x-sizeMobile) {
padding: 0;
height: 33px;
display: contents;
}
}
:global(.vtex-store-drawer-0-x-openIconContainer) {
visibility: hidden;
display: flex;
padding-left: 40px;
}
: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;
}
:global(.vtex-login-2-x-container) {
:global(.vtex-button) {
:global(.vtex-button__label) {
visibility: hidden;
}
: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;
left: 0;
position: absolute;
}
}
}
2023-01-30 23:29:08 +00:00
}
}
//Menu
.flexColChild {
:global(.vtex-menu-2-x-menuContainerNav) {
:global(.vtex-menu-2-x-menuContainer) {
@media (max-width: 2561px) and (min-width: 1920px) {
margin-left: 308.08px;
}
2023-01-30 23:29:08 +00:00
: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: $gray;
2023-01-30 23:29:08 +00:00
}
}
}
}
}
}
//Product-images
2023-01-24 19:33:02 +00:00
.flexRowContent {
padding: 0;
margin: 0;
column-gap: 32px;
}
.flexCol--stack-layout-content {
width: 100% !important;
}
//Product Price
.flexRowContent {
:global(.vtex-product-price-1-x-sellingPrice) {
margin-top: 24px;
:global(.vtex-product-price-1-x-sellingPriceValue) {
height: 38px;
:global(.vtex-product-price-1-x-currencyContainer) {
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: $black;
}
}
}
}
//Botao add Cart
.flexRow {
.flexRowContent {
.stretchChildrenWidth {
:global(.vtex-button):first-child {
background: $black;
padding: 12px 64px;
height: 49px;
border: none;
border-radius: 0;
@media (max-width: 768px) and (min-width: 375px) {
height: 74px;
margin-top: 10px;
}
:global(.vtex-button__label) {
:global(.vtex-add-to-cart-button-0-x-buttonDataContainer) {
font-size: 0;
}
:global(.vtex-add-to-cart-button-0-x-buttonDataContainer)::after {
content: "ADICIONAR À SACOLA";
font-family: "Open Sans", sans-serif;
color: $white;
font-weight: 400;
font-size: 18px;
line-height: 25px;
}
}
}
}
}
}
//Footer
.flexRow--menu-row {
background-color: $black;
height: 464px;
padding: 32px 32px 128px;
@media (max-width: 2561px) and (min-width: 1920px) {
padding: 32px 320px 128px;
}
}
.flexRow--menu-row-mobile {
background-color: $black;
min-height: 532px;
padding: 0px 16px 32px;
.flexRowContent--menu-row-mobile {
display: flex;
flex-direction: column;
.stretchChildrenWidth {
width: 100% !important;
}
}
}
//Footer Newsletter
.flexRow--newsletter-footer {
@media (max-width: 768px) and (min-width: 375px) {
margin-top: 32px;
}
}