Added .list-group-item.disabled
Added support for disabled List group item.
This commit is contained in:
parent
4b194471b0
commit
d3aad7e355
|
@ -65,6 +65,23 @@ a.list-group-item {
|
||||||
background-color: @list-group-hover-bg;
|
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 class on item itself, not parent
|
||||||
&.active,
|
&.active,
|
||||||
&.active:hover,
|
&.active:hover,
|
||||||
|
|
Loading…
Reference in New Issue