diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-10-24 14:04:00 -0400 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-11-13 18:41:47 +0100 |
commit | 9910e938aad1090339a2c7f60693093ee18aba82 (patch) | |
tree | 07ce4bb189b95afa9b24297faf12304412fe5c81 /themes | |
parent | 874865842bdbbf5ec48ee41640951e9f103c0f16 (diff) | |
download | jquery-ui-9910e938aad1090339a2c7f60693093ee18aba82.tar.gz jquery-ui-9910e938aad1090339a2c7f60693093ee18aba82.zip |
Menu: Simplify styling. Remove rounded corners, reduce spacing.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/jquery.ui.menu.css | 22 |
1 files changed, 5 insertions, 17 deletions
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; } |