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

79 lines
2.5 KiB
CSS
Raw Permalink Normal View History

/*
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--tab-product {
width: 100%;
max-width: 94.44%;
margin: 0 auto;
}
@media (min-width: 1920px) {
.container--tab-product {
max-width: 1840px;
}
}
.container--tab-product .listContainer--m3-tab-list-product {
justify-content: space-around;
border-bottom: 1px solid #B9B9B9;
margin-bottom: 32px;
}
@media (max-width: 1024px) {
.container--tab-product .listContainer--m3-tab-list-product {
flex-direction: column;
}
}
.container--tab-product .listContainer--m3-tab-list-product .listItem {
margin: 0;
padding: 0;
}
.container--tab-product .listContainer--m3-tab-list-product .listItem :global(.vtex-button) :global(.vtex-button__label) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
display: flex;
align-items: center;
text-align: center;
color: #BFBFBF;
text-transform: capitalize;
}
.container--tab-product .listContainer--m3-tab-list-product .listItem--m3-tab-list-item-product {
background: #fff;
border: none !important;
width: 114px;
}
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product,
.container--tab-product .listContainer--m3-tab-list-product .listItemActive {
background: #fff;
border: none !important;
}
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button),
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) {
background-color: #fff;
border: none;
border-bottom: 2px solid #000000;
border-radius: 0;
position: relative;
top: 2px;
}
@media (max-width: 1024px) {
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button),
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) {
border-bottom: 0;
top: 0;
}
}
.container--tab-product .listContainer--m3-tab-list-product .listItemActive--m3-tab-list-item-product :global(.vtex-button) :global(.vtex-button__label),
.container--tab-product .listContainer--m3-tab-list-product .listItemActive :global(.vtex-button) :global(.vtex-button__label) {
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #000000;
}