From: KittBlog Date: Wed, 9 Oct 2013 17:29:46 +0000 (+0200) Subject: Fixed #1495 X-Git-Tag: 2.0.0_Beta_11~34^2~3^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ead7aafb1fb97e53da2eadc283c17555e7edbfb;p=GitHub%2FWoltLab%2FWCF.git Fixed #1495 --- diff --git a/wcfsetup/install/files/style/bootstrap/mixin.less b/wcfsetup/install/files/style/bootstrap/mixin.less index 433d1b32fa..72f712689b 100644 --- a/wcfsetup/install/files/style/bootstrap/mixin.less +++ b/wcfsetup/install/files/style/bootstrap/mixin.less @@ -30,23 +30,18 @@ .linearGradient(@backgroundColor, @gradientColor1, @gradientColor2) { background-color: @backgroundColor; background-image: -webkit-linear-gradient(@gradientColor1, @gradientColor2); - background-image: -moz-linear-gradient(@gradientColor1, @gradientColor2); - background-image: -ms-linear-gradient(@gradientColor1, @gradientColor2); background-image: linear-gradient(@gradientColor1, @gradientColor2); } -.linearGradient(@backgroundColor, @gradientColor1, @gradientColor2, @gradientColor3, @direction: top) { +.linearGradient(@backgroundColor, @gradientColor1, @gradientColor2, @gradientColor3, @direction: 180deg) { + @oldDirection: @direction - 90deg; background-color: @backgroundColor; - background-image: -webkit-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3); - background-image: -moz-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3); - background-image: -ms-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3); + background-image: -webkit-linear-gradient(@oldDirection, @gradientColor1, @gradientColor2, @gradientColor3); background-image: linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3); } .linearGradientNative(@parameters) { background-image: -webkit-linear-gradient(@parameters); - background-image: -moz-linear-gradient(@parameters); - background-image: -ms-linear-gradient(@parameters); background-image: linear-gradient(@parameters); } @@ -61,12 +56,12 @@ transition-timing-function: @type; } -.boxShadow(@topOffset, @leftOffset, @color, @blurriness: 5px, @shadowHeight: 0) { - box-shadow: @topOffset @leftOffset @blurriness @shadowHeight @color; +.boxShadow(@leftOffset, @topOffset, @color, @blurriness: 5px, @shadowHeight: 0) { + box-shadow: @leftOffset @topOffset @blurriness @shadowHeight @color; } -.boxShadowInset(@topOffset, @leftOffset, @color, @blurriness: 5px, @shadowHeight: 0) { - box-shadow: inset @topOffset @leftOffset @blurriness @shadowHeight @color; +.boxShadowInset(@leftOffset, @topOffset, @color, @blurriness: 5px, @shadowHeight: 0) { + box-shadow: inset @leftOffset @topOffset @blurriness @shadowHeight @color; } .boxShadowNative(@parameters) {