aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-03-30 16:56:49 -0700
committerMark Otto <[email protected]>2013-03-30 16:56:49 -0700
commit1683669eaa75555e1454105460ed6b7bcaca9f11 (patch)
treecde01851a99563a190873123cf19eb4bad1cad21 /less
parent2a9604fdd297fee6661561d1ccf7922b4d599641 (diff)
downloadbootstrap-1683669eaa75555e1454105460ed6b7bcaca9f11.tar.xz
bootstrap-1683669eaa75555e1454105460ed6b7bcaca9f11.zip
Remove .nav-list given new .list-group
Diffstat (limited to 'less')
-rw-r--r--less/badges.less2
-rw-r--r--less/navs.less24
2 files changed, 1 insertions, 25 deletions
diff --git a/less/badges.less b/less/badges.less
index 4f1e71eda..9cbb0f23a 100644
--- a/less/badges.less
+++ b/less/badges.less
@@ -48,7 +48,7 @@ a.badge {
}
// Account for counters in navs
-.nav-list > .active > a > .badge,
+a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
color: @link-color;
background-color: #fff;
diff --git a/less/navs.less b/less/navs.less
index be165e434..ed41b8cb4 100644
--- a/less/navs.less
+++ b/less/navs.less
@@ -117,30 +117,6 @@
text-align: center;
}
-// Lists
-// -------------------------
-
-.nav-list > li > a {
- margin-bottom: -1px; // pull up the following link for a 1px border between
- border: 1px solid #e5e5e5;
-}
-.nav-list > li:first-child > a {
- border-top-left-radius: @border-radius-base;
- border-top-right-radius: @border-radius-base;
-}
-.nav-list > li:last-child > a {
- border-bottom-left-radius: @border-radius-base;
- border-bottom-right-radius: @border-radius-base;
-}
-.nav-list > .active > a,
-.nav-list > .active > a:hover,
-.nav-list > .active > a:focus {
- z-index: 2; // Bring active item forward so border sits on top of next element
- color: #fff;
- background-color: @link-color;
- border-color: @link-color;
-}
-
// Nav states and addons