65 lines
3.3 KiB
CSS
65 lines
3.3 KiB
CSS
/* Selectmenu
|
|
----------------------------------*/
|
|
.ui-selectmenu { display: block; position:relative; height:2em; text-decoration: none; overflow:hidden;}
|
|
.ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; }
|
|
.ui-selectmenu-menu { padding:0; margin:0; list-style:none; position:absolute; top: 0; visibility: hidden; overflow: auto; }
|
|
.ui-selectmenu-open { visibility: visible; }
|
|
.ui-selectmenu-menu-popup { margin-top: -1px; }
|
|
.ui-selectmenu-menu-dropdown { }
|
|
.ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; font-weight: normal !important; }
|
|
.ui-selectmenu-menu li a,.ui-selectmenu-status {line-height: 1.4em; display:block; padding:.3em 1em; outline:none; text-decoration:none; }
|
|
.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
|
|
.ui-selectmenu-hasIcon .ui-selectmenu-status { padding-left: 20px; position: relative; margin-left: 5px; }
|
|
.ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon { position: absolute; top: 1em; margin-top: -8px; left: 0; }
|
|
.ui-selectmenu-status { line-height: 1.4em; }
|
|
.ui-selectmenu-open li.ui-selectmenu-item-focus a { }
|
|
.ui-selectmenu-open li.ui-selectmenu-item-selected { }
|
|
.ui-selectmenu-menu li span,.ui-selectmenu-status span { display:block; margin-bottom: .2em; }
|
|
.ui-selectmenu-menu li .ui-selectmenu-item-header { font-weight: bold; }
|
|
.ui-selectmenu-menu li .ui-selectmenu-item-content { }
|
|
.ui-selectmenu-menu li .ui-selectmenu-item-footer { opacity: .8; }
|
|
/*for optgroups*/
|
|
.ui-selectmenu-menu .ui-selectmenu-group { font-size: 1em; }
|
|
.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label { line-height: 1.4em; display:block; padding:.6em .5em 0; font-weight: bold; }
|
|
.ui-selectmenu-menu .ui-selectmenu-group ul { margin: 0; padding: 0; }
|
|
|
|
/* site selector */
|
|
#site-selector-button {
|
|
background: transparent;
|
|
border: none;
|
|
font-size: 1.5em;
|
|
color: #f0f0f0;
|
|
text-shadow: 1px 1px 1px #000;
|
|
margin-left: 8px;
|
|
font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
|
|
line-height: 1.5em;
|
|
height: 24px;
|
|
overflow: visible;
|
|
}
|
|
|
|
#site-selector-button .ui-icon { background: transparent url("/images/admin/plugins/selectmenu/arrow.png") repeat 0 0; height: 9px; width: 15px; }
|
|
#site-selector-button.ui-state-active .ui-icon { background: transparent url("/images/admin/plugins/selectmenu/arrow.png") repeat 0 -9px; }
|
|
|
|
#site-selector-button .ui-selectmenu-status { padding: 0px; line-height: 1em; float: left; }
|
|
#site-selector-button .ui-selectmenu-icon { float: left; margin: 11px 0 0 10px; position: static; top: 0px; left: 0px; }
|
|
|
|
#site-selector-menu {
|
|
background: transparent url("/images/admin/plugins/selectmenu/background.png") repeat 0 0;
|
|
border: 1px solid transparent;
|
|
-moz-border-radius: 7px;
|
|
-webkit-border-radius: 7px;
|
|
padding: 5px 0;
|
|
z-index: 999;
|
|
}
|
|
|
|
#site-selector-menu li a { color: #aaa; font-size: 0.8em; text-shadow: 1px 1px 1px #000; }
|
|
|
|
#site-selector-menu .ui-corner-bottom {
|
|
-moz-border-radius: none;
|
|
-webkit-border-radius: none;
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
|
|
#site-selector-menu.ui-selectmenu-open .ui-selectmenu-item-focus { background: transparent; border-color: transparent; }
|
|
#site-selector-menu .ui-state-hover a, #site-selector-menu .ui-state-hover a:hover { color: #fff; text-shadow: 1px 1px 1px #000; }
|