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

69 lines
1.3 KiB
SCSS

.listContainer--ProductSpecificationTabList {
justify-content: space-around;
border-bottom: 1px solid #b9b9b9;
@media screen and (max-width: 1024px) {
border-top: 1px solid #b9b9b9;
}
.listItem {
position: relative;
padding: 0;
margin: 0;
:global(.vtex-button) {
border-radius: 0;
color: #bfbfbf;
:global(.vtex-button__label) {
padding: 0 16px !important;
}
}
&.listItemActive {
:global(.vtex-button) {
background-color: transparent;
color: #000;
border: none;
}
@media screen and (min-width: 1025px) {
&::before {
content: "";
width: 100%;
height: 2px;
position: absolute;
left: 0;
bottom: -1px;
background-color: #000;
}
}
}
}
@media screen and (max-width: 1024px) {
width: 100%;
flex-direction: column;
flex-wrap: nowrap;
gap: 16px;
padding: 16px 0;
.listItem {
:global(.vtex-button) {
width: 100%;
height: 38px;
:global(.vtex-button__label) {
justify-content: start;
padding: 0 !important;
}
}
}
}
.listItem {
:global(.vtex-button) {
text-transform: capitalize !important;
}
}
}