From: sankage Date: Sun, 21 Aug 2011 05:16:04 +0000 (-0300) Subject: mozilla doesn't support color-stop() function in gradients X-Git-Tag: v1.1.0~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F30%2Fhead;p=thirdparty%2Fbootstrap.git mozilla doesn't support color-stop() function in gradients --- diff --git a/lib/preboot.less b/lib/preboot.less index 3e53dcf9bd..9aad126d39 100644 --- a/lib/preboot.less +++ b/lib/preboot.less @@ -254,7 +254,7 @@ background-repeat: no-repeat; background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor)); background-image: -webkit-linear-gradient(@startColor, color-stop(@colorStop, @midColor), @endColor); - background-image: -moz-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor); + background-image: -moz-linear-gradient(@startColor, @midColor @colorStop*100%, @endColor); background-image: -ms-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor); background-image: -o-linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor); background-image: linear-gradient(@startColor, color-stop(@midColor, @colorStop), @endColor);