From 12d5c88c202f9f4bb60dfb07622a5dacffa4be1c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 27 Aug 2012 09:53:23 -0700 Subject: [PATCH] fixes #4742: add default value to striped gradient --- less/mixins.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/mixins.less b/less/mixins.less index e1c93224b1..26ebbd82f3 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -456,7 +456,7 @@ background-image: -o-radial-gradient(circle, @innerColor, @outerColor); background-repeat: no-repeat; } - .striped(@color, @angle: 45deg) { + .striped(@color: #555, @angle: 45deg) { background-color: @color; background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent)); background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);