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

653 lines
12 KiB
SCSS
Raw Normal View History

2023-01-22 23:39:55 +00:00
.container {
margin: 0;
2023-01-24 02:01:20 +00:00
padding: 0;
}
2023-01-23 22:15:33 +00:00
//IMAGENS
2023-01-24 02:01:20 +00:00
.productImageTag--main {
max-height: max-content !important;
}
.carouselGaleryThumbs {
margin-top: 16px;
display: block;
2023-01-24 02:01:20 +00:00
}
.thumbImg {
height: 90px;
max-width: 90px;
border-radius: 8px;
2023-01-24 02:01:20 +00:00
}
.carouselThumbBorder {
width: 90px;
height: 90px;
}
.figure {
width: 90px;
height: 90px;
}
.productImagesThumb {
max-width: 90px;
2023-01-26 21:08:57 +00:00
width: 90px !important;
2023-01-24 02:01:20 +00:00
margin-right: 16px;
}
2023-01-23 22:15:33 +00:00
.productImagesGallerySlide {
width: 100%;
}
.productImagesGallerySlide--images-container {
width: 100% !important;
}
/*
.swiper-slide-active {
width: 100%;
}*/
2023-01-23 22:15:33 +00:00
/*:global(.vtex-store-components-3-x-productImageTag) {
width: 664px;
height: 664px;
}
.caretIcon {
display: none;
}*/
//NOME DO PRODUTO
.productBrand--quickview {
font-weight: 300;
font-size: 20px;
line-height: 34px;
2023-01-23 22:15:33 +00:00
color: $color-gray8;
}
2023-01-22 23:39:55 +00:00
//SKUS
.skuSelectorContainer--skus {
display: flex;
flex-direction: column-reverse;
2023-01-23 22:15:33 +00:00
margin-top: 16px;
}
.frameAround--skus {
border: none;
}
2023-01-22 23:39:55 +00:00
.skuSelectorOptionsList {
margin-left: -5px;
}
2023-01-23 22:15:33 +00:00
.skuSelectorSubcontainer--tamanho {
.skuSelectorNameContainer {
.skuSelectorTextContainer {
.skuSelectorName {
font-size: 0;
2023-01-22 23:39:55 +00:00
&::after {
content: "OUTROS TAMANHOS";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: color-gray6;
}
}
2023-01-23 22:15:33 +00:00
}
2023-01-22 23:39:55 +00:00
}
}
.skuSelectorItemTextValue--skus {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
.skuSelectorInternalBox--skus {
2023-01-23 22:15:33 +00:00
border: 1px solid $color-gray7;
border-radius: 100%;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
display: flex;
}
.skuSelectorItem--skus--selected {
.skuSelectorInternalBox--skus {
2023-01-23 22:15:33 +00:00
border: 2px solid $color-black-100;
border-radius: 100%;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
display: flex;
}
.skuSelectorItemTextValue--skus {
font-weight: 400;
font-size: 14px;
line-height: 19px;
2023-01-23 22:15:33 +00:00
color: $color-black-100;
}
}
.skuSelectorSubcontainer--cor {
.skuSelectorName {
font-size: 0;
&::after {
content: "OUTRAS CORES";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: color-gray6;
}
}
.skuSelectorItemImage--skus {
height: 48px;
width: 48px;
2023-01-25 21:49:42 +00:00
.diagonalCross--skus {
transform: rotate(80deg);
background-image: linear-gradient(
to top right,
transparent 44%,
#d5d5d5 48%,
transparent 52%
);
max-width: 27px;
max-height: 38px;
left: 11px;
top: 5px;
}
}
2023-01-23 22:15:33 +00:00
.skuSelectorInternalBox--skus {
width: 48px;
height: 48px;
}
}
.diagonalCross--skus {
transform: rotate(80deg);
background-image: linear-gradient(
to top right,
transparent 44%,
#d5d5d5 48%,
transparent 52%
);
max-width: 28px;
max-height: 30px;
left: 6px;
top: 3px;
}
2023-01-22 23:02:29 +00:00
2023-01-22 23:39:55 +00:00
.skuSelectorSelectorImageValue {
display: none;
}
2023-01-22 23:02:29 +00:00
//FRETE
.shippingContainer {
display: flex;
align-items: end;
margin-top: 16px;
@media screen and (max-width: 768px) {
margin-bottom: 24px;
}
2023-01-22 23:02:29 +00:00
:global(.vtex-address-form__postalCode) {
position: relative;
padding: 0;
@media screen and (max-width: 768px) {
width: 100%;
}
2023-01-22 23:02:29 +00:00
}
2023-01-24 18:13:48 +00:00
:global(.vtex-input__error) {
position: absolute;
2023-01-27 01:36:11 +00:00
margin-top: 2px;
2023-01-24 18:13:48 +00:00
}
2023-01-22 23:02:29 +00:00
:global(.vtex-input__label) {
font-size: 0;
&::after {
content: "CALCULAR FRETE:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
2023-01-24 02:01:20 +00:00
color: $color-gray6;
2023-01-22 23:02:29 +00:00
}
}
:global(.vtex-input-prefix__group) {
height: 49px;
border-radius: 0%;
2023-01-27 01:36:11 +00:00
:global(.vtex-input__suffix) {
padding: 0;
}
:global(.vtex-address-form-4-x-hideDecorators) {
width: 231px;
@media screen and (max-width: 768px) {
width: 100%;
}
2023-01-30 02:09:01 +00:00
&::placeholder {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
}
2023-01-27 01:36:11 +00:00
}
2023-01-22 23:02:29 +00:00
}
:global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
top: 28px;
right: -180px;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
text-decoration-line: underline;
@media screen and (max-width: 768px) {
top: 76px;
right: -50px;
}
2023-01-23 22:15:33 +00:00
:last-child {
color: $color-black-100;
}
}
:global(.vtex__icon-external-link) {
display: none;
2023-01-22 23:02:29 +00:00
}
:global(.vtex-button) {
width: 49px;
height: 49px;
2023-01-23 22:15:33 +00:00
background-color: $color-black-100;
2023-01-22 23:02:29 +00:00
border: none;
border-radius: inherit;
2023-01-23 22:15:33 +00:00
margin-left: -1px;
2023-01-22 23:02:29 +00:00
}
:global(.vtex-button__label) {
font-size: 0;
&::after {
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
2023-01-23 22:15:33 +00:00
color: $color-white;
2023-01-22 23:02:29 +00:00
}
}
}
2023-01-24 18:13:48 +00:00
//FRETES OPCOES
.shippingTable {
border: none;
}
.shippingTableRadioBtn {
display: none;
}
.shippingTableHead {
display: table-header-group;
2023-01-27 01:36:11 +00:00
.shippingTableRow {
display: flex;
align-items: end;
}
2023-01-24 18:13:48 +00:00
.shippingTableHeadDeliveryName,
.shippingTableHeadDeliveryEstimate,
.shippingTableHeadDeliveryPrice {
2023-01-27 01:36:11 +00:00
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: $color-black2;
2023-01-24 18:13:48 +00:00
text-align: initial;
2023-01-27 01:36:11 +00:00
padding: 0;
2023-01-24 18:13:48 +00:00
}
2023-01-27 01:36:11 +00:00
.shippingTableHeadDeliveryName {
width: 110px;
2023-01-27 01:36:11 +00:00
}
.shippingTableHeadDeliveryEstimate {
order: 3;
}
.shippingTableHeadDeliveryPrice {
display: flex;
width: 110px;
2023-01-27 01:36:11 +00:00
font-size: 0;
&::after {
content: "FRETE";
font-size: 14px;
}
}
2023-01-24 18:13:48 +00:00
}
2023-01-27 01:36:11 +00:00
.shippingTableBody {
.shippingTableRow {
display: flex;
.shippingTableCell {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
}
.shippingTableCellDeliveryName,
.shippingTableCellDeliveryPrice,
.shippingTableCellDeliveryEstimate {
padding: 15px 4px 0 0;
}
.shippingTableCellDeliveryName {
width: 110px;
2023-01-27 01:36:11 +00:00
}
.shippingTableCellDeliveryPrice {
width: 110px;
2023-01-27 01:36:11 +00:00
}
.shippingTableCellDeliveryEstimate {
order: 3;
}
}
2023-01-24 18:13:48 +00:00
}
//DESCRIÇÃO
.productDescriptionContainer--descricao {
display: flex;
justify-content: left;
flex-direction: column;
width: 49.82%;
@media screen and (max-width: 1024px) {
width: 100%;
}
}
.container--descricao {
margin: 0;
@media screen and (max-width: 1024px) {
border-bottom: 1px solid $color-gray9;
padding-bottom: 16px;
}
}
.productDescriptionTitle--descricao {
font-weight: 400;
font-size: 24px;
line-height: 32px;
color: $color-gray8;
margin-bottom: 8px;
@media screen and (max-width: 1024px) {
font-size: 20px;
}
}
.content--descricao {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 14px;
line-height: 19px;
}
}
.productDescriptionText--descricao {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: $color-gray6;
@media screen and (max-width: 768px) {
font-size: 14px;
line-height: 19px;
}
}
2023-01-25 21:49:42 +00:00
//PRODUTO INDISPONIVEL
.subscriberContainer {
2023-01-26 21:08:57 +00:00
position: relative;
.content {
@media screen and (max-width: 1024px) {
display: flex;
width: 100% !important;
max-width: unset;
}
}
2023-01-26 21:08:57 +00:00
2023-01-25 21:49:42 +00:00
.title {
font-size: 0;
margin: 0;
&::after {
content: "Produto indisponível";
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-gray10;
}
}
.subscribeLabel {
font-size: 0;
&::after {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray10;
}
}
.content {
position: relative;
width: 399px;
gap: 8px;
margin-bottom: 60px;
:global(.vtex-styleguide-9-x-input) {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray7;
border: none;
&::placeholder {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: $color-gray7;
}
}
:global(.vtex-input-prefix__group) {
2023-01-26 21:08:57 +00:00
border: 0.6px solid $color-gray7;
border-radius: 0%;
2023-01-25 21:49:42 +00:00
}
.inputEmail,
.inputName {
margin: 0;
}
.submit {
position: absolute;
top: 55px;
width: 100%;
2023-01-26 21:08:57 +00:00
cursor: pointer;
2023-01-25 21:49:42 +00:00
:global(.vtex-button) {
width: 100%;
background-color: $color-black-100;
2023-01-26 21:08:57 +00:00
border: none;
border-radius: 0%;
2023-01-25 21:49:42 +00:00
height: 49px;
cursor: pointer;
2023-01-25 21:49:42 +00:00
}
:global(.vtex-button__label) {
font-size: 0;
&::after {
content: "AVISE-ME";
font-weight: 600;
font-size: 18px;
line-height: 25px;
color: $color-white;
}
}
}
2023-01-26 21:08:57 +00:00
:global(.vtex-input__error) {
margin: 0;
font-size: 12px;
line-height: 16px;
}
}
.success {
position: absolute;
top: 90px;
font-size: 12px;
line-height: 16px;
2023-01-25 21:49:42 +00:00
}
}
2023-01-27 22:35:11 +00:00
//NEWSLETTER
.newsletter--newsletter {
2023-01-29 18:46:45 +00:00
justify-content: center;
display: flex;
2023-01-27 22:35:11 +00:00
margin-top: 64px;
padding-top: 32px;
padding-bottom: 16px;
background-color: $color-black-100;
2023-01-29 18:46:45 +00:00
border-bottom: 1px solid $color-white;
@media screen and (max-width: 1024px) {
padding: 64px 16px 32px 16px;
}
@media screen and (max-width: 768px) {
margin-top: 32px;
}
2023-01-27 22:35:11 +00:00
}
.container--newsletter {
width: 53.75%;
2023-01-27 22:35:11 +00:00
color: $color-white;
2023-01-29 18:46:45 +00:00
max-width: unset;
@media screen and (max-width: 1024px) {
width: 100%;
}
2023-01-27 22:35:11 +00:00
}
.form--newsletter {
2023-01-29 18:46:45 +00:00
max-width: unset;
2023-01-27 22:35:11 +00:00
:global(.vtex-styleguide-9-x-noAppearance) {
background-color: $color-black-100;
padding: 0;
}
:global(.vtex-input-prefix__group) {
border: none;
border-bottom: 1px solid $color-gray6;
border-radius: 0%;
padding-bottom: 4px;
align-items: flex-end;
@media screen and (max-width: 1024px) {
padding-left: 18px;
padding-bottom: 12px;
}
2023-01-29 18:46:45 +00:00
:global(.vtex-styleguide-9-x-hideDecorators) {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
}
2023-01-29 18:46:45 +00:00
&::placeholder {
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
}
2023-01-29 18:46:45 +00:00
}
}
2023-01-27 22:35:11 +00:00
}
}
.label--newsletter {
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: $color-white;
display: flex;
flex-direction: column;
2023-01-27 22:35:11 +00:00
&::after {
content: "Receba ofertas e novidades por e-mail";
margin-top: 16px;
2023-01-27 22:35:11 +00:00
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: $color-gray6;
@media screen and (max-width: 1024px) {
font-size: 16px;
line-height: 22px;
}
2023-01-27 22:35:11 +00:00
}
}
.inputGroup--newsletter {
margin-top: 16px;
2023-01-27 22:35:11 +00:00
padding: 0;
@media screen and (max-width: 768px) {
display: flex;
}
2023-01-27 22:35:11 +00:00
}
2023-01-29 18:46:45 +00:00
.buttonContainer--newsletter {
margin: 0;
padding: 0;
width: 84px;
:global(.vtex-button) {
border: none;
border-radius: 0%;
border-bottom: 3px solid $color-gray9;
background-color: transparent;
width: 100%;
:global(.vtex-button__label) {
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-white;
padding: 0;
}
}
}