challenge-vtex-io-emmanuelv.../styles/css/vtex.product-summary.css

97 lines
2.4 KiB
CSS
Raw Normal View History

/*
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 */
:global(.vtex-product-summary-2-x-containerNormal) {
max-width: unset !important;
}
:global(.vtex-product-summary-2-x-imageNormal) {
max-height: unset !important;
}
:global(.vtex-product-summary-2-x-imageStackContainer) {
display: flex;
}
:global(.vtex-product-summary-2-x-nameContainer) {
background-color: white;
width: 100%;
padding: 0;
padding-top: 16px;
margin: 0 auto;
}
@media (max-width: 1024px) {
:global(.vtex-product-summary-2-x-nameContainer) {
margin-bottom: 8px;
margin-top: 16px;
max-width: 87.1794871795%;
}
}
@media (max-width: 1024px) and (min-width: 1023px) and (max-width: 1025px) {
:global(.vtex-product-summary-2-x-nameContainer) {
max-width: none;
}
}
:global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-brandName) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000000;
}
@media (max-width: 767px) {
:global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-brandName) {
font-size: 14px;
line-height: 19px;
}
}
:global(.vtex-product-summary-2-x-priceContainer) {
padding: 0;
padding-top: 8px;
}
:global(.vtex-product-summary-2-x-priceContainer) .price_listPriceContainer {
padding-top: 0 !important;
padding-bottom: 0 !important;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
@media (max-width: 767px) {
:global(.vtex-product-summary-2-x-priceContainer) .price_listPriceContainer {
font-size: 12px;
line-height: 16px;
}
}
:global(.vtex-product-summary-2-x-priceContainer) .price_sellingPriceLabel,
:global(.vtex-product-summary-2-x-priceContainer) .price_installmentContainer {
display: none;
}
:global(.vtex-product-summary-2-x-priceContainer) .price_sellingPrice {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
@media (max-width: 767px) {
:global(.vtex-product-summary-2-x-priceContainer) .price_sellingPrice {
font-size: 18px;
line-height: 25px;
}
}