From 1ceb845cd7aae95b8f9acac3a611d04ce32db21b Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Sun, 2 Jun 2024 20:33:18 +0200 Subject: [PATCH] firefox html fix --- snippets/shx-StarRatingForm.liquid | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/snippets/shx-StarRatingForm.liquid b/snippets/shx-StarRatingForm.liquid index 12b4e0c..e3f933d 100644 --- a/snippets/shx-StarRatingForm.liquid +++ b/snippets/shx-StarRatingForm.liquid @@ -170,10 +170,8 @@ --shx_rating_primary: #255ff4; --shx_rating_yellow: #f4a825; --shx_rating_yellow-t: rgba(244, 168, 37, 0); - --shx_rating_bezier: cubic-bezier(0.42,0,0.58,1); - --shx_rating_trans-dur: 0.3s; - - font-size: calc(24px +(30 - 24) *(100vw - 320px) /(1280 - 320)); + --shx_rating_bezieborder-radius: cubic-bezier(0.42,0,0.58,1); + --shx_rating_trans-duborder-radius: 0.3s; } .SHX_rating { @@ -235,7 +233,7 @@ transition: stroke var(--shx_rating_trans-dur); } .SHX_rating__label { - cursor: pointer; + cursoborder-radius: pointer; padding: 0.125em; } @@ -335,21 +333,21 @@ 20% { animation-timing-function: ease-in; opacity: 1; - r: 8px; + border-radius: 8px; stroke-width: 16px; transform: scale(0); } 35% { animation-timing-function: ease-out; opacity: 0.5; - r: 8px; + border-radius: 8px; stroke-width: 16px; transform: scale(1); } 50%, to { opacity: 0; - r: 16px; + border-radius: 16px; stroke-width: 0; transform: scale(1); }