Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2016-01-21 09:10:00 +0300
committerMatthieu Aubry <matt@piwik.org>2016-01-21 09:10:00 +0300
commitf0578ba13cb3d79ab5e7371d97047c47813afec3 (patch)
tree3d6fffc57b9cf11e1e7209c1d2bb619e3eb4f396
parentc96eb883688c955a4224a96cdc1a3fae58c2066c (diff)
parentbe4356cc8b49aeb3f5b18f4dfb939e578f6a0689 (diff)
Merge pull request #9605 from piwik/9578_2
Revert Outline around focused elements as it does not fully work
-rwxr-xr-xplugins/CoreHome/javascripts/corehome.js8
-rw-r--r--plugins/CoreHome/stylesheets/layout.less5
2 files changed, 0 insertions, 13 deletions
diff --git a/plugins/CoreHome/javascripts/corehome.js b/plugins/CoreHome/javascripts/corehome.js
index 41692c8ae3..fd8c1632a7 100755
--- a/plugins/CoreHome/javascripts/corehome.js
+++ b/plugins/CoreHome/javascripts/corehome.js
@@ -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
diff --git a/plugins/CoreHome/stylesheets/layout.less b/plugins/CoreHome/stylesheets/layout.less
index 8fa1e9e7e1..5776c1a97e 100644
--- a/plugins/CoreHome/stylesheets/layout.less
+++ b/plugins/CoreHome/stylesheets/layout.less
@@ -1,8 +1,3 @@
- body {
- :focus {
- outline:@theme-color-background-highContrast solid 2px;
- }
- }
#header {
padding: 0 15px;