From f2bd7d9f276753a8a2ab27490d06c2a081abb3af Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 7 Sep 2012 11:10:00 -0700 Subject: fixes #5018: .btn-block in .modal-footer no longer has left margin --- less/modals.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'less/modals.less') diff --git a/less/modals.less b/less/modals.less index 81cacb7ab..a0401c4d1 100644 --- a/less/modals.less +++ b/less/modals.less @@ -95,4 +95,8 @@ .btn-group .btn + .btn { margin-left: -1px; } + // and override it for block buttons as well + .btn-block + .btn-block { + margin-left: 0; + } } -- cgit v1.2.3 From 0489c708c7104fffa7bddad18399f46db78e56fa Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 10 Sep 2012 22:51:16 -0700 Subject: fixes #5040 manually: remove overflow: auto; from .modal to resolve sporadic modal right padding issues with scrollbars --- less/modals.less | 1 - 1 file changed, 1 deletion(-) (limited to 'less/modals.less') diff --git a/less/modals.less b/less/modals.less index a0401c4d1..5f7b43ef6 100644 --- a/less/modals.less +++ b/less/modals.less @@ -36,7 +36,6 @@ top: 50%; left: 50%; z-index: @zindexModal; - overflow: auto; width: 560px; margin: -250px 0 0 -280px; background-color: @white; -- cgit v1.2.3 From 4a2443901fc507b226b49dfe3a3ee9fa35bc2156 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Mon, 24 Sep 2012 23:19:33 -0700 Subject: reverting d797a5fbd7dd883a09bf00e516e0bd509c898f53 --- less/modals.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/modals.less') diff --git a/less/modals.less b/less/modals.less index 5f7b43ef6..b4862a1c2 100644 --- a/less/modals.less +++ b/less/modals.less @@ -5,7 +5,7 @@ // Recalculate z-index where appropriate, // but only apply to elements within modal -.modal-open .modal { +.modal-open { .dropdown-menu { z-index: @zindexDropdown + @zindexModal; } .dropdown.open { *z-index: @zindexDropdown + @zindexModal; } .popover { z-index: @zindexPopover + @zindexModal; } -- cgit v1.2.3 From 88b1e44dd61afd8f08761346555521bd216ed73a Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Mon, 24 Sep 2012 23:28:38 -0700 Subject: change tooltip/popover insert strategy remove modal-open class hopefully resolve z-index headaches --- less/modals.less | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'less/modals.less') diff --git a/less/modals.less b/less/modals.less index b4862a1c2..53f2bbba1 100644 --- a/less/modals.less +++ b/less/modals.less @@ -2,16 +2,6 @@ // Modals // -------------------------------------------------- - -// Recalculate z-index where appropriate, -// but only apply to elements within modal -.modal-open { - .dropdown-menu { z-index: @zindexDropdown + @zindexModal; } - .dropdown.open { *z-index: @zindexDropdown + @zindexModal; } - .popover { z-index: @zindexPopover + @zindexModal; } - .tooltip { z-index: @zindexTooltip + @zindexModal; } -} - // Background .modal-backdrop { position: fixed; -- cgit v1.2.3 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/modals.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/modals.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