vendor/twitter/bootstrap/less/modals.less in bootstrap-generators-2.0.4 vs vendor/twitter/bootstrap/less/modals.less in bootstrap-generators-2.1.1
- old
+ new
@@ -1,10 +1,13 @@
-// MODALS
-// ------
+//
+// Modals
+// --------------------------------------------------
-// Recalculate z-index where appropriate
-.modal-open {
+
+// Recalculate z-index where appropriate,
+// but only apply to elements within modal
+.modal-open .modal {
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
.popover { z-index: @zindexPopover + @zindexModal; }
.tooltip { z-index: @zindexTooltip + @zindexModal; }
}
@@ -52,9 +55,14 @@
.modal-header {
padding: 9px 15px;
border-bottom: 1px solid #eee;
// Close icon
.close { margin-top: 2px; }
+ // Heading
+ h3 {
+ margin: 0;
+ line-height: 30px;
+ }
}
// Body (where all modal content resides)
.modal-body {
overflow-y: auto;