From d74dee5e0f74a09d850696b78840debf8334dcc2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 4 Oct 2011 01:16:07 -0700 Subject: [PATCH] fixing multi select on chromium ubuntu by setting background color explicitly --- bootstrap.css | 3 ++- bootstrap.min.css | 2 +- lib/forms.less | 1 + 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 {