challenge-vtex-io-andrea-ma.../styles/sass/pages/product/vtex.store-components.scss

374 lines
7.2 KiB
SCSS
Raw Normal View History

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
.container {
margin: 0;
padding: 0;
}
/* ----- PRODUCT-MAIN ----- */
.productImagesGallerySlide {
width: 100% !important;
margin: 0;
.productImageTag {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover !important;
}
}
.carouselGaleryThumbs {
margin-top: 16px;
display: block;
.productImagesThumb {
width: 90px !important; // 13.5543% !important (em 1440px);
height: 100% !important;
margin-right: 16px;
margin-bottom: 0;
&:last-child {
margin-right: 0;
}
.figure {
width: 100%;
height: 100%;
.thumbImg {
width: 100%;
aspect-ratio: 1 / 1;
border-radius: 8px;
object-fit: cover;
}
}
&.productImagesThumbActive {
.carouselThumbBorder {
border-radius: 8px;
background: linear-gradient(
0deg,
rgba(0, 0, 0, 0.33),
rgba(0, 0, 0, 0.33)
);
}
}
}
}
/* ----- RIGHT-COL ----- */
.productBrand--quickview {
// font-family: "Open Sans";
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
2023-02-05 16:42:44 +00:00
.imageElement--pix-logo {
width: 66px;
2023-02-05 22:38:06 +00:00
height: 24px;
2023-02-05 16:42:44 +00:00
padding-bottom: 5px;
}
2023-02-05 22:38:06 +00:00
.skuSelectorContainer {
// background-color: red;
display: flex;
flex-direction: column;
.skuSelectorSubcontainer {
&--tamanho {
// background-color: yellow;
order: 1;
margin-bottom: 10px;
.skuSelectorName {
&::after {
content: "OUTROS TAMANHOS:";
font-size: 14px;
line-height: 19px;
}
}
.skuSelectorItem {
width: 40px;
height: 40px;
.skuSelectorInternalBox {
border: 1px solid #989898;
}
}
}
&--cor {
// background-color: cyan;
order: 2;
margin-bottom: 16px;
.skuSelectorName {
&::after {
content: "OUTRAS CORES:";
font-size: 14px;
line-height: 19px;
}
}
.skuSelectorItem {
width: 48px;
height: 48px;
.skuSelectorInternalBox {
border: 1px solid #b9b9b9;
}
}
}
.skuSelectorNameContainer {
margin: 0;
.skuSelectorName {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 0;
text-transform: uppercase;
color: #929292;
}
.skuSelectorOptionsList {
margin: 0;
gap: 16px;
.skuSelectorItem {
margin: 0;
// font-family: "Open Sans";
// font-weight: 400;
font-size: 14px;
line-height: 19px;
.frameAround {
border-radius: 50%;
inset: 0;
}
.skuSelectorInternalBox {
margin: 0;
// border: 1px solid #989898;
border-radius: 50%;
.diagonalCross {
border-radius: 50%;
background-image: linear-gradient(
to bottom right,
transparent 48%,
#d5d5d5 50%,
transparent 52%
);
}
.skuSelectorItemTextValue {
padding: 10px;
// font-family: "Open Sans";
// font-style: normal;
// font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
}
&--selected {
.skuSelectorInternalBox {
border: 2px solid #000000;
.diagonalCross {
background-image: linear-gradient(
to bottom right,
transparent 48%,
#000000 50%,
transparent 52%
);
}
2023-02-05 22:38:06 +00:00
.skuSelectorItemTextValue {
color: #000000;
}
}
}
}
}
}
}
}
/* ----- INFO-AVAILABILITY ----- */
.subscriberContainer {
// background-color: red;
margin-bottom: 16px;
.title {
// font-family: "Open Sans";
margin: 0;
font-size: 0;
color: #868686;
&::after {
content: "Produto indisponível";
font-size: 14px;
font-weight: 700;
line-height: 19px;
}
}
.subscribeLabel {
// font-family: "Open Sans";
font-size: 0;
color: #868686;
&::after {
content: "Deseja saber quando estiver disponível?";
font-size: 14px;
font-weight: 400;
line-height: 19px;
}
}
.form {
// background-color: cyan;
margin: 0;
.content {
// background-color: yellowgreen;
// width: 100% !important;
width: 57.74%;
margin-top: 16px;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-areas:
"name email"
"submit submit";
column-gap: 8px;
row-gap: 15px;
@include mq(lg, max) {
width: 100%;
max-width: 1024px;
}
.input {
margin: 0;
&.inputName {
grid-area: name;
}
&.inputEmail {
grid-area: email;
}
:global(.vtex-input-prefix__group) {
border: 1px solid #989898;
border-radius: 0;
}
:global(.vtex-styleguide-9-x-input) {
border-radius: 0;
padding: 12px 14px;
// font-family: "Open Sans";
// font-style: normal;
// font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
}
.submit {
grid-area: submit;
margin: 0;
// width: 100%;
:global(.vtex-button) {
width: 100%;
border: 0;
border-radius: 0;
background: #000000;
}
:global(.vtex-button__label) {
// font-family: "Open Sans";
// font-style: normal;
font-size: 0;
// display: flex;
// align-items: center;
text-transform: uppercase;
color: #ffffff;
&::after {
content: "AVISE-ME";
font-weight: 600;
font-size: 18px;
line-height: 25px;
padding: 12px 0;
}
}
}
}
}
}
/* ----- PRODUCT-DESCRIPTION ----- */
.productDescriptionContainer {
.productDescriptionTitle {
margin-bottom: 8px;
// font-family: "Open Sans";
// font-style: normal;
// font-weight: 400;
font-size: 24px;
line-height: 32px;
color: #575757;
@include mq(xl, min) {
margin-bottom: 16px;
font-size: 32px;
}
@include mq(lg, max) {
font-size: 20px;
}
}
.productDescriptionText {
// font-family: "Open Sans";
// font-style: normal;
// font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
@include mq(xl, min) {
font-size: 18px;
line-height: 25px;
}
@include mq(lg, max) {
font-size: 14px;
line-height: 19px;
}
}
.showMoreButton {
width: 100%;
margin: 0;
padding: 12px 0;
// font-family: "Open Sans";
// font-style: normal;
font-weight: 600;
font-size: 18px;
color: #ffffff;
background: black;
}
}