forked from M3-Academy/challenge-vtex-io
398 lines
8.1 KiB
CSS
398 lines
8.1 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%;
|
|
padding: 0 40px 0 40px;
|
|
}
|
|
|
|
.productImageTag {
|
|
max-height: none !important;
|
|
}
|
|
|
|
.productImagesThumb {
|
|
width: 100%;
|
|
max-width: 90px;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.thumbImg {
|
|
height: 90px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.shippingTableRadioBtn {
|
|
display: none;
|
|
}
|
|
|
|
.shippingTableHead {
|
|
display: grid;
|
|
position: relative;
|
|
right: 60px;
|
|
}
|
|
|
|
.shippingTable {
|
|
border: none;
|
|
grid-template-columns: none !important;
|
|
}
|
|
|
|
.shippingTableRow {
|
|
display: grid;
|
|
grid-template-columns: 200px 200px 200px;
|
|
}
|
|
|
|
.shippingTableCellDeliveryName {
|
|
order: 0;
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
color: #afafaf;
|
|
}
|
|
|
|
.shippingTableCellDeliveryPrice {
|
|
order: 1;
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
color: #afafaf;
|
|
}
|
|
|
|
.shippingTableCellDeliveryEstimate {
|
|
order: 2;
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
color: #afafaf;
|
|
}
|
|
|
|
.shippingTableHeadDeliveryName {
|
|
order: 0;
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #202020;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.shippingTableHeadDeliveryPrice {
|
|
order: 1;
|
|
font-size: 0;
|
|
}
|
|
.shippingTableHeadDeliveryPrice::before {
|
|
content: "FRETE";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #202020;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.shippingTableHeadDeliveryEstimate {
|
|
order: 2;
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
color: #202020;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
.productDescriptionContainer .productDescriptionText .container {
|
|
margin: 0 0 0 0 !important;
|
|
padding: 0 0 0 0 !important;
|
|
}
|
|
|
|
.newsletter {
|
|
background: black;
|
|
border-bottom: 1px solid #ffffff;
|
|
margin: 64px 0 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.newsletter .container {
|
|
padding: 32px 0 16px 0;
|
|
}
|
|
.newsletter .label {
|
|
font-size: 0;
|
|
}
|
|
.newsletter .label::before {
|
|
content: "Assine nossa newsletter";
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 38px;
|
|
color: #ffffff;
|
|
}
|
|
.newsletter .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 :global(.vtex-input-prefix__group) {
|
|
display: flex;
|
|
justify-content: center;
|
|
border-top: none;
|
|
border-right: none;
|
|
border-left: none;
|
|
border-bottom: 1px solid #929292;
|
|
border-radius: 0;
|
|
}
|
|
.newsletter :global(.vtex-styleguide-9-x-input) {
|
|
background: transparent;
|
|
padding: 0 0 0 0;
|
|
width: 774px;
|
|
}
|
|
.newsletter :global(.vtex-button) {
|
|
position: relative;
|
|
right: 40px;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
border-bottom: 3px solid #bfbfbf;
|
|
}
|
|
.newsletter :global(.vtex-button):hover {
|
|
border-bottom: 5px solid #bfbfbf;
|
|
}
|
|
|
|
.label {
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 38px;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
border: none;
|
|
}
|
|
|
|
.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;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.productDescriptionTitle {
|
|
font-family: "Open Sans";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
color: #575757;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.productDescriptionText {
|
|
text-align: left;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.productBrand {
|
|
justify-content: flex-start;
|
|
}
|
|
.product-identifier--productReference {
|
|
justify-content: none;
|
|
}
|
|
:global(.vtex-styleguide-9-x-input) {
|
|
width: 100%;
|
|
}
|
|
}
|
|
@media screen and (max-width: 631px) {
|
|
:global(.vtex-button) {
|
|
position: relative;
|
|
bottom: 48px;
|
|
left: 188px;
|
|
}
|
|
} |