challenge-vtex-io-henrique-.../styles/sass/pages/product/vtex.flex-layout.scss

171 lines
2.8 KiB
SCSS
Raw Normal View History

.flexRowContent--menu-link,
.flexRowContent--main-header {
padding: 0 0.5rem;
}
@media screen and (min-width: 40em) {
.flexRowContent--menu-link,
.flexRowContent--main-header {
padding: 0 1rem;
}
}
@media screen and (min-width: 80rem) {
.flexRowContent--menu-link,
.flexRowContent--main-header {
padding: 0 0.25rem;
}
}
.flexRowContent--menu-link {
background-color: #03044e;
color: #fff;
}
.flexRowContent--main-header {
background-color: #f0f0f0;
}
.flexRowContent--main-header-mobile {
align-items: center;
padding: 0.625rem 0.5rem;
background-color: #f0f0f0;
}
.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {
color: #ffffff;
font-size: 14px;
}
.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {
color: #727273;
font-size: 14px;
}
.flexRow--deals {
background-color: #0f3e99;
padding: 14px 0px;
}
.flexRow--deals .stretchChildrenWidth {
align-items: center;
}
.flexRow--deals .flexCol {
align-items: center;
margin-bottom: 5px;
padding-top: 5px;
}
.flexCol--filterCol {
max-width: 500px;
min-width: 230px;
}
.flexCol--productCountCol {
align-items: flex-start;
}
.flexCol--orderByCol {
align-items: flex-end;
}
.flexCol--orderByMobileCol {
width: 42%;
}
.flexCol--filterMobileCol {
width: 38%;
}
.flexRow--quickviewMainRow {
display: flex;
max-height: 100%;
}
.flexColChild--quickviewDetails:first-child {
overflow-y: auto;
height: 66% !important;
overflow-x: hidden;
}
.flexColChild--quickviewDetails:last-child {
height: 34% !important;
}
.flexRow--addToCartRow {
padding-bottom: 1rem;
}
.flexRow--productAvailability,
.flexRow--productMain {
padding: 0 40px;
}
.flexRowContent--productMain {
@media screen and (max-width: 1024px) {
flex-direction: column !important;
.stretchChildrenWidth {
width: 100% !important;
}
}
}
.flexCol--productName {
@media screen and (min-width: 1025px) {
align-items: flex-end;
}
}
.flexRowContent--productActions {
.stretchChildrenWidth {
width: auto !important;
&:last-child {
@media screen and (min-width: 768px) {
flex-grow: 1;
}
}
}
}
.flexRowContent--productActions {
flex-direction: column;
@media screen and (min-width: 768px) {
flex-direction: row;
}
:global(.vtex-button) {
height: 72px;
line-height: 24.51px;
@media screen and (min-width: 768px) {
height: 49px;
}
:global(.vtex-button__label) {
justify-content: stretch;
padding: 12px 64px;
}
:global(.vtex-add-to-cart-button-0-x-buttonDataContainer) {
flex-grow: 1;
width: 100%;
}
:global(.vtex-add-to-cart-button-0-x-buttonText) {
width: 99%;
}
}
}
.flexRow--productSpecifications {
padding: 0 40px;
}
.flexRow--productSpecificationItemContainer {
padding: 0 32px;
}