fix background of <select>s with multiple=true by using CSS3 backgrounds
This commit is contained in:
@@ -286,6 +286,15 @@ select{
|
|||||||
background:url(./themes/pmahomme/img/input_bg.gif)
|
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 */
|
/* classes */
|
||||||
div.tools {
|
div.tools {
|
||||||
|
Reference in New Issue
Block a user