app/assets/stylesheets/active_admin/mixins/_gradients.css.scss in activeadmin-0.5.1 vs app/assets/stylesheets/active_admin/mixins/_gradients.css.scss in activeadmin-0.6.0
- old
+ new
@@ -1,15 +1,16 @@
$secondary-gradient-start: #efefef !default;
$secondary-gradient-stop: #dfe1e2 !default;
@mixin gradient($start, $end){
background: $start;
- background: -webkit-gradient(linear, left top, left bottom, from($start), to($end));
- background: -moz-linear-gradient(-90deg, $start, $end);
+ background: -webkit-linear-gradient(-90deg, $start, $end);
+ background: -moz-linear-gradient(-90deg, $start, $end);
+ background: linear-gradient(-90deg, $start, $end);
// IE 6 & 7
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$start}', endColorstr='#{$end}');
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start)}', endColorstr='#{ie-hex-str($end)}');
// IE 8
- -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$start}', endColorstr='#{$end}');
+ -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start)}', endColorstr='#{ie-hex-str($end)}');
}
@mixin primary-gradient {
@include gradient(lighten($primary-color, 5%), darken($primary-color, 7%));
border-bottom: 1px solid darken($primary-color, 11%);