From d549fb8f0b23b88e305d0aabf99e02ceca2230fe Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Fri, 17 Jan 2014 02:34:47 +0100 Subject: [PATCH] Fix W3C CSS gradients syntax. The official, unprefixed syntax needs "linear-gradient(to [direction], ...)" notation instead of "linear-gradient([direction-from], ...)" from earlier ones. https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient --- src/collections/menu.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collections/menu.less b/src/collections/menu.less index 11fdc3028..3caef4000 100755 --- a/src/collections/menu.less +++ b/src/collections/menu.less @@ -549,7 +549,7 @@ rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%) ; - background-image: linear-gradient(left, + background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.1) 1.5em, rgba(0, 0, 0, 0.03) 100%) @@ -1384,7 +1384,7 @@ rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%) ; - background-image: linear-gradient(left, + background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.03) 100%)