mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
CSS
/*!
|
|
* jQuery UI Menu @VERSION
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright 2013 jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*
|
|
* http://api.jqueryui.com/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;
|
|
display: block;
|
|
padding: 2px .4em;
|
|
line-height: 1.5;
|
|
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;
|
|
height: 0;
|
|
font-size: 0;
|
|
line-height: 0;
|
|
border-width: 1px 0 0 0;
|
|
}
|
|
.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;
|
|
}
|
|
.ui-menu-icons .ui-menu-item {
|
|
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;
|
|
}
|