aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-17 23:54:09 -0700
committerMark Otto <[email protected]>2013-07-17 23:54:09 -0700
commite57758cbb453602549742360120653e08863671f (patch)
tree49519e2e8025cd6c813d004915654f3a22515a97 /less
parent3604b868064f6e48e1301b1148779a8a819200fc (diff)
downloadbootstrap-e57758cbb453602549742360120653e08863671f.tar.xz
bootstrap-e57758cbb453602549742360120653e08863671f.zip
Drop `.nav-header` for `.dropdown-header`
* Since we no longer have `.nav-list`, I've nuked the `.nav-header` * However, dropdowns can still have section headings, so I've kept that around with the addition of `.dropdown-header` * Restyled it a smidge as well
Diffstat (limited to 'less')
-rw-r--r--less/dropdowns.less19
-rw-r--r--less/navs.less16
2 files changed, 11 insertions, 24 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index 8ae9dbba1..7e35d4287 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -120,6 +120,17 @@
}
}
+// Dropdown section headers
+// ---------------------------
+.dropdown-header {
+ display: block;
+ padding: 3px 20px;
+ font-size: @font-size-small;
+ line-height: @line-height-base;
+ color: @gray-light;
+}
+
+
// Backdrop to catch body clicks on mobile, etc.
// ---------------------------
@@ -158,11 +169,3 @@
margin-bottom: 1px;
}
}
-
-// Tweak nav headers
-// ---------------------------
-// Increase padding from 15px to 20px on sides
-.dropdown .dropdown-menu .nav-header {
- padding-left: 20px;
- padding-right: 20px;
-}
diff --git a/less/navs.less b/less/navs.less
index 87780a156..9f671643a 100644
--- a/less/navs.less
+++ b/less/navs.less
@@ -195,22 +195,6 @@
-// Nav headers (for dropdowns and lists)
-// -------------------------
-
-.nav-header {
- display: block;
- padding: 3px 15px;
- font-size: @font-size-mini;
- font-weight: bold;
- line-height: @line-height-base;
- color: @gray-light;
- text-shadow: 0 1px 0 rgba(255,255,255,.5);
- text-transform: uppercase;
-}
-
-
-
// Tabbable tabs
// -------------------------