aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-12 01:38:06 -0700
committerMark Otto <[email protected]>2013-08-12 01:38:06 -0700
commitacdbe738517b592d8a92fb7c94da09c20d5e65f9 (patch)
treead33933f9c5ee4d4496102c5b6f21c38c2d7f1db /dist/css/bootstrap.css
parent6dbf588237529fc8909bf65caa103fd4fc224fbc (diff)
downloadbootstrap-acdbe738517b592d8a92fb7c94da09c20d5e65f9.tar.xz
bootstrap-acdbe738517b592d8a92fb7c94da09c20d5e65f9.zip
fixes #8835: make it so active list group items aren't dependent on an <a> tag
Diffstat (limited to 'dist/css/bootstrap.css')
-rw-r--r--dist/css/bootstrap.css32
1 files changed, 19 insertions, 13 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index 128e3ac2b..6741ef889 100644
--- a/dist/css/bootstrap.css
+++ b/dist/css/bootstrap.css
@@ -2526,16 +2526,6 @@ input[type="button"].btn-block {
margin-right: 5px;
}
-.list-group-item-heading {
- margin-top: 0;
- margin-bottom: 5px;
-}
-
-.list-group-item-text {
- margin-bottom: 0;
- line-height: 1.3;
-}
-
a.list-group-item .list-group-item-heading {
color: #333333;
}
@@ -2550,21 +2540,37 @@ a.list-group-item:focus {
background-color: #f5f5f5;
}
-a.list-group-item.active {
+.list-group-item.active,
+.list-group-item.active:hover,
+.list-group-item.active:focus {
z-index: 2;
color: #ffffff;
background-color: #428bca;
border-color: #428bca;
}
-a.list-group-item.active .list-group-item-heading {
+.list-group-item.active .list-group-item-heading,
+.list-group-item.active:hover .list-group-item-heading,
+.list-group-item.active:focus .list-group-item-heading {
color: inherit;
}
-a.list-group-item.active .list-group-item-text {
+.list-group-item.active .list-group-item-text,
+.list-group-item.active:hover .list-group-item-text,
+.list-group-item.active:focus .list-group-item-text {
color: #e1edf7;
}
+.list-group-item-heading {
+ margin-top: 0;
+ margin-bottom: 5px;
+}
+
+.list-group-item-text {
+ margin-bottom: 0;
+ line-height: 1.3;
+}
+
.panel {
padding: 15px;
margin-bottom: 20px;