challenge-vtex-io-andrea-ma.../styles/sass/pages/product/vtex.tab-layout.scss

97 lines
1.8 KiB
SCSS
Raw Normal View History

.container--description {
padding: 0 40px;
@include mq(xl, min) {
padding: 0 360px;
}
.listContainer {
padding: 0 64px;
margin-bottom: 32px;
border-bottom: 1px solid #b9b9b9;
justify-content: space-between;
@include mq(xl, min) {
margin-bottom: 64px;
}
@include mq(lg, max) {
padding: 16px 0;
margin-bottom: 0;
border-top: 1px solid #b9b9b9;
flex-direction: column;
gap: 16px;
}
.listItem {
margin: 0;
padding: 0;
:global(.vtex-button) {
border: 0;
background-color: transparent;
}
:global(.vtex-button__label) {
padding: 0 16px !important;
// font-family: "Open Sans";
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
}
@include mq(xl, min) {
:global(.vtex-button__label) {
font-size: 24px;
}
}
@include mq(lg, max) {
:global(.vtex-button__label) {
padding: 0 !important;
}
}
&.listItemActive {
border-bottom: 2px solid #000000;
:global(.vtex-button__label) {
color: #000000;
}
@include mq(xl, min) {
border-width: 3px;
}
@include mq(lg, max) {
border: 0;
}
}
}
}
.contentContainer {
.contentItem {
padding: 0 32px;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
:global(.vtex-store-components-3-x-carouselGaleryThumbs) {
display: none;
}
@include mq(lg, max) {
// background-color: yellow;
padding: 16px 0;
border-bottom: 1px solid #bfbfbf;
display: flex;
flex-direction: column;
gap: 16px;
}
}
}
}