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

322 lines
8.8 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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap");
/* Grid breakpoints */
.container {
padding: 0 40px;
}
.container .newsletter {
background: red;
}
.container .productNameContainer--quickview {
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: #575757;
}
.container .skuSelectorContainer {
display: flex;
flex-direction: column;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor {
order: 2;
margin-bottom: 10px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameSeparator {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorNameContainer .skuSelectorTextContainer::before {
content: "Outras Cores: ";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem {
width: 40px;
height: 40px;
margin-left: 0;
margin-right: 16px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border: 1px solid #989898;
border-radius: 50%;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .skuSelectorItemTextValue {
padding: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--selected {
width: 40px;
height: 40px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--selected .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox {
border: 2px solid black;
border-radius: 50%;
z-index: unset;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho {
order: 1;
margin-bottom: 10px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorNameContainer .skuSelectorTextContainer::before {
content: "Outros Tamanhos:";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList {
margin-left: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem {
width: 40px;
height: 40px;
margin-left: 0;
margin-right: 16px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox {
border: 1px solid #989898;
border-radius: 50%;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem .skuSelectorInternalBox .skuSelectorItemTextValue {
color: rgba(185, 185, 185, 0.6);
padding: 0;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected {
width: 40px;
height: 40px;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .frameAround {
display: none;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox {
border: 2px solid black;
border-radius: 50%;
z-index: unset;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox .skuSelectorItemTextValue {
color: black;
}
.container .skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorOptionsList .skuSelectorItem--selected .skuSelectorInternalBox .diagonalCross {
width: 10px;
margin: 0 auto;
color: black;
transform: rotate(60deg);
}
.container .skuSelectorContainer .diagonalCross {
width: 10px;
margin: 0 auto;
color: #d5d5d5;
transform: rotate(60deg);
}
:global(.vtex-input__label) {
font-size: 0;
}
:global(.vtex-input__label)::before {
content: "Calcular frete:";
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
text-transform: uppercase;
color: #929292;
}
.shippingContainer {
display: flex;
position: relative;
}
.shippingContainer :global(.vtex-button) {
font-size: 0;
background-color: black;
height: 50px;
max-width: 50px;
border: none;
border-radius: 0;
top: 27px;
}
.shippingContainer :global(.vtex-button)::before {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #ffffff;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
width: unset;
height: unset;
}
.shippingContainer :global(.vtex-input-prefix__group) {
height: 50px;
}
.shippingContainer :global(.vtex-input__suffix) {
display: none;
}
.shippingTable {
border: none;
padding-top: unset;
margin-top: 16px;
table-layout: fixed;
width: 100%;
max-width: 362px;
}
.shippingTable .shippingTableRow {
display: flex;
}
.shippingTable .shippingTableRow .shippingTableCell {
font-family: "Open Sans", sans-serif;
font-size: 12px;
line-height: 16px;
color: #afafaf;
padding: 0 0 15px 0;
}
.shippingTable .shippingTableRow .shippingTableCell .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableRow .shippingTableCellDeliveryName {
width: 33%;
padding-left: 0;
order: 1;
}
.shippingTable .shippingTableRow .shippingTableCellDeliveryEstimate {
width: 33%;
padding-left: 0;
order: 3;
}
.shippingTable .shippingTableRow .shippingTableCellDeliveryPrice {
width: 25%;
padding-left: 0;
order: 2;
}
.shippingTable .shippingTableHead {
display: block;
margin-bottom: 15px;
}
.shippingTable .shippingTableHead .shippingTableHeadDeliveryName {
width: 33%;
text-align: left;
order: 1;
}
.shippingTable .shippingTableHead .shippingTableHeadDeliveryEstimate {
width: 33%;
text-align: left;
order: 3;
}
.shippingTable .shippingTableHead .shippingTableHeadDeliveryPrice {
width: 25%;
text-align: left;
order: 2;
}
.shareContainer {
display: none;
}
:global(.vtex-address-form__postalCode) {
padding: unset;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
right: 32px;
bottom: 15px;
text-decoration: underline;
}
:global(.vtex-address-form__postalCode-forgottenURL) :global(.vtex__icon-external-link) {
display: none;
}
.postalCode-forgottenURL {
bottom: 100px;
}
:global(.vtex-product-identifier-0-x-product-identifier) {
display: flex;
justify-content: end;
margin-top: 8px;
margin-bottom: 24px;
font-family: "Open Sans", sans-serif;
font-size: 14px;
line-height: 19px;
color: rgba(146, 146, 146, 0.48);
}
:global(.vtex-store-components-3-x-swiper-pagination),
:global(.vtex-store-components-3-x-swiperCaretNext),
:global(.vtex-store-components-3-x-swiperCaretPrev) {
display: none;
}
:global(.vtex-store-components-3-x-productImageTag) {
object-fit: unset !important;
margin-bottom: 16px;
max-height: 664px !important;
max-width: 664px;
}
:global(.vtex-store-components-3-x-figure) {
max-width: 90px;
width: 90px;
}
:global(.vtex-store-components-3-x-carouselGaleryThumbs) {
margin-top: unset;
}
.thumbImg--video {
height: 90px;
}
.thumbImg {
width: 90px !important;
height: 90px;
}
.productImagesThumb {
max-width: 90px;
max-height: 90px !important;
margin: 0 16px 0 0;
}