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

84 lines
2.0 KiB
SCSS
Raw Normal View History

//Tab Layout
.container--description-block {
padding: 0 40px;
margin-top: 16px;
.listContainer {
justify-content: space-around;
border-bottom: 1px solid #b9b9b9;
margin-bottom: 32px;
padding-top: 16px;
@media (max-width: 1025px) and (min-width: 768px) {
flex-direction: column;
border-top: 1px solid #b9b9b9;
margin-bottom: 16px;
}
.listItem {
margin: 0;
padding: 0;
height: 38px;
margin-bottom: 16px;
:global(.vtex-button) {
background-color: unset;
border: none;
color: #bfbfbf;
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
width: 114px;
height: 38px;
border-radius: 0;
:global(.vtex-button__label) {
padding: 0;
@media (max-width: 1025px) and (min-width: 768px) {
justify-content: left;
}
}
}
}
.listItemActive {
margin: 0;
padding: 0;
height: 38px;
margin-bottom: 16px;
:global(.vtex-button) {
background-color: unset;
border: none;
color: #000000;
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
border-bottom: 2px solid #000000;
width: 114px;
height: 38px;
border-radius: 0;
@media (max-width: 1025px) and (min-width: 768px) {
border-bottom: unset;
}
:global(.vtex-button__label) {
padding: 0;
@media (max-width: 1025px) and (min-width: 768px) {
justify-content: left;
}
}
}
}
}
.contentContainer {
@media (max-width: 1025px) and (min-width: 768px) {
border-bottom: 1px solid #b9b9b9;
padding-bottom: 16px;
}
.contentItem {
display: grid;
grid-template-columns: 50% 50%;
@media (max-width: 1025px) and (min-width: 768px) {
display: grid;
grid-template-columns: 100%;
}
}
}
}