mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
bb49bd794b
Closes gh-2249
63 lines
991 B
CSS
63 lines
991 B
CSS
/*!
|
|
* jQuery UI Menu @VERSION
|
|
* https://jqueryui.com
|
|
*
|
|
* Copyright OpenJS Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* https://jquery.org/license
|
|
*
|
|
* https://api.jqueryui.com/menu/#theming
|
|
*/
|
|
.ui-menu {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: block;
|
|
outline: 0;
|
|
}
|
|
.ui-menu .ui-menu {
|
|
position: absolute;
|
|
}
|
|
.ui-menu .ui-menu-item {
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
.ui-menu .ui-menu-item-wrapper {
|
|
position: relative;
|
|
padding: 3px 1em 3px .4em;
|
|
}
|
|
.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-wrapper {
|
|
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;
|
|
}
|