aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-08-28 15:37:34 -0700
committerChris Rebert <[email protected]>2013-08-28 15:37:34 -0700
commit2ef147b16b8d48941aa725f8a44f0612e5771c33 (patch)
tree1f68b15bbc7ceeccdf40d5622e5367060650fa64 /less
parent5c7d339752f20627277ecd69945ae50508cefb8f (diff)
downloadbootstrap-2ef147b16b8d48941aa725f8a44f0612e5771c33.tar.xz
bootstrap-2ef147b16b8d48941aa725f8a44f0612e5771c33.zip
fix #10252 by restricting Android Firefox reset to only .form-control & .btn
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less1
-rw-r--r--less/forms.less1
-rw-r--r--less/scaffolding.less11
3 files changed, 2 insertions, 11 deletions
diff --git a/less/buttons.less b/less/buttons.less
index 5d60d39a7..40511ab96 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -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;
diff --git a/less/forms.less b/less/forms.less
index 896619868..32391942b 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -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));
diff --git a/less/scaffolding.less b/less/scaffolding.less
index 53e1be5ac..046eb774a 100644
--- a/less/scaffolding.less
+++ b/less/scaffolding.less
@@ -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