diff options
Diffstat (limited to 'less/list-group.less')
-rw-r--r-- | less/list-group.less | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/less/list-group.less b/less/list-group.less index 3343f8e5e2..2514389b1b 100644 --- a/less/list-group.less +++ b/less/list-group.less @@ -62,8 +62,27 @@ a.list-group-item { &:hover, &:focus { text-decoration: none; + color: @list-group-link-hover-color; background-color: @list-group-hover-bg; } +} + +.list-group-item { + // Disabled state + &.disabled, + &.disabled:hover, + &.disabled:focus { + background-color: @list-group-disabled-bg; + color: @list-group-disabled-color; + + // Force color to inherit for custom content + .list-group-item-heading { + color: inherit; + } + .list-group-item-text { + color: @list-group-disabled-text-color; + } + } // Active class on item itself, not parent &.active, |