]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #18320: pull in suit base reset for button focus styles in FF and IE
authorMark Otto <markdotto@gmail.com>
Tue, 8 Dec 2015 05:47:40 +0000 (21:47 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 8 Dec 2015 05:47:40 +0000 (21:47 -0800)
scss/_reboot.scss

index c2667bde00b39117aa9af07c638813fcbf100534..8b9420cf16eff34fa903623b4d5c75d84bef503a 100644 (file)
@@ -264,6 +264,15 @@ label {
   margin-bottom: .5rem;
 }
 
+// Work around a Firefox/IE bug where the transparent `button` background
+// results in a loss of the default `button` focus styles.
+//
+// Credit: https://github.com/suitcss/base/
+button:focus {
+  outline: 1px dotted;
+  outline: 5px auto -webkit-focus-ring-color;
+}
+
 input,
 button,
 select,