challenge-vtex-io-saulo-klein/styles/css/vtex.tab-layout.css

44 lines
1.2 KiB
CSS
Raw 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;700&display=swap");
/* Grid breakpoints */
.container--tabLayout {
padding: 0 40px;
}
.container--tabLayout .listContainer {
border-bottom: 1px solid #b9b9b9;
justify-content: space-evenly;
}
.container--tabLayout .listContainer .listItem {
margin: 0;
padding: 0;
}
.container--tabLayout .listContainer .listItem :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
}
.container--tabLayout .listContainer .listItemActive {
border-bottom: 2px solid #000;
}
.container--tabLayout .listContainer .listItemActive :global(.vtex-button) {
background-color: transparent;
border: none;
}
.container--tabLayout .listContainer .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
color: #000;
}
.container--tabLayout .contentContainer .contentItem {
display: grid;
grid-template-columns: repeat(2, 50%);
gap: 32px;
padding: 32px 32px 0;
}