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

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_reboot.scss')
-rw-r--r--assets/stylesheets/bootstrap/_reboot.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/assets/stylesheets/bootstrap/_reboot.scss b/assets/stylesheets/bootstrap/_reboot.scss
index 50ba743..973b5d1 100644
--- a/assets/stylesheets/bootstrap/_reboot.scss
+++ b/assets/stylesheets/bootstrap/_reboot.scss
@@ -411,13 +411,13 @@ button {
border-radius: 0;
}
-// Work around a Firefox bug where the transparent `button` background
-// results in a loss of the default `button` focus styles.
-// Credit https://github.com/suitcss/base/
+// Explicitly remove focus outline in Chromium when it shouldn't be
+// visible (e.g. as result of mouse click or touch tap). It already
+// should be doing this automatically, but seems to currently be
+// confused and applies its very visible two-tone outline anyway.
-button:focus {
- outline: dotted 1px;
- outline: -webkit-focus-ring-color auto 5px;
+button:focus:not(:focus-visible) {
+ outline: 0;
}
// 1. Remove the margin in Firefox and Safari