challenge-vtex-io-Patrick-R.../styles/sass/pages/product/vtex.tab-layout.scss

148 lines
2.8 KiB
SCSS

.contentContainer {
padding: 32px 72px 0 72px;
@media (max-width: 1024px) {
padding: 16px 24px 0 24px;
}
@media (max-width: 768px) {
padding-left: 0;
padding-right: 0;
}
.contentItem {
display: flex;
@media (max-width: 1024px) {
flex-direction: column;
position: relative;
&::after {
content: "";
display: block;
position: absolute;
width: 100%;
height: 1px;
background-color: #929292;
bottom: -16px;
}
}
:global(.vtex-store-components-3-x-productDescriptionContainer) {
margin-left: 32px;
@media (max-width: 1024px) {
margin: 0;
margin-top: 16px;
}
:global(.vtex-store-components-3-x-productDescriptionTitle) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px !important;
color: #575757 !important;
}
:global(.vtex-store-components-3-x-productDescriptionText) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
}
:global(.vtex-store-components-3-x-productImage) {
width: 632px;
height: 632px;
@media (max-width: 1024px) {
width: 100%;
height: auto;
}
}
}
}
.listContainer {
border-bottom: 1px solid #bfbfbf;
width: 1360px;
margin: auto;
display: flex;
gap: 120px;
@media (max-width: 1360px) {
gap: 0;
justify-content: space-around;
}
@media (max-width: 1024px) {
flex-direction: column;
width: 100%;
gap: 0;
max-width: 944px;
border-top: 1px solid #bfbfbf;
padding: 8px 0;
}
:global(.vtex-button) {
background-color: white;
color: black;
border: none;
@media (max-width: 1024px) {
height: fit-content;
}
}
:global(.vtex-button__label) {
@media (max-width: 1024px) {
padding: 0 !important;
}
}
}
.listItem {
position: relative;
bottom: -5px;
color: #bfbfbf;
@media (max-width: 1024px) {
height: 38px;
margin: 8px 0;
display: flex;
align-items: center;
position: unset;
}
:global(.vtex-button__label) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
color: #bfbfbf;
}
}
.listItemActive {
border-bottom: #000000 2px solid;
position: relative;
bottom: -5px;
@media (max-width: 1024px) {
border: none;
}
:global(.vtex-button__label) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
color: #000000;
}
}
.container--description {
@media (max-width: 768px) {
padding: 0 40px;
}
}