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

593 lines
12 KiB
SCSS

.container {
padding: 0 40px;
@media screen and (min-width: 1920px) {
max-width: 115rem !important;
padding: 0;
}
.productNameContainer--quickview {
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: #575757;
@media screen and (max-width: 1024px) {
text-align: unset;
margin-top: 32px;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column;
.skuSelectorSubcontainer--cor {
order: 2;
margin-bottom: 10px;
.skuSelectorNameSeparator {
display: none;
}
.skuSelectorSelectorImageValue {
display: none;
}
.skuSelectorNameContainer {
margin-left: 0;
.skuSelectorTextContainer {
.skuSelectorName {
font-size: 0;
}
&::before {
content: "Outras Cores: ";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
}
}
.skuSelectorOptionsList {
margin-left: 0;
.skuSelectorItem {
width: 40px;
height: 40px;
margin-left: 0;
margin-right: 16px;
.frameAround {
display: none;
}
.skuSelectorInternalBox {
border: 1px solid #989898;
border-radius: 50%;
.skuSelectorItemTextValue {
padding: 0;
}
}
}
.skuSelectorItem--verde {
display: none;
}
.skuSelectorItem--selected {
width: 40px;
height: 40px;
.frameAround {
display: none;
}
.skuSelectorInternalBox {
border: 2px solid black;
border-radius: 50%;
z-index: unset;
}
}
}
.diagonalCross {
width: 10px;
margin: 0 auto;
color: black;
transform: rotate(60deg);
}
}
.skuSelectorSubcontainer--tamanho {
order: 1;
margin-bottom: 10px;
.skuSelectorNameContainer {
margin-left: 0;
.skuSelectorTextContainer {
.skuSelectorName {
font-size: 0;
}
&::before {
content: "Outros Tamanhos:";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
}
}
.skuSelectorOptionsList {
margin-left: 0;
.skuSelectorItem {
width: 40px;
height: 40px;
margin-left: 0;
margin-right: 16px;
.frameAround {
display: none;
}
.skuSelectorInternalBox {
border: 1px solid #989898;
border-radius: 50%;
.skuSelectorItemTextValue {
color: rgba(185, 185, 185, 0.6);
padding: 0;
}
}
}
.skuSelectorItem--selected {
width: 40px;
height: 40px;
.frameAround {
display: none;
}
.skuSelectorInternalBox {
border: 2px solid black;
border-radius: 50%;
z-index: unset;
.skuSelectorItemTextValue {
color: black;
}
.diagonalCross {
width: 10px;
margin: 0 auto;
color: black;
transform: rotate(60deg);
}
}
}
}
}
.diagonalCross {
width: 10px;
margin: 0 auto;
color: #d5d5d5;
transform: rotate(60deg);
}
}
}
:global(.vtex-input__label) {
font-size: 0;
&::before {
content: "Calcular frete:";
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
}
.shippingContainer {
margin-top: 16px;
margin-bottom: 16px;
position: relative;
@media screen and (min-width: 768px) {
max-width: 280px;
}
:global(.vtex-button) {
font-size: 0;
background-color: black;
height: 50px;
max-width: 50px;
border: none;
border-radius: 0;
top: 27px;
position: absolute;
right: 0;
&::before {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
:global(.vtex-button__label) {
width: unset;
height: unset;
}
}
:global(.vtex-input-prefix__group) {
height: 50px;
}
:global(.vtex-input__suffix) {
display: none;
}
}
.shippingTable {
border: none;
padding-top: unset;
margin-top: 16px;
table-layout: fixed;
width: 100%;
max-width: 362px;
.shippingTableRow {
display: flex;
.shippingTableCell {
font-family: "Open Sans", sans-serif;
font-size: 12px;
line-height: 16px;
color: #afafaf;
padding: 0 0 15px 0;
.shippingTableRadioBtn {
display: none;
}
}
.shippingTableCellDeliveryName {
width: 33%;
padding-left: 0;
order: 1;
}
.shippingTableCellDeliveryEstimate {
width: 33%;
padding-left: 0;
order: 3;
}
.shippingTableCellDeliveryPrice {
width: 25%;
padding-left: 0;
order: 2;
}
}
.shippingTableHead {
display: block;
margin-bottom: 15px;
.shippingTableHeadDeliveryName {
width: 33%;
text-align: left;
order: 1;
}
.shippingTableHeadDeliveryEstimate {
width: 33%;
text-align: left;
order: 3;
}
.shippingTableHeadDeliveryPrice {
width: 25%;
text-align: left;
order: 2;
}
}
}
.shareContainer {
display: none;
}
:global(.vtex-address-form__postalCode) {
padding: unset;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
text-decoration: underline;
@media screen and (min-width: 375px) and (max-width: 768px) {
display: flex;
flex-direction: row-reverse;
}
@media screen and (min-width: 768px) {
position: absolute;
right: -50%;
top: calc(50% + 13.5px);
transform: translateY(-50%);
padding: 0;
}
:global(.vtex__icon-external-link) {
display: none;
}
}
.postalCode-forgottenURL {
bottom: 100px;
}
:global(.vtex-product-identifier-0-x-product-identifier) {
display: flex;
justify-content: end;
margin-top: 8px;
margin-bottom: 24px;
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
color: rgba(146, 146, 146, 0.48);
@media screen and (max-width: 1024px) {
justify-content: start;
}
}
:global(.vtex-store-components-3-x-swiper-pagination),
:global(.vtex-store-components-3-x-swiperCaretNext),
:global(.vtex-store-components-3-x-swiperCaretPrev) {
display: none;
}
:global(.vtex-store-components-3-x-productImageTag) {
object-fit: unset !important;
max-height: 664px !important;
max-width: 664px;
margin-bottom: 16px;
@media screen and (min-width: 1920px) {
max-height: unset !important;
max-width: unset;
width: auto !important;
height: 904px !important;
}
@media screen and (max-width: 1024px) {
max-width: 944px;
max-height: 944px !important;
}
}
:global(.vtex-store-components-3-x-figure) {
max-width: 90px;
width: 90px;
}
:global(.vtex-store-components-3-x-carouselGaleryThumbs) {
margin-top: unset;
:global(.vtex-store-components-3-x-productImagesThumbCaret) {
display: none;
}
}
.thumbImg--video {
height: 90px;
}
.thumbImg {
width: 90px !important;
height: 90px;
border-radius: 8px;
}
.productImagesThumb {
width: 90px !important;
max-height: 90px !important;
margin: 0 16px 0 0;
}
.newsletter--newsletter {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
max-height: 175px;
background-color: black;
padding-bottom: 16px;
padding-top: 32px;
@media screen and (max-width: 1024px) {
height: 220px;
max-height: unset;
padding-top: 64px;
}
.container--newsletter {
margin: 0;
width: 100%;
padding: 0;
@media screen and (max-width: 1024px) {
padding: 0 16px;
}
.form--newsletter {
max-width: 774px !important;
@media screen and (max-width: 1024px) {
max-width: 992px !important;
}
.label--newsletter {
display: flex;
flex-direction: column;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
&::after {
content: "Receba ofertas e novidades por e-mail";
font-family: "Open Sans", sans-serif;
font-size: 18px;
line-height: 25px;
color: #929292;
margin-top: 16px;
@media screen and (max-width: 1024px) {
font-size: 16px;
line-height: 22px;
}
}
}
.inputGroup--newsletter {
display: flex;
padding-top: 16px;
border-bottom: 1px solid #929292;
:global(.vtex-input-prefix__group) {
border: none;
height: 32px;
padding-bottom: 7px;
:global(.vtex-styleguide-9-x-input) {
background-color: transparent;
padding: 0;
font-family: "Open Sans", sans-serif;
font-size: 18px;
line-height: 25px;
color: #929292;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
padding-left: 16px;
}
}
}
.buttonContainer--newsletter {
padding: 0;
border-bottom: 3px solid #bfbfbf;
height: 32px;
:global(.vtex-button) {
background-color: transparent;
border: none;
:global(.vtex-button__label) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #ffffff;
padding: 0px 16px 13px 16px !important;
}
}
}
}
}
}
}
.subscriberContainer {
.title {
font-size: 0;
margin: 0;
&::before {
content: "Produto Indisponível";
font-family: "Open Sans", sans-serif;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
}
.subscribeLabel {
font-size: 0;
&::before {
content: "Deseja saber quando estiver disponível?";
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
color: #868686;
}
}
:global(.vtex-store-components-3-x-content) {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-column-gap: 10px;
width: 100%;
}
.inputName {
margin-right: 8px;
}
.inputName,
.inputEmail {
:global(.vtex-input-prefix__group) {
border-radius: 0;
border: 1px solid #989898;
:global(.vtex-styleguide-9-x-input) {
padding: 12px 14px;
}
}
}
.submit {
grid-column: span 2;
:global(.vtex-button) {
background-color: black;
border-radius: 0;
border: none;
height: 49px;
width: 100%;
:global(.vtex-button__label) {
font-size: 0;
&::before {
content: "Avise-me";
font-family: "Open Sans", sans-serif;
font-weight: 600;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
color: #ffffff;
}
}
}
}
}