challenge-vtex-io-saulo-klein/styles/sass/pages/product/vtex.tab-layout.scss

70 lines
1.3 KiB
SCSS

.container--tabLayout {
padding: 0 40px;
.listContainer {
border-bottom: 1px solid $color-gray13;
justify-content: space-evenly;
@include mq(lg, max) {
border-top: 1px solid $color-gray13;
padding: 8px 0;
}
@include mq(lg, max) {
flex-direction: column;
}
.listItem {
margin: 0;
padding: 0;
@include mq(lg, max) {
margin: 8px 0 8px;
}
:global(.vtex-button) {
background-color: transparent;
border: none;
:global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: $color-gray14;
text-transform: capitalize;
border: none;
padding: 0 !important;
}
}
}
.listItemActive {
@include mq(lg, min) {
border-bottom: 2px solid $color-black2;
}
:global(.vtex-button) {
:global(.vtex-button__label) {
color: $color-black2;
}
}
}
}
.contentContainer {
.contentItem {
display: grid;
grid-template-columns: repeat(2, 50%);
gap: 32px;
padding: 32px 32px 0;
@include mq(lg, max) {
grid-template-columns: 100%;
padding: 16px 0 0;
gap: 16px;
}
}
}
}