aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-05-25 13:16:15 -0700
committerMark Otto <[email protected]>2013-05-25 13:16:15 -0700
commit60575dfb461d5e01d36b564dccc55ef260982081 (patch)
tree19f8a4619d6c50bc55acf2beb17e0c0389c90cc3 /less/dropdowns.less
parent5ea070bdf600a26bbf7da31db94aa76f64c5423f (diff)
downloadbootstrap-60575dfb461d5e01d36b564dccc55ef260982081.tar.xz
bootstrap-60575dfb461d5e01d36b564dccc55ef260982081.zip
Gradients refactor
* Add start and end support to the horizontal gradient as well * Change all variables from camelCase to use-dashes * Better comments in the gradients mixins area * Update current uses of gradients in dropdowns and carousel to specify only two values by direct assignment of variables
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index e2c9805ae..3e0152788 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -68,7 +68,7 @@
.dropdown-submenu:focus > a {
text-decoration: none;
color: @dropdown-link-hover-color;
- #gradient > .vertical(@dropdown-link-hover-bg, darken(@dropdown-link-hover-bg, 5%));
+ #gradient > .vertical(@start-color: @dropdown-link-hover-bg; @end-color: darken(@dropdown-link-hover-bg, 5%));
}
// Active state
@@ -79,7 +79,7 @@
color: @dropdown-link-active-color;
text-decoration: none;
outline: 0;
- #gradient > .vertical(@dropdown-link-active-bg, darken(@dropdown-link-active-bg, 5%));
+ #gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
}
// Disabled state