]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Give horizontal-three-colors a horizontal filter gradient 7375/head
authorThomas McDonald <tom@conceptcoding.co.uk>
Sat, 23 Mar 2013 19:21:37 +0000 (19:21 +0000)
committerThomas McDonald <tom@conceptcoding.co.uk>
Sat, 23 Mar 2013 19:21:37 +0000 (19:21 +0000)
Previously the filter had GradientType=0, which would render a vertical
gradient rather than the horizontal one implied by name

less/mixins.less

index 458e58cc987a4b4982da70eddf4d0c35746abfd9..48bcd6e1840650d3d339789e5c58d3eada35342d 100644 (file)
     background-image: -o-linear-gradient(left, @startColor, @midColor @colorStop, @endColor);
     background-image: linear-gradient(to right, @startColor, @midColor @colorStop, @endColor);
     background-repeat: no-repeat;
-    filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
+    filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
   }
 
   .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {