challenge-vtex-io-gabriel-g.../styles/sass/pages/product/vtex.tab-layout.scss

168 lines
3.5 KiB
SCSS
Raw Normal View History

.container--description {
height: 702px;
margin-top: 16px;
margin-bottom: 16px;
@media screen and (min-width: 1920px) {
height: 974px;
}
@media screen and (max-width: 1024px) {
height: 100%;
max-height: 1418px;
border-bottom: 1px solid #bfbfbf;
}
.listContainer {
display: flex;
justify-content: space-around;
border-bottom: 1px solid #bfbfbf;
@media screen and (max-width: 1024px) {
border-top: 1px solid #bfbfbf;
}
@media screen and (max-width: 1024px) {
flex-direction: column;
}
.listItem {
padding: 0;
margin: 0;
@media screen and (max-width: 1024px) {
margin-bottom: 16px;
&:first-child {
margin-top: 16px;
}
}
:global(.vtex-button) {
background: white;
border: none;
font-family: "Open Sans", sans-serif;
font-size: 18px;
text-transform: none;
color: #bfbfbf;
@media screen and (min-width: 1920px) {
font-size: 24px;
line-height: 38px;
}
@media screen and (min-width: 375px) and (max-width: 1024px) {
display: flex;
justify-content: start;
width: 100%;
}
:global(.vtex-button__label) {
padding: 0;
}
}
}
.listItemActive {
border-bottom: 2px solid black;
@media screen and (max-width: 1024px) {
border: none;
}
:global(.vtex-button) {
color: black;
}
}
}
.contentContainer {
padding-top: 32px;
@media screen and (min-width: 1920px) {
padding-top: 64px;
}
@media screen and (max-width: 1024px) {
padding-top: unset;
}
.contentItem {
display: flex;
@media screen and (max-width: 1024px) {
flex-direction: column;
}
:global(.vtex-store-components-3-x-imageElement) {
max-width: 632px;
margin-left: 32px;
@media screen and (min-width: 1920px) {
height: 872px;
}
@media screen and (min-width: 1920px) {
max-width: unset;
}
@media screen and (max-width: 1024px) {
max-width: 944px;
margin-top: 16px;
margin-left: unset;
}
}
:global(.vtex-store-components-3-x-productDescriptionContainer) {
margin-left: 32px;
@media screen and (max-width: 1024px) {
margin-top: 16px;
margin-left: unset;
margin-bottom: 16px;
}
:global(.vtex-store-components-3-x-productDescriptionTitle) {
font-family: "Open Sans", sans-serif;
font-size: 24px;
line-height: 32px;
color: #575757;
@media screen and (min-width: 1920px) {
font-size: 32px;
line-height: 32px;
}
@media screen and (max-width: 1024px) {
font-size: 20px;
line-height: 32px;
}
}
:global(.vtex-store-components-3-x-productDescriptionText) {
font-family: "Open Sans", sans-serif;
font-size: 16px;
line-height: 22px;
color: #929292;
@media screen and (min-width: 1920px) {
font-size: 18px;
line-height: 25px;
}
@media screen and (max-width: 1024px) {
font-size: 14px;
line-height: 19px;
}
}
:global(.vtex-store-components-3-x-container) {
padding: 0;
}
}
}
}
}