]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixing multi select on chromium ubuntu by setting background color explicitly
authorMark Otto <mark.otto@twitter.com>
Tue, 4 Oct 2011 08:16:07 +0000 (01:16 -0700)
committerMark Otto <mark.otto@twitter.com>
Tue, 4 Oct 2011 08:16:07 +0000 (01:16 -0700)
bootstrap.css
bootstrap.min.css
lib/forms.less

index 22139c29c646b630e54575a711324c4e4cea1da9..96c15f5c02883e92373f4e8f6ecd59cef53cd167 100644 (file)
@@ -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;
index 1e7dc7a94f88bc2e226d3fda2070240ffdfeae10..b0ec80db20a21193b6de15dda356b7aa49328800 100644 (file)
@@ -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;}
index 7c9cc7c62335ac5c12ce5d816a6d3dbd81275fa2..dffdb37d49505f231beee4561e322a14447f48a4 100644 (file)
@@ -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 {