Skip to content

Commit

Permalink
add support for DarkLogic
Browse files Browse the repository at this point in the history
  • Loading branch information
AF-1 committed Jun 9, 2024
1 parent 08a4b69 commit 30fc97d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,30 +66,30 @@
z-index: 2;
}
.rating__icon--star {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]#ddd[% ELSE %]black[% END %];
}
.rating__icon--none {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]#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 == "DarkLogic" %]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 == "DarkLogic" %]#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 == "DarkLogic" %]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 == "DarkLogic" %]#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 == "DarkLogic" %]black[% ELSE %]#ddd[% END %] !important;
}
.invisible, .label__allunrated {
visibility: hidden;
Expand All @@ -105,7 +105,7 @@
.browsedbControls {visibility:visible;}
</style>
<br>
[% IF systemSkin == "DarkDefault" || systemSkin == "Default" || systemSkin == "Logic" || systemSkin == "Classic" %]
[% IF systemSkin == "DarkDefault" || systemSkin == "DarkLogic" || systemSkin == "Default" || systemSkin == "Logic" || systemSkin == "Classic" %]
[% WRAPPER contentcontainer %]
[% odd = 1 %]
[% IF trackcount > 1 %]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,30 +63,30 @@
z-index: 2;
}
.rating__icon--star {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]#ddd[% ELSE %]black[% END %];
}
.rating__icon--none {
color: [% IF systemSkin == "DarkDefault" %]#ddd[% ELSE %]black[% END %];
color: [% IF systemSkin == "DarkDefault" || systemSkin == "DarkLogic" %]#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 == "DarkLogic" %]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 == "DarkLogic" %]#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 == "DarkLogic" %]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 == "DarkLogic" %]#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 == "DarkLogic" %]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.7.5</version>
<version>2.7.6</version>
<description>PLUGIN_RATINGSLIGHT_DESC</description>
<creator>AF</creator>
<importmodule>Plugins::RatingsLight::Importer</importmodule>
Expand Down

0 comments on commit 30fc97d

Please sign in to comment.