challenge-vtex-io-Filipe-Qu.../styles/css/vtex.tab-layout.css

81 lines
2.0 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
.container {
padding: 16px 40px 0;
}
.container .listContainer {
justify-content: space-around;
border-bottom: 1px solid #b9b9b9;
}
.container .listContainer .listItem {
padding: 0;
margin: 0;
}
.container .listContainer .listItem :global(.vtex-button) {
background-color: transparent;
border: none;
}
.container .listContainer .listItem :global(.vtex-button) :global(.vtex-button__label) {
font-size: 18px;
line-height: 38px;
font-weight: 400;
color: #bfbfbf;
text-transform: capitalize;
}
.container .listContainer .listItemActive :global(.vtex-button) {
background-color: transparent;
border: none;
border-bottom: 2px solid #000000;
}
.container .listContainer .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
color: #000000;
}
.container .contentContainer .contentItem {
display: flex;
gap: 32px;
padding: 32px 32px 0;
}
@media screen and (max-width: 1024px) {
.container {
padding-top: 0;
}
.container .listContainer {
flex-direction: column;
padding: 16px 0;
border-top: 1px solid #b9b9b9;
gap: 16px;
}
.container .listItem :global(.vtex-button) {
width: 100%;
}
.container .listItem :global(.vtex-button) :global(.vtex-button__label) {
flex-direction: column;
align-items: flex-start;
padding: 0;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.container .listItemActive :global(.vtex-button) {
border-bottom: none !important;
}
.contentContainer .contentItem {
flex-direction: column;
padding: 16px 0 !important;
gap: 16px !important;
border-bottom: 1px solid #b9b9b9;
}
}
@media screen and (min-width: 1920px) {
.container {
padding: 16px 360px 0;
}
}