mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
37dcc3e21d
For instance, this is useful for the jquery-ui-rails gem, which does not use jQuery UI's own minification, but relies on Rails to minify the files where necessary. Rails in turn uses UglifyJS for JS and YUI for CSS, both of which respect the /*! ... */ convention.
29 lines
1.1 KiB
CSS
29 lines
1.1 KiB
CSS
/*!
|
|
* jQuery UI Menu @VERSION
|
|
*
|
|
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
* http://jquery.org/license
|
|
*
|
|
* 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; 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-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; }
|
|
.ui-menu-icons .ui-menu-item a { position: relative; padding-left: 2em; }
|
|
|
|
/* left-aligned */
|
|
.ui-menu .ui-icon { position: absolute; top: .2em; left: .2em; }
|
|
|
|
/* right-aligned */
|
|
.ui-menu .ui-menu-icon { position: static; float: right; }
|