forked from M3-Academy/challenge-vtex-io
456 lines
11 KiB
CSS
456 lines
11 KiB
CSS
/*
|
|
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 */
|
|
.shareLabel, .skuSelectorNameSeparator, .skuSelectorSelectorImageValue {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.productImagesContainer--carousel .productImagesGallerySlide {
|
|
width: 100% !important;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1920px) {
|
|
.productImagesContainer--carousel .carouselGaleryCursor {
|
|
max-height: 100%;
|
|
}
|
|
}
|
|
|
|
.productNameContainer--quickview {
|
|
padding-right: 40px !important;
|
|
}
|
|
|
|
.skuSelectorContainer {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer {
|
|
max-width: 93.663%;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.skuSelectorContainer .skuSelectorSubcontainer {
|
|
height: max-content;
|
|
}
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer .skuSelectorOptionsList {
|
|
height: 40.61px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItemImage {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.skuSelectorContainer .skuSelectorItemImage {
|
|
margin: 0;
|
|
}
|
|
}
|
|
.skuSelectorContainer .skuSelectorItem--selected .diagonalCross {
|
|
color: #000000;
|
|
z-index: 5;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItem--selected .frameAround {
|
|
border-radius: 24px;
|
|
border: 2px solid #000000;
|
|
}
|
|
.skuSelectorContainer .frameAround {
|
|
width: 48px;
|
|
height: 48px;
|
|
z-index: 5;
|
|
bottom: 0;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
.skuSelectorContainer .skuSelectorName {
|
|
text-transform: uppercase;
|
|
font-family: "Open Sans", sans-serif;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor {
|
|
height: 75px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList {
|
|
height: 48px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .frameAround {
|
|
width: 40px;
|
|
height: 40px;
|
|
top: -2px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
|
|
padding: 0;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorInternalBox {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorInternalBox {
|
|
border: 2px solid #B9B9B9;
|
|
}
|
|
.skuSelectorContainer .skuSelectorItemImageValue, .skuSelectorContainer .skuSelectorInternalBox {
|
|
width: 100%;
|
|
border-radius: 24px;
|
|
}
|
|
.skuSelectorContainer .diagonalCross {
|
|
border: 1px solid #D5D5D5;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.productNameContainer--quickview {
|
|
text-align: end;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
font-size: 20px;
|
|
line-height: 34px;
|
|
color: #575757;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.productNameContainer--quickview {
|
|
text-align: start;
|
|
}
|
|
}
|
|
|
|
.carouselContainer {
|
|
max-width: 906px;
|
|
}
|
|
.carouselContainer .productImage {
|
|
max-width: 85.238%;
|
|
}
|
|
@media screen and (min-width: 1920px) {
|
|
.carouselContainer .productImage {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.carouselContainer .productImage {
|
|
min-width: 296px;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 375px) {
|
|
.carouselContainer .productImage {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
.carouselContainer .productImage .productImageTag- {
|
|
max-height: 100% !important;
|
|
margin-bottom: 1em;
|
|
align-self: stretch;
|
|
}
|
|
.carouselContainer .productImage .productImageTag--main {
|
|
border-radius: 8px;
|
|
max-height: 100% !important;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.carouselContainer .productImage .productImageTag--main {
|
|
max-height: 100% !important;
|
|
max-width: 98.657%;
|
|
}
|
|
}
|
|
|
|
.productImageTag--img-description {
|
|
max-width: 872px;
|
|
}
|
|
|
|
.carouselGaleryThumbs {
|
|
display: block;
|
|
height: max-content;
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb {
|
|
height: 100% !important;
|
|
margin-right: 1em;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.carouselGaleryThumbs .productImagesThumb {
|
|
width: 30% !important;
|
|
}
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure {
|
|
width: 100%;
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video {
|
|
min-height: 90px;
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
|
|
border-radius: 8px;
|
|
min-height: 5.54em;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.carouselGaleryThumbs .productImagesThumb .figure--video .thumbImg {
|
|
min-height: 100%;
|
|
}
|
|
}
|
|
.carouselGaleryThumbs .productImagesThumb .figure .thumbImg {
|
|
border-radius: 8px;
|
|
min-height: 90px;
|
|
}
|
|
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
color: #575757;
|
|
}
|
|
@media screen and (min-width: 1920px) {
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-size: 32px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-size: 20px !important;
|
|
}
|
|
}
|
|
.productDescriptionContainer .content {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
color: #929292;
|
|
}
|
|
@media screen and (min-width: 1920px) {
|
|
.productDescriptionContainer .content {
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
}
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.productDescriptionContainer .content {
|
|
font-size: 14px !important;
|
|
line-height: 19px !important;
|
|
}
|
|
}
|
|
|
|
.form {
|
|
width: max-content;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.form {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
.form .content {
|
|
width: 65.532%;
|
|
height: 108px;
|
|
display: grid;
|
|
justify-items: center;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: 1fr 1fr;
|
|
gap: 8px;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.form .content {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.form .content .inputName, .form .content .inputEmail {
|
|
width: 100%;
|
|
height: 40px;
|
|
min-width: 150px;
|
|
margin-right: 0;
|
|
margin-bottom: 7px;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.form .content .inputName, .form .content .inputEmail {
|
|
min-width: 0;
|
|
}
|
|
}
|
|
.form .submit {
|
|
width: 100%;
|
|
justify-content: center;
|
|
grid-column: span 2;
|
|
grid-row: 2;
|
|
}
|
|
.form .submit :global(.vtex-button) {
|
|
display: block;
|
|
width: 100%;
|
|
background: #000000;
|
|
width: 308px;
|
|
height: 49px;
|
|
}
|
|
.form .submit :global(.vtex-button) :global(.vtex-button__label) {
|
|
font-size: 0;
|
|
}
|
|
.form .submit :global(.vtex-button) :global(.vtex-button__label)::after {
|
|
content: "AVISE-ME";
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
color: #FFFFFF;
|
|
}
|
|
.form :global(.vtex-styleguide-9-x-input) {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 28px;
|
|
padding: 14px 14px 16px;
|
|
color: #989898;
|
|
}
|
|
|
|
.shippingContainer {
|
|
display: grid;
|
|
position: relative;
|
|
align-items: end;
|
|
width: max-content;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.shippingContainer {
|
|
max-width: 100%;
|
|
min-width: 93.665%;
|
|
grid-template-columns: 1fr auto;
|
|
grid-template-rows: 1fr 1fr;
|
|
height: 100px;
|
|
}
|
|
}
|
|
.shippingContainer :global(.vtex-address-form__postalCode) {
|
|
display: grid;
|
|
grid-column: 1/2;
|
|
padding: 0;
|
|
min-width: 230px;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.shippingContainer :global(.vtex-address-form__postalCode) {
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
grid-row: 1;
|
|
}
|
|
}
|
|
.shippingContainer :global(.vtex-button) {
|
|
display: block;
|
|
grid-column: 2/3;
|
|
background: #000000;
|
|
width: 100%;
|
|
height: max-content;
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
|
|
font-size: 0;
|
|
padding: 0;
|
|
padding-top: 0 !important;
|
|
padding-bottom: 0 !important;
|
|
}
|
|
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
|
|
content: "ok";
|
|
padding: 14px;
|
|
min-height: 21px;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #FFFFFF;
|
|
}
|
|
.shippingContainer :global(.vtex-input) {
|
|
grid-column: 1/2;
|
|
}
|
|
.shippingContainer :global(.vtex-input) :global(.vtex-input-prefix__group) {
|
|
border: 1px solid #CCCCCC;
|
|
height: 49px;
|
|
max-width: 100%;
|
|
border-radius: 0;
|
|
}
|
|
.shippingContainer :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input) {
|
|
color: #AFAFAF;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
padding: 16.5px 16px;
|
|
}
|
|
.shippingContainer :global(.vtex-input) :global(.vtex-input__label) {
|
|
font-size: 0;
|
|
width: max-content;
|
|
}
|
|
.shippingContainer :global(.vtex-input) :global(.vtex-input__label)::after {
|
|
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-forgottenURL) {
|
|
width: max-content;
|
|
position: absolute;
|
|
grid-column: 3/4;
|
|
right: 0;
|
|
bottom: 25%;
|
|
left: 0;
|
|
margin-left: 32px;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration-line: underline;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
|
margin-left: 0;
|
|
grid-column: 1/4;
|
|
left: auto;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
.shippingTable {
|
|
border: 0;
|
|
width: max-content;
|
|
}
|
|
.shippingTable .shippingTableHead {
|
|
display: table-row-group;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #202020;
|
|
}
|
|
.shippingTable .shippingTableHead .shippingTableRow {
|
|
width: 100%;
|
|
}
|
|
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName, .shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate, .shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
padding-bottom: 15px;
|
|
}
|
|
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
|
|
padding-bottom: 15px;
|
|
}
|
|
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryName .shippingTableLabel .shippingTableRadioBtn {
|
|
display: none;
|
|
}
|
|
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell, .shippingTable .shippingTableBody .shippingTableRow .shippingTableLabel, .shippingTable .shippingTableBody .shippingTableRow .currencyContainer {
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
color: #AFAFAF;
|
|
text-align: start;
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
} |