challenge-vtex-io-thiago-br.../styles/css/vtex.store-components.css

444 lines
11 KiB
CSS
Raw Normal View History

@charset "UTF-8";
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.container {
padding: 0;
max-width: 100%;
}
/*IMAGEM PRINCIPAL DO PRODUTO */
.productImage {
margin-right: 16px;
}
.productImage .productImageTag {
width: 100%;
max-height: 100% !important;
object-fit: contain;
}
/*CARROUSEL GALERIA DE IMAGENS DO PRODUTO */
.carouselGaleryThumbs {
margin: 16px 0;
}
.carouselGaleryThumbs .thumbImg {
width: 90px;
height: 90px;
border-radius: 8px;
}
.carouselGaleryThumbs .productImagesThumb {
margin: 0 16px 0 0;
height: 100% !important;
width: 90px !important;
}
.carouselGaleryThumbs .productImagesThumbCaret {
display: none;
}
/* TITULO (NOME DO PRODUTO PRINCIPAL)*/
.productNameContainer--quickview {
text-align: end;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
@media only screen and (max-width: 1023px) {
.productNameContainer--quickview {
text-align: start;
}
}
/*SELEÇÃO DE PRODUTOS (TAMANHO E COR) */
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorContainer .skuSelectorName {
font-size: 0;
}
.skuSelectorContainer .skuSelectorNameSeparator {
font-size: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor::before {
content: "OUTRAS CORES:";
font-family: "Open Sans", sans-serif;
font-weight: 400;
line-height: 19px;
font-size: 14px;
color: #929292;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho::before {
content: "OUTROS TAMANHOS:";
font-family: "Open Sans", sans-serif;
font-weight: 400;
line-height: 19px;
font-size: 14px;
color: #929292;
}
.skuSelectorContainer .skuSelectorTextContainer {
display: none;
}
.skuSelectorContainer .skuSelectorOptionsList {
margin-top: 8px;
margin-left: 0;
}
.skuSelectorContainer .skuSelectorSelectorImageValue {
font-size: 0;
}
/*SELEÇÃO DE PRODUTOS (TAMANHO E COR) */
.skuSelectorOptionsList .skuSelectorItem {
width: 40px;
height: 40px;
}
.skuSelectorOptionsList .skuSelectorItem:first-child {
margin-left: 0;
}
.skuSelectorOptionsList .skuSelectorItem .frameAround {
border-radius: 50%;
border-color: #000000;
color: #000000;
}
.skuSelectorOptionsList .skuSelectorItem .skuSelectorItemTextValue {
max-width: 100%;
display: flex;
justify-content: center;
color: #000000;
}
.skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border-radius: 50%;
}
.skuSelectorOptionsList .diagonalCross {
margin: 5px;
background-image: linear-gradient(to top right, transparent 44%, rgba(0, 0, 0, 0.3) 48%, currentColor 48%, currentColor 0, transparent 0%);
transform: rotate(90deg);
}
/*PRODUTO INDISPONIVEL &&
FORMULARIO DE PRODUTO INDISPONIVEL */
.subscriberContainer {
width: 100%;
margin-top: 24px;
}
.subscriberContainer .title {
font-size: 0;
margin-bottom: 0;
}
.subscriberContainer .title::before {
content: "Produto indisponível";
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::before {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .form {
position: relative;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) {
display: block;
width: 374.65px;
margin-top: 16px;
}
@media only screen and (max-width: 1023px) {
.subscriberContainer .form :global(.vtex-store-components-3-x-content) {
width: 100%;
max-width: 100%;
}
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputName {
width: 182.46px;
margin-right: 10.08px;
margin-bottom: 15px;
}
@media only screen and (max-width: 1023px) {
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputName {
width: 49%;
}
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputName :global(.vtex-input-prefix__group) {
border: 0.6px solid #929292;
border-radius: 0;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputName :global(.vtex-styleguide-9-x-input) {
padding: 0 14px;
font-size: 12px;
line-height: 28px;
color: #929292;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputEmail {
position: absolute;
left: 51%;
top: 0%;
border-radius: 0;
width: 182.46px;
font-weight: 400;
margin-bottom: 15px;
}
@media only screen and (max-width: 1023px) {
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputEmail {
width: -webkit-fill-available;
margin: 0 0 0 8px;
left: 49%;
}
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputEmail :global(.vtex-input-prefix__group) {
border: 0.6px solid #929292;
border-radius: 0;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .inputEmail :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
padding: 0 14px;
font-size: 12px;
line-height: 28px;
color: #929292;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .submit {
width: 100%;
margin-bottom: 16px;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .submit :global(.vtex-button) {
width: 100%;
height: 49px;
background-color: #000000;
border: none;
border-radius: 0;
font-size: 0;
display: flex;
align-items: center;
justify-content: center;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .submit :global(.vtex-button)::before {
content: "AVISE-ME";
color: #fff;
font-weight: 600;
font-size: 18px;
line-height: 25px;
font-family: "Open sans", sans-serif;
}
.subscriberContainer .form :global(.vtex-store-components-3-x-content) .submit :global(.vtex-button) :global(.vtex-button__label) {
padding: 0;
}
/* BUSCA DE CEP */
.shippingContainer {
display: flex;
}
@media only screen and (max-width: 767px) {
.shippingContainer {
display: block;
position: relative;
}
}
.shippingContainer :global(.vtex-address-form__postalCode) {
display: flex;
align-items: center;
padding: 0;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-address-form__postalCode) {
display: block;
}
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input__label)::before {
content: "CALCULAR FRETE";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input-prefix__group) {
width: 280px;
height: 49px;
border-radius: 0;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input-prefix__group) {
width: 100%;
}
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
padding: 0;
margin-top: 25px;
position: relative;
left: 32px;
font-weight: 400;
font-size: 12px;
line-height: 16px;
text-decoration: underline;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
left: 0;
margin-top: 8px;
text-align: end;
}
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
color: #000000;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
display: none;
}
.shippingContainer :global(.vtex-button) {
height: 49px;
width: 49px;
margin-top: auto !important;
position: relative;
right: 148px;
font-size: 0;
border-radius: 0;
cursor: pointer;
}
@media only screen and (max-width: 767px) {
.shippingContainer :global(.vtex-button) {
height: 49px !important;
margin: 0 !important;
position: absolute;
right: 0px;
top: 26px;
}
}
.shippingContainer :global(.vtex-button)::before {
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #fff;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
height: fit-content;
}
/* TRANSPORTADORAS */
.shippingTable {
border: none;
padding: 0;
margin: 15px 0;
}
.shippingTable .shippingTableHead {
display: block;
text-transform: uppercase;
margin-bottom: 15px;
}
.shippingTable .shippingTableHead .shippingTableRow {
display: flex;
flex-direction: row;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
margin-right: 39px;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
}
@media only screen and (max-width: 767px) {
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
margin-right: 32px;
}
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
display: flex;
order: 1;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
font-size: 0;
margin-right: 30px;
}
@media only screen and (max-width: 767px) {
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
margin-right: 32px;
}
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::before {
content: "Frete";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #202020;
}
.shippingTable .shippingTableBody .shippingTableRow {
display: flex;
flex-direction: row;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
width: 82px;
margin-right: 28px;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
}
@media only screen and (max-width: 767px) {
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
margin-right: 22px;
}
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
display: flex;
order: 1;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
width: 50px;
margin-right: 28px;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
padding: 0 0 15px;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel .shippingTableRadioBtn {
display: none;
}
/* IMAGEM DA DESCRIÇÃO DO PRODUTO */
.imageElement {
width: 100%;
}
/* DESCRIÇÃO DO PRODUTO */
.productDescriptionContainer {
margin-left: 16px;
}
.productDescriptionContainer .productDescriptionTitle {
font-weight: 400;
font-size: 24px;
line-height: 32px;
height: 40px;
margin-bottom: 8px;
color: #575757;
}
.productDescriptionContainer .productDescriptionText {
font-weight: 400;
font-size: 16px;
line-height: 22px;
color: #929292;
}