nicer starred styles on hover
This commit is contained in:
parent
d4c5a4240d
commit
728071e818
2 changed files with 23 additions and 7 deletions
|
@ -2,12 +2,28 @@
|
||||||
* This file provides styles for starred plugin
|
* This file provides styles for starred plugin
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.page-attributes {
|
||||||
|
|
||||||
.page-attributes .starred svg {
|
li.plugin_starred {
|
||||||
height: 1.6em;
|
.starred svg {
|
||||||
width: 1.6em;
|
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;
|
|
||||||
}
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ if($doPlugin !== null) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($starredPlugin !== null) {
|
if($starredPlugin !== null) {
|
||||||
echo '<li>';
|
echo '<li class="plugin_starred">';
|
||||||
$starredPlugin->tpl_starred();
|
$starredPlugin->tpl_starred();
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue