diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-06-10 19:07:54 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2011-06-10 19:07:54 +0200 |
commit | 75408eb08a16a16adc096eff0e3966abebf5c2de (patch) | |
tree | 1fb2a7b1b3764175d05f4a1e38e0ce406d817786 /themes/base/jquery.ui.menu.css | |
parent | 85eeaf0b05960f1e1a470991f88657a590c27fce (diff) | |
download | jquery-ui-75408eb08a16a16adc096eff0e3966abebf5c2de.tar.gz jquery-ui-75408eb08a16a16adc096eff0e3966abebf5c2de.zip |
Menubar and Menu: Cleanup menu styles. Pull out menubar styles from demo into css file.
Diffstat (limited to 'themes/base/jquery.ui.menu.css')
-rw-r--r-- | themes/base/jquery.ui.menu.css | 38 |
1 files changed, 7 insertions, 31 deletions
diff --git a/themes/base/jquery.ui.menu.css b/themes/base/jquery.ui.menu.css index ed4b4a13a..c616cf2c5 100644 --- a/themes/base/jquery.ui.menu.css +++ b/themes/base/jquery.ui.menu.css @@ -7,38 +7,14 @@ * * http://docs.jquery.com/UI/Menu#theming */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - outline: none; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding: 2px .4em; - line-height:1.5; - zoom:1; - font-weight: normal; -} +.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; outline: none; } +.ui-menu .ui-menu { margin-top: -3px; position: absolute; } +.ui-menu .ui-menu-item { margin: 0; padding: 0; zoom: 1; width: 100%; } +.ui-menu .ui-menu-item a { text-decoration: none; display: block; padding: 2px .4em; line-height: 1.5; zoom: 1; font-weight: normal; } .ui-menu .ui-menu-item a.ui-state-focus, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} +.ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; } -/* nested menus */ -.ui-menu .ui-menu { position: absolute; } +.ui-menu li.ui-state-disabled { font-weight: normal; padding: .0em .4em; margin: .4em 0 .2em; line-height: 1.5; } /* icon support */ .ui-menu-icons { position: relative; } @@ -48,4 +24,4 @@ .ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; } /* right-aligned */ -.ui-menu .ui-menu-icon { position: static; float: right; }
\ No newline at end of file +.ui-menu .ui-menu-icon { position: static; float: right; } |