fix background of <select>s with multiple=true by using CSS3 backgrounds

This commit is contained in:
Piotr Przybylski
2011-04-16 22:19:12 +02:00
parent ca44f4cc3b
commit 49d96e7852

View File

@@ -286,6 +286,15 @@ select{
background:url(./themes/pmahomme/img/input_bg.gif)
}
select[multiple] {
background: #fff;
background: -webkit-gradient(linear, center top, center bottom, from(#fff), color-stop(0.8, #f1f1f1), to(#fbfbfb));
background: -webkit-linear-gradient(#fff, #f1f1f1 80%, #fbfbfb);
background: -moz-linear-gradient(#fff, #f1f1f1 80%, #fbfbfb);
/* none for Opera 11.10 as <option>s always have solid white background */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2');
}
/******************************************************************************/
/* classes */
div.tools {