diff --git a/playlist/static/img/star-inactive.png b/playlist/static/img/star-inactive.png new file mode 100644 index 0000000..9f91916 Binary files /dev/null and b/playlist/static/img/star-inactive.png differ diff --git a/playlist/static/img/star.png b/playlist/static/img/star.png new file mode 100644 index 0000000..12a1916 Binary files /dev/null and b/playlist/static/img/star.png differ diff --git a/playlist/static/style.css b/playlist/static/style.css index 7421041..63ae710 100644 --- a/playlist/static/style.css +++ b/playlist/static/style.css @@ -254,3 +254,28 @@ input[type="range"]::-moz-range-thumb { .clippy img { width: 128px; } + +#vote-stars .star-wrapper { + height: 31px; + width:160px; +} + +#vote-stars a { + cursor:pointer; + display: inline-block; + width: 32px; + height: 32px; + margin-right: -2px; + background-image: url(img/star-inactive.png); +} +#vote-stars .star-wrapper:hover a { + background-image: url(img/star.png); +} + +#vote-stars a:hover { + background-image: url(img/star.png); +} + +#vote-stars a:hover ~ a { + background-image: url(img/star-inactive.png) !important; +} \ No newline at end of file diff --git a/playlist/templates/Vote.html b/playlist/templates/Vote.html index ce0e69b..8152141 100644 --- a/playlist/templates/Vote.html +++ b/playlist/templates/Vote.html @@ -54,6 +54,37 @@ Stemmen >Helemaal niet mee eens +