mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
b0e8380f02
Fixes #9995 Closes gh-1235
64 lines
1.1 KiB
CSS
64 lines
1.1 KiB
CSS
/*!
|
|
* jQuery UI Menu @VERSION
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright 2014 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: 0;
|
|
margin: 0;
|
|
display: block;
|
|
outline: none;
|
|
}
|
|
.ui-menu .ui-menu {
|
|
position: absolute;
|
|
}
|
|
.ui-menu .ui-menu-item {
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 3px 1em 3px .4em;
|
|
cursor: pointer;
|
|
min-height: 0; /* support: IE7 */
|
|
/* support: IE10, see #8844 */
|
|
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
|
}
|
|
.ui-menu .ui-menu-divider {
|
|
margin: 5px 0;
|
|
height: 0;
|
|
font-size: 0;
|
|
line-height: 0;
|
|
border-width: 1px 0 0 0;
|
|
}
|
|
.ui-menu .ui-state-focus,
|
|
.ui-menu .ui-state-active {
|
|
margin: -1px;
|
|
}
|
|
|
|
/* icon support */
|
|
.ui-menu-icons {
|
|
position: relative;
|
|
}
|
|
.ui-menu-icons .ui-menu-item {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
/* left-aligned */
|
|
.ui-menu .ui-icon {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: .2em;
|
|
margin: auto 0;
|
|
}
|
|
|
|
/* right-aligned */
|
|
.ui-menu .ui-menu-icon {
|
|
left: auto;
|
|
right: 0;
|
|
}
|