mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
smartselect MDL-22487 Minor changes to display when in compact mode and selectable categories
This commit is contained in:
parent
5b50c832fe
commit
43be52d3f8
@ -574,17 +574,14 @@ body.tag .managelink {padding: 5px;}
|
||||
.smartselect .smartselect_menu_content ul li {position:relative;padding:2px 5px;}
|
||||
.smartselect .smartselect_menu_content ul li a {color:#333;text-decoration:none;}
|
||||
.smartselect .smartselect_menu_content ul li a.selectable {color:inherit;}
|
||||
.smartselect .smartselect_submenuitem {background-image:url([[pix:moodle|t/collapsed]]);background-repeat: no-repeat;}
|
||||
.smartselect .smartselect_submenuitem {background-image:url([[pix:moodle|t/collapsed]]);background-repeat: no-repeat;background-position:100%;}
|
||||
/** Spanning mode */
|
||||
.smartselect.spanningmenu .smartselect_submenu {position:absolute;top:-1px;left:100%;}
|
||||
.smartselect.spanningmenu .smartselect_submenu a {white-space: nowrap;padding-right:16px;}
|
||||
.smartselect.spanningmenu .smartselect_submenuitem {background-position:100%;}
|
||||
.smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {text-decoration:underline;}
|
||||
/** Compact mode */
|
||||
.smartselect.compactmenu .smartselect_submenu {position:relative;width:100%;margin:0 10px;display:none;border-width:0;z-index: 1010;}
|
||||
.smartselect.compactmenu .smartselect_submenu {position:relative;margin:2px -3px; margin-left: 10px;display:none;border-width:0;z-index: 1010;}
|
||||
.smartselect.compactmenu .smartselect_submenu.visible {display:block;}
|
||||
.smartselect.compactmenu .smartselect_menu {z-index: 1000;overflow:hidden;}
|
||||
.smartselect.compactmenu .smartselect_submenu .smartselect_submenu {z-index: 1020;}
|
||||
.smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {font-weight:bold;}
|
||||
.smartselect.compactmenu .smartselect_submenuitem {background-position:0.5em 3px;}
|
||||
.smartselect.compactmenu .smartselect_submenuitem > a {padding-left:16px;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user