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

90 lines
1.7 KiB
CSS
Raw Permalink Normal View History

/*
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;
2023-02-03 11:21:49 +00:00
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;
2023-02-02 13:00:32 +00:00
}
2023-02-03 11:21:49 +00:00
@media (min-width: 1921px) {
.listContainer,
.contentContainer {
max-width: 1840px;
}
}
2023-02-02 13:00:32 +00:00
@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;
2023-02-06 19:05:32 +00:00
border-bottom: 1px solid #cccccc;
2023-02-02 13:00:32 +00:00
}
}