diff --git a/.deco/blocks/Header%20-%2001.json b/.deco/blocks/Header%20-%2001.json index 28f5659..52aad8a 100644 --- a/.deco/blocks/Header%20-%2001.json +++ b/.deco/blocks/Header%20-%2001.json @@ -33,40 +33,4 @@ "searches": [] }, "__resolveType": "site/sections/Header/Header.tsx" -} -{ - "cart": { - "freeShippingObjectiveQuantity": 600 - }, - "logo": { - "alt": "World Tools Logo", - "src": "https://ozksgdmyrqcxcwhnbepg.supabase.co/storage/v1/object/public/assets/3444/bb49f28f-6070-4d85-b88a-9ce3c7b1a4b2" - }, - "alerts": [ - "Promoção por tempo limitado - Frete Grátis para compras acima de R$ 500,00" - ], - "navItems": { - "__resolveType": "navbar" - }, - "ctaButton": { - "buttonLink": "/acessorios-para-maquinas", - "buttonText": "EU QUERO", - "alertsActive": false - }, - "searchbar": { - "name": "busca", - "action": "/s", - "loader": { - "data": { - "__resolveType": "wake/loaders/suggestion.ts" - }, - "__resolveType": "resolved" - }, - "placeholder": "O que está procurando hoje ?" - }, - "suggestions": { - "products": [], - "searches": [] - }, - "__resolveType": "site/sections/Header/Header.tsx" } \ No newline at end of file diff --git a/.deco/blocks/Luxury.json b/.deco/blocks/Luxury.json index 7362c12..ea94deb 100644 --- a/.deco/blocks/Luxury.json +++ b/.deco/blocks/Luxury.json @@ -3,10 +3,11 @@ "fontFamily": "'Georgia'" }, "mainColors": { - "primary": "#000000", - "base-100": "#09090b", - "tertiary": "#cddef9", - "secondary": "#164195" + "primary": "#FFFFFF", + "base-100": "#FFFFFF", + "tertiary": "#000000", + "secondary": "#164195", + "neutral": "#000000" }, "buttonStyle": { "--border-btn": "1px", @@ -24,7 +25,6 @@ }, "base-300": "#dfeaffd4" }, - "colorScheme": "any", "otherStyles": { "--rounded-box": "1rem", "--rounded-badge": "1.9rem", @@ -32,5 +32,6 @@ "--tab-border": "1px", "--tab-radius": "0.5rem" }, - "mode": "dark" -} + "mode": "dark", + "colorScheme": "any" +} \ No newline at end of file diff --git a/.deco/blocks/pages-category-7493d4326022.json b/.deco/blocks/pages-category-7493d4326022.json index 236a875..4414e5a 100644 --- a/.deco/blocks/pages-category-7493d4326022.json +++ b/.deco/blocks/pages-category-7493d4326022.json @@ -73,9 +73,7 @@ } }, "startingPage": 1, - "__resolveType": "site/sections/Product/SearchResult.tsx", - "min": 0, - "max": 60000 + "__resolveType": "site/sections/Product/SearchResult.tsx" }, { "title": "Preços promocionais, Aproveite!", diff --git a/.deco/metadata/blocks.json b/.deco/metadata/blocks.json index ab5352e..37e521d 100644 --- a/.deco/metadata/blocks.json +++ b/.deco/metadata/blocks.json @@ -1 +1 @@ -{"/.deco/blocks/Product%20Shelf%20-%2005.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Newsletter%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/pages-search-851b86bd8fd7.json":{"name":"Search","path":"/s","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/site.json":{"blockType":"apps","__resolveType":"site/apps/site.ts"},"/.deco/blocks/Product%20Shelf%20-%2006.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Footer%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/Intro%20Deco.json":{"blockType":"sections","__resolveType":"site/sections/Intro.tsx"},"/.deco/blocks/Campaing%20Timer%20-%20Github.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CampaignTimer.tsx"},"/.deco/blocks/Analytics%20Test.json":{"blockType":"sections","__resolveType":"website/sections/Analytics/Analytics.tsx"},"/.deco/blocks/Product%20Card%20Layout%20-%2001.json":{"blockType":"loaders","__resolveType":"site/loaders/Layouts/ProductCard.tsx"},"/.deco/blocks/SEO%20Default.json":{"blockType":"sections","__resolveType":"deco-sites/std/sections/SEO.tsx"},"/.deco/blocks/Cards%20Institucionais.json":{"blockType":"sections","__resolveType":"site/sections/Content/InstitucionalCards.tsx"},"/.deco/blocks/wake.json":{"blockType":"apps","__resolveType":"decohub/apps/wake.ts"},"/.deco/blocks/Footer%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/MINIMUM-GRID-SHELF.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomShelfGrid.tsx"},"/.deco/blocks/GRID-SHELF.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomShelfGrid.tsx"},"/.deco/blocks/Campaign%20Timer%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CampaignTimer.tsx"},"/.deco/blocks/Footer%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/Footer%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/pages-lp-teste-515f348a0401.json":{"name":"LP-Teste","path":"/lp-teste","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Testimonials%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Content/Testimonials.tsx"},"/.deco/blocks/Recommendation%20Shelf.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomShelfSlider.tsx"},"/.deco/blocks/Product%20Shelf%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/FAQ%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Content/Faq.tsx"},"/.deco/blocks/Product%20Shelf%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/FAQ%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Content/Faq.tsx"},"/.deco/blocks/pages-Trocas%2520e%2520Devolu%25C3%25A7%25C3%25B5es%2520Copy-451954.json":{"name":"Trocas e Devoluções Copy","path":"/example-path","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Cookie%20Consent%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CookieConsent.tsx"},"/.deco/blocks/Luxury.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/pages-quemsomos-402aa48ecd30.json":{"name":"Quem Somos","path":"/quemsomos","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-listadedesejos-7ffa0d61b49f.json":{"name":"Lista de Desejos","path":"/wishlist","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/LinkTree%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Links/LinkTree.tsx"},"/.deco/blocks/Image%20Gallery%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/6-PRODUCT-ODD.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomOddGrid.tsx"},"/.deco/blocks/FAQ%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Faq.tsx"},"/.deco/blocks/Fashion%20theme.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Image%20Gallery%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/Preview%20website%2Fsections%2FAnalytics%2FAnalytics.tsx.json":{"blockType":"sections","__resolveType":"website/sections/Analytics/Analytics.tsx"},"/.deco/blocks/Benefits%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Content/Benefits.tsx"},"/.deco/blocks/Shortcuts%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Links/Shortcuts.tsx"},"/.deco/blocks/Banner%20Principal%20Sobre%20Nos.json":{"blockType":"sections","__resolveType":"site/sections/Content/InstitucionalBanner.tsx"},"/.deco/blocks/Header%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Header/Header.tsx"},"/.deco/blocks/pages-productpage-ce4850591828.json":{"name":"Product Page","path":"/produto/:slug","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Product%20Shelf%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Carousel%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/Carousel.tsx"},"/.deco/blocks/Benefits%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Benefits.tsx"},"/.deco/blocks/Footer%20-%2005.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/Product%20Details%20-%20Gallery%20Grid.json":{"blockType":"sections","__resolveType":"site/sections/Gallery.tsx"},"/.deco/blocks/navbar.json":{"blockType":"loaders","__resolveType":"commerce/loaders/navbar.ts"},"/.deco/blocks/Newsletter%20-%2006.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/pages-category-7493d4326022.json":{"name":"Category","path":"/*","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Banner%20Grid%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/BannerGrid.tsx"},"/.deco/blocks/Testimonials%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Testimonials.tsx"},"/.deco/blocks/Colecao%20137%20-%20Casacos.json":{"blockType":"loaders","__resolveType":"deco-sites/std/loaders/vtex/intelligentSearch/productList.ts"},"/.deco/blocks/Resultado%20Busca.json":{"blockType":"sections","__resolveType":"site/sections/Product/SearchResult.tsx"},"/.deco/blocks/Product%20Details%20-%20Gallery%20FullWidth.json":{"blockType":"sections","__resolveType":"site/sections/Gallery.tsx"},"/.deco/blocks/Newsletter%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/Cookie%20Consent%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CookieConsent.tsx"},"/.deco/blocks/Lemonade.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Category%20Banner%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Category/CategoryBanner.tsx"},"/.deco/blocks/Shoppable%20Banner%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/ShoppableBanner.tsx"},"/.deco/blocks/pages-Category%2520-%2520Black%2520December-185373.json":{"name":"Category - Black December","path":"/blackdecember","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-offline-b9c52de8c7b3.json":{"name":"Offline","path":"/offline","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Newsletter%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/analytics.json":{"blockType":"sections","__resolveType":"deco-sites/std/sections/Analytics.tsx"},"/.deco/blocks/pages-trocasedevolu%C3%A7%C3%B5es-1aa7f4364b01.json":{"name":"Trocas e Devoluções","path":"/trocasedevolucoes","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/SEODefault.json":{"blockType":"sections","__resolveType":"deco-sites/std/sections/SEO.tsx"},"/.deco/blocks/pages-testecria%C3%A7%C3%A3op%C3%A1gina-d6e3de6c53cb.json":{"name":"Teste Criação Página","path":"/teste-page","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Campaign%20Timer%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CampaignTimer.tsx"},"/.deco/blocks/Product%20Details%20-%20Gallery%20Slider.json":{"blockType":"sections","__resolveType":"site/sections/Gallery.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FNewsletter%2FNewsletter.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/iframe%20INSTITUCIONAL.json":{"blockType":"sections","__resolveType":"site/sections/Content/InstitucionalIframce.tsx"},"/.deco/blocks/Category%20List%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Category/CategoryList.tsx"},"/.deco/blocks/Newsletter%20-%2005.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/decohub.json":{"blockType":"apps","__resolveType":"site/apps/decohub.ts"},"/.deco/blocks/pages-home-c4bcbfb771e9.json":{"name":"Home","path":"/","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Cookie%20Consent%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CookieConsent.tsx"},"/.deco/blocks/Product%20Detail%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductDetails.tsx"},"/.deco/blocks/pages-comocomprar-652495cabbd4.json":{"name":"Como Comprar","path":"/comocomprar","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Image%20Gallery%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/my-redirects.json":{"blockType":"loaders","__resolveType":"deco-sites/std/loaders/x/redirects.ts"},"/.deco/blocks/Logos%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Logos.tsx"},"/.deco/blocks/Fun.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/pages-pol%C3%ADticadeprivacidade-f35fbf5a5c7a.json":{"name":"Política de Privacidade","path":"/politica-de-privacidade","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Image%20Gallery%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FNewSection.tsx.json":{"blockType":"sections","__resolveType":"site/sections/NewSection.tsx"},"/.deco/blocks/Newsletter%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/Product%20Shelf%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Benefits%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Content/Benefits.tsx"},"/.deco/blocks/Colecao%20139%20-%20Camisas.json":{"blockType":"loaders","__resolveType":"deco-sites/std/loaders/vtex/intelligentSearch/productList.ts"},"/.deco/blocks/Halloween.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/PDP%20-%20Loader.json":{"blockType":"loaders","__resolveType":"commerce/loaders/product/extensions/detailsPage.ts"}} \ No newline at end of file +{"/.deco/blocks/Preview%20%2Fsections%2FNewsletter%2FNewsletter.tsx.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/Footer%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/pages-Category%2520-%2520Black%2520December-185373.json":{"name":"Category - Black December","path":"/blackdecember","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/SEODefault.json":{"blockType":"sections","__resolveType":"deco-sites/std/sections/SEO.tsx"},"/.deco/blocks/Cookie%20Consent%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CookieConsent.tsx"},"/.deco/blocks/Lemonade.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Benefits%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Benefits.tsx"},"/.deco/blocks/pages-testecria%C3%A7%C3%A3op%C3%A1gina-d6e3de6c53cb.json":{"name":"Teste Criação Página","path":"/teste-page","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/site.json":{"blockType":"apps","__resolveType":"site/apps/site.ts"},"/.deco/blocks/Product%20Shelf%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Preview%20%2Fsections%2FNewSection.tsx.json":{"blockType":"sections","__resolveType":"site/sections/NewSection.tsx"},"/.deco/blocks/Banner%20Principal%20Sobre%20Nos.json":{"blockType":"sections","__resolveType":"site/sections/Content/InstitucionalBanner.tsx"},"/.deco/blocks/Product%20Card%20Layout%20-%2001.json":{"blockType":"loaders","__resolveType":"site/loaders/Layouts/ProductCard.tsx"},"/.deco/blocks/pages-home-c4bcbfb771e9.json":{"name":"Home","path":"/","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/FAQ%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Faq.tsx"},"/.deco/blocks/Product%20Shelf%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Product%20Details%20-%20Gallery%20Slider.json":{"blockType":"sections","__resolveType":"site/sections/Gallery.tsx"},"/.deco/blocks/Cookie%20Consent%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CookieConsent.tsx"},"/.deco/blocks/Product%20Detail%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductDetails.tsx"},"/.deco/blocks/SEO%20Default.json":{"blockType":"sections","__resolveType":"deco-sites/std/sections/SEO.tsx"},"/.deco/blocks/Header%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Header/Header.tsx"},"/.deco/blocks/pages-pol%C3%ADticadeprivacidade-f35fbf5a5c7a.json":{"name":"Política de Privacidade","path":"/politica-de-privacidade","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Colecao%20139%20-%20Camisas.json":{"blockType":"loaders","__resolveType":"deco-sites/std/loaders/vtex/intelligentSearch/productList.ts"},"/.deco/blocks/Intro%20Deco.json":{"blockType":"sections","__resolveType":"site/sections/Intro.tsx"},"/.deco/blocks/Category%20List%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Category/CategoryList.tsx"},"/.deco/blocks/Campaign%20Timer%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CampaignTimer.tsx"},"/.deco/blocks/analytics.json":{"blockType":"sections","__resolveType":"deco-sites/std/sections/Analytics.tsx"},"/.deco/blocks/Preview%20website%2Fsections%2FAnalytics%2FAnalytics.tsx.json":{"blockType":"sections","__resolveType":"website/sections/Analytics/Analytics.tsx"},"/.deco/blocks/Newsletter%20-%2006.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/Testimonials%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Content/Testimonials.tsx"},"/.deco/blocks/Shoppable%20Banner%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/ShoppableBanner.tsx"},"/.deco/blocks/GRID-SHELF.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomShelfGrid.tsx"},"/.deco/blocks/Product%20Details%20-%20Gallery%20Grid.json":{"blockType":"sections","__resolveType":"site/sections/Gallery.tsx"},"/.deco/blocks/Product%20Shelf%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Logos%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Logos.tsx"},"/.deco/blocks/Newsletter%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/iframe%20INSTITUCIONAL.json":{"blockType":"sections","__resolveType":"site/sections/Content/InstitucionalIframce.tsx"},"/.deco/blocks/pages-productpage-ce4850591828.json":{"name":"Product Page","path":"/produto/:slug","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-quemsomos-402aa48ecd30.json":{"name":"Quem Somos","path":"/quemsomos","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/pages-listadedesejos-7ffa0d61b49f.json":{"name":"Lista de Desejos","path":"/wishlist","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Image%20Gallery%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/Analytics%20Test.json":{"blockType":"sections","__resolveType":"website/sections/Analytics/Analytics.tsx"},"/.deco/blocks/pages-lp-teste-515f348a0401.json":{"name":"LP-Teste","path":"/lp-teste","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/PDP%20-%20Loader.json":{"blockType":"loaders","__resolveType":"commerce/loaders/product/extensions/detailsPage.ts"},"/.deco/blocks/Product%20Shelf%20-%2005.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/Banner%20Grid%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/BannerGrid.tsx"},"/.deco/blocks/Carousel%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Images/Carousel.tsx"},"/.deco/blocks/Product%20Shelf%20-%2006.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/wake.json":{"blockType":"apps","__resolveType":"decohub/apps/wake.ts"},"/.deco/blocks/Image%20Gallery%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/Colecao%20137%20-%20Casacos.json":{"blockType":"loaders","__resolveType":"deco-sites/std/loaders/vtex/intelligentSearch/productList.ts"},"/.deco/blocks/Newsletter%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/decohub.json":{"blockType":"apps","__resolveType":"site/apps/decohub.ts"},"/.deco/blocks/Footer%20-%2005.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/pages-comocomprar-652495cabbd4.json":{"name":"Como Comprar","path":"/comocomprar","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Footer%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/Newsletter%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/pages-search-851b86bd8fd7.json":{"name":"Search","path":"/s","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/6-PRODUCT-ODD.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomOddGrid.tsx"},"/.deco/blocks/Halloween.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Image%20Gallery%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/pages-Trocas%2520e%2520Devolu%25C3%25A7%25C3%25B5es%2520Copy-451954.json":{"name":"Trocas e Devoluções Copy","path":"/example-path","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Cards%20Institucionais.json":{"blockType":"sections","__resolveType":"site/sections/Content/InstitucionalCards.tsx"},"/.deco/blocks/Category%20Banner%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Category/CategoryBanner.tsx"},"/.deco/blocks/Cookie%20Consent%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CookieConsent.tsx"},"/.deco/blocks/Fashion%20theme.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/Image%20Gallery%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Images/ImageGallery.tsx"},"/.deco/blocks/pages-offline-b9c52de8c7b3.json":{"name":"Offline","path":"/offline","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Campaign%20Timer%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CampaignTimer.tsx"},"/.deco/blocks/Testimonials%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Content/Testimonials.tsx"},"/.deco/blocks/Newsletter%20-%2005.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/Footer%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/Campaing%20Timer%20-%20Github.json":{"blockType":"sections","__resolveType":"site/sections/Miscellaneous/CampaignTimer.tsx"},"/.deco/blocks/Luxury.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/FAQ%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Content/Faq.tsx"},"/.deco/blocks/Benefits%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Content/Benefits.tsx"},"/.deco/blocks/MINIMUM-GRID-SHELF.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomShelfGrid.tsx"},"/.deco/blocks/navbar.json":{"blockType":"loaders","__resolveType":"commerce/loaders/navbar.ts"},"/.deco/blocks/Benefits%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Content/Benefits.tsx"},"/.deco/blocks/LinkTree%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Links/LinkTree.tsx"},"/.deco/blocks/Recommendation%20Shelf.json":{"blockType":"sections","__resolveType":"site/sections/Product/CustomShelfSlider.tsx"},"/.deco/blocks/Fun.json":{"blockType":"sections","__resolveType":"site/sections/Theme/Theme.tsx"},"/.deco/blocks/FAQ%20-%2003.json":{"blockType":"sections","__resolveType":"site/sections/Content/Faq.tsx"},"/.deco/blocks/Product%20Shelf%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Product/ProductShelf.tsx"},"/.deco/blocks/pages-trocasedevolu%C3%A7%C3%B5es-1aa7f4364b01.json":{"name":"Trocas e Devoluções","path":"/trocasedevolucoes","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/Product%20Details%20-%20Gallery%20FullWidth.json":{"blockType":"sections","__resolveType":"site/sections/Gallery.tsx"},"/.deco/blocks/Footer%20-%2002.json":{"blockType":"sections","__resolveType":"site/sections/Footer/Footer.tsx"},"/.deco/blocks/Newsletter%20-%2004.json":{"blockType":"sections","__resolveType":"site/sections/Newsletter/Newsletter.tsx"},"/.deco/blocks/Shortcuts%20-%2001.json":{"blockType":"sections","__resolveType":"site/sections/Links/Shortcuts.tsx"},"/.deco/blocks/Resultado%20Busca.json":{"blockType":"sections","__resolveType":"site/sections/Product/SearchResult.tsx"},"/.deco/blocks/pages-category-7493d4326022.json":{"name":"Category","path":"/*","blockType":"pages","__resolveType":"website/pages/Page.tsx"},"/.deco/blocks/my-redirects.json":{"blockType":"loaders","__resolveType":"deco-sites/std/loaders/x/redirects.ts"}} \ No newline at end of file diff --git a/components/product/ProductCardCustom.tsx b/components/product/ProductCardCustom.tsx index 0236ed2..443929d 100644 --- a/components/product/ProductCardCustom.tsx +++ b/components/product/ProductCardCustom.tsx @@ -59,10 +59,11 @@ const relative = (url: string) => { export const calculate = (item: number, item2: number) => { if (item - item2 > 0) { - const percentValue = Math.round((item - item2) / item * 100); - return `${percentValue}% OFF `; + // const percentValue = Math.round((item - item2) / item * 100); + // return `${percentValue}% OFF`; } - + //este valor esta colocado diretamente no codigo por causa de um erro na API da wake. Retirar e descomentar o codigo acima para calcular automaticamente. + return "12% OFF"; }; const WIDTH = 314; diff --git a/components/product/ProductCardOdd.tsx b/components/product/ProductCardOdd.tsx index 151ab37..797ba40 100644 --- a/components/product/ProductCardOdd.tsx +++ b/components/product/ProductCardOdd.tsx @@ -61,10 +61,11 @@ const relative = (url: string) => { const calculate = (item: number, item2: number) => { if ((item - item2) > 0) { - const percentValue = Math.round((item - item2) / item * 100); - return `${percentValue}% OFF`; + // const percentValue = Math.round((item - item2) / item * 100); + // return `${percentValue}% OFF`; } - + //este valor esta colocado diretamente no codigo por causa de um erro na API da wake. Retirar e descomentar o codigo acima para calcular automaticamente. + return "12% OFF" }; diff --git a/components/search/FilterRange.tsx b/components/search/FilterRange.tsx new file mode 100644 index 0000000..e607dbf --- /dev/null +++ b/components/search/FilterRange.tsx @@ -0,0 +1,195 @@ +import { useEffect, useId, useRef } from "preact/hooks"; +import { RefObject } from "preact"; +import { useSignal } from "@preact/signals"; +import { formatPrice } from "site/sdk/format.ts"; + +function useDebounce( + // deno-lint-ignore no-explicit-any + func: (...args: any[]) => void, + timeout = 300, + // deno-lint-ignore no-explicit-any +): (...args: any[]) => void { + let timer: ReturnType; + return (...args) => { + clearTimeout(timer); + timer = setTimeout(() => { + func(...args); + }, timeout); + }; +} + +const thumbsize = 14; + +interface FilterRangeProps { + min: number; + max: number; + currentUrlFilterPrice?: string; + currentMaxFacet?: string; + currentMinFacet?: string; +} + +function applyFilterPrice( + { min, max, currentUrlFilterPrice }: FilterRangeProps, +) { + const searchParams = new URLSearchParams(currentUrlFilterPrice); + console.log("searchParams", searchParams); + searchParams.set("filter.price", `${min}:${max}`); + const newUrl = `${window.location.pathname}?${searchParams.toString()}`; + + globalThis.location.href = newUrl; +} + +const debouncedApplyFilterPrice = useDebounce((arg) => applyFilterPrice(arg)); + +function FilterRange( + { + min: minValue, + max: maxValue, + currentUrlFilterPrice = "", + currentMinFacet, + currentMaxFacet, + }: FilterRangeProps, +) { + const id = useId(); + const slider: RefObject = useRef(null); + const min: RefObject = useRef(null); + const max: RefObject = useRef(null); + const rangemin = useSignal(Number(currentMinFacet)); + const rangemax = useSignal(Number(currentMaxFacet)); + + const avgvalueprimary = (rangemin.value + rangemax.value) / 2; + const dataValue = useSignal({ + min: minValue, + max: maxValue, + rangewitdh: 0, + }); + + function draw(splitvalue: number) { + if ( + min.current && + max.current && + slider.current && + !!dataValue.value.rangewitdh + ) { + min.current.setAttribute("max", `${splitvalue}`); + max.current.setAttribute("min", `${splitvalue}`); + + // Set css + min.current.style.width = `${ + Math.floor( + thumbsize + + ((splitvalue - minValue) / + (maxValue - minValue)) * + (dataValue.value.rangewitdh - 2 * thumbsize), + ) + }px`; + max.current.style.width = `${ + Math.floor( + thumbsize + + ((maxValue - splitvalue) / + (maxValue - minValue)) * + (dataValue.value.rangewitdh - 2 * thumbsize), + ) + }px`; + + min.current.style.left = "0px"; + max.current.style.left = min.current.style.width; + + slider.current.style.height = `${min.current.offsetHeight}px`; + + if (Number(max.current.value) > maxValue) { + max.current.setAttribute("data-value", `${dataValue.value.max}`); + } + + rangemin.value = Number(min.current.getAttribute("data-value")); + rangemax.value = Number(max.current.getAttribute("data-value")); + } + } + + function update(props: FilterRangeProps): void { + if (min.current && max.current) { + const minvalue = props.min; + const maxvalue = props.max; + + min.current.setAttribute("data-value", `${minvalue}`); + max.current.setAttribute("data-value", `${maxvalue}`); + + const avgvalue = (minvalue + maxvalue) / 2; + draw(Math.round(avgvalue)); + } + } + + function handleInput(props: FilterRangeProps) { + update(props); + debouncedApplyFilterPrice({ + min: rangemin.value, + max: rangemax.value, + currentUrlFilterPrice, + }); + } + + useEffect(() => { + if (slider.current) { + dataValue.value.rangewitdh = slider.current.offsetWidth; + draw(Math.round(avgvalueprimary)); + } + }, []); + + return ( +
+
+ + ) => + handleInput({ + min: Math.round(Number(ev.currentTarget.value)), + max: rangemax.value, + })} + value={rangemin.value} + /> + + ) => + handleInput({ + max: Math.round(Number(ev.currentTarget.value)), + min: rangemin.value, + })} + value={Math.round(rangemax.value)} + /> +
+
+ + {formatPrice(rangemin.value, "BRL")} + + - + + {formatPrice(rangemax.value, "BRL")} + +
+
+ ); +} + +export default FilterRange; diff --git a/components/search/Filters.tsx b/components/search/Filters.tsx index 5bf265c..92893ea 100644 --- a/components/search/Filters.tsx +++ b/components/search/Filters.tsx @@ -8,14 +8,10 @@ import type { } from "apps/commerce/types.ts"; import { parseRange } from "apps/commerce/utils/filters.ts"; import ClearFilters from "site/islands/ClearFilters.tsx"; -import RangeFilter from "site/islands/RangeFilter.tsx"; +// import FilterRange from "site/components/search/FilterRange.tsx"; interface Props { filters: ProductListingPage["filters"]; - /** @description O valor minimo esta definido em R$0,00 se quiser mudar o valor preencher o campo abaixo */ - min?: number; - /** @description O valor maximo esta definido em R$10.000,00 se quiser mudar o valor preencher o campo abaixo */ - max?: number; } const isToggle = (filter: Filter): filter is FilterToggle => @@ -23,10 +19,7 @@ const isToggle = (filter: Filter): filter is FilterToggle => function ValueItem( { url, selected, label, quantity }: FilterToggleValue, - - ) { -console.log(url) return ( <> {quantity > 0 && ( @@ -86,8 +79,7 @@ function FilterValues({ key, values }: FilterToggle) { ); } -function Filters({ filters,min, max }: Props) { - +function Filters({ filters }: Props) { return (
    @@ -96,31 +88,33 @@ function Filters({ filters,min, max }: Props) { SELECIONADOS
    - {filters - .filter(isToggle) - .map((filter) => - filter.values.map( - (item) => item.selected && - ) - )} + {filters.filter(isToggle) + .map((filter) => ( + filter.values.map((item) => ( + item.selected && + )) + ))}
    - {filters.filter(isToggle).map((filter) => ( - filter.label !== "Preço" ? - (
    - -
    - {filter.label} + {filters + .filter(isToggle) + .map((filter) => ( +
    + +
    + {filter.label} +
    +
    + +
    -
    - -
    -
    ) : null - ))} - - + //
  • + // {filter.label} + // + //
  • + ))}
); } diff --git a/components/search/SearchResult.tsx b/components/search/SearchResult.tsx index 3699a2c..9723680 100644 --- a/components/search/SearchResult.tsx +++ b/components/search/SearchResult.tsx @@ -29,8 +29,6 @@ export interface Props { cardLayout?: CardLayout; /** @description 0 for ?page=0 as your first page */ startingPage?: 0 | 1; - min: number; - max: number; } function NotFound() { @@ -65,8 +63,6 @@ function NotFound() { } function Result({ - min, - max, page, layout, cardLayout, @@ -100,7 +96,6 @@ function Result({ {layout?.variant === "aside" && filters.length > 0 && ( )}
@@ -129,11 +124,9 @@ function Result({ @@ -150,7 +143,7 @@ function Result({ item_list_id: breadcrumb.itemListElement?.at(-1)?.item, items: page.products?.map((product, index) => mapProductToAnalyticsItem({ - ...useOffer(product.offers), + ...(useOffer(product.offers)), index: offset + index, product, breadcrumbList: page.breadcrumb, diff --git a/fresh.gen.ts b/fresh.gen.ts index 6a8f3bf..6e5cda3 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -26,7 +26,6 @@ import * as $Newsletter from "./islands/Newsletter.tsx"; import * as $OutOfStock from "./islands/OutOfStock.tsx"; import * as $ProductImageZoom from "./islands/ProductImageZoom.tsx"; import * as $ProductReview from "./islands/ProductReview.tsx"; -import * as $RangeFilter from "./islands/RangeFilter.tsx"; import * as $SearchControls from "./islands/SearchControls.tsx"; import * as $Shipping from "./islands/Shipping.tsx"; import * as $ShippingSimulation from "./islands/ShippingSimulation.tsx"; @@ -65,7 +64,6 @@ const manifest = { "./islands/OutOfStock.tsx": $OutOfStock, "./islands/ProductImageZoom.tsx": $ProductImageZoom, "./islands/ProductReview.tsx": $ProductReview, - "./islands/RangeFilter.tsx": $RangeFilter, "./islands/SearchControls.tsx": $SearchControls, "./islands/Shipping.tsx": $Shipping, "./islands/ShippingSimulation.tsx": $ShippingSimulation, diff --git a/islands/RangeFilter.tsx b/islands/RangeFilter.tsx deleted file mode 100644 index f041f6c..0000000 --- a/islands/RangeFilter.tsx +++ /dev/null @@ -1,142 +0,0 @@ -import { useState, useEffect, useRef } from "preact/hooks"; - -export interface Props { - /** @description O valor minimo esta definido em R$0,00 se quiser mudar o valor preencher o campo abaixo */ - min?: number; - /** @description O valor maximo esta definido em R$10.000,00 se quiser mudar o valor preencher o campo abaixo */ - max?: number; - /** @hide step */ - step?: number; -} - -const RangeFilter = ({ min = 0, max = 10000, step = 1 }: Props) => { - const [rangeSliderMin, setRangeSliderMin] = useState(min); - const [rangeSliderMax, setRangeSliderMax] = useState(max); - - const rangeSliderRef = useRef(null); - - useEffect(() => { - if (rangeSliderRef.current) { - const rangeSlider = rangeSliderRef.current; - const updateSlider = () => { - const percentageMin = rangeSliderMin / max; - const percentageMax = rangeSliderMax / max; - - rangeSlider.querySelector( - ".range-slider-val-left" - )!.style.width = `${percentageMin * 100}%`; - rangeSlider.querySelector( - ".range-slider-val-right" - )!.style.width = `${(1 - percentageMax) * 100}%`; - rangeSlider.querySelector( - ".range-slider-val-range" - )!.style.left = `${percentageMin * 100}%`; - rangeSlider.querySelector( - ".range-slider-val-range" - )!.style.right = `${(1 - percentageMax) * 100}%`; - rangeSlider.querySelector( - ".range-slider-handle-left" - )!.style.left = `${percentageMin * 100}%`; - rangeSlider.querySelector( - ".range-slider-handle-right" - )!.style.left = `${percentageMax * 100}%`; - rangeSlider.querySelector( - ".range-slider-tooltip-left .range-slider-tooltip-text" - )!.innerText = rangeSliderMin.toString(); - rangeSlider.querySelector( - ".range-slider-tooltip-right .range-slider-tooltip-text" - )!.innerText = rangeSliderMax.toString(); - }; - - updateSlider(); - - const handleLeftInputChange = (e: Event) => { - const target = e.target as HTMLInputElement; - const newValue = Math.min( - parseInt(target.value, 10), - rangeSliderMax - step - ); - setRangeSliderMin(newValue); - }; - - const handleRightInputChange = (e: Event) => { - const target = e.target as HTMLInputElement; - const newValue = Math.max( - parseInt(target.value, 10), - rangeSliderMin + step - ); - setRangeSliderMax(newValue); - }; - - rangeSlider - .querySelector(".range-slider-input-left")! - .addEventListener("input", handleLeftInputChange); - rangeSlider - .querySelector(".range-slider-input-right")! - .addEventListener("input", handleRightInputChange); - - return () => { - rangeSlider - .querySelector(".range-slider-input-left")! - .removeEventListener("input", handleLeftInputChange); - rangeSlider - .querySelector(".range-slider-input-right")! - .removeEventListener("input", handleRightInputChange); - }; - } - }, [rangeSliderMin, rangeSliderMax, max, step]); - - return ( -
-

- Preço -

-
-
-
-
-
- - -
- -
-
- -
-
- - -
-
-

{`R$${rangeSliderMin},00`}

-

{`R$${rangeSliderMax},00`}

-
- - - filtrar por preço - -
- ); -}; - -export default RangeFilter; diff --git a/tailwind.css b/tailwind.css index 73aa255..221f3e0 100644 --- a/tailwind.css +++ b/tailwind.css @@ -3,6 +3,7 @@ @tailwind utilities; @layer base { + /* Allow changing font family via CMS */ html { font-family: var(--font-family); @@ -13,8 +14,8 @@ } /** Remove default styles from input[type=number] */ - input[type="number"]::-webkit-inner-spin-button, - input[type="number"]::-webkit-outer-spin-button { + input[type=number]::-webkit-inner-spin-button, + input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } @@ -28,212 +29,15 @@ } .group:disabled .group-disabled\:animate-progress { - animation: progress-frame ease normal; + animation: progress-frame ease normal } @keyframes progress-frame { 0% { - --dot-progress: 0%; + --dot-progress: 0% } to { - --dot-progress: 100%; + --dot-progress: 100% } -} - -:root { - --ColorPrimaryDk: #164195; - --ColorPrimaryLt: #164195; -} - -.range-slider { - --range-slider-common-height: 12px; - --range-slider-handle-width: 20px; - --range-slider-handle-height: 20px; - - position: relative; - display: flex; - align-items: center; - width: 99%; - height: 100%; -} - -.range-slider > div { - position: absolute; - display: flex; - align-items: center; - left: 13px; - right: 15px; - height: var(--range-slider-common-height); -} - -.range-slider > div > .range-slider-val-left, -.range-slider > div > .range-slider-val-right, -.range-slider > div > .range-slider-val-range { - height: 10px; -} - -.range-slider > div > .range-slider-val-left { - position: absolute; - left: 0; - border-radius: 10px; - background-color: #ccc; - margin: 0 7px; -} - -.range-slider > div > .range-slider-val-right { - position: absolute; - right: 0; - margin: 0 7px; - border-radius: 10px; - background-color: #ccc; -} - -.range-slider > div > .range-slider-val-range { - position: absolute; - left: 0; - top: -2px; - height: 14px; - border-radius: 14px; - background-color: var(--ColorPrimaryLt); -} - -.range-slider > div > .range-slider-handle { - z-index: 1; - position: absolute; - top: -5px; - margin-left: -11px; - width: var(--range-slider-handle-width); - height: var(--range-slider-handle-height); - border-radius: 25%; - background-color: #fff; - text-align: left; - - box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); - outline: none; - cursor: pointer; -} - -div.range-slider > input[type="range"]::-ms-thumb { - width: var(--range-slider-handle-width); - height: var(--range-slider-handle-height); - border: 0 none; - border-radius: 0px; - background: red; - - pointer-events: all; -} - -div.range-slider > input[type="range"]::-moz-range-thumb { - width: var(--range-slider-handle-width); - height: var(--range-slider-handle-height); - border: 0 none; - border-radius: 0px; - background: red; - - pointer-events: all; -} - -div.range-slider > input[type="range"]::-webkit-slider-thumb { - width: var(--range-slider-handle-width); - height: var(--range-slider-handle-height); - border: 0 none; - border-radius: 0px; - background: red; - - pointer-events: all; - -webkit-appearance: none; -} - -div.range-slider > input[type="range"]::-ms-fill-lower { - background: transparent; - border: 0 none; -} - -div.range-slider > input[type="range"]::-ms-fill-upper { - background: transparent; - border: 0 none; -} - -.range-slider > input[type="range"] { - z-index: 1; - position: absolute; - width: 100%; - height: var(--range-slider-common-height); - - opacity: 0; - filter: alpha(opacity=0); - cursor: pointer; - pointer-events: none; - -webkit-appearance: none; -} - -div.range-slider > input[type="range"]::-ms-track { - background: transparent; - color: transparent; - - -webkit-appearance: none; -} - -div.range-slider > input[type="range"]::-moz-range-track { - background: transparent; - color: transparent; - - -moz-appearance: none; -} - -div.range-slider > input[type="range"]:focus::-webkit-slider-runnable-track { - background: transparent; - border: transparent; -} - -div.range-slider > input[type="range"]:focus { - outline: none; -} - -div.range-slider > input[type="range"]::-ms-tooltip { - display: none; -} - -.range-slider > div > .range-slider-tooltip { - z-index: 2; - position: absolute; - top: -42px; - margin-left: -12px; - width: 28px; - height: 28px; - border-radius: 28px; - background-color: var(--ColorPrimaryLt); - color: #fff; - text-align: center; - - opacity: 0; -} - -.range-slider > div > .range-slider-tooltip:after { - content: ""; - - position: absolute; - left: 0; - top: 19px; - border-left: 14px solid transparent; - border-right: 14px solid transparent; - border-top-width: 16px; - border-top-style: solid; - border-top-color: var(--ColorPrimaryLt); - border-radius: 16px; - opacity:0; -} - -.range-slider > div > .range-slider-tooltip > span { - font-size: 12px; - font-weight: 700; - line-height: 28px; -} - -/* .range-slider:hover > div > .range-slider-tooltip { - opacity: 1; -} */ - .range-slider-tooltip-text{ - opacity:0; - } \ No newline at end of file +} \ No newline at end of file