aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-10-04 01:16:07 -0700
committerMark Otto <[email protected]>2011-10-04 01:16:07 -0700
commitd74dee5e0f74a09d850696b78840debf8334dcc2 (patch)
tree3842228f07912a99893730d587ab5c83abf87190
parent088a9efa4c8cc2a352c786c7db4bf7f13a700f86 (diff)
downloadbootstrap-d74dee5e0f74a09d850696b78840debf8334dcc2.tar.xz
bootstrap-d74dee5e0f74a09d850696b78840debf8334dcc2.zip
fixing multi select on chromium ubuntu by setting background color explicitly
-rw-r--r--bootstrap.css3
-rw-r--r--bootstrap.min.css2
-rw-r--r--lib/forms.less1
3 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 22139c29c..96c15f5c0 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Tue Oct 4 00:58:05 PDT 2011
+ * Date: Tue Oct 4 01:16:04 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -677,6 +677,7 @@ select, input[type=file] {
}
select[multiple] {
height: inherit;
+ background-color: #ffffff;
}
textarea {
height: auto;
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 1e7dc7a94..b0ec80db2 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -117,7 +117,7 @@ input[type=checkbox],input[type=radio]{width:auto;height:auto;padding:0;margin:3
input[type=file]{background-color:#ffffff;padding:initial;border:initial;line-height:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
input[type=button],input[type=reset],input[type=submit]{width:auto;height:auto;}
select,input[type=file]{height:27px;line-height:27px;*margin-top:4px;}
-select[multiple]{height:inherit;}
+select[multiple]{height:inherit;background-color:#ffffff;}
textarea{height:auto;}
.uneditable-input{background-color:#ffffff;display:block;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;}
:-moz-placeholder{color:#bfbfbf;}
diff --git a/lib/forms.less b/lib/forms.less
index 7c9cc7c62..dffdb37d4 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -114,6 +114,7 @@ input[type=file] {
// Make multiple select elements height not fixed
select[multiple] {
height: inherit;
+ background-color: @white; // Fixes Chromium bug of unreadable items
}
textarea {