nicer starred styles on hover

This commit is contained in:
Andreas Gohr 2017-04-20 12:06:55 +02:00
commit 728071e818
2 changed files with 23 additions and 7 deletions

View file

@ -2,12 +2,28 @@
* This file provides styles for starred plugin
*/
.page-attributes {
.page-attributes .starred svg {
height: 1.6em;
width: 1.6em;
li.plugin_starred {
.starred svg {
margin-top: .1em;
width: 1.6em;
height: 1.6em;
font-size: 0.82rem;
fill: @ini_nav_menu_color;
}
.starred.on svg {
fill: @ini_link;
}
a:hover,
a:active {
.starred svg {
fill: @ini_nav_menu_hover_bg;
}
}
}
}
.page-attributes .starred.on svg {
fill: @ini_link;
}

View file

@ -42,7 +42,7 @@ if($doPlugin !== null) {
}
if($starredPlugin !== null) {
echo '<li>';
echo '<li class="plugin_starred">';
$starredPlugin->tpl_starred();
echo '</li>';
}