From 89102c9265276ece2c339fa2fb3961613a571ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Tue, 2 May 2017 13:28:14 +0200 Subject: [PATCH 1/5] =?UTF-8?q?Use=20'#'=20as=20url=20to=20ensure=20keyboa?= =?UTF-8?q?rd-navigation=20=E2=8C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SPR-977 --- tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl.php b/tpl.php index b5a432f..23f284b 100644 --- a/tpl.php +++ b/tpl.php @@ -83,7 +83,7 @@ class tpl { $args['rel'] = 'nofollow'; } - $args['href'] = $link; + $args['href'] = $link ?: '#'; $svg = inlineSVG($svg); if(!$svg) $svg = inlineSVG(__DIR__ . '/images/tools/' . self::$icons['default']); From 59819d81ae98edea7f432523a1eac0ae14043ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Tue, 2 May 2017 13:34:04 +0200 Subject: [PATCH 2/5] Change starred svg-path-color on focus SPR-977 --- css/plugins/starred.less | 1 + 1 file changed, 1 insertion(+) diff --git a/css/plugins/starred.less b/css/plugins/starred.less index fcc8c4d..a43c04d 100644 --- a/css/plugins/starred.less +++ b/css/plugins/starred.less @@ -17,6 +17,7 @@ } a:hover, + a:focus, a:active { .starred svg { fill: @ini_nav_menu_hover_bg; From 859bb193894ef01517f02602f4281c2329eea072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Tue, 2 May 2017 13:38:37 +0200 Subject: [PATCH 3/5] Toggle do-tasks svg-path-color on focus and active SPR-977 --- css/plugins/do_tasks.less | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/css/plugins/do_tasks.less b/css/plugins/do_tasks.less index ef1ae59..d6171a9 100755 --- a/css/plugins/do_tasks.less +++ b/css/plugins/do_tasks.less @@ -39,6 +39,14 @@ ul.page-attributes { &::before { content: ''; // remove when fontello is removed from usertools } + + &:hover, + &:focus, + &:active { + svg path { + fill: @ini_background; + } + } } svg { @@ -50,14 +58,6 @@ ul.page-attributes { } } - &:hover { - :not(.noopentasks) { - svg path { - fill: @ini_background; - } - } - } - .noopentasks { span { background-color: @ini_background_site; From effdfb9e9df1abf23b5dbf8a12f84434dfda489c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= Date: Tue, 2 May 2017 16:20:53 +0200 Subject: [PATCH 4/5] Account for new user-tasks-