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

547 lines
10 KiB
SCSS

.container {
padding: 0 40px;
@media screen and (min-width: 1920px) {
max-width: 115rem !important;
padding: 0;
}
.productNameContainer {
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
text-align: end;
margin-bottom: 8px;
@media screen and (max-width: 1024px) {
text-align: unset;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
border: 0;
.skuSelectorItem {
border: 1px solid #989898;
border-radius: 50%;
width: 44px;
height: 44px;
margin-right: 16px;
margin-left: 0;
&.skuSelectorItem--selected {
border: 2px solid #000;
.diagonalCross {
color: #000;
border: 2px;
}
}
}
.skuSelectorSubcontainer--tamanho {
.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;
color: #929292;
}
}
}
.skuSelectorOptionsList {
margin-left: 0;
}
.skuSelectorSubcontainer--cor {
.skuSelectorImageValue {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.skuSelectorNameSeparator,
.skuSelectorSelectorImageValue {
display: none;
}
.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;
color: #929292;
}
}
}
.skuSelectorInternalBox {
padding: 0;
border-radius: 50%;
border: 0;
.skuSelectorItemTextValue {
font-size: 14px;
padding: 0;
}
}
.diagonalCross {
border: 1px;
width: 10px;
color: #989898;
margin: 0 auto;
transform: rotate(60deg);
}
.frameAround {
display: none;
}
}
}
.shippingContainer {
position: relative;
margin-top: 16px;
margin-bottom: 16px;
@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 {
text-align: center;
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
}
:global(.vtex-button__label) {
height: 0;
width: 0;
padding: 0;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
text-decoration: underline;
position: absolute;
right: -50%;
top: calc(50% + 13.5px);
transform: translateY(-50%);
padding: 0;
@media screen and (max-width: 768px) {
position: unset;
display: block;
text-align: end;
width: 100%;
transform: none;
margin-top: 8px;
}
:global(.vtex__icon-external-link) {
display: none;
}
}
}
.figure {
height: 100%;
}
.productImagesThumb {
margin-right: 16px;
width: 90px !important;
height: 90px !important;
}
.carouselGaleryThumbs {
margin: 0;
@media screen and (max-width: 1024px) {
display: block;
}
:global(.vtex-store-components-3-x-productImagesThumbCaret) {
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;
}
}
}
.newsletter {
background: #000;
padding: 32px 0 16px 0;
@media screen and (max-width: 1024px) {
padding: 64px 0 16px 0;
}
.container {
@media screen and (max-width: 1024px) {
padding: 0 16px;
}
}
.form {
justify-content: end;
max-width: 774px !important;
@media screen and (max-width: 1024px) {
max-width: 992px !important;
}
:global(.vtex-button__label) {
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #ffffff;
&::before {
display: none;
}
}
}
.buttonContainer {
border-bottom: 3px solid #bfbfbf;
padding: 0;
height: 32px;
}
.label {
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #bfbfbf;
display: flex;
flex-direction: column;
&::after {
content: "Receba ofertas e novidades por e-mail";
font-size: 18px;
line-height: 25px;
margin-top: 16px;
text-align: center;
color: #929292;
@media screen and (max-width: 1024px) {
font-size: 16px;
line-height: 22px;
}
}
}
.inputGroup {
border-bottom: 1px solid #929292;
flex-direction: row;
display: flex;
:global(.vtex-input-prefix__group) {
border: 0;
height: 32px;
width: 100%;
:global(.vtex-styleguide-9-x-input) {
background-color: transparent;
font-weight: 400;
font-size: 18px;
height: 32px;
line-height: 25px;
color: #929292;
width: 100%;
padding: 0 0 7px 0;
@media screen and (max-width: 1024px) {
font-size: 12px;
line-height: 16px;
padding-left: 16px;
}
}
}
:global(.vtex-button) {
background-color: transparent;
font-weight: 700;
font-size: 14px;
line-height: 19px;
border: 0;
:global(.vtex-button__label) {
padding: 0 16px 13px 16px !important;
color: #fff;
}
}
}
}
:global(.vtex-input__label) {
font-size: 0;
&::before {
content: "CALCULAR FRETE:";
font-size: 14px;
line-height: 19px;
color: #929292;
}
}
.shareContainer {
display: none;
}
:global(.vtex-address-form__postalCode) {
display: flex;
padding: 0;
position: relative;
@media screen and (max-width: 768px) {
flex-direction: column;
}
}
:global(.vtex-input-prefix__group) {
height: 50px;
}
:global(.vtex-product-identifier-0-x-product-identifier__value) {
display: flex;
justify-content: end;
margin-bottom: 24px;
@media screen and (max-width: 1024px) {
justify-content: unset;
font-size: 14px;
line-height: 19px;
}
}
:global(.vtex-store-components-3-x-swiperCaretNext),
:global(.vtex-store-components-3-x-swiperCaretPrev),
:global(.vtex-store-components-3-x-swiper-pagination) {
display: none;
}
.swiper-wrapper {
@media screen and (max-width: 1024px) {
display: block;
}
}
:global(.vtex-store-components-3-x-productImageTag) {
object-fit: unset !important;
margin-bottom: 16px;
max-height: 664px !important;
@media screen and (min-width: 1920px) {
max-height: unset !important;
max-width: unset;
height: 904px !important;
width: auto !important;
}
@media screen and (max-width: 1024px) {
max-height: 944px !important;
}
}
:global(.vtex-store-components-3-x-carouselContainer) {
@media screen and (max-width: 1024px) {
margin-bottom: 32px;
}
}
:global(.vtex-store-components-3-x-form) {
justify-content: unset;
:global(.vtex-button__label) {
font-size: 0;
&::before {
content: "AVISE-ME";
font-weight: 600;
font-size: 18px;
line-height: 25px;
color: #ffffff;
}
}
:global(.vtex-store-components-3-x-submit) {
width: 100%;
max-width: 400px;
:global(.vtex-button) {
max-width: 400px;
width: 100%;
height: 50px;
background-color: #000;
border-radius: 0;
border: 0;
color: #fff;
}
}
:global(.vtex-store-components-3-x-input) {
margin: 0 0 16px 0;
}
:global(.vtex-input-prefix__group) {
height: 40px;
width: 100%;
border-radius: 0;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
}
:global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
&::before {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
}
@media screen and (max-width: 1024px) {
:global(.vtex-flex-layout-0-x-flexRowContent) {
:global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: auto !important;
padding: 0;
}
}
}
.subscriberContainer {
:global(.vtex-store-components-3-x-title) {
font-size: 0;
&::before {
content: "Produto Indisponível";
font-weight: 700;
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%;
max-width: 400px;
}
.submit {
grid-column: span 2;
}
}
:global(.vtex-store-components-3-x-pointerEventsAuto) {
display: none;
}
:global(.vtex-product-price-1-x-listPrice) {
display: block;
text-align: center;
font-size: 12px;
line-height: 16px;
text-decoration-line: line-through;
color: #bababa;
&::before {
padding-right: 4px;
content: "de";
font-size: 12px;
line-height: 16px;
text-align: center;
color: #bababa;
}
&::after {
content: "por";
padding-left: 4px;
font-size: 12px;
line-height: 16px;
text-align: center;
color: #bababa;
}
}
.thumbImg {
border-radius: 8px;
}
.thumbImg--video {
height: 90px;
}