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

86 lines
2.2 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 (min-width: 1920px) {
.container--description-pdp-tab-layout {
padding: 0 360px;
}
.listContainer--container-list-tab-layout-pdp .listItem {
width: 142px;
}
.listContainer--container-list-tab-layout-pdp .listItem :global(.vtex-button) :global(.vtex-button__label) {
font-size: 24px;
line-height: 38px;
}
}
@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 {
display: flex;
width: 100%;
margin-bottom: 16px;
justify-content: flex-start;
}
.listContainer--container-list-tab-layout-pdp .listItem :global(.vtex-button) {
display: flex;
width: 100%;
}
.listContainer--container-list-tab-layout-pdp .listItem:first-child {
margin-top: 16px;
}
.listContainer--container-list-tab-layout-pdp .listItemActive {
border: 0;
}
}