From 2d23527da76fea4ea0245f71dbf107e9bf38c3fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Fri, 19 Jan 2018 17:53:25 +0100 Subject: [PATCH] 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. --- css/area_nav-usertools.less | 50 ++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/css/area_nav-usertools.less b/css/area_nav-usertools.less index 4ee035f..46aa165 100755 --- a/css/area_nav-usertools.less +++ b/css/area_nav-usertools.less @@ -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();