jquery-ui/themes/base/selectmenu.css

60 lines
1.1 KiB
CSS
Raw Normal View History

/*!
2011-09-01 22:21:09 +00:00
* jQuery UI Selectmenu @VERSION
2012-11-12 22:07:57 +00:00
* http://jqueryui.com
2011-09-01 22:21:09 +00:00
*
* Copyright jQuery Foundation and other contributors
2012-11-12 22:07:57 +00:00
* Released under the MIT license.
2011-09-01 22:21:09 +00:00
* http://jquery.org/license
*
* http://api.jqueryui.com/selectmenu/#theming
2011-09-01 22:21:09 +00:00
*/
.ui-selectmenu-menu {
padding: 0;
margin: 0;
position: absolute;
top: 0;
2013-04-29 19:46:41 +00:00
left: 0;
display: none;
}
2013-04-29 19:46:41 +00:00
.ui-selectmenu-menu .ui-menu {
overflow: auto;
/* Support: IE7 */
overflow-x: hidden;
padding-bottom: 1px;
}
2013-04-29 19:46:41 +00:00
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
font-size: 1em;
font-weight: bold;
line-height: 1.5;
padding: 2px 0.4em;
margin: 0.5em 0 0 0;
height: auto;
border: 0;
}
.ui-selectmenu-open {
display: block;
}
.ui-selectmenu-button {
display: inline-block;
overflow: hidden;
position: relative;
text-decoration: none;
cursor: pointer;
}
.ui-selectmenu-button span.ui-icon {
right: 0.5em;
left: auto;
margin-top: -8px;
position: absolute;
top: 50%;
}
.ui-selectmenu-button span.ui-selectmenu-text {
text-align: left;
padding: 0.4em 2.1em 0.4em 1em;
display: block;
line-height: 1.4;
2013-10-23 14:12:40 +00:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2013-04-29 19:46:41 +00:00
}