diff options
| author | Chris Rebert <[email protected]> | 2014-12-29 13:40:19 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2015-01-06 17:47:13 -0800 |
| commit | cbb3b1ff9aa4d16888697d18ff6764689d7c29eb (patch) | |
| tree | fd6967af659f3ab0cb7ccd72b42e5498f299a4a5 /scss/_forms.scss | |
| parent | 746e09f8ae5b6601db5e965cd71c632b4e42827a (diff) | |
| download | bootstrap-cbb3b1ff9aa4d16888697d18ff6764689d7c29eb.tar.xz bootstrap-cbb3b1ff9aa4d16888697d18ff6764689d7c29eb.zip | |
Kill scss/mixins/_media-queries.scss
replaced media-xs => media-breakpoint-down(xs)
replaced media-sm => media-breakpoint-up(sm)
replaced media-sm-max => media-breakpoint-only(sm)
replaced media-md => media-breakpoint-up(md)
replaced media-md-max => media-breakpoint-only(md)
replaced media-lg => media-breakpoint-up(lg)
Diffstat (limited to 'scss/_forms.scss')
| -rw-r--r-- | scss/_forms.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index dd2ff33df..f385c152f 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -416,7 +416,7 @@ input[type="checkbox"] { .form-inline { // Kick in the inline - @include media-sm { + @include media-breakpoint-up(sm) { // Inline-block all the things for "inline" .form-group { display: inline-block; @@ -516,7 +516,7 @@ input[type="checkbox"] { // Reset spacing and right align labels, but scope to media queries so that // labels on narrow viewports stack the same as a default form example. - @include media-sm { + @include media-breakpoint-up(sm) { .control-label { padding-top: ($padding-base-vertical + .1); // Default padding plus a border margin-bottom: 0; @@ -537,14 +537,14 @@ input[type="checkbox"] { // Quick utility class for applying `.input-lg` and `.input-sm` styles to the // inputs and labels within a `.form-group`. .form-group-lg { - @include media-sm { + @include media-breakpoint-up(sm) { .control-label { padding-top: $padding-lg-vertical; } } } .form-group-sm { - @include media-sm { + @include media-breakpoint-up(sm) { .control-label { padding-top: ($padding-sm-vertical + .1); } |
