Support non-prefixed linear gradients. Closes #124.
parent
ee55078da2
commit
7e84601d13
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -62,12 +62,14 @@ $Rockwell: 'Rockwell', 'Courier Bold', Courier, Georgia, Times, 'Times New Roman
|
||||||
background: -webkit-gradient(linear, left top, left bottom, from($start), to($stop));
|
background: -webkit-gradient(linear, left top, left bottom, from($start), to($stop));
|
||||||
background: -moz-linear-gradient(center top, $start 0%, $stop 100%);
|
background: -moz-linear-gradient(center top, $start 0%, $stop 100%);
|
||||||
background: -moz-gradient(center top, $start 0%, $stop 100%);
|
background: -moz-gradient(center top, $start 0%, $stop 100%);
|
||||||
|
background: linear-gradient(to bottom, $start 0%, $stop 100%);
|
||||||
}
|
}
|
||||||
@mixin vertical-gradient-with-image($image, $start: #000, $stop: #FFF) {
|
@mixin vertical-gradient-with-image($image, $start: #000, $stop: #FFF) {
|
||||||
background: ($start + $stop) / 2 $image;
|
background: ($start + $stop) / 2 $image;
|
||||||
background: $image, -webkit-gradient(linear, left top, left bottom, from($start), to($stop));
|
background: $image, -webkit-gradient(linear, left top, left bottom, from($start), to($stop));
|
||||||
background: $image, -moz-linear-gradient(center top, $start 0%, $stop 100%);
|
background: $image, -moz-linear-gradient(center top, $start 0%, $stop 100%);
|
||||||
background: $image, -moz-gradient(center top, $start 0%, $stop 100%);
|
background: $image, -moz-gradient(center top, $start 0%, $stop 100%);
|
||||||
|
background: $image, linear-gradient(to bottom, $start 0%, $stop 100%);
|
||||||
}
|
}
|
||||||
@mixin opacity($op) {
|
@mixin opacity($op) {
|
||||||
-khtml-opacity: $op;
|
-khtml-opacity: $op;
|
||||||
|
|
Loading…
Reference in New Issue