challenge-vtex-io-Filipe-Qu.../styles/css/vtex.store-components.css

315 lines
7.3 KiB
CSS

@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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
.container {
padding: 0 40px;
max-width: initial;
}
.container .productImagesThumb {
padding-right: 16px;
}
.container .productImagesGallerySlide {
width: 100% !important;
}
.container .carouselGaleryCursor {
width: 100%;
}
.container .carouselGaleryThumbs {
margin-top: 16px;
}
.container .productImageTag {
object-fit: fill !important;
}
.container .thumbImg {
border-radius: 8px;
}
.container .productNameContainer {
text-align: right;
font-weight: 300;
font-size: 20px;
line-height: 34px;
color: #575757;
margin-bottom: 43px;
}
.container .skuSelectorSubcontainer {
margin-bottom: 10px;
}
.container .skuSelectorNameContainer {
margin: 0;
}
.container .skuSelectorTextContainer {
font-size: 0;
margin-bottom: 8px;
}
.container .skuSelectorTextContainer .skuSelectorName {
font-size: 0;
}
.container .skuSelectorTextContainer .skuSelectorName:last-child::before {
content: "OUTROS TAMANHOS:";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .skuSelectorTextContainer .skuSelectorName::before {
content: "OUTRAS CORES";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .skuSelectorTextContainer .skuSelectorSelectorImageValue {
font-size: 0;
}
.container .skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
margin-bottom: 6px;
}
.container .skuSelectorItem {
width: 40px;
height: 40px;
margin-right: 16px;
}
.container .frameAround {
border-radius: 24px;
border: 1px solid #989898;
}
.container .skuSelectorItem--selected .frameAround {
border-radius: 24px;
border: 2px solid #000000;
}
.container .skuSelectorItem--selected .skuSelectorItemTextValue {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #000000;
}
.container .skuSelectorInternalBox {
border: none;
border-radius: 24px;
display: flex;
align-items: center;
justify-content: center;
}
.container .skuSelectorItemTextValue {
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: rgba(185, 185, 185, 0.6);
}
.container .skuSelectorOptionsList {
margin: 0;
}
.container .diagonalCross {
transform: rotate(90deg);
}
.shippingContainer {
display: flex;
align-items: center;
position: relative;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
padding-bottom: 26px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL) {
position: absolute;
left: 344px;
top: 50%;
transform: translateY(-50%);
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL):last-child {
text-decoration: underline;
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #000000 !important;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-address-form__postalCode-forgottenURL):last-child :global(.vtex__icon-external-link) {
display: none;
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-input__label)::after {
content: "CALCULAR FRETE:";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-input-prefix__group) {
height: 49px;
padding-right: 21px;
display: flex;
align-items: center;
}
.shippingContainer :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
display: none;
}
.shippingContainer :global(.vtex-input__error) {
position: absolute;
top: 70px;
}
.shippingContainer :global(.vtex-button) {
width: 49px;
height: 49px;
background-color: #000000;
border: none;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
content: "OK";
font-weight: 600;
font-size: 14px;
line-height: 19px;
color: #fff;
}
.shippingTable {
border: none;
padding: 0;
margin-top: -10px;
width: fit-content;
}
.shippingTable .shippingTableHead {
display: table-row;
}
.shippingTable .shippingTableHead .shippingTableRow {
display: grid;
grid-template-columns: 35% 25% 40%;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice,
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate {
text-align: left;
font-weight: 400;
font-size: 0;
line-height: 19px;
color: #202020;
min-width: 112px;
padding: 0;
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName::after {
font-size: 14px;
content: "ENTREGA";
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate::before {
font-size: 14px;
content: "FRETE";
}
.shippingTable .shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice::before {
font-size: 14px;
content: "PRAZO";
}
.shippingTable .shippingTableBody .shippingTableRow {
display: grid;
grid-template-columns: 35% 25% 40%;
grid-template-rows: 1;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCellDeliveryEstimate {
grid-area: 1/3/1/3;
}
.shippingTable .shippingTableBody .shippingTableCell {
width: 112px;
padding: 0 0 15px 0;
}
.shippingTable .shippingTableCellDeliveryName {
padding-left: 0;
}
.shippingTable .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableCell,
.shippingTable .shippingTableLabel,
.shippingTable .currencyContainer {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #afafaf;
padding-left: 0;
}
.subscriberContainer {
padding-top: 77px;
}
.subscriberContainer .title {
font-size: 0;
margin: 0;
}
.subscriberContainer .title::before {
content: "Produto indisponível";
font-size: 12px;
font-weight: 700;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::before {
content: "Deseja saber quando estiver disponível?";
font-size: 12px;
}
.subscriberContainer .title::before,
.subscriberContainer .subscribeLabel::before {
font-style: normal;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .form {
margin-bottom: 80px;
}
.subscriberContainer .form .content {
position: relative;
max-width: 399px;
margin-top: 16px;
gap: 8px;
}
.subscriberContainer .form .content .input {
margin: 0;
width: 195.5px;
}
.subscriberContainer .form .content .submit {
position: absolute;
top: 55px;
width: 100%;
}
.subscriberContainer .form .content .submit :global(.vtex-button) {
width: 100%;
height: 49px;
background: #000000;
border: none;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.subscriberContainer .form .content .submit :global(.vtex-button) :global(.vtex-button__label)::before {
font-weight: 600;
font-size: 18px;
line-height: 25px;
content: "AVISE-ME";
color: #fff;
}
@media screen and (min-width: 1920px) {
.container {
padding: 0 360px;
}
}