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; }
26 .modal-backdrop.fade.in {
35 z-index: @zindexModal;
39 margin: -250px 0 0 -280px;
40 background-color: @white;
41 border: 1px solid #999;
42 border: 1px solid rgba(0,0,0,.1);
43 *border: 1px solid #999; /* IE6-7 */
45 .box-shadow(0 3px 7px rgba(0,0,0,0.3));
46 .background-clip(padding-box);
48 .transition(e('opacity .3s linear, top .3s ease-out'));
51 &.fade.in { top: 50%; }
55 border-bottom: 1px solid @grayLighter;
57 .close { margin-top: 2px; }
60 // Body (where all modal content resises)
64 // Remove bottom margin if need be
65 .modal-body .modal-form {
69 // Footer (for actions)
71 padding: 14px 15px 15px;
73 #gradient > .vertical(@grayLighter, @white);
74 border-top: 1px solid darken(@grayLight, 10%);
75 .border-radius(0 0 6px 6px);
76 .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
81 margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs