Skip to content

Commit

Permalink
scope close icon in modal to modal-header to allow alerts in modals t…
Browse files Browse the repository at this point in the history
…o use close icons
  • Loading branch information
mdo committed Jan 7, 2012
1 parent e594107 commit b6d50c8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions bootstrap.css
Expand Up @@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Jan 7 04:15:19 PST 2012
* Date: Sat Jan 7 04:20:37 PST 2012
*/
html, body {
margin: 0;
Expand Down Expand Up @@ -2255,9 +2255,6 @@ i {
-moz-background-clip: padding-box;
background-clip: padding-box;
}
.modal .close {
margin-top: 7px;
}
.modal.fade {
-webkit-transition: opacity .3s linear, top .3s ease-out;
-moz-transition: opacity .3s linear, top .3s ease-out;
Expand All @@ -2273,6 +2270,9 @@ i {
padding: 5px 15px;
border-bottom: 1px solid #eee;
}
.modal-header .close {
margin-top: 7px;
}
.modal-body {
padding: 15px;
}
Expand Down
5 changes: 2 additions & 3 deletions bootstrap.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib/modals.less
Expand Up @@ -34,7 +34,6 @@
.border-radius(6px);
.box-shadow(0 3px 7px rgba(0,0,0,0.3));
.background-clip(padding-box);
.close { margin-top: 7px; }
&.fade {
.transition(e('opacity .3s linear, top .3s ease-out'));
top: -25%;
Expand All @@ -44,6 +43,8 @@
.modal-header {
padding: 5px 15px;
border-bottom: 1px solid #eee;
// Close icon
.close { margin-top: 7px; }
}
.modal-body {
padding: 15px;
Expand Down

0 comments on commit b6d50c8

Please sign in to comment.