challenge-vtex-io-naian-felix/styles/css/vtex.tab-layout.css

123 lines
4.0 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
/* Grid breakpoints */
.container--description {
max-height: auto;
margin-bottom: 16px;
}
@media screen and (max-width: 1024px) {
.container--description {
max-height: auto;
border-bottom: 1px solid #bfbfbf;
}
}
.container--description .listContainer {
display: flex;
justify-content: space-around;
border-bottom: 1px solid #bfbfbf;
}
@media screen and (max-width: 1024px) {
.container--description .listContainer {
flex-direction: column;
border-top: 1px solid #bfbfbf;
}
}
.container--description .listContainer .listItem {
padding: 0;
margin: 0;
}
.container--description .listContainer .listItem :global(.vtex-button) {
background: white;
border: none;
width: 100%;
display: flex;
justify-content: start;
font-family: "Open Sans", sans-serif;
font-size: 18px;
text-transform: none;
color: #bfbfbf;
}
.container--description .listContainer .listItem :global(.vtex-button) :global(.vtex-button__label) {
padding: 0;
}
.container--description .listContainer .listItemActive {
border-bottom: 2px solid black;
}
@media screen and (max-width: 1024px) {
.container--description .listContainer .listItemActive {
border: 0;
}
}
.container--description .listContainer .listItemActive :global(.vtex-button) {
color: black;
}
.container--description .contentContainer .contentItem {
display: flex;
}
@media screen and (max-width: 1024px) {
.container--description .contentContainer .contentItem {
flex-direction: column;
}
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productImagesContainer) {
max-height: 632px;
}
@media screen and (max-width: 1024px) {
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productImagesContainer) {
max-height: 976px;
}
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productImageTag--main) {
max-height: 632px !important;
}
@media screen and (max-width: 1024px) {
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productImageTag--main) {
max-height: 944px !important;
}
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productImagesGallerySlide) {
margin: 32px 32px 16px 32px;
height: 632px;
width: 632px;
}
@media screen and (max-width: 1024px) {
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productImagesGallerySlide) {
height: 994px;
margin-left: 0;
}
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-carouselGaleryThumbs) {
display: none;
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
margin-top: 32px;
margin-left: 32px;
}
@media screen and (max-width: 1024px) {
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
margin-left: 0;
}
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionTitle) {
font-family: "Open Sans", sans-serif;
font-size: 24px;
line-height: 32px;
color: #575757;
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionText) {
font-family: "Open Sans", sans-serif;
font-size: 16px;
line-height: 22px;
margin-bottom: 16px;
color: #929292;
}
.container--description .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) {
padding: 0;
}