Skip to content

Commit

Permalink
renew css
Browse files Browse the repository at this point in the history
add new css
  • Loading branch information
sandewt committed Oct 17, 2020
1 parent 65ff642 commit 3126646
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions build/media_source/plg_content_vote/css/rating.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
.content_rating .language-ltr {
.content_rating .vote-star {
display: inline-block;
width: 1em;
height: 1em;
margin-left: -1.15em;
content: "";
background-size: 100%;
}

.content_rating .language-rtl {
.content_rating .vote-star-empty {
display: inline-block;
width: 1em;
height: 1em;
margin-right: -1.05em;
content: "";
opacity: 0.3;
background-size: 100%;
}

.content_rating .vote-star-ltr {
display: inline-block;
width: 1em;
height: 1em;
margin-left: -1em;
content: "";
background-size: 100%;
}

.content_rating .vote-star-rtl {
display: inline-block;
width: 1em;
height: 1em;
content: "";
margin-right: -1em;
transform: scaleX(-1);
background-size: 100%;
}

0 comments on commit 3126646

Please sign in to comment.