star vote

This commit is contained in:
2024-02-21 22:40:51 +01:00
parent 9a6fc5ce36
commit ad49248132
4 changed files with 56 additions and 0 deletions
+25
View File
@@ -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;
}