Permalink
Browse files

Remove @warning from shorthand border-radius mixins

  • Loading branch information...
Phil LaPier
Phil LaPier committed Dec 5, 2012
1 parent 0985f3a commit 884c1f5dd4b0ba7115e089d9a11bf87e3f199996
Showing with 14 additions and 36 deletions.
  1. +14 −36 app/assets/stylesheets/css3/_border-radius.scss
@@ -1,44 +1,22 @@
-@mixin 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) {
- @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) {
- @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) {
- @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, webkit, not moz);
- @warn "border-bottom-right-radius mixin is deprecated and will be removed in the next major version release.";
-}
-
+//************************************************************************//
+// Shorthand Border-radius mixins
+//************************************************************************//
@mixin border-top-radius($radii) {
- @include border-top-left-radius($radii);
- @include border-top-right-radius($radii);
-}
-
-@mixin border-right-radius($radii) {
- @include border-top-right-radius($radii);
- @include border-bottom-right-radius($radii);
+ @include prefixer(border-top-left-radius, $radii, webkit spec);
+ @include prefixer(border-top-right-radius, $radii, webkit spec);
}
@mixin border-bottom-radius($radii) {
- @include border-bottom-left-radius($radii);
- @include border-bottom-right-radius($radii);
+ @include prefixer(border-bottom-left-radius, $radii, webkit spec);
+ @include prefixer(border-bottom-right-radius, $radii, webkit spec);
}
@mixin border-left-radius($radii) {
- @include border-top-left-radius($radii);
- @include border-bottom-left-radius($radii);
+ @include prefixer(border-top-left-radius, $radii, webkit spec);
+ @include prefixer(border-bottom-left-radius, $radii, webkit spec);
+}
+
+@mixin border-right-radius($radii) {
+ @include prefixer(border-top-right-radius, $radii, webkit spec);
+ @include prefixer(border-bottom-right-radius, $radii, webkit spec);
}

0 comments on commit 884c1f5

Please sign in to comment.