aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-10-14 13:45:32 -0700
committerMark Otto <[email protected]>2013-10-14 13:45:32 -0700
commit710071157751dc9aac1b531d283c1ae756a3c902 (patch)
tree26ba9df9e12e3ad5d44d5a2b644340fab69a98cb /less
parent50dd5d5088637a074a64528c2b22091e1afc0d5d (diff)
downloadbootstrap-710071157751dc9aac1b531d283c1ae756a3c902.tar.xz
bootstrap-710071157751dc9aac1b531d283c1ae756a3c902.zip
unnest the list-group-item link variation for #11085 and #11088
Diffstat (limited to 'less')
-rw-r--r--less/list-group.less24
1 files changed, 12 insertions, 12 deletions
diff --git a/less/list-group.less b/less/list-group.less
index 46cda4085..2cee52973 100644
--- a/less/list-group.less
+++ b/less/list-group.less
@@ -39,21 +39,21 @@
> .badge + .badge {
margin-right: 5px;
}
+}
- // Linked list items
- a& {
- color: @list-group-link-color;
+// Linked list items
+a.list-group-item {
+ color: @list-group-link-color;
- .list-group-item-heading {
- color: @list-group-link-heading-color;
- }
+ .list-group-item-heading {
+ color: @list-group-link-heading-color;
+ }
- // Hover state
- &:hover,
- &:focus {
- text-decoration: none;
- background-color: @list-group-hover-bg;
- }
+ // Hover state
+ &:hover,
+ &:focus {
+ text-decoration: none;
+ background-color: @list-group-hover-bg;
}
// Active class on item itself, not parent