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

193 lines
7.1 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@300;400;600;700&display=swap");
/* Grid breakpoints */
.container--description-block {
padding: 16px 360px;
margin: 0;
max-width: 100%;
}
@media (min-width: 1025px) and (max-width: 1920px), (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container--description-block {
padding: 16px 40px;
}
}
.container--description-block .listContainer {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #B9B9B9;
height: 38px;
margin-bottom: 32px;
padding: 0 64px;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container--description-block .listContainer {
flex-direction: column;
row-gap: 16px;
border-top: 1px solid #B9B9B9;
border-bottom: 1px solid #B9B9B9;
height: auto;
padding: 16px 0;
align-items: flex-start;
margin-bottom: 16px;
}
}
.container--description-block .listContainer .listItem {
height: 38px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container--description-block .listContainer .listItem {
width: 100%;
}
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container--description-block .listContainer .listItem :global(.vtex-button) {
width: 100%;
}
}
.container--description-block .listContainer .listItem :global(.vtex-button__label) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #BFBFBF;
padding: 0 16px !important;
}
@media (min-width: 1025px) and (max-width: 1920px) {
.container--description-block .listContainer .listItem :global(.vtex-button__label) {
font-size: 18px;
}
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container--description-block .listContainer .listItem :global(.vtex-button__label) {
font-size: 18px;
padding: 0 !important;
justify-content: flex-start;
}
}
.container--description-block .listContainer .listItem :global(.vtex-button) {
background: transparent;
border: none;
}
.container--description-block .listContainer .listItemActive {
border-bottom: 2px solid #000;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.container--description-block .listContainer .listItemActive {
border: none;
}
}
.container--description-block .listContainer .listItemActive :global(.vtex-button__label) {
color: #000;
}
.container--description-block .contentContainer--description {
display: flex;
align-items: flex-start;
justify-content: space-evenly;
gap: 32px;
}
.contentContainer--description-content {
padding: 0 32px;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content {
padding: 0 0 16px;
border-bottom: 1px solid #BFBFBF;
}
}
.contentContainer--description-content .contentItem {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 32px;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content .contentItem {
flex-direction: column;
gap: 16px;
}
}
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productImagesContainer--image-description) {
width: 50%;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productImagesContainer--image-description) {
width: 100%;
}
}
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
width: 50%;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
width: 100%;
}
}
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionTitle) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 32px;
color: #575757;
margin-bottom: 16px;
}
@media (min-width: 1025px) and (max-width: 1920px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionTitle) {
font-size: 24px;
}
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-productDescriptionTitle) {
font-size: 20px;
}
}
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) {
display: flex;
align-items: flex-start;
flex-direction: column;
gap: 16px;
padding: 0;
}
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-content) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
@media (min-width: 1025px) and (max-width: 1920px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-content) {
font-size: 16px;
line-height: 22px;
}
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-content) {
font-size: 14px;
line-height: 19px;
}
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-fadeBottom) {
background-image: none;
}
}
.contentContainer--description-content .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) :global(.vtex-store-components-3-x-container) :global(.vtex-store-components-3-x-showMoreButton) {
display: none;
}