mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Selectmenu: Reformatted CSS to use better coding standard
This commit is contained in:
parent
e25cdd88e7
commit
709f75b66c
54
themes/base/jquery.ui.selectmenu.css
vendored
54
themes/base/jquery.ui.selectmenu.css
vendored
@ -8,11 +8,49 @@
|
|||||||
*
|
*
|
||||||
* http://docs.jquery.com/UI/Selectmenu#theming
|
* http://docs.jquery.com/UI/Selectmenu#theming
|
||||||
*/
|
*/
|
||||||
.ui-selectmenu-menu { padding: 0; margin: 0; position:absolute; top: 0; display: none; }
|
.ui-selectmenu-menu {
|
||||||
.ui-selectmenu-menu ul.ui-menu { overflow: auto; overflow-y: auto ; overflow-x: hidden; }
|
padding: 0;
|
||||||
.ui-selectmenu-menu .ui-menu .ui-menu-item a { padding: 0.3em 1em 0.3em 1em; }
|
margin: 0;
|
||||||
.ui-selectmenu-menu .ui-menu li.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; }
|
position:absolute;
|
||||||
.ui-selectmenu-open { display: block; }
|
top: 0;
|
||||||
.ui-selectmenu-button a.ui-button { display: inline-block; overflow: hidden; position: relative; text-decoration: none; }
|
display: none;
|
||||||
.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; }
|
.ui-selectmenu-menu ul.ui-menu {
|
||||||
|
overflow: auto;
|
||||||
|
overflow-y: auto ;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
.ui-selectmenu-menu .ui-menu .ui-menu-item a {
|
||||||
|
padding: 0.3em 1em 0.3em 1em;
|
||||||
|
}
|
||||||
|
.ui-selectmenu-menu .ui-menu li.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 a.ui-button {
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
position: relative;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user