Skip to content

Commit

Permalink
support for Transparent Dark skin
Browse files Browse the repository at this point in the history
  • Loading branch information
AF-1 committed Oct 1, 2023
1 parent 70cbfdf commit fb1f778
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,30 +65,30 @@
z-index: 2;
}
.rating__icon--star {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]#ddd[% ELSE %]black[% END %];
}
.rating__icon--none {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]#ddd[% ELSE %]black[% END %];
}
.rating__input:checked ~ .rating__label .rating__icon--star {
color: [% IF systemSkin == "DarkDefault" %]black[% ELSE %]#ddd[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]black[% ELSE %]#ddd[% END %];
}
.rating-group:hover .rating__label .rating__icon--star,
.rating-group:hover .rating__label--half .rating__icon--star {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]#ddd[% ELSE %]black[% END %];
}
.rating__input:hover ~ .rating__label .rating__icon--star,
.rating__input:hover ~ .rating__label--half .rating__icon--star {
color: [% IF systemSkin == "DarkDefault" %]black[% ELSE %]#ddd[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]black[% ELSE %]#ddd[% END %];
}
.rating-group:hover .rating__input--none:not(:hover) + .rating__label .rating__icon--none {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]#ddd[% ELSE %]black[% END %];
}
.rating__input--none:hover + .rating__label .rating__icon--none {
color: red;
}
.greystars {
color: [% IF systemSkin == "DarkDefault" %]black[% ELSE %]#ddd[% END %] !important;
color: [% IF systemSkin == "DarkDefault" || systemSkin == "TransparentDark" %]black[% ELSE %]#ddd[% END %] !important;
}
.halfstarinvisible {
visibility: hidden;
Expand Down
2 changes: 1 addition & 1 deletion RatingsLight/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<id>afc9f784-9381-2021-5477-479eca380cf5</id>
<name>PLUGIN_RATINGSLIGHT</name>
<module>Plugins::RatingsLight::Plugin</module>
<version>2.4.4</version>
<version>2.4.5</version>
<description>PLUGIN_RATINGSLIGHT_DESC</description>
<creator>AF</creator>
<importmodule>Plugins::RatingsLight::Importer</importmodule>
Expand Down

0 comments on commit fb1f778

Please sign in to comment.