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

87 lines
2.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 */
.container--descriptionLayout {
width: 94.44%;
margin: 0 auto;
}
@media screen and (max-width: 1024px) {
.container--descriptionLayout {
width: 100%;
padding: 0 40px;
}
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper {
justify-content: space-between;
border-bottom: 1px solid #B9B9B9;
padding: 0 64px;
margin-bottom: 32px;
max-width: 94rem;
margin: 0 auto 32px auto;
}
@media screen and (max-width: 1024px) {
.container--descriptionLayout .listContainer--descriptionButtonWrapper {
padding: 16px 0 0 0;
flex-direction: column;
margin-bottom: 16px;
border-top: 1px solid #B9B9B9;
}
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItem--descriptionButton {
margin: 0;
padding: 0;
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItem--descriptionButton :global(.vtex-button) {
color: #bfbfbf;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItem--descriptionButton :global(.vtex-button):hover {
background-color: #fff;
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItem--descriptionButton :global(.vtex-button__label) {
padding: 0 16px !important;
text-transform: capitalize;
}
@media screen and (max-width: 1024px) {
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItem--descriptionButton :global(.vtex-button__label) {
margin-bottom: 16px;
padding: 0 !important;
}
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItemActive--descriptionButton {
margin-top: 2px;
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItemActive--descriptionButton :global(.vtex-button) {
background-color: #fff;
color: #000000;
border: 0;
border-bottom: 2px solid #000000;
border-radius: 0;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
}
@media screen and (max-width: 1024px) {
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItemActive--descriptionButton :global(.vtex-button) {
border: none;
}
}
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItemActive--descriptionButton :global(.vtex-button__label) {
padding: 0 16px !important;
text-transform: capitalize;
}
@media screen and (max-width: 1024px) {
.container--descriptionLayout .listContainer--descriptionButtonWrapper .listItemActive--descriptionButton :global(.vtex-button__label) {
padding: 0 !important;
}
}