_s: Remove remaining box-sizing prefix.

Also removes the box-sizing mixin, as it is of no use anymore.

See http://caniuse.com/#feat=css3-boxsizing
See #558.

Fixes #561.
This commit is contained in:
Konstantin Obenland 2014-11-05 16:53:52 -08:00
parent 69171d3ea3
commit 8ba2a53f3a
4 changed files with 4 additions and 14 deletions

View File

@ -25,7 +25,7 @@ html {
*, *,
*:before, *:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */ *:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
@include box-sizing(border-box); box-sizing: border-box;
} }
body { body {
background: $color__background-body; /* Fallback for when there is no custom background color defined. */ background: $color__background-body; /* Fallback for when there is no custom background color defined. */

View File

@ -5,8 +5,6 @@ input[type="radio"] {
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
-moz-box-sizing: content-box;
box-sizing: content-box; box-sizing: content-box;
} }

View File

@ -4,13 +4,6 @@
font-size: $sizeValue + rem; font-size: $sizeValue + rem;
} }
// Box model
@mixin box-sizing($box-model) {
-webkit-box-sizing: $box-model; // Safari <= 7
-moz-box-sizing: $box-model; // Firefox <= 19
box-sizing: $box-model;
}
// Border radius // Border radius
@mixin border-radius($radius) { @mixin border-radius($radius) {
background-clip: padding-box; /* stops bg color from leaking outside the border: */ background-clip: padding-box; /* stops bg color from leaking outside the border: */

View File

@ -355,7 +355,6 @@ input[type="radio"] {
input[type="search"] { input[type="search"] {
-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
box-sizing: content-box; box-sizing: content-box;
} }