aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-07-24 00:49:19 -0700
committerJacob Thornton <[email protected]>2012-07-24 00:49:19 -0700
commite2fc202df2a5ff0da156904f1574e1620bee5184 (patch)
tree5c4458d9124406368a6e84282ba080be191b2a4a /less
parentc98b75c97949c34be62b63e79fa517347df35018 (diff)
parent394922a1bfe3360b20aea29e8ffe22133f56b908 (diff)
downloadbootstrap-e2fc202df2a5ff0da156904f1574e1620bee5184.tar.xz
bootstrap-e2fc202df2a5ff0da156904f1574e1620bee5184.zip
Merge branch '2.1.0-wip' of https://github.com/twitter/bootstrap into 2.1.0-wip
Diffstat (limited to 'less')
-rw-r--r--less/modals.less5
-rw-r--r--less/responsive-767px-max.less15
-rw-r--r--less/utilities.less5
3 files changed, 18 insertions, 7 deletions
diff --git a/less/modals.less b/less/modals.less
index 32aab7acd..e515bb796 100644
--- a/less/modals.less
+++ b/less/modals.less
@@ -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)
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index b7fd7454f..18c96ee0b 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -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;
diff --git a/less/utilities.less b/less/utilities.less
index b020e1c1b..5eef70fe7 100644
--- a/less/utilities.less
+++ b/less/utilities.less
@@ -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