diff options
author | diosmosis <benaka@piwik.pro> | 2015-10-05 21:30:14 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-05 21:30:14 +0300 |
commit | 24bd8b20af142751455e3142e68f9dba7717929c (patch) | |
tree | e63ec291e2164685b48a7b2283bdf795028a47c4 /plugins/Morpheus | |
parent | 48115990a5128a612236d7290f183108622b8d43 (diff) |
Do not use less functions in gradient mixins to avoid lessc failures when the color values are not actual color values (eg, they could be placeholders).
Diffstat (limited to 'plugins/Morpheus')
-rw-r--r-- | plugins/Morpheus/stylesheets/base/mixins.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Morpheus/stylesheets/base/mixins.less b/plugins/Morpheus/stylesheets/base/mixins.less index b1557ea82a..88ac7d0c4d 100644 --- a/plugins/Morpheus/stylesheets/base/mixins.less +++ b/plugins/Morpheus/stylesheets/base/mixins.less @@ -35,7 +35,7 @@ background-image: -moz-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // FF 3.6+ background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10 background-repeat: repeat-x; - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",@start-color,@end-color)); // IE9 and down } .vertical(@start-color: #555, @end-color: #333, @start-percent: 0%, @end-percent: 100%) { @@ -44,7 +44,7 @@ background-image: -moz-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // FF 3.6+ background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10 background-repeat: repeat-x; - filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down + filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@start-color,@end-color)); // IE9 and down } } |