1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-01 07:46:47 +02:00

more media query mixins

This commit is contained in:
Mark Otto
2014-09-17 21:56:27 -07:00
parent 44f948ad53
commit 47bef3c6a0
6 changed files with 20 additions and 21 deletions

View File

@@ -424,7 +424,7 @@ input[type="checkbox"] {
.form-inline {
// Kick in the inline
@media (min-width: @screen-sm-min) {
.media-sm({
// Inline-block all the things for "inline"
.form-group {
display: inline-block;
@@ -489,7 +489,7 @@ input[type="checkbox"] {
.has-feedback .form-control-feedback {
top: 0;
}
}
});
}
@@ -525,13 +525,13 @@ 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.
@media (min-width: @screen-sm-min) {
.media-sm({
.control-label {
text-align: right;
margin-bottom: 0;
padding-top: (@padding-base-vertical + 1); // Default padding plus a border
}
}
});
// Validation states
//