challenge-vtex-io-rafael-sa.../styles/css/vtex.tab-layout.css

90 lines
1.7 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap%27");
/* Grid breakpoints */
.container--description {
margin-top: 16px;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.contentItem {
display: flex;
justify-content: center;
gap: 32px;
margin-top: 32px;
}
.listContainer {
display: flex;
justify-content: space-evenly;
border-bottom: 1px solid #bfbfbf;
}
.listItem {
padding-top: 0;
padding-bottom: 0;
margin: 0;
}
.listItem :global(.vtex-button) {
border: none;
background: transparent;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
margin: 0;
}
.listItemActive :global(.vtex-button) {
border: none;
background: transparent;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #000000;
border-bottom: 2px solid #000000;
border-radius: 0;
text-transform: capitalize;
}
@media (min-width: 1921px) {
.listContainer,
.contentContainer {
max-width: 1840px;
}
}
@media (max-width: 1024px) {
.listContainer {
flex-direction: column;
border-top: 1px solid #bfbfbf;
}
.listItem :global(.vtex-button) {
display: flex;
width: 100%;
}
.listItem :global(.vtex-button__label) {
padding: 0;
}
.listItemActive :global(.vtex-button) {
border: none;
}
.contentItem {
flex-direction: column;
margin-top: 15px;
gap: 16px;
border-bottom: 1px solid #cccccc;
}
}