From 5dea150831fb045e73446ed26571406c3c947078 Mon Sep 17 00:00:00 2001 From: Dmitry Fadeyev Date: Mon, 10 Dec 2012 22:16:46 +0000 Subject: [PATCH] add opera gradients --- elements.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elements.less b/elements.less index be6a52c..2649ef3 100644 --- a/elements.less +++ b/elements.less @@ -18,6 +18,8 @@ background: -moz-linear-gradient(center bottom, @start 0%, @stop 100%); + background: -o-linear-gradient(@stop, + @start); filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start)); } .bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255) { @@ -33,6 +35,8 @@ background: -moz-linear-gradient(center bottom, rgb(@start,@start,@start) 0%, rgb(@stop,@stop,@stop) 100%); + background: -o-linear-gradient(rgb(@stop,@stop,@stop), + rgb(@start,@start,@start)); filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",rgb(@stop,@stop,@stop),rgb(@start,@start,@start))); } .bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE) {