diff --git a/mixins/Rating.pixy b/mixins/Rating.pixy index db803beb..de63ee71 100644 --- a/mixins/Rating.pixy +++ b/mixins/Rating.pixy @@ -1,2 +1,2 @@ component Rating(value float64) - .anime-rating= arn.AnimeRatingStars(value) \ No newline at end of file + .anime-rating= int(value / 10 + 0.5) \ No newline at end of file diff --git a/styles/forms.scarlet b/styles/forms.scarlet index daf01b06..4b5c8e01 100644 --- a/styles/forms.scarlet +++ b/styles/forms.scarlet @@ -4,7 +4,6 @@ input, textarea, button, select padding 0.4em 0.8em border-radius 3px color text-color - default-transition input, textarea border ui-border diff --git a/styles/include/mixins.scarlet b/styles/include/mixins.scarlet index 20546f94..369074fb 100644 --- a/styles/include/mixins.scarlet +++ b/styles/include/mixins.scarlet @@ -21,7 +21,7 @@ mixin ui-element border ui-border background ui-background border-radius 3px - default-transition + transition border transition-speed ease, background transition-speed ease :hover border ui-hover-border background ui-hover-background