Skip to content

Commit

Permalink
Remove moz-border-radius and begin deprecating border-radius mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed May 11, 2012
2 parents c3dd859 + e18d11a commit 64a1bcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions app/assets/stylesheets/css3/_border-radius.scss
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
@mixin border-radius ($radii) {
@include prefixer(border-radius, $radii);
@include prefixer(border-radius, $radii, webkit, not moz);
@warn "border-radius mixin is deprecated and will be removed in the next major version release.";
}

@mixin border-top-left-radius($radii) {
-moz-border-radius-topleft: $radii;
@include prefixer(border-top-left-radius, $radii);
@include prefixer(border-top-left-radius, $radii, webkit, not moz);
@warn "border-top-left-radius mixin is deprecated and will be removed in the next major version release.";
}

@mixin border-top-right-radius($radii) {
-moz-border-radius-topright: $radii;
@include prefixer(border-top-right-radius, $radii);
@include prefixer(border-top-right-radius, $radii, webkit, not moz);
@warn "border-top-right-radius mixin is deprecated and will be removed in the next major version release.";
}

@mixin border-bottom-left-radius($radii) {
-moz-border-radius-bottomleft: $radii;
@include prefixer(border-bottom-left-radius, $radii);
@include prefixer(border-bottom-left-radius, $radii, webkit, not moz);
@warn "border-bottom-left-radius mixin is deprecated and will be removed in the next major version release.";
}

@mixin border-bottom-right-radius($radii) {
@include prefixer(border-bottom-right-radius, $radii);
@include prefixer(border-bottom-right-radius, $radii, webkit, not moz);
@warn "border-bottom-right-radius mixin is deprecated and will be removed in the next major version release.";
}

@mixin border-top-radius($radii) {
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/css3/_box-shadow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
$full: compact($shadow-1, $shadow-2, $shadow-3, $shadow-4,
$shadow-5, $shadow-6, $shadow-7, $shadow-8, $shadow-9);

@include prefixer(box-shadow, $full);
@include prefixer(box-shadow, $full, webkit, not moz);
}

0 comments on commit 64a1bcd

Please sign in to comment.