From a204a4993746da367d2a72ff80e4edcd7ac76c7f Mon Sep 17 00:00:00 2001 From: tetue <tetue@rezo.net> Date: Sun, 30 Nov 2008 17:47:50 +0000 Subject: [PATCH] Mieux indiquer le focus pour la navigation au clavier ; suite du changeset 13178 (Aurelien) --- dist/habillage.css | 5 +++-- dist/spip_formulaires.css | 3 ++- ecrire/exec/aide_index.php | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dist/habillage.css b/dist/habillage.css index eaa85a0699..5bc6088ec8 100755 --- a/dist/habillage.css +++ b/dist/habillage.css @@ -13,7 +13,7 @@ body { font-size: 0.8125em; font-family: "Luxi sans", "Lucida Grande", Lucida, " h1,h2,h3,h4,h5,h6 { margin: 0; padding: 0; font-weight: normal; font-size: 1em; font-family: Georgia, Times, serif; } h1 { font-size: 1.70em; color: #000; } h2 { font-size: 1.40em; font-weight: normal; } -h2, h2 a, h2 a:focus, h2 a:hover { color: #003; } +h2, h2 a, h2 a:focus, h2 a:hover, h2 a:active { color: #003; } h3 { font-size: 1.20em; font-weight: bold; } h3.spip {} /* Cf.: spip_style.css */ hr.spip {} /* Cf.: spip_style.css */ @@ -116,7 +116,8 @@ abbr.published { border: 0; } #documents_portfolio .spip_logos { margin: 6px 3px 0 3px; border: 4px solid #DDD; } #documents_portfolio a.on .spip_logos { border-color: #F57900; } #documents_portfolio a:focus .spip_logos, -#documents_portfolio a:hover .spip_logos { border-color: #8B6F92; } +#documents_portfolio a:hover .spip_logos, +#documents_portfolio a:active .spip_logos { border-color: #8B6F92; } #document_actif { margin: 1em auto; } #document_actif img {} diff --git a/dist/spip_formulaires.css b/dist/spip_formulaires.css index 792b346355..6f88206c1c 100644 --- a/dist/spip_formulaires.css +++ b/dist/spip_formulaires.css @@ -76,7 +76,8 @@ fieldset.reponse_formulaire.reponse_formulaire legend { color: #F57900; } /* Pre table.spip_barre { width: 100%; } table.spip_barre a img { background: #FDA; padding: 3px; border: 1px outset #CC9; } table.spip_barre a:focus img, -table.spip_barre a:hover img { background: #FFF; border: 1px solid #CC9; } +table.spip_barre a:hover img, +table.spip_barre a:active img { background: #FFF; border: 1px solid #CC9; } table.spip_barre input.barre { width: 99%; background: transparent; border: 0; } /* Formulaire de forum */ diff --git a/ecrire/exec/aide_index.php b/ecrire/exec/aide_index.php index 9e0242d667..42fe615254 100644 --- a/ecrire/exec/aide_index.php +++ b/ecrire/exec/aide_index.php @@ -103,7 +103,7 @@ define('_STYLE_AIDE_BODY', ' } a { text-decoration: none; } -a:focus,a:hover { color: #FF9900; text-decoration: underline; } +a:focus,a:hover,a:active { color: #FF9900; text-decoration: underline; } body { font-family: Georgia, Garamond, Times New Roman, serif; -- GitLab