challenge-vtex-io-eleonora-otz/styles/sass/pages/product/vtex.tab-layout.scss

114 lines
2.4 KiB
SCSS
Raw Normal View History

2023-02-01 01:24:50 +00:00
// Descrição do produto
2023-01-28 22:19:19 +00:00
:global(.vtex-tab-layout-0-x-container) {
padding: 0 40px;
2023-01-31 17:21:27 +00:00
margin: 0;
@media screen and (min-width: 1920px) and (max-width: 2560px) {
margin: 6px 360px;
padding: 0;
}
2023-01-28 22:19:19 +00:00
2023-02-01 01:24:50 +00:00
// Header descrição do produto
2023-01-28 22:19:19 +00:00
.listContainer--tabList {
border-bottom: 1px solid $gray-100;
height: 43px;
justify-content: space-between;
padding: 0 70px;
2023-02-01 01:24:50 +00:00
// Títulos do header da descrição do produto
2023-01-28 22:19:19 +00:00
.listItem {
:global(.vtex-button) {
&:hover {
height: 43px;
border: none;
background-color: transparent;
2023-01-28 22:19:19 +00:00
padding: 0;
margin: 0;
}
}
:global(.vtex-button__label) {
font-weight: 400;
font-size: 18px;
line-height: 18px;
color: $gray-100;
text-transform: capitalize;
2023-01-30 15:09:57 +00:00
padding: 0.25em 10px 0.32em;
2023-01-28 22:19:19 +00:00
&:hover {
2023-01-30 15:09:57 +00:00
padding: 0.25em 10px 0.32em;
2023-01-28 22:19:19 +00:00
}
}
}
2023-02-01 01:24:50 +00:00
// Título ativo do header da descrição do produto
2023-01-28 22:19:19 +00:00
.listItemActive {
:global(.vtex-button) {
background-color: white;
border: none;
}
:global(.vtex-button__label) {
color: $black;
background-color: $white;
border-bottom: 2px solid $black;
2023-01-30 15:09:57 +00:00
padding: 0.25em 10px 0.32em;
2023-01-28 22:19:19 +00:00
&:hover {
border-bottom: 2px solid $black;
2023-01-30 15:09:57 +00:00
padding: 0.25em 10px 0.32em;
2023-01-28 22:19:19 +00:00
}
}
}
}
2023-02-01 01:24:50 +00:00
// Container do conteúdo
2023-01-28 22:19:19 +00:00
:global(.vtex-tab-layout-0-x-contentContainer) {
.contentItem {
display: flex;
flex-direction: row;
gap: 32px;
align-items: flex-start;
padding: 32px 32px 16px;
2023-02-01 01:24:50 +00:00
// Imagem do produto
2023-01-31 17:21:27 +00:00
.productImagesContainer {
width: 50%;
max-width: 50%;
}
:global(.vtex-store-components-3-x-productImageTag) {
width: inherit !important;
2023-01-31 17:21:27 +00:00
max-width: 632px;
2023-01-31 00:37:44 +00:00
display: block;
// max-width: 872px;
}
2023-02-01 01:24:50 +00:00
// Título da descrição do produto
:global(.vtex-rich-text-0-x-heading) {
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: $gray-600;
margin-top: 0;
}
2023-01-28 22:19:19 +00:00
2023-02-01 01:24:50 +00:00
// Texto descrição do produto
:global(.vtex-rich-text-0-x-paragraph) {
2023-01-28 22:19:19 +00:00
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: $gray-500;
// width: 50%;
2023-01-28 22:19:19 +00:00
}
}
}
}