forked from M3-Academy/challenge-vtex-io
87 lines
1.6 KiB
CSS
87 lines
1.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 */
|
|
/* Grid breakpoints */
|
|
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
|
opacity: 0;
|
|
transition: opacity 200ms ease-in-out;
|
|
}
|
|
|
|
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
|
|
opacity: 1;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
|
display: none;
|
|
}
|
|
}
|
|
.nameContainer {
|
|
justify-content: start;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.brandName {
|
|
font-weight: 600;
|
|
font-size: 18px;
|
|
color: #2E2E2E;
|
|
}
|
|
|
|
.container {
|
|
text-align: start;
|
|
}
|
|
|
|
.imageContainer {
|
|
text-align: center;
|
|
}
|
|
|
|
.image {
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.nameContainer {
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
.nameContainer .productNameContainer {
|
|
text-align: center;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.nameContainer .productNameContainer--pdp-name {
|
|
max-height: 80px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1920px) {
|
|
.image--pdp-imgpdp {
|
|
min-width: 334.4px;
|
|
}
|
|
}
|
|
|
|
.nameContainer--pdp-name {
|
|
justify-content: center;
|
|
}
|
|
|
|
.productBrand--pdp-name {
|
|
font-family: "Open Sans", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
}
|
|
@media screen and (max-width: 1024px) {
|
|
.productBrand--pdp-name {
|
|
font-size: 14px;
|
|
line-height: 19px;
|
|
}
|
|
} |