aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-12-07 21:47:40 -0800
committerMark Otto <[email protected]>2015-12-07 21:47:40 -0800
commitc9eb483ca9eb15dac257e10b419645656b370a44 (patch)
tree8de4e3074811e417164cdd7460bc9d36fe3c5db1
parentd36686afee4aeb9a0a91ea94f1053b2edbcb2b9c (diff)
downloadbootstrap-c9eb483ca9eb15dac257e10b419645656b370a44.tar.xz
bootstrap-c9eb483ca9eb15dac257e10b419645656b370a44.zip
fixes #18320: pull in suit base reset for button focus styles in FF and IE
-rw-r--r--scss/_reboot.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index c2667bde0..8b9420cf1 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -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,