From e0061719b8dd18be8c7508ee7b59f3546980d7de Mon Sep 17 00:00:00 2001 From: Dominik George <nik@naturalnet.de> Date: Thu, 2 Aug 2018 14:05:07 +0200 Subject: [PATCH] Use grayscale filter instead of different colours. --- django_starfield/static/django_starfield.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/django_starfield/static/django_starfield.css b/django_starfield/static/django_starfield.css index d0e3418..55aaa7e 100644 --- a/django_starfield/static/django_starfield.css +++ b/django_starfield/static/django_starfield.css @@ -20,7 +20,7 @@ .django-starfield label:hover, .django-starfield label:hover ~ label { - color: #189800; + filter: grayscale(0.5);; } .django-starfield * @@ -42,7 +42,8 @@ .django-starfield label { - color: #ccc; + color: #f5b301; + filter: grayscale(1); } .django-starfield label::before @@ -62,7 +63,7 @@ .django-starfield input:checked ~ label { - color: #f5b301; + filter: grayscale(0); } .acidjs-rating-disabled -- GitLab