challenge-vtex-io-henrique-.../styles/css/vtex.store-components.css

295 lines
6.0 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 */
.container {
padding: 0;
}
.productImageTag {
object-fit: fill !important;
}
.carouselGaleryThumbs {
display: block !important;
margin-top: 16px;
}
.productImagesThumb {
width: 90px !important;
margin-left: 16px;
margin-bottom: 0;
}
.productImagesThumb .thumbImg {
border-radius: 8px;
}
.productImagesThumb:first-child {
margin-left: 0;
}
.productNameContainer {
line-height: 34px;
}
@media screen and (max-width: 768px) and (min-width: 375px) {
.productNameContainer {
width: 70.9459459459%;
margin-right: auto;
}
}
.skuSelectorContainer {
display: flex;
flex-direction: column;
}
.skuSelectorSubcontainer--cor .skuSelectorName,
.skuSelectorSubcontainer--tamanho .skuSelectorName {
font-size: 0;
}
.skuSelectorSubcontainer--cor .skuSelectorName::before,
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
font-size: 14px;
text-transform: uppercase;
}
.skuSelectorSubcontainer--cor {
order: 1;
}
.skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
font-size: 0;
width: 0;
height: 0;
}
.skuSelectorSubcontainer--cor .skuSelectorName::before {
content: "Outros Cores";
}
.skuSelectorSubcontainer--tamanho {
order: 0;
}
.skuSelectorSubcontainer--tamanho .skuSelectorName::before {
content: "Outros Tamanhos";
}
.skuSelectorOptionsList,
.skuSelectorOptionsList .skuSelectorItem,
.skuSelectorNameContainer {
margin: 0;
}
.skuSelectorOptionsList {
gap: 16px;
}
.skuSelectorItem {
width: 40px;
height: 40px;
}
.skuSelectorItem .frameAround,
.skuSelectorItem .skuSelectorInternalBox {
border-radius: 100%;
}
.skuSelectorItem .skuSelectorInternalBox {
z-index: unset;
}
.skuSelectorItem .frameAround {
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.diagonalCross {
width: 100%;
background: transparent;
}
.diagonalCross::before {
content: "";
position: absolute;
left: 50%;
top: 50%;
width: 100%;
height: 1px;
border-top: 1px solid #d5d5d5;
transform: translate(-50%, -50%) rotateZ(-45deg);
z-index: 2;
}
.skuSelectorItem--selected .skuSelectorItemTextValue {
color: #292929;
}
.skuSelectorItem--selected .diagonalCross {
width: 100%;
background: transparent;
}
.skuSelectorItem--selected .diagonalCross::before {
border-top: 1px solid #292929;
}
.skuSelectorItemTextValue {
width: 100%;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}
.skuSelectorSubcontainer--cor {
margin: 0;
}
.skuSelectorSubcontainer--cor .skuSelectorItem {
width: 48px;
height: 48px;
}
.shippingContainer {
position: relative;
}
@media screen and (min-width: 769px) {
.shippingContainer {
width: 280px;
}
}
.shippingContainer :global(.vtex-address-form__postalCode) {
position: relative;
width: 100%;
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input-prefix__group) {
height: 49px;
border: 1px solid #cccccc;
border-radius: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
display: none;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
text-align: right;
}
@media screen and (min-width: 769px) {
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
text-align: unset;
position: absolute;
right: -50.7%;
top: 70%;
margin-left: 16px;
padding: 0;
transform: translateY(-50%);
}
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-input__label)::before {
content: "Calcular frete:";
font-size: 14px;
line-height: 19.07px;
text-transform: uppercase;
color: inherit;
}
.shippingContainer :global(.vtex-button) {
background-color: #292929;
position: absolute;
top: 27px;
right: 0;
color: #fff;
height: 49px;
width: 49px;
margin: 0;
border: 0;
border-radius: 0;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::before {
content: "OK";
font-size: 14px;
}
.shippingTable {
border: 0;
margin: 0;
padding: 16px 0 0;
}
.shippingTableHead {
display: table-header-group !important;
}
.shippingTableHead .shippingTableRow .shippingTableHeadDeliveryName,
.shippingTableHead .shippingTableRow .shippingTableHeadDeliveryEstimate,
.shippingTableHead .shippingTableRow .shippingTableHeadDeliveryPrice {
width: auto;
text-align: left;
color: #292929;
font-weight: 400;
font-size: 14px;
line-height: 19.07px;
text-transform: uppercase;
}
.shippingTableRadioBtn {
display: none;
}
.shippingTableCell {
padding: 15px 0;
}
.subscriberContainer .title {
font-size: 0;
}
.subscriberContainer .title::before {
content: "Produto indisponível";
font-size: 14px;
font-weight: 700;
color: #868686;
}
.subscriberContainer .subscribeLabel {
font-size: 0;
}
.subscriberContainer .subscribeLabel::before {
content: "Deseja saber quando estiver disponível?";
font-size: 14px;
font-weight: 400;
color: #868686;
}
.subscriberContainer .form .content {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 40px 48px;
gap: 16px 8px;
}
.subscriberContainer .form .input {
margin: 0;
width: 100%;
height: 100%;
}
.subscriberContainer .form .input :global(.vtex-input-prefix__group) {
border: 1px solid #989898;
border-radius: 0;
}
.subscriberContainer .submit {
grid-column: 1/2 span;
margin: 0;
}
.subscriberContainer .submit :global(.vtex-button) {
width: 100%;
height: 100%;
background-color: #000;
color: #fff;
}
.subscriberContainer .submit :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
}
.subscriberContainer .submit :global(.vtex-button) :global(.vtex-button__label)::before {
content: "Avise-se";
font-size: 14px;
text-transform: uppercase;
}