diff options
| author | Frederick Marcoux <[email protected]> | 2014-01-31 15:17:49 -0500 |
|---|---|---|
| committer | Frederick Marcoux <[email protected]> | 2014-01-31 15:17:49 -0500 |
| commit | d3aad7e35505d0f06843921439f8d9f0a2f36b34 (patch) | |
| tree | 206b42944903ec199863423dae7bcf9ac2ef1267 | |
| parent | 4b194471b0352fa583e074c4394c1fd5085cf832 (diff) | |
| download | bootstrap-d3aad7e35505d0f06843921439f8d9f0a2f36b34.tar.xz bootstrap-d3aad7e35505d0f06843921439f8d9f0a2f36b34.zip | |
Added .list-group-item.disabled
Added support for disabled List group item.
| -rw-r--r-- | less/list-group.less | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/less/list-group.less b/less/list-group.less index 3343f8e5e..4990002c4 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, |
