Commit e2fc202d authored by Jacob Thornton's avatar Jacob Thornton
Browse files

Merge branch '2.1.0-wip' of https://github.com/twitter/bootstrap into 2.1.0-wip

parents c98b75c9 394922a1
Showing with 36 additions and 15 deletions
+36 -15
......@@ -835,6 +835,17 @@
display: inline-block;
width: auto;
}
.modal {
position: fixed;
top: 20px;
right: 20px;
left: 20px;
width: auto;
margin: 0;
}
.modal.fade.in {
top: auto;
}
}
@media (max-width: 480px) {
......@@ -866,15 +877,9 @@
padding-left: 10px;
}
.modal {
position: fixed;
top: 10px;
right: 10px;
left: 10px;
width: auto;
margin: 0;
}
.modal.fade.in {
top: auto;
}
.modal-header .close {
padding: 10px;
......
......@@ -4715,6 +4715,11 @@ input[type="submit"].btn.btn-mini {
margin-top: 2px;
}
.modal-header h3 {
margin: 0;
line-height: 30px;
}
.modal-body {
max-height: 400px;
padding: 15px;
......@@ -5498,11 +5503,11 @@ a.badge:hover {
}
.hide {
display: none !important;
display: none;
}
.show {
display: block !important;
display: block;
}
.invisible {
......
......@@ -56,6 +56,11 @@
border-bottom: 1px solid #eee;
// Close icon
.close { margin-top: 2px; }
// Heading
h3 {
margin: 0;
line-height: 30px;
}
}
// Body (where all modal content resides)
......
......@@ -84,6 +84,17 @@
width: auto;
}
// Modals
.modal {
position: fixed;
top: 20px;
left: 20px;
right: 20px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
}
}
......@@ -133,13 +144,9 @@
// Modals
.modal {
position: fixed;
top: 10px;
left: 10px;
right: 10px;
width: auto;
margin: 0;
&.fade.in { top: auto; }
}
.modal-header .close {
padding: 10px;
......
......@@ -12,12 +12,11 @@
}
// Toggling content
// Uses `!important` for proper specifity over things like form controls
.hide {
display: none !important;
display: none;
}
.show {
display: block !important;
display: block;
}
// Visibility
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment