From 9910e938aad1090339a2c7f60693093ee18aba82 Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 24 Oct 2013 14:04:00 -0400 Subject: Menu: Simplify styling. Remove rounded corners, reduce spacing. --- themes/base/jquery.ui.menu.css | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) (limited to 'themes/base') diff --git a/themes/base/jquery.ui.menu.css b/themes/base/jquery.ui.menu.css index cc390cec4..c3ff16464 100644 --- a/themes/base/jquery.ui.menu.css +++ b/themes/base/jquery.ui.menu.css @@ -10,27 +10,24 @@ */ .ui-menu { list-style: none; - padding: 2px; + padding: 0; margin: 0; display: block; outline: none; } .ui-menu .ui-menu { - margin-top: -3px; position: absolute; } .ui-menu .ui-menu-item { margin: 0; display: block; - padding: 2px .4em; - line-height: 1.5; + padding: 3px .4em; min-height: 0; /* support: IE7 */ - font-weight: normal; /* support: IE10, see #8844 */ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); } .ui-menu .ui-menu-divider { - margin: 5px -2px 5px -2px; + margin: 5px 0; height: 0; font-size: 0; line-height: 0; @@ -38,19 +35,9 @@ } .ui-menu .ui-state-focus, .ui-menu .ui-state-active { - font-weight: normal; margin: -1px; } -.ui-menu .ui-state-disabled { - font-weight: normal; - margin: .4em 0 .2em; - line-height: 1.5; -} -.ui-menu .ui-state-disabled a { - cursor: default; -} - /* icon support */ .ui-menu-icons { position: relative; @@ -69,6 +56,7 @@ /* right-aligned */ .ui-menu .ui-menu-icon { - position: static; + position: relative; + top: -.2em; float: right; } -- cgit v1.2.3 From 8c3ee80204dd0c1d9654254285023868b5f48b88 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Wed, 6 Nov 2013 19:06:35 +0100 Subject: Menu: Set cursor:pointer for menu items. Fixes the regression from removal of anchors, which caused a text cursor to appear on non-disabled items. --- themes/base/jquery.ui.menu.css | 1 + 1 file changed, 1 insertion(+) (limited to 'themes/base') diff --git a/themes/base/jquery.ui.menu.css b/themes/base/jquery.ui.menu.css index c3ff16464..7970422c7 100644 --- a/themes/base/jquery.ui.menu.css +++ b/themes/base/jquery.ui.menu.css @@ -22,6 +22,7 @@ margin: 0; display: block; padding: 3px .4em; + cursor: pointer; min-height: 0; /* support: IE7 */ /* support: IE10, see #8844 */ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); -- cgit v1.2.3