Skip to content

Commit

Permalink
Merge pull request #10265 from twbs/fix-10252
Browse files Browse the repository at this point in the history
fix #10252 by restricting Android Firefox reset to only .form-control & .btn
  • Loading branch information
mdo committed Aug 31, 2013
2 parents 216df5b + 2ef147b commit 644c227
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
9 changes: 2 additions & 7 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,13 +316,6 @@ textarea {
line-height: inherit;
}

button,
input,
select[multiple],
textarea {
background-image: none;
}

a {
color: #428bca;
text-decoration: none;
Expand Down Expand Up @@ -1724,6 +1717,7 @@ output {
color: #555555;
vertical-align: middle;
background-color: #ffffff;
background-image: none;
border: 1px solid #cccccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
Expand Down Expand Up @@ -2006,6 +2000,7 @@ textarea.input-lg {
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
-webkit-user-select: none;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions less/buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid transparent;
border-radius: @border-radius-base;
white-space: nowrap;
Expand Down
1 change: 1 addition & 0 deletions less/forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ output {
color: @input-color;
vertical-align: middle;
background-color: @input-bg;
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
border: 1px solid @input-border;
border-radius: @input-border-radius;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
Expand Down
11 changes: 0 additions & 11 deletions less/scaffolding.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@ textarea {
line-height: inherit;
}

// Reset unusual Firefox-on-Android default style.
//
// See https://github.com/necolas/normalize.css/issues/214

button,
input,
select[multiple],
textarea {
background-image: none;
}


// Links

Expand Down

0 comments on commit 644c227

Please sign in to comment.