forked from M3-Academy/challenge-vtex-io
66 lines
1.8 KiB
CSS
66 lines
1.8 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 */
|
|
.listContainer--ProductSpecificationTabList {
|
|
justify-content: space-around;
|
|
border-bottom: 1px solid #b9b9b9;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.listContainer--ProductSpecificationTabList {
|
|
border-top: 1px solid #b9b9b9;
|
|
}
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem {
|
|
position: relative;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) {
|
|
border-radius: 0;
|
|
color: #bfbfbf;
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) :global(.vtex-button__label) {
|
|
padding: 0 16px !important;
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem.listItemActive :global(.vtex-button) {
|
|
background-color: transparent;
|
|
color: #000;
|
|
border: none;
|
|
}
|
|
@media screen and (min-width: 1025px) {
|
|
.listContainer--ProductSpecificationTabList .listItem.listItemActive::before {
|
|
content: "";
|
|
width: 100%;
|
|
height: 2px;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: -1px;
|
|
background-color: #000;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.listContainer--ProductSpecificationTabList {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
gap: 16px;
|
|
padding: 16px 0;
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) {
|
|
width: 100%;
|
|
height: 38px;
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) :global(.vtex-button__label) {
|
|
justify-content: start;
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
.listContainer--ProductSpecificationTabList .listItem :global(.vtex-button) {
|
|
text-transform: capitalize !important;
|
|
} |