challenge-vtex-io-sabrina-m.../styles/css/vtex.tab-layout.css

111 lines
2.2 KiB
CSS

/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.contentItem {
display: flex;
}
@media screen and (max-width: 1024px) {
.contentItem {
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) {
.listContainer--list-product {
width: 71.875%;
}
}
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
.listContainer--list-product {
width: 92.1875%;
}
}
@media screen and (max-width: 1024px) {
.listContainer--list-product {
flex-direction: column;
border-top: 1px solid #BFBFBF;
gap: 16px;
padding-top: 16px;
padding-bottom: 16px;
}
}
@media screen and (max-width: 768px) {
.listContainer--list-product {
width: 79%;
}
}
.contentContainer--content-product {
width: 90%;
margin-left: auto;
margin-right: auto;
padding-top: 32px;
}
@media screen and (min-width: 1920px) {
.contentContainer--content-product {
width: 69.375%;
padding-top: 64px;
}
}
@media screen and ((min-width: 769px) and (max-width: 1024px)) {
.contentContainer--content-product {
width: 92.1875%;
}
}
@media screen and (max-width: 1024px) {
.contentContainer--content-product {
padding-top: 16px;
border-bottom: 1px solid #BFBFBF;
}
}
@media screen and (max-width: 768px) {
.contentContainer--content-product {
width: 79%;
}
}
.listItem {
margin: 0;
padding: 0;
}
.listItemActive {
border-bottom: 2px solid #000000;
}
@media screen and (max-width: 1024px) {
.listItemActive {
border-bottom: none;
}
}
.listItemActive :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) {
.listItemActive :last-child {
font-size: 24px;
}
}
.listItemActive :last-child:hover {
border-bottom: none;
color: #000000;
transform: none;
}