refactor: support all user tools svg icons

These icons will still not be visible, except for the logout icon even
with the current master branch. However upon release of DokuWiki Greebo,
The fontello css creating the admin, login and register icons can simply
be removed and the svg icon should be visible and well formatted.
This commit is contained in:
Michael Große 2018-01-19 17:53:25 +01:00
commit 2d23527da7
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -222,36 +222,34 @@
}
} // user
&.log {
button {
padding: 2px 0 0 2px;
min-height: @toggle-size; // overrides button[type="submit"] styles
border: solid 1px @wikiicons-border;
.btn-hover();
&:hover svg, &:focus svg {
transition: @transition fill;
fill: @ini_nav_menu_hover_bg;
}
}
span {
display: none;
}
svg {
fill: @ini_nav_menu_hover_color;
height: @font-size-default + (@font-scale-factor * 4);
}
} // log
} // li
/* + + + icons + + + */
a {
.menuitem, button {
padding: 2px 0 0 2px;
min-height: @toggle-size; // overrides button[type="submit"] styles
border: solid 1px @wikiicons-border; // overrides button[type="submit"] styles
.btn-hover();
&:hover svg, &:focus svg {
transition: @transition fill;
fill: @ini_nav_menu_hover_bg;
}
svg {
fill: @ini_nav_menu_hover_color;
height: @font-size-default + (@font-scale-factor * 4);
}
span {
display: none;
}
}
a { // Pre-Greebo backwards compatibility, remove after transitioning to Greebo
.fontello();
.hide-text-show-before();
.btn-hover();