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

99 lines
3.1 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%;
padding: 0 40px;
}
@media (min-width: 1920px) {
.container--tab-product {
2023-02-11 02:07:18 +00:00
padding: 0 360px;
}
}
.container--tab-product .listContainer--m3-tab-list-product {
justify-content: space-around;
2023-02-11 02:07:18 +00:00
border-bottom: 1px solid #989898;
margin-bottom: 32px;
}
@media (max-width: 1024px) {
.container--tab-product .listContainer--m3-tab-list-product {
margin-top: 16px;
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;
}
@media (max-width: 1024px) {
.container--tab-product .listContainer--m3-tab-list-product .listItem :global(.vtex-button) :global(.vtex-button__label) {
padding-left: 0;
}
}
.container--tab-product .listContainer--m3-tab-list-product .listItem--m3-tab-list-item-product {
2023-02-07 00:44:37 +00:00
background: #ffffff;
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 {
2023-02-07 00:44:37 +00:00
background: #ffffff;
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) {
2023-02-07 00:44:37 +00:00
background-color: #ffffff;
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;
}
@media (max-width: 1024px) {
.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) {
padding-left: 0;
}
}
.contentContainer {
padding: 0 32px;
}
@media (max-width: 1024px) {
.contentContainer {
padding: 0;
}
}