challenge-vtex-io-emersonfully/styles/sass/pages/product/vtex.store-components.scss
2023-02-10 22:17:34 -03:00

440 lines
7.6 KiB
SCSS

/*Product name*/
.productNameContainer--quickview {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: $color-gray6;
@media screen and (max-width: 1024px) {
text-align: left;
}
}
/* carouselThumbs*/
.carouselGaleryThumbs {
height: 140px;
margin-top: 16px;
.productImagesThumb {
margin: 0px 10px;
}
.thumbImg {
border-radius: 8px;
}
}
/*SKU*/
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
.frameAround {
border-radius: 50%;
border-color: $color-black;
z-index: 2;
margin: 2px;
}
.skuSelectorInternalBox {
border-radius: 50%;
}
.skuSelectorItemTextValue {
padding: 0;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray10;
}
.diagonalCross {
background-image: linear-gradient(
to top left,
transparent 44%,
rgb(0, 0, 0) 48%,
currentColor 48%,
currentColor 52%,
transparent 52%
);
z-index: 2;
width: 32px;
height: 33px;
position: absolute;
top: 4px;
left: 4px;
}
}
.skuSelectorItem {
height: 40px;
width: 40px;
position: relative;
}
.skuSelectorSubcontainer--tamanho {
.skuSelectorName {
font-size: 0px;
&::after {
content: "OUTROS TAMANHOS:";
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray8;
}
}
}
.skuSelectorSubcontainer--cor {
.skuSelectorName {
font-size: 0px;
&::after {
content: "OUTRAS CORES:";
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray8;
}
}
}
/*not-Avaliable*/
.subscriberContainer {
margin-top: 30px;
height: 180px;
position: relative;
.title {
font-size: 0px;
&::after {
content: "Produto indisponível";
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-gray11;
}
}
.subscribeLabel {
font-size: 0px;
&::after {
content: "Deseja saber quando estiver disponível?";
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: $color-gray11;
}
}
.inputName,
.inputEmail {
:global(.vtex-input-prefix__group) {
border: 1px solid #989898;
border-radius: 0;
}
}
.submit {
width: 100%;
position: absolute;
bottom: 0;
:global(.vtex-button) {
background-color: $color-black;
color: $color-white;
font-size: 0px;
width: 100%;
height: 100%;
padding: 12px;
&::after {
content: "Avise-me";
font-family: $font-family;
font-style: normal;
font-weight: 600;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
}
}
}
}
/*Shipping*/
.shippingContainer {
display: flex;
position: relative;
:global(.vtex-button) {
background-color: $color-black;
width: 50px;
height: 44px;
color: $color-white;
margin-top: 25px;
margin-left: -4px;
}
:global(.vtex-input__label) {
font-size: 0px;
&::after {
content: "calcular frete:";
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray8;
text-transform: uppercase;
}
}
:global(.vtex-button__label) {
font-size: 0px;
}
:global(.vtex-button__label)::after {
content: "OK";
font-family: $font-family;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
}
:global(.vtex-input-prefix__group) {
border-radius: 0;
}
:global(.vtex-address-form__postalCode) {
width: 280px;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
color: $color-black;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
@media screen and (min-width: 768px) {
position: absolute;
left: 348px;
top: 25px;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
right: -60px;
}
}
}
.shippingTable {
border: none;
.shippingTableHead {
display: contents;
.shippingTableRow {
text-align: left;
text-transform: uppercase;
.shippingTableHeadDeliveryName,
.shippingTableHeadDeliveryEstimate,
.shippingTableHeadDeliveryPrice {
font-weight: 400;
}
}
}
.shippingTableCell {
padding: 7px 0;
font-family: $font-family;
color: $color-gray12;
}
.shippingTableRadioBtn {
display: none;
}
}
/* Image and Text Description */
.content--imagem-descricao {
margin-right: 16px;
width: 50%;
@media screen and (max-width: 1024px) {
width: 100%;
}
}
.productDescriptionContainer {
width: 50%;
margin-left: 16px;
.productDescriptionTitle {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 32px;
color: $color-gray6;
@media screen and (min-width: 1920px) {
font-size: 32px;
line-height: 32px;
}
}
.productDescriptionText {
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: $color-gray8;
@media screen and (min-width: 1920px) {
font-size: 18px;
line-height: 25px;
}
}
@media screen and (max-width: 1024px) {
margin-top: 16px;
width: 100%;
}
}
/*newsletter*/
.newsletter {
background: $color-black;
color: $color-white;
margin-top: 50px;
border-bottom: 2px solid white;
.container {
margin: auto;
padding: 32px;
padding-bottom: 16px;
}
.form {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.label {
display: flex;
flex-direction: column;
font-family: $font-family;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: $color-white;
}
.label::after {
content: "Receba ofertas e novidades por e-mail";
font-family: $font-family;
font-size: 18px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: center;
color: $color-gray8;
margin: 16px;
}
.inputGroup {
display: flex;
@media screen and (min-width: 768px) {
width: 774px;
}
:global(.vtex-input-prefix__group) {
border: none;
border-bottom: 1px solid gray;
border-radius: 0;
}
:global(.vtex-styleguide-9-x-input) {
background-color: $color-black;
}
.buttonContainer {
padding: 0;
:global(.vtex-button) {
background-color: $color-black;
border: none;
border-bottom: 2px solid white;
border-radius: 0;
&:hover {
background-color: $color-black;
border-bottom: 4px solid white;
}
}
}
}
}
.sellingPriceValue {
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: $color-black;
}
.discountInsideContainer,
.installmentsPrice {
display: none;
}
.sellingPriceLabel {
display: none;
}
.sellingPrice {
font-weight: bolder;
}
.productImageTag--imagem-descricao--main {
@media screen and (max-width: 1024px) {
max-height: 1100px !important;
}
}
.productImageTag--main {
max-height: 1000px !important;
}