diff options
| author | Mark Otto <[email protected]> | 2011-08-22 09:34:39 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-08-22 09:34:39 -0700 |
| commit | ebec320395ba0c4b54c9c459e20ab69750734175 (patch) | |
| tree | 462128e58c6124aaec58ddf81204698f7117499a /lib | |
| parent | 109027433dc77d58fabaa5c90dada3ee7f400b05 (diff) | |
| parent | 6145fd293141963f9581d741bc0489eb06c276f5 (diff) | |
| download | bootstrap-ebec320395ba0c4b54c9c459e20ab69750734175.tar.xz bootstrap-ebec320395ba0c4b54c9c459e20ab69750734175.zip | |
Merge pull request #58 from sankage/master
fixed #10: color-stop() function removed, @colorStop fixed for moz to be unitless
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/preboot.less | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/preboot.less b/lib/preboot.less index bf20b53fe..e4026b891 100644 --- a/lib/preboot.less +++ b/lib/preboot.less @@ -246,15 +246,15 @@ background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10 background-image: linear-gradient(@deg, @startColor, @endColor); // The standard } - .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 0.5, @endColor: #c3325f) { + .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) { background-color: @endColor; 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, @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); + background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor); + background-image: -moz-linear-gradient(@startColor, @midColor @colorStop, @endColor); + 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); } } |
