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

96 lines
1.6 KiB
SCSS

.contentItem {
display: flex;
@media screen and (max-width: 1024px) {
flex-direction: column;
}
}
.listContainer--list-product{
width: 94.4444%;
justify-content: space-around;
margin-left: auto;
margin-right: auto;
border-bottom: 1px solid #BFBFBF;
@media screen and (min-width: 1920px) {
width: 71.875%;
}
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
width: 92.1875%;
}
@media screen and (max-width: 1024px) {
flex-direction: column;
border-top: 1px solid #BFBFBF;
gap: 16px;
padding-top: 16px;
padding-bottom: 16px;
}
@media screen and (max-width: 768px) {
width: 79%;
}
}
.contentContainer--content-product {
width: 90%;
margin-left: auto;
margin-right: auto;
padding-top: 32px;
@media screen and (min-width: 1920px) {
width: 69.375%;
padding-top: 64px;
}
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
width: 92.1875%;
}
@media screen and (max-width: 1024px) {
padding-top: 16px;
border-bottom: 1px solid #BFBFBF;
}
@media screen and (max-width: 768px) {
width: 79%;
}
}
.listItem {
margin: 0;
padding: 0;
}
.listItemActive {
border-bottom: 2px solid #000000;
@media screen and (max-width: 1024px) {
border-bottom: none;
}
:last-child {
background-color: transparent;
color: #000000;
font-weight: 400;
font-size: 18px;
line-height: 38px;
padding-top: 0 !important;
padding-bottom: 0 !important;
@media screen and (min-width: 1920px) {
font-size: 24px;
}
&:hover {
border-bottom: none;
color: #000000;
transform: none;
}
}
}