r3433 committed - changed border workaround so the hover and active states simply have a...
Revision: 3433
Author: scottjehl
Date: Mon Nov 9 09:12:26 2009
Log: changed border workaround so the hover and active states simply have a
negative 1px margin to offset the border additions.
http://code.google.com/p/jquery-ui/source/detail?r=3433
Modified:
/branches/dev/themes/base/ui.menu.css
=======================================
--- /branches/dev/themes/base/ui.menu.css Mon Nov 9 09:08:36 2009
+++ /branches/dev/themes/base/ui.menu.css Mon Nov 9 09:12:26 2009
@@ -19,12 +19,9 @@
display:block;
padding:.2em .4em;
line-height:1.5;
- border: 0;
zoom:1;
- margin: 1px;
-}
-.ui-menu .ui-menu-item a:hover,
-.ui-menu .ui-menu-item a.ui-state-hover {
+}
+.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
- margin: 0;
-}
+ margin: -1px;
+}