aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-28 12:03:26 -0800
committerMark Otto <[email protected]>2012-01-28 12:03:26 -0800
commit39f70afed9998826f4a4ff548b721a5b065c985e (patch)
tree12e66620516251094b2a1494891116d70bcdbeb4
parentf1dc214977ed2613565a0c4a9846864c84fb2602 (diff)
downloadbootstrap-39f70afed9998826f4a4ff548b721a5b065c985e.tar.xz
bootstrap-39f70afed9998826f4a4ff548b721a5b065c985e.zip
update mixins to fix radial gradient
-rw-r--r--less/mixins.less10
1 files changed, 5 insertions, 5 deletions
diff --git a/less/mixins.less b/less/mixins.less
index ddf100359..5daa22234 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -329,11 +329,11 @@
background-repeat: no-repeat;
}
.radial(@innerColor: #555, @outerColor: #333) {
- background-color: @outsideColor;
- background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@centerColor), to(@outsideColor));
- background-image: -webkit-radial-gradient(circle, @centerColor, @outsideColor);
- background-image: -moz-radial-gradient(circle, @centerColor, @outsideColor);
- background-image: -ms-radial-gradient(circle, @centerColor, @outsideColor);
+ background-color: @outerColor;
+ background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
+ background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
+ background-image: -moz-radial-gradient(circle, @innerColor, @outerColor);
+ background-image: -ms-radial-gradient(circle, @innerColor, @outerColor);
background-repeat: no-repeat;
// Opera cannot do radial gradients yet
}