4
// Recalculate z-index where appropriate
6
.dropdown-menu { z-index: $zindexDropdown + $zindexModal; }
7
.dropdown.open { *z-index: $zindexDropdown + $zindexModal; }
8
.popover { z-index: $zindexPopover + $zindexModal; }
9
.tooltip { z-index: $zindexTooltip + $zindexModal; }
19
z-index: $zindexModalBackdrop;
20
background-color: $black;
22
&.fade { opacity: 0; }
25
.modal-backdrop, .modal-backdrop.fade.in {
26
@include opacity(0.8);
34
z-index: $zindexModal;
38
margin: -250px 0 0 -280px;
39
background-color: $white;
40
border: 1px solid #999;
41
border: 1px solid rgba(0,0,0,.3);
42
*border: 1px solid #999; /* IE6-7 */
43
@include border-radius(6px);
44
@include box-shadow(0 3px 7px rgba(0,0,0,0.3));
45
@include background-clip(padding-box);
47
$transition: opacity .3s linear, top .3s ease-out;
48
@include transition($transition);
51
&.fade.in { top: 50%; }
55
border-bottom: 1px solid #eee;
57
.close { margin-top: 2px; }
60
// Body (where all modal content resides)
64
// Remove bottom margin if need be
65
.modal-body .modal-form {
69
// Footer (for actions)
71
padding: 14px 15px 15px;
73
background-color: #f5f5f5;
74
border-top: 1px solid #ddd;
75
@include border-radius(0 0 6px 6px);
76
@include box-shadow(inset 0 1px 0 $white);
81
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs