From d3aad7e35505d0f06843921439f8d9f0a2f36b34 Mon Sep 17 00:00:00 2001 From: Frederick Marcoux Date: Fri, 31 Jan 2014 15:17:49 -0500 Subject: [PATCH] Added .list-group-item.disabled Added support for disabled List group item. --- less/list-group.less | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/less/list-group.less b/less/list-group.less index 3343f8e5e2..4990002c42 100644 --- a/less/list-group.less +++ b/less/list-group.less @@ -64,6 +64,23 @@ a.list-group-item { text-decoration: none; background-color: @list-group-hover-bg; } + + // Disabled state + &.disabled, + &.disabled:hover, + &.disabled:focus { + background-color: @list-group-disabled-bg; + color: @list-group-disabled-color; + border-color: @list-group-disabled-border; + + // 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,