feature/challenge #2

Merged
BernardoWaldhelm merged 6 commits from feature/challenge into master 2023-02-08 18:54:25 +00:00
4 changed files with 117 additions and 124 deletions
Showing only changes of commit 5d142df23a - Show all commits

View File

@ -15,3 +15,11 @@
margin: 0;
padding: 0;
}
[class*="agenciamagma-store-theme-5-x-html--slider-product" ]{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}

View File

@ -27,7 +27,8 @@
"product-summary-image#slider-images",
"product-summary-name",
// "product-summary-space",
"product-summary-price"
"product-list-price",
"product-selling-price"
]
},

View File

@ -40,11 +40,14 @@
line-height: 19px;
}
}
.containerNormal .clearLink .element .priceContainer {
.containerNormal .clearLink .element .listPrice {
padding: 0;
margin: 0;
}
.containerNormal .clearLink .element .priceContainer .listPriceContainer {
.containerNormal .clearLink .element .listPrice .installmentContainer {
display: none;
}
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
@ -57,24 +60,21 @@
margin-bottom: 8px;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.containerNormal .clearLink .element .priceContainer .listPriceContainer {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) {
font-size: 12px;
line-height: 15px;
}
}
.containerNormal .clearLink .element .priceContainer .listPriceContainer .listPriceLabel {
display: none;
}
.containerNormal .clearLink .element .priceContainer .listPriceContainer .currencyContainer {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) :global(.vtex-product-price-1-x-currencyContainer) {
font-size: 14px;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.containerNormal .clearLink .element .priceContainer .listPriceContainer .currencyContainer {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) :global(.vtex-product-price-1-x-currencyContainer) {
font-size: 12px;
line-height: 16px;
}
}
.containerNormal .clearLink .element .priceContainer .listPriceContainer .currencyContainer::before {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) :global(.vtex-product-price-1-x-currencyContainer)::before {
content: "de ";
font-family: "Open Sans", sans-serif;
font-style: normal;
@ -84,12 +84,12 @@
text-align: center;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.containerNormal .clearLink .element .priceContainer .listPriceContainer .currencyContainer::before {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) :global(.vtex-product-price-1-x-currencyContainer)::before {
font-size: 12px;
line-height: 15px;
}
}
.containerNormal .clearLink .element .priceContainer .listPriceContainer .currencyContainer::after {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) :global(.vtex-product-price-1-x-currencyContainer)::after {
content: " por";
font-family: "Open Sans", sans-serif;
font-style: normal;
@ -99,12 +99,12 @@
text-align: center;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.containerNormal .clearLink .element .priceContainer .listPriceContainer .currencyContainer::after {
.containerNormal :global(.vtex-product-price-1-x-listPriceValue) :global(.vtex-product-price-1-x-currencyContainer)::after {
font-size: 12px;
line-height: 15px;
}
}
.containerNormal .clearLink .element .priceContainer .sellingPriceContainer {
.containerNormal :global(.vtex-product-price-1-x-sellingPrice) {
padding: 0;
margin: 0;
height: 33px;
@ -117,28 +117,22 @@
color: #000;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.containerNormal .clearLink .element .priceContainer .sellingPriceContainer {
.containerNormal :global(.vtex-product-price-1-x-sellingPrice) {
font-size: 18px;
line-height: 25px;
}
}
.containerNormal .clearLink .element .priceContainer .sellingPriceContainer .currencyContainer {
.containerNormal :global(.vtex-product-price-1-x-sellingPrice) :global(.vtex-product-price-1-x-currencyContainer) {
font-size: 24px;
line-height: 33px;
}
@media (min-width: 769px) and (max-width: 1024px), (min-width: 280px) and (max-width: 768px) {
.containerNormal .clearLink .element .priceContainer .sellingPriceContainer .currencyContainer {
.containerNormal :global(.vtex-product-price-1-x-sellingPrice) :global(.vtex-product-price-1-x-currencyContainer) {
font-size: 18px;
line-height: 25px;
}
}
.containerNormal .clearLink .element .priceContainer .sellingPriceContainer .sellingPriceLabel {
display: none;
}
.containerNormal .clearLink .element .priceContainer .sellingPriceContainer .sellingPriceValue {
.containerNormal :global(.vtex-product-price-1-x-sellingPrice) .sellingPriceValue {
padding: 0;
margin: 0;
}
.containerNormal .clearLink .element .priceContainer .installmentContainer {
display: none;
}

View File

@ -33,11 +33,18 @@
}
}
.priceContainer {
.listPrice {
padding: 0;
margin: 0;
.listPriceContainer {
.installmentContainer {
display: none;
}
}
}
}
:global(.vtex-product-price-1-x-listPriceValue) {
font-family: $font-family;
font-style: normal;
font-weight: 400;
@ -54,11 +61,7 @@
line-height: 15px;
}
.listPriceLabel {
display: none;
}
.currencyContainer {
:global(.vtex-product-price-1-x-currencyContainer) {
font-size: 14px;
@media #{$mq-tablet}, #{$mq-mobile} {
@ -96,10 +99,9 @@
}
}
}
}
.sellingPriceContainer {
:global(.vtex-product-price-1-x-sellingPrice) {
padding: 0;
margin: 0;
height: 33px;
@ -116,7 +118,7 @@
line-height: 25px;
}
.currencyContainer {
:global(.vtex-product-price-1-x-currencyContainer) {
font-size: 24px;
line-height: 33px;
@ -125,22 +127,10 @@
line-height: 25px;
}
}
.sellingPriceLabel {
display: none;
}
.sellingPriceValue {
padding: 0;
margin: 0;
}
}
.installmentContainer {
display: none;
}
}
}
}
}