aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-06 21:40:22 -0800
committerMark Otto <[email protected]>2014-03-06 21:40:22 -0800
commit0c9308a3b29be6d56c582dce33092164be7997b4 (patch)
tree25736e079084e5e3b0220fec92739c81448d1f54 /less
parentc8614c0f15f0ce78426c6403e57aff22c3ce2beb (diff)
downloadbootstrap-0c9308a3b29be6d56c582dce33092164be7997b4.tar.xz
bootstrap-0c9308a3b29be6d56c582dce33092164be7997b4.zip
Rewrite the disabled list group items to simplify styles
Diffstat (limited to 'less')
-rw-r--r--less/list-group.less1
-rw-r--r--less/variables.less20
2 files changed, 10 insertions, 11 deletions
diff --git a/less/list-group.less b/less/list-group.less
index b2f252488..9e3b1ef8e 100644
--- a/less/list-group.less
+++ b/less/list-group.less
@@ -73,7 +73,6 @@ a.list-group-item {
&.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 {
diff --git a/less/variables.less b/less/variables.less
index 823ef859c..bdc719cb3 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -643,23 +643,23 @@
//** List group border radius
@list-group-border-radius: @border-radius-base;
-//** Background color of single list elements on hover
+//** Background color of single list items on hover
@list-group-hover-bg: #f5f5f5;
-//** Text color of active list elements
+//** Text color of active list items
@list-group-active-color: @component-active-color;
-//** Background color of active list elements
+//** Background color of active list items
@list-group-active-bg: @component-active-bg;
//** Border color of active list elements
@list-group-active-border: @list-group-active-bg;
+//** Text color for content within active list items
@list-group-active-text-color: lighten(@list-group-active-bg, 40%);
-//** Text color of disabled list elements
-@list-group-disabled-color: @gray-light;
-//** Background color of disabled list elements
-@list-group-disabled-bg: @gray-lighter;
-//** Border color of disabled list elements
-@list-group-disabled-border: #eee; // Or something else you want
-@list-group-disabled-text-color: lighten(@list-group-disabled-bg, 40%); // Or something else you want
+//** Text color of disabled list items
+@list-group-disabled-color: @gray-light;
+//** Background color of disabled list items
+@list-group-disabled-bg: @gray-lighter;
+//** Text color for content within disabled list items
+@list-group-disabled-text-color: @list-group-disabled-color;
@list-group-link-color: #555;
@list-group-link-heading-color: #333;