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

547 lines
10 KiB
SCSS
Raw Normal View History

2023-01-25 17:53:15 +00:00
.container {
padding: 0 40px;
2023-02-07 23:33:56 +00:00
@media screen and (min-width: 1920px) {
max-width: 115rem !important;
padding: 0;
}
2023-01-25 17:53:15 +00:00
.productNameContainer {
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
text-align: end;
2023-02-07 17:59:10 +00:00
margin-bottom: 8px;
@media screen and (max-width: 1024px) {
text-align: unset;
}
2023-01-25 17:53:15 +00:00
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
border: 0;
.skuSelectorItem {
border: 1px solid #989898;
border-radius: 50%;
width: 44px;
height: 44px;
2023-02-07 17:59:10 +00:00
margin-right: 16px;
margin-left: 0;
2023-01-25 17:53:15 +00:00
&.skuSelectorItem--selected {
border: 2px solid #000;
2023-02-07 23:33:56 +00:00
2023-01-25 17:53:15 +00:00
.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;
}
}
}
2023-02-07 17:59:10 +00:00
.skuSelectorOptionsList {
margin-left: 0;
}
.skuSelectorSubcontainer--cor {
.skuSelectorImageValue {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
2023-02-02 12:42:45 +00:00
.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;
}
}
}
2023-01-25 17:53:15 +00:00
.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;
}
}
}
2023-02-02 12:42:45 +00:00
.shippingContainer {
position: relative;
margin-top: 16px;
margin-bottom: 16px;
@media screen and (min-width: 768px) {
max-width: 280px;
}
2023-02-02 12:42:45 +00:00
: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;
2023-02-02 12:42:45 +00:00
&::before {
text-align: center;
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
2023-02-07 23:33:56 +00:00
}
:global(.vtex-button__label) {
height: 0;
width: 0;
padding: 0;
2023-02-02 12:42:45 +00:00
}
2023-02-02 12:42:45 +00:00
:global(.vtex-address-form__postalCode-forgottenURL) {
2023-02-07 17:59:10 +00:00
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;
}
2023-02-07 17:59:10 +00:00
2023-02-02 12:42:45 +00:00
:global(.vtex__icon-external-link) {
display: none;
}
}
}
2023-02-07 17:59:10 +00:00
.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;
}
2023-02-07 17:59:10 +00:00
}
.shippingTable {
2023-02-07 23:33:56 +00:00
border: none;
padding-top: unset;
2023-02-07 17:59:10 +00:00
margin-top: 16px;
2023-02-07 23:33:56 +00:00
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;
}
}
2023-02-07 17:59:10 +00:00
.shippingTableHead {
display: block;
margin-bottom: 15px;
2023-02-07 23:33:56 +00:00
.shippingTableHeadDeliveryName {
width: 33%;
text-align: left;
order: 1;
}
.shippingTableHeadDeliveryEstimate {
width: 33%;
text-align: left;
order: 3;
}
2023-02-07 17:59:10 +00:00
.shippingTableHeadDeliveryPrice {
2023-02-07 23:33:56 +00:00
width: 25%;
text-align: left;
order: 2;
2023-02-07 17:59:10 +00:00
}
}
}
2023-01-25 17:53:15 +00:00
.newsletter {
2023-02-08 03:55:14 +00:00
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;
}
}
2023-02-08 03:55:14 +00:00
.form {
justify-content: end;
2023-02-08 03:55:14 +00:00
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;
}
}
2023-02-08 03:55:14 +00:00
}
.buttonContainer {
border-bottom: 3px solid #bfbfbf;
2023-02-08 03:55:14 +00:00
padding: 0;
height: 32px;
}
.label {
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #bfbfbf;
2023-02-08 03:55:14 +00:00
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;
}
2023-02-08 03:55:14 +00:00
}
}
.inputGroup {
border-bottom: 1px solid #929292;
flex-direction: row;
display: flex;
2023-02-08 03:55:14 +00:00
: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;
}
2023-02-08 03:55:14 +00:00
}
}
: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;
}
}
}
2023-01-25 17:53:15 +00:00
}
2023-02-02 12:42:45 +00:00
: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;
}
2023-02-02 12:42:45 +00:00
}
:global(.vtex-input-prefix__group) {
height: 50px;
2023-02-07 17:59:10 +00:00
}
: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;
}
2023-02-07 17:59:10 +00:00
}
:global(.vtex-store-components-3-x-swiperCaretNext),
:global(.vtex-store-components-3-x-swiperCaretPrev),
:global(.vtex-store-components-3-x-swiper-pagination) {
display: none;
2023-02-02 12:42:45 +00:00
}
2023-02-08 03:55:14 +00:00
.swiper-wrapper {
@media screen and (max-width: 1024px) {
display: block;
}
}
2023-02-08 03:55:14 +00:00
: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;
2023-02-08 03:55:14 +00:00
}