challenge-vtex-io-amanda-al.../styles/css/vtex.tab-layout.css

82 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 */
.container--description {
padding: 0 40px;
}
.container--description .listContainer--description {
display: flex;
justify-content: space-between;
padding: 0 80px;
border-bottom: 1px solid #B9B9B9;
}
.container--description .listContainer--description .listItem {
margin: 0;
padding: 0;
}
.container--description .listContainer--description .listItem :global(.vtex-button) {
border: 0;
padding-top: 16px;
}
.container--description .listContainer--description .listItem :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
text-transform: capitalize;
padding: 0 !important;
color: #BFBFBF;
}
.container--description .listContainer--description .listItemActive :global(.vtex-button) {
border: 0;
border-bottom: 2px solid #000000;
background-color: transparent;
font-weight: 400;
}
.container--description .listContainer--description .listItemActive :global(.vtex-button__label) {
color: #000000;
}
.contentItem {
display: flex;
gap: 32px;
padding: 32px 32px 0;
}
@media screen and (min-width: 1920px) {
.container--description {
padding: 0 360px;
}
.container--description .listContainer--description .listItem :global(.vtex-button__label) {
font-size: 24px;
line-height: 38px;
}
.contentItem {
padding: 64px 32px 0;
}
}
@media screen and (max-width: 1024px) {
.container--description {
margin-top: 16px;
}
.container--description .listContainer--description {
flex-direction: column;
border: 1px solid #B9B9B9;
border-width: 1px 0;
padding: 0 0 16px;
}
.container--description .listContainer--description .listItemActive :global(.vtex-button) {
border-bottom: 0;
}
.contentItem {
flex-direction: column;
padding: 0;
margin-top: 16px;
gap: 16px;
}
}