Skip to content
Browse files

Remove deprecated border-radius mixin. Removed webkit prefix from bor…

…der-radius shorthand mixins
  • Loading branch information...
1 parent e88945a commit 88dd7ed2dcee3e9eb7c7b258a2e1d84ea9d69d96 Phil LaPier committed Dec 6, 2012
View
30 app/assets/stylesheets/_bourbon-deprecated-upcoming.scss
@@ -1,33 +1,3 @@
//************************************************************************//
// These mixins/functions will be deprecated in the next MAJOR version release
//************************************************************************//
-
-// Bourbon 3.0 removal
-//************************************************************************//
-@mixin border-radius ($radii) {
- @include prefixer(border-radius, $radii, webkit spec);
- @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 spec);
- @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 spec);
- @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 spec);
- @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 spec);
- @warn "border-bottom-right-radius mixin is deprecated and will be removed in the next major version release.";
-}
-
-// To-Do for Bourbon 3.0:
-// Remove other border-radius-top/bottom/left/right 'webkit' prefix
View
16 app/assets/stylesheets/css3/_border-radius.scss
@@ -2,21 +2,21 @@
// Shorthand Border-radius mixins
//************************************************************************//
@mixin border-top-radius($radii) {
- @include prefixer(border-top-left-radius, $radii, webkit spec);
- @include prefixer(border-top-right-radius, $radii, webkit spec);
+ @include prefixer(border-top-left-radius, $radii, spec);
+ @include prefixer(border-top-right-radius, $radii, spec);
}
@mixin border-bottom-radius($radii) {
- @include prefixer(border-bottom-left-radius, $radii, webkit spec);
- @include prefixer(border-bottom-right-radius, $radii, webkit spec);
+ @include prefixer(border-bottom-left-radius, $radii, spec);
+ @include prefixer(border-bottom-right-radius, $radii, spec);
}
@mixin border-left-radius($radii) {
- @include prefixer(border-top-left-radius, $radii, webkit spec);
- @include prefixer(border-bottom-left-radius, $radii, webkit spec);
+ @include prefixer(border-top-left-radius, $radii, spec);
+ @include prefixer(border-bottom-left-radius, $radii, spec);
}
@mixin border-right-radius($radii) {
- @include prefixer(border-top-right-radius, $radii, webkit spec);
- @include prefixer(border-bottom-right-radius, $radii, webkit spec);
+ @include prefixer(border-top-right-radius, $radii, spec);
+ @include prefixer(border-bottom-right-radius, $radii, spec);
}

0 comments on commit 88dd7ed

Please sign in to comment.
Something went wrong with that request. Please try again.