forked from M3-Academy/challenge-vtex-io
249 lines
5.6 KiB
CSS
249 lines
5.6 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@300;400;500;600;700&display=swap");
|
|
/* Grid breakpoints */
|
|
.container {
|
|
max-width: 100%;
|
|
margin: 0 0 0 0 !important;
|
|
}
|
|
|
|
.productImageTag {
|
|
max-height: none !important;
|
|
}
|
|
|
|
.thumbImg {
|
|
width: 86%;
|
|
margin: 0;
|
|
}
|
|
|
|
.productImagesThumb {
|
|
height: auto !important;
|
|
}
|
|
|
|
.productBrand {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
font-size: 20px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.skuSelectorContainer {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.skuSelectorContainer .valueWrapper .skuSelectorItemTextValue {
|
|
margin-right: 5px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorName {
|
|
font-size: 0;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorName::after {
|
|
content: "OUTRAS CORES";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #929292;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .frameAround {
|
|
border-radius: 30px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorItemImageValue,
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorInternalBox {
|
|
border-radius: 21px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorSelectorImageValue {
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #929292;
|
|
text-transform: uppercase;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorName {
|
|
font-size: 0;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorName::after {
|
|
content: "OUTROS TAMANHOS:";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #929292;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .frameAround {
|
|
width: 40px;
|
|
height: 40px;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
border-radius: 30px;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorInternalBox {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 30px;
|
|
padding: 0;
|
|
margin: auto;
|
|
}
|
|
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
|
|
padding: 0;
|
|
margin: auto;
|
|
}
|
|
|
|
.shippingContainer :global(.vtex-button) {
|
|
width: 49px;
|
|
height: 49px;
|
|
background-color: black;
|
|
}
|
|
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
|
|
font-size: 0;
|
|
}
|
|
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
|
|
content: "Ok";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.shippingContainer :global(.vtex-input) :global(.vtex-input__label) {
|
|
font-size: 0;
|
|
}
|
|
.shippingContainer :global(.vtex-input) :global(.vtex-input__label)::after {
|
|
content: "CALCULAR FRETE:";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #929292;
|
|
}
|
|
|
|
.shippingContainer {
|
|
display: flex;
|
|
}
|
|
.shippingContainer :global(.vtex-input-prefix__group) {
|
|
height: 49px;
|
|
}
|
|
.shippingContainer :global(.vtex-button) {
|
|
position: relative;
|
|
right: 127px;
|
|
top: 27px;
|
|
width: 49px;
|
|
height: 49px;
|
|
}
|
|
.shippingContainer :global(.vtex-address-form__postalCode) {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
|
|
position: relative;
|
|
left: 70px;
|
|
top: 8px;
|
|
}
|
|
|
|
.productDescriptionContainer .productDescriptionTitle {
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
color: #575757;
|
|
}
|
|
.productDescriptionContainer .productDescriptionText {
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 22px;
|
|
color: #929292;
|
|
}
|
|
|
|
.newsletter {
|
|
margin-top: 64px;
|
|
}
|
|
.newsletter .container {
|
|
display: flex;
|
|
height: 175px;
|
|
padding: 0 0 0 0;
|
|
background: black;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.newsletter .container .label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-size: 0;
|
|
}
|
|
.newsletter .container .label::before {
|
|
content: "Assine nossa Newsletter";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 38px;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
}
|
|
.newsletter .container .label::after {
|
|
content: "Receba ofertas e novidades por e-mail";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
color: #929292;
|
|
}
|
|
.newsletter .container :global(.vtex-input-prefix__group) {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 774px;
|
|
border-top: none;
|
|
border-right: none;
|
|
border-left: none;
|
|
border-bottom: 1px solid #929292;
|
|
}
|
|
.newsletter .container :global(.vtex-styleguide-9-x-input) {
|
|
background: transparent;
|
|
padding: 0 0 0 0;
|
|
}
|
|
.newsletter .container :global(.vtex-button) {
|
|
position: relative;
|
|
left: 145px;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
border-bottom: 3px solid #bfbfbf;
|
|
}
|
|
.newsletter .container :global(.vtex-button):hover {
|
|
border-bottom: 5px solid #bfbfbf;
|
|
}
|
|
.newsletter .container :global(.vtex-button) :global(.vtex-button__label) {
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
border: 1px solid #000000;
|
|
text-transform: uppercase;
|
|
} |