From: Frederick Marcoux Date: Fri, 31 Jan 2014 20:17:49 +0000 (-0500) Subject: Added .list-group-item.disabled X-Git-Tag: v3.2.0~438^2~1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3aad7e35505d0f06843921439f8d9f0a2f36b34;p=thirdparty%2Fbootstrap.git Added .list-group-item.disabled Added support for disabled List group item. --- 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,