Skip to content
Extraits de code Groupes Projets
Valider f0578ba1 rédigé par Matthieu Aubry's avatar Matthieu Aubry
Parcourir les fichiers

Merge pull request #9605 from piwik/9578_2

Revert Outline around focused elements as it does not fully work
parents c96eb883 be4356cc
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -193,12 +193,4 @@ $( document ).ready(function() {
$(window).scrollTo($('a[name="main"]'));
});
// Only use the "outline" CSS property on focus, when the keyboard is being used (do not show the outline when clicking with the mouse)
$("body").on("mousedown", "*", function(e) {
if (($(this).is(":focus") || $(this).is(e.target)) && $(this).css("outline-style") == "none") {
$(this).css("outline", "none").on("blur", function() {
$(this).off("blur").css("outline", "");
});
}
});
});
\ No newline at end of file
body {
:focus {
outline:@theme-color-background-highContrast solid 2px;
}
}
#header {
padding: 0 15px;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter