challenge-vtex-io-gabriel-f.../styles/css/vtex.store-components.css

481 lines
13 KiB
CSS
Raw Normal View History

2023-02-06 17:23:31 +00:00
@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 */
2023-02-06 17:23:31 +00:00
.productImagesGallerySlide {
width: 100%;
height: 100%;
}
.productImagesGallerySlide .productImage {
width: 100%;
height: 100%;
}
.productImagesGallerySlide .productImage .productImageTag {
max-height: none !important;
}
@media (min-width: 1025px) {
.productImagesGallerySlide .productImage .productImageTag {
width: 100% !important;
height: fit-content;
}
2023-02-05 15:57:09 +00:00
}
2023-02-08 01:08:34 +00:00
.carouselGaleryThumbs {
display: flex !important;
margin-top: 16px;
2023-02-08 01:08:34 +00:00
}
.carouselGaleryThumbs :first-child {
display: flex !important;
justify-content: flex-start;
margin: 0;
2023-02-05 15:57:09 +00:00
}
.carouselGaleryThumbs :first-child :first-child {
gap: 16px !important;
}
.carouselGaleryThumbs :first-child :first-child .productImagesThumb {
width: fit-content;
height: fit-content;
margin: 0;
}
.carouselGaleryThumbs :first-child :first-child .productImagesThumb .figure {
height: fit-content;
2023-02-05 15:57:09 +00:00
margin: 0;
padding: 0;
2023-02-05 15:57:09 +00:00
}
.carouselGaleryThumbs :first-child :first-child .productImagesThumb .figure .thumbImg,
.carouselGaleryThumbs :first-child :first-child .productImagesThumb .figure .thumbImg--video {
2023-02-08 01:08:34 +00:00
border-radius: 8px;
width: 100%;
min-width: 90px;
height: 100%;
max-height: 90px;
padding: 0;
margin: 0;
2023-02-08 01:08:34 +00:00
}
2023-02-05 15:57:09 +00:00
2023-01-26 14:21:37 +00:00
.productBrand {
display: flex;
2023-02-08 01:08:34 +00:00
justify-content: flex-start;
2023-01-26 14:21:37 +00:00
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
}
2023-02-08 01:08:34 +00:00
@media (min-width: 1025px) {
.productBrand {
justify-content: flex-end;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
2023-02-08 01:08:34 +00:00
margin: 16px 0;
}
2023-02-06 17:23:31 +00:00
.skuSelectorContainer .frameAround {
width: 43px;
height: 43px;
border-radius: 1.5rem;
z-index: 3;
padding: 0;
2023-02-06 17:23:31 +00:00
border-color: #000;
top: -3%;
left: -1px;
}
2023-02-06 17:23:31 +00:00
.skuSelectorContainer .skuSelectorInternalBox {
border-radius: 50%;
}
2023-02-08 01:08:34 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--cor {
margin: 0;
}
2023-02-07 18:33:19 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer {
margin: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList {
2023-02-10 13:44:40 +00:00
gap: 16px;
2023-02-07 18:33:19 +00:00
margin-left: 0 !important;
}
2023-02-08 01:08:34 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem {
margin: 0;
}
2023-02-06 17:23:31 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName,
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorSelectorImageValue {
font-size: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::before {
content: "OUTRAS CORES";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho {
margin-bottom: 10px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer {
margin: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName::after {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
content: "OUTROS TAMANHOS: ";
color: #929292;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList {
margin: 0;
margin-left: 0;
gap: 16px;
2023-02-06 17:23:31 +00:00
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem {
border-radius: 100%;
width: 40px;
height: 40px;
margin: 0;
}
2023-02-06 17:23:31 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .frameAround--sku-selector {
border-color: #000000;
border-width: 2px;
width: 40px;
height: 40px;
2023-02-06 17:23:31 +00:00
border-radius: 24px;
top: 0;
bottom: 0;
right: 0;
left: 0;
z-index: 5;
margin: 0 auto;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
2023-02-06 17:23:31 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border-radius: 100%;
width: 40px;
height: 40px;
2023-02-06 17:23:31 +00:00
border: 1px solid #989898;
}
2023-02-06 17:23:31 +00:00
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .diagonalCross {
width: 30px;
height: 30px;
transform: rotate(274deg);
left: 4px;
top: 5px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .skuSelectorItemTextValue {
padding: 0;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox .skuSelectorItemTextValue {
color: #000000;
}
.shippingContainer {
display: flex;
margin: 0;
align-items: center;
position: relative;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
display: flex;
2023-02-06 17:23:31 +00:00
padding-bottom: 16px;
max-width: 280px;
width: 100%;
}
@media (max-width: 1024px) {
.shippingContainer :global(.vtex-address-form__postalCode) {
margin-bottom: 16px;
}
}
@media (max-width: 500px) {
2023-02-08 01:08:34 +00:00
.shippingContainer :global(.vtex-address-form__postalCode) {
flex-direction: column;
padding-bottom: 24px;
2023-02-08 01:08:34 +00:00
}
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) {
display: flex;
flex-direction: column;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__label)::before {
content: "CALCULAR FRETE:";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) {
width: 100%;
height: 49px;
margin: 0;
padding: 16.5px 0 16.5px 16px;
border: 1px solid #cccccc;
border-radius: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input) {
2023-02-06 17:23:31 +00:00
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
padding: 8px 0;
}
2023-02-06 17:23:31 +00:00
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input__error) {
position: absolute;
bottom: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
display: flex;
position: absolute;
padding: 0;
}
@media (min-width: 501px) {
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
left: 361px;
top: 41.5px;
}
}
@media (max-width: 500px) {
2023-02-08 01:08:34 +00:00
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
width: inherit;
height: fit-content;
bottom: 16px;
top: none;
left: none;
justify-content: end;
2023-02-08 01:08:34 +00:00
}
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child {
color: #000;
text-decoration: underline;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) :last-child :last-child {
display: none;
}
.shippingContainer :global(.vtex-button) {
display: flex;
width: 49px;
height: 49px;
2023-02-06 17:23:31 +00:00
margin-top: 11px;
background: #000;
border: 1px solid #000;
border-radius: 0;
cursor: pointer;
}
@media (max-width: 1024px) {
.shippingContainer :global(.vtex-button) {
margin-top: 0;
margin-bottom: 5px;
}
}
@media (max-width: 500px) {
.shippingContainer :global(.vtex-button) {
margin-bottom: 13px;
}
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
padding: 0;
font-size: 0;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::before {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #fff;
2023-02-06 17:23:31 +00:00
}
.shippingTable {
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
border: none;
}
.shippingTable .shippingTableHead {
display: flex;
}
.shippingTable .shippingTableHead .shippingTableRow {
display: flex;
gap: 62px;
margin-bottom: 15px;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-size: 14px;
line-height: 19px;
color: #202020;
text-transform: uppercase;
}
2023-02-10 13:44:40 +00:00
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName {
font-weight: 400 !important;
}
2023-02-06 17:23:31 +00:00
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
order: 2;
2023-02-08 01:08:34 +00:00
font-weight: 400 !important;
2023-02-06 17:23:31 +00:00
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
font-size: 0;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::before {
content: "FRETE";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 19px;
}
2023-02-08 01:08:34 +00:00
.shippingTable .shippingTableBody {
display: flex;
flex-direction: column;
gap: 15px;
}
2023-02-06 17:23:31 +00:00
.shippingTable .shippingTableBody .shippingTableRow {
display: flex;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
align-items: center;
color: #afafaf;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
order: 2;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryPrice {
width: 108px;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName {
width: 95px;
margin-right: 32px;
padding: 0;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName .shippingTableLabel .shippingTableRadioBtn {
display: none;
}
2023-02-10 13:44:40 +00:00
.subscriberContainer {
padding-bottom: 56px;
}
2023-02-06 17:23:31 +00:00
.subscriberContainer .title {
font-size: 0;
margin-bottom: 0;
border: none;
}
.subscriberContainer .title::before {
content: "Produto indisponível";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #868686;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::before {
content: "Deseja saber quando estiver disponível?";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #868686;
}
.subscriberContainer .form .content {
position: relative;
display: flex;
height: 40px;
gap: 8px;
}
.subscriberContainer .form .content .input {
margin: 0;
}
.subscriberContainer .form .content .input :global(.vtex-input) :global(.vtex-input-prefix__group) {
border: 0.6px solid #989898;
border-radius: 0;
}
.subscriberContainer .form .content .input :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-styleguide-9-x-input) {
border-radius: 0;
}
.subscriberContainer .form .content .submit {
width: 100%;
position: absolute;
bottom: calc(-100% - 27px);
margin: 0 !important;
}
.subscriberContainer .form .content .submit :global(.vtex-button) {
width: 100%;
background: #000;
border: 0.6px solid #000;
border-radius: 0;
color: #fff;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label) {
padding: 12px;
font-size: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::before {
content: "avise-me";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
padding: 12px;
2023-02-08 01:08:34 +00:00
}
@media (max-width: 1024px) {
.productDescriptionContainer {
position: relative;
padding: 16px 0;
}
.productDescriptionContainer::before {
content: "";
background-color: #bfbfbf;
display: inline-block;
width: 100%;
height: 1px;
position: absolute;
bottom: 0;
}
}