vendor/frameworks/twitter/bootstrap/modals.scss in anjlab-bootstrap-rails-2.2.1.2 vs vendor/frameworks/twitter/bootstrap/modals.scss in anjlab-bootstrap-rails-2.2.2.rc
- old
+ new
@@ -21,15 +21,15 @@
}
// Base modal
.modal {
position: fixed;
- top: 50%;
+ top: 10%;
left: 50%;
z-index: $zindexModal;
width: 560px;
- margin: -250px 0 0 -280px;
+ margin-left: -280px;
background-color: $white;
border: 1px solid #999;
border: 1px solid rgba(0,0,0,.3);
*border: 1px solid #999; /* IE6-7 */
@include border-radius(6px);
@@ -40,10 +40,10 @@
&.fade {
@include transition(#{'opacity .3s linear, top .3s ease-out'});
top: -25%;
}
- &.fade.in { top: 50%; }
+ &.fade.in { top: 10%; }
}
.modal-header {
padding: 9px 15px;
border-bottom: 1px solid #eee;
// Close icon