2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Remove .nav-list given new .list-group

This commit is contained in:
Mark Otto
2013-03-30 16:56:49 -07:00
parent 2a9604fdd2
commit 1683669eaa
5 changed files with 8 additions and 74 deletions
+1 -1
View File
@@ -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;
-24
View File
@@ -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