41b11956c2118b5d95d14f6701a4e0b2bf846d67
[moodle.git] / blocks / settings_navigation_tree / styles.css
1 /** JavaScript state rules **/
2 .jsenabled .block_settings_navigation_tree.dock_on_load,
3 .block_settings_navigation_tree .block_tree_box .requiresjs {display:none;}
4 .jsenabled .block_settings_navigation_tree .block_tree_box .requiresjs {display:inline;}
6 /** General display rules **/
7 .block_settings_navigation_tree .block_tree {margin:5px;padding-left:0px;overflow:visible;}
8 .block_settings_navigation_tree .block_tree li {margin:0;list-style: none;}
9 .block_settings_navigation_tree .block_tree li ul {padding-left:16px;margin:0;}
10 .block_settings_navigation_tree .block_tree .tree_item {padding-left: 16px;margin:3px 0px;text-align:left;}
11 .block_settings_navigation_tree .block_tree .tree_item.branch {background-image: url([[pix:t/expanded]]);background-position: center left;background-repeat: no-repeat;}
12 .block_settings_navigation_tree .block_tree .root_node.leaf {padding-left:0px;}
13 .block_settings_navigation_tree .block_tree .current_branch {font-weight:bold;}
14 .jsenabled .block_settings_navigation_tree .block_tree .tree_item.branch {cursor:pointer;}
15 .jsenabled .block_settings_navigation_tree .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty]]);background-position: center left;background-repeat: no-repeat;}
16 .jsenabled .block_settings_navigation_tree .block_tree .collapsed ul {display: none;}
17 .jsenabled .block_settings_navigation_tree .block_tree .collapsed .tree_item.branch {background-image: url([[pix:t/collapsed]]);}
19 /** Internet explorer specific rules **/
20 .ie6 .block_settings_navigation_tree .block_tree,
21 .ie7 .block_settings_navigation_tree .block_tree {overflow-x:scroll;}
22 .ie6 .block_settings_navigation_tree .block_tree .tree_item {width:100%;}