diff options
| author | Mark Otto <[email protected]> | 2011-09-02 12:31:14 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-02 12:31:14 -0700 |
| commit | cb244d5d51f910ac891f4a3a4691cd0740dc8307 (patch) | |
| tree | f086ca2c60019cb9b40b4fef9ce470966ec9afab /lib/preboot.less | |
| parent | e0722fcb1bbaffa2adb20ce3d4793422921255e1 (diff) | |
| download | bootstrap-cb244d5d51f910ac891f4a3a4691cd0740dc8307.tar.xz bootstrap-cb244d5d51f910ac891f4a3a4691cd0740dc8307.zip | |
fix docs.css spacing, add gradient support for ie9 back
Diffstat (limited to 'lib/preboot.less')
| -rw-r--r-- | lib/preboot.less | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/preboot.less b/lib/preboot.less index b92acb9d3..d270cab05 100644 --- a/lib/preboot.less +++ b/lib/preboot.less @@ -229,6 +229,7 @@ background-image: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10 background-image: linear-gradient(left, @startColor, @endColor); // Le standard + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@startColor,@endColor)); // IE9 and down } .vertical (@startColor: #555, @endColor: #333) { background-color: @endColor; @@ -240,7 +241,7 @@ background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+ background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10 background-image: linear-gradient(top, @startColor, @endColor); // The standard - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\9",@startColor,@endColor)); // IE8 and down + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down } .directional (@startColor: #555, @endColor: #333, @deg: 45deg) { background-color: @endColor; @@ -260,7 +261,7 @@ background-image: -ms-linear-gradient(@startColor, @midColor @colorStop, @endColor); background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor); background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor); - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)\9",@startColor,@endColor)); // IE8 and down, gets no color-stop at all for proper fallback + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down, gets no color-stop at all for proper fallback } } |
