From 84cdc48211a9c385d3dc1541b1f63825c62e5155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9e=20Hansson?= Date: Mon, 26 Dec 2011 12:24:10 +0100 Subject: [PATCH] Fixed focus styling, added tabindex='-1' on the expandable project pane (stole tab focus when hidden as well). Fixes #24 --- base/css/style.css | 7 ++++++- themes/jquery/header.php | 10 +++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/base/css/style.css b/base/css/style.css index bdff1913..5b3131c3 100644 --- a/base/css/style.css +++ b/base/css/style.css @@ -13,7 +13,12 @@ background: transparent; } *:focus -{ outline: none; } +{ outline: 1px dotted #FFF; } + + /* Darker focus border inside #body where the background is + white-ish: */ + #body *:focus +{ outline: 1px dotted #666; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } diff --git a/themes/jquery/header.php b/themes/jquery/header.php index 236305a3..2e8384f6 100755 --- a/themes/jquery/header.php +++ b/themes/jquery/header.php @@ -72,31 +72,31 @@