Skip to content

Commit

Permalink
fixes #9969: add support for output element
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 24, 2013
1 parent 802e5ca commit 9733a99
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -1689,6 +1689,15 @@ input[type="number"]::-webkit-inner-spin-button {
height: auto;
}

output {
display: block;
padding-top: 7px;
font-size: 14px;
line-height: 1.428571429;
color: #555555;
vertical-align: middle;
}

.form-control:-moz-placeholder {
color: #999999;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ input[type="number"] {
}
}

// Adjust output element
output {
display: block;
padding-top: (@padding-base-vertical + 1);
font-size: @font-size-base;
line-height: @line-height-base;
color: @input-color;
vertical-align: middle;
}

// Placeholder
//
Expand Down

0 comments on commit 9733a99

Please sign in to comment.