diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 26fcaddbb7..01d51b8e4e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -4981,11 +4981,10 @@ input[type="submit"].btn.btn-mini { border: 1px solid #999; border: 1px solid rgba(0, 0, 0, 0.3); *border: 1px solid #999; - /* IE6-7 */ - -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; + outline: none; -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); @@ -5069,10 +5068,6 @@ input[type="submit"].btn.btn-mini { margin-left: 0; } -.modal { - outline: none; -} - .tooltip { position: absolute; z-index: 1030; diff --git a/less/modals.less b/less/modals.less index 4989b65e85..90b86670f4 100644 --- a/less/modals.less +++ b/less/modals.less @@ -35,6 +35,9 @@ .border-radius(6px); .box-shadow(0 3px 7px rgba(0,0,0,0.3)); .background-clip(padding-box); + // Remove focus outline from opened modal + outline: none; + &.fade { .transition(e('opacity .3s linear, top .3s ease-out')); top: -25%; @@ -89,8 +92,3 @@ margin-left: 0; } } - -// Remove focus outline from opened modal -.modal { - outline: none; -}