challenge-vtex-io-josecarlo.../styles/css/vtex.tab-layout.css

68 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 */
/* Grid breakpoints */
.container--description-pdp-tab-layout {
padding: 0 40px;
}
.listContainer--container-list-tab-layout-pdp {
display: flex;
list-style: none;
padding: 0 64px;
justify-content: space-between;
border-bottom: 1px solid #B9B9B9;
margin-bottom: 32px;
}
.listContainer--container-list-tab-layout-pdp .listItem {
width: 114px;
height: 38px;
display: grid;
place-items: center;
padding: 0;
margin: 0;
}
.listContainer--container-list-tab-layout-pdp .listItem :global(.vtex-button) {
border: 0;
width: max-content;
min-height: auto;
background: transparent;
}
.listContainer--container-list-tab-layout-pdp .listItem :global(.vtex-button) :global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #BFBFBF;
text-transform: capitalize;
padding: 0 !important;
}
.listContainer--container-list-tab-layout-pdp .listItemActive {
border-bottom: 2px solid #000000;
}
.listContainer--container-list-tab-layout-pdp .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
color: #000000;
}
@media screen and (max-width: 1024px) {
.listContainer--container-list-tab-layout-pdp {
flex-direction: column;
padding: 0;
margin-bottom: 16px;
border-top: 1px solid #B9B9B9;
}
.listContainer--container-list-tab-layout-pdp .listItem {
width: max-content;
margin-bottom: 16px;
}
.listContainer--container-list-tab-layout-pdp .listItem:first-child {
margin-top: 16px;
}
.listContainer--container-list-tab-layout-pdp .listItemActive {
border: 0;
}
}