Selectmenu: fix for IEs item hover problem, overflow CSS properties now included

This commit is contained in:
Felix Nagel 2012-02-26 02:16:50 +01:00
parent f2228b0553
commit 156d0fbf09
4 changed files with 4 additions and 3 deletions

View File

@ -28,7 +28,7 @@
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow { height: 200px; overflow: auto; overflow-y: auto; overflow-x: hidden;}
.overflow { height: 200px; }
</style>
</head>
<body>

View File

@ -50,7 +50,7 @@
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow { height: 200px; overflow: auto; }
.overflow { height: 200px; }
</style>
</head>
<body>

View File

@ -39,7 +39,7 @@
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
.overflow ul { height: 200px; overflow: auto; }
.overflow ul { height: 200px; }
</style>
</head>
<body>

View File

@ -9,6 +9,7 @@
*/
.ui-selectmenu-menu { padding: 0; margin: 0; position:absolute; top: 0; display: none; }
.ui-selectmenu-menu ul.ui-menu { overflow: auto; overflow-y: auto ; overflow-x: hidden; }
.ui-selectmenu-menu .ui-menu .ui-menu-item a { padding: 0.3em 1em 0.3em 1em; }
.ui-selectmenu-menu .ui-menu li.ui-state-disabled { padding: 0.3em 1em 0.3em 1em; }
.ui-selectmenu-menu .ui-menu li.ui-selectmenu-optgroup { font-weight: bold; line-height: 1.5; padding: 2px 0.4em; margin: 0.5em 0 0 0; }