]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #18330
authorMark Otto <markdotto@gmail.com>
Tue, 8 Dec 2015 05:57:06 +0000 (21:57 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 8 Dec 2015 05:57:06 +0000 (21:57 -0800)
scss/_reboot.scss

index 8b9420cf16eff34fa903623b4d5c75d84bef503a..a3e4175a4644e2931f78ebb40bd83bac2146e6d8 100644 (file)
@@ -77,6 +77,15 @@ body {
   background-color: $body-bg;
 }
 
+// Suppress the focus outline on elements that cannot be accessed via keyboard.
+// This prevents an unwanted focus outline from appearing around elements that
+// might still respond to pointer events.
+//
+// Credit: https://github.com/suitcss/base
+[tabindex="-1"]:focus {
+  outline: none !important;
+}
+
 
 //
 // Typography