From 5bb6c42405d030cb481395e5fc4006bc1925f39d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 29 Oct 2012 21:33:20 -0700 Subject: fixes #4511: remove focus on opened modal window --- less/modals.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'less') diff --git a/less/modals.less b/less/modals.less index 53f2bbba1..4989b65e8 100644 --- a/less/modals.less +++ b/less/modals.less @@ -89,3 +89,8 @@ margin-left: 0; } } + +// Remove focus outline from opened modal +.modal { + outline: none; +} -- cgit v1.2.3 From bf10a43ed91abc41fb6062811a2b1c4ed73c5094 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 29 Oct 2012 21:34:10 -0700 Subject: derp, add that in the right spot --- less/modals.less | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/modals.less b/less/modals.less index 4989b65e8..90b86670f 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; -} -- cgit v1.2.3