aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-05 08:45:51 -0700
committerMark Otto <[email protected]>2013-08-05 08:45:51 -0700
commite85b8f315fd2d9cf9b00225dbe319227c940aef4 (patch)
tree7a6f63611426a6bb146131f0f01056eb18d6b0c5
parent550493a87e268e3ab2971daa5c2be258bf611cec (diff)
downloadbootstrap-e85b8f315fd2d9cf9b00225dbe319227c940aef4.tar.xz
bootstrap-e85b8f315fd2d9cf9b00225dbe319227c940aef4.zip
Fixes #9049: switch order of gradient mixin params to avoid problems for upgraders
-rw-r--r--less/mixins.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/less/mixins.less b/less/mixins.less
index b16dce4b4..b3daffef5 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -235,7 +235,7 @@
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
- .horizontal(@start-color: #555; @start-percent: 0%; @end-color: #333; @end-percent: 100%) {
+ .horizontal(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-color: @end-color;
background-image: -webkit-gradient(linear, @start-percent top, @end-percent top, from(@start-color), to(@end-color)); // Safari 4+, Chrome 2+
background-image: -webkit-linear-gradient(left, color-stop(@start-color @start-percent), color-stop(@end-color @end-percent)); // Safari 5.1+, Chrome 10+
@@ -249,7 +249,7 @@
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
- .vertical(@start-color: #555; @start-percent: 0%; @end-color: #333; @end-percent: 100%) {
+ .vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-color: @end-color;
background-image: -webkit-gradient(linear, left @start-percent, left @end-percent, from(@start-color), to(@end-color)); // Safari 4+, Chrome 2+
background-image: -webkit-linear-gradient(top, @start-color, @start-percent, @end-color, @end-percent); // Safari 5.1+, Chrome 10+