challenge-vtex-io-andrea-ma.../styles/css/vtex.tab-layout.css

97 lines
2.5 KiB
CSS
Raw 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--description {
padding: 0 40px;
}
@media only screen and (min-width: 1920px) {
.container--description {
padding: 0 360px;
}
}
.container--description .listContainer {
padding: 0 64px;
margin-bottom: 32px;
border-bottom: 1px solid #b9b9b9;
justify-content: space-between;
}
@media only screen and (min-width: 1920px) {
.container--description .listContainer {
margin-bottom: 64px;
}
}
@media only screen and (max-width: 1024px) {
.container--description .listContainer {
padding: 16px 0;
margin-bottom: 0;
border-top: 1px solid #b9b9b9;
flex-direction: column;
gap: 16px;
}
}
.container--description .listContainer .listItem {
margin: 0;
padding: 0;
}
.container--description .listContainer .listItem :global(.vtex-button) {
border: 0;
background-color: transparent;
}
.container--description .listContainer .listItem :global(.vtex-button__label) {
padding: 0 16px !important;
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
}
@media only screen and (min-width: 1920px) {
.container--description .listContainer .listItem :global(.vtex-button__label) {
font-size: 24px;
}
}
@media only screen and (max-width: 1024px) {
.container--description .listContainer .listItem :global(.vtex-button__label) {
padding: 0 !important;
}
}
.container--description .listContainer .listItem.listItemActive {
border-bottom: 2px solid #000000;
}
.container--description .listContainer .listItem.listItemActive :global(.vtex-button__label) {
color: #000000;
}
@media only screen and (min-width: 1920px) {
.container--description .listContainer .listItem.listItemActive {
border-width: 3px;
}
}
@media only screen and (max-width: 1024px) {
.container--description .listContainer .listItem.listItemActive {
border: 0;
}
}
.container--description .contentContainer .contentItem {
padding: 0 32px;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-carouselGaleryThumbs) {
display: none;
}
@media only screen and (max-width: 1024px) {
.container--description .contentContainer .contentItem {
padding: 16px 0;
border-bottom: 1px solid #bfbfbf;
display: flex;
flex-direction: column;
gap: 16px;
}
}