aboutsummaryrefslogtreecommitdiff
path: root/lib/modals.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-11-17 01:28:42 -0800
committerMark Otto <[email protected]>2011-11-17 01:28:42 -0800
commit4e6275d0fe0880d32633a2c139dad8d3e2745bb6 (patch)
tree575abe4b666c09cf30e542d2e57a159c13bd32bf /lib/modals.less
parent159c7a7fdae4a3bd929ee9cc76aaa3b509a969dc (diff)
downloadbootstrap-4e6275d0fe0880d32633a2c139dad8d3e2745bb6.tar.xz
bootstrap-4e6275d0fe0880d32633a2c139dad8d3e2745bb6.zip
update property order and do some misc cleanup
Diffstat (limited to 'lib/modals.less')
-rw-r--r--lib/modals.less10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/modals.less b/lib/modals.less
index 672431beb..53d6cd408 100644
--- a/lib/modals.less
+++ b/lib/modals.less
@@ -2,13 +2,13 @@
// ------
.modal-backdrop {
- background-color: @black;
position: fixed;
top: 0;
- left: 0;
right: 0;
bottom: 0;
+ left: 0;
z-index: 10000;
+ background-color: @black;
// Fade for backdrop
&.fade { opacity: 0; }
}
@@ -39,20 +39,20 @@
&.fade.in { top: 50%; }
}
.modal-header {
- border-bottom: 1px solid #eee;
padding: 5px 15px;
+ border-bottom: 1px solid #eee;
}
.modal-body {
padding: 15px;
}
.modal-footer {
- background-color: #f5f5f5;
padding: 14px 15px 15px;
+ margin-bottom: 0;
+ background-color: #f5f5f5;
border-top: 1px solid #ddd;
.border-radius(0 0 6px 6px);
.box-shadow(inset 0 1px 0 @white);
.clearfix();
- margin-bottom: 0;
.btn {
float: right;
margin-left: 5px;