aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.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/carousel.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/carousel.less')
-rw-r--r--less/carousel.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/carousel.less b/less/carousel.less
index c1b0e9b9a..31f9b8aff 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -90,13 +90,13 @@
// Set gradients for backgrounds
&.left {
- #gradient > .horizontal(rgba(0,0,0,.5), rgba(0,0,0,.0001));
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
background-color: transparent;
}
&.right {
left: auto;
right: 0;
- #gradient > .horizontal(rgba(0,0,0,.0001), rgba(0,0,0,.5));
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
background-color: transparent;
}