3 // --------------------------------------------------
12 z-index: @zindexModalBackdrop;
13 background-color: @black;
15 &.fade { opacity: 0; }
19 .modal-backdrop.fade.in {
28 z-index: @zindexModal;
31 background-color: @white;
32 border: 1px solid #999;
33 border: 1px solid rgba(0,0,0,.3);
34 *border: 1px solid #999; /* IE6-7 */
36 .box-shadow(0 3px 7px rgba(0,0,0,0.3));
37 .background-clip(padding-box);
38 // Remove focus outline from opened modal
42 .transition(e('opacity .3s linear, top .3s ease-out'));
45 &.fade.in { top: 10%; }
49 border-bottom: 1px solid #eee;
51 .close { margin-top: 2px; }
59 // Body (where all modal content resides)
66 // Remove bottom margin if need be
71 // Footer (for actions)
73 padding: 14px 15px 15px;
75 text-align: right; // right align buttons
76 background-color: #f5f5f5;
77 border-top: 1px solid #ddd;
78 .border-radius(0 0 6px 6px);
79 .box-shadow(inset 0 1px 0 @white);
80 .clearfix(); // clear it in case folks use .pull-* classes on buttons
82 // Properly space out buttons
85 margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
87 // but override that for button groups
88 .btn-group .btn + .btn {
91 // and override it for block buttons as well
92 .btn-block + .btn-block {