diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-30 09:14:08 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-30 09:14:08 +0200 |
commit | f1c59b09f75ed2ac986bc9c244ba9c322de327ba (patch) | |
tree | 726a2a33df686ad0ad1a7433b319f061ff81b793 /themes | |
parent | de5091ddc37b4f236211da2ab2bf102a510b4d99 (diff) | |
download | jquery-ui-f1c59b09f75ed2ac986bc9c244ba9c322de327ba.tar.gz jquery-ui-f1c59b09f75ed2ac986bc9c244ba9c322de327ba.zip |
Extracted menu theme from autocomplete file into its own
Diffstat (limited to 'themes')
-rw-r--r-- | themes/base/jquery.ui.autocomplete.css | 32 | ||||
-rw-r--r-- | themes/base/jquery.ui.base.css | 1 | ||||
-rw-r--r-- | themes/base/jquery.ui.menu.css | 31 |
3 files changed, 32 insertions, 32 deletions
diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css index f99006243..79a25bd6c 100644 --- a/themes/base/jquery.ui.autocomplete.css +++ b/themes/base/jquery.ui.autocomplete.css @@ -5,35 +5,3 @@ /* workarounds */ * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* Menu -----------------------------------*/ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} diff --git a/themes/base/jquery.ui.base.css b/themes/base/jquery.ui.base.css index eed06a277..30032c7f8 100644 --- a/themes/base/jquery.ui.base.css +++ b/themes/base/jquery.ui.base.css @@ -5,6 +5,7 @@ @import url("jquery.ui.button.css"); @import url("jquery.ui.datepicker.css"); @import url("jquery.ui.dialog.css"); +@import url("jquery.ui.menu.css"); @import url("jquery.ui.progressbar.css"); @import url("jquery.ui.resizable.css"); @import url("jquery.ui.slider.css"); diff --git a/themes/base/jquery.ui.menu.css b/themes/base/jquery.ui.menu.css new file mode 100644 index 000000000..69b378dd1 --- /dev/null +++ b/themes/base/jquery.ui.menu.css @@ -0,0 +1,31 @@ +/* Menu +----------------------------------*/ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} |