challenge-vtex-io-nicolly-v.../styles/css/vtex.tab-layout.css

136 lines
3.3 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 {
padding: 0 40px;
}
2023-01-27 13:52:47 +00:00
@media screen and (min-width: 1920px) {
.container {
padding: 0 360px;
}
}
.container .listContainer {
justify-content: space-between;
padding: 0 64px;
border-bottom: 1px solid #b9b9b9;
}
@media screen and (max-width: 1024px) {
.container .listContainer {
flex-direction: column;
padding: 8px 0;
border-top: 1px solid #b9b9b9;
}
}
.container .listContainer .listItem {
margin: 0;
padding: 0;
border-bottom: 2px solid transparent;
}
@media screen and (max-width: 1024px) {
.container .listContainer .listItem {
border: none;
}
}
.container .listContainer .listItemActive {
border-bottom: 2px solid #000;
}
@media screen and (max-width: 1024px) {
.container .listContainer .listItemActive {
border: none;
}
}
.container .listItem :global(.vtex-button) {
background-color: transparent;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 38px;
color: #bfbfbf;
text-transform: capitalize;
border: none;
padding: 0 16px;
}
@media screen and (max-width: 1024px) {
.container .listItem :global(.vtex-button) {
padding: 0;
}
}
.container .listItem :global(.vtex-button__label) {
padding: 0 !important;
}
.container .listItemActive :global(.vtex-button__label) {
color: #000;
}
.container .listItemActive :global(.vtex-button) {
border: none;
border-radius: 0;
color: #000;
}
.container .contentContainer {
padding: 32px 32px 16px;
}
@media screen and (max-width: 1024px) {
.container .contentContainer {
padding: 16px 0;
2023-01-27 13:52:47 +00:00
border-bottom: 1px solid #b9b9b9;
}
}
.container .contentContainer .contentItem {
display: flex;
gap: 32px;
}
@media screen and (max-width: 1024px) {
.container .contentContainer .contentItem {
flex-direction: column;
gap: 16px;
}
}
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-productImagesContainer) {
width: 50%;
}
@media screen and (max-width: 1024px) {
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-productImagesContainer) {
width: 100%;
}
}
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
width: 50%;
}
@media screen and (max-width: 1024px) {
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionContainer) {
width: 100%;
}
}
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionTitle) {
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: #575757;
margin-bottom: 8px;
}
@media screen and (max-width: 1024px) {
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-productDescriptionTitle) {
font-size: 20px;
line-height: 32px;
}
}
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-content) {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}
@media screen and (max-width: 1024px) {
.container .contentContainer .contentItem :global(.vtex-store-components-3-x-content) {
font-size: 14px;
line-height: 19px;
}
}