challenge-vtex-io-ramon-dia.../styles/css/vtex.tab-layout.css

67 lines
1.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 */
.container {
padding: 0 40px;
}
.listContainer {
align-items: center;
margin-bottom: 32px;
justify-content: space-around;
border-bottom: 1px solid #BFBFBF;
}
@media screen and (max-width: 1024px) {
.listContainer {
flex-direction: column;
align-content: baseline;
border-bottom: none;
}
}
.listItem {
margin: 0;
padding: 0;
}
@media screen and (max-width: 1024px) {
.listItem {
width: 100%;
}
}
.listItem :global(.vtex-button) {
border-radius: 0;
background-color: #FFFFFF;
color: #BFBFBF;
}
@media screen and (max-width: 1024px) {
.listItem :global(.vtex-button) {
display: flex;
width: 100%;
}
}
.listItemActive :global(.vtex-button) {
border: 0;
border-bottom: 1px solid #000000 !important;
}
@media screen and (max-width: 1024px) {
.listItemActive :global(.vtex-button) {
border-bottom: none !important;
}
}
.contentItem {
display: flex;
margin-bottom: 16px;
}
@media screen and (max-width: 1024px) {
.contentItem {
flex-direction: column;
}
}