From: Mark Otto Date: Tue, 8 Dec 2015 05:47:40 +0000 (-0800) Subject: fixes #18320: pull in suit base reset for button focus styles in FF and IE X-Git-Tag: v4.0.0-alpha.2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9eb483ca9eb15dac257e10b419645656b370a44;p=thirdparty%2Fbootstrap.git fixes #18320: pull in suit base reset for button focus styles in FF and IE --- diff --git a/scss/_reboot.scss b/scss/_reboot.scss index c2667bde00..8b9420cf16 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,