added IE7, IE8, IE9 support to .gradient and .bw-gradient
This commit is contained in:
parent
28dde64521
commit
18e592234b
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
background: -moz-linear-gradient(center bottom,
|
background: -moz-linear-gradient(center bottom,
|
||||||
@start 0%,
|
@start 0%,
|
||||||
@stop 100%);
|
@stop 100%);
|
||||||
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
|
||||||
}
|
}
|
||||||
.bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255) {
|
.bw-gradient(@color: #F5F5F5, @start: 0, @stop: 255) {
|
||||||
background: @color;
|
background: @color;
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
background: -moz-linear-gradient(center bottom,
|
background: -moz-linear-gradient(center bottom,
|
||||||
rgb(@start,@start,@start) 0%,
|
rgb(@start,@start,@start) 0%,
|
||||||
rgb(@stop,@stop,@stop) 100%);
|
rgb(@stop,@stop,@stop) 100%);
|
||||||
|
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) {
|
.bordered(@top-color: #EEE, @right-color: #EEE, @bottom-color: #EEE, @left-color: #EEE) {
|
||||||
border-top: solid 1px @top-color;
|
border-top: solid 1px @top-color;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue