MDL-42594 Navigation: Site admin navigation will show loading icon
[moodle.git] / blocks / settings / styles.css
CommitLineData
3406acde
SH
1/** JavaScript state rules **/
2.jsenabled .block_settings.dock_on_load,
3.block_settings .block_tree_box .requiresjs {display:none;}
4.jsenabled .block_settings .block_tree_box .requiresjs {display:inline;}
5
6/** General display rules **/
7.block_settings .block_tree {margin:5px;padding-left:0px;overflow:visible;}
8.block_settings .block_tree li {margin:0;list-style: none;}
11f87187 9.block_settings .block_tree li ul {padding-left:18px;margin:0;}
7081714d
SH
10
11.block_settings .block_tree li.item_with_icon > p {position:relative;}
11f87187 12.block_settings .block_tree li.item_with_icon > p img {vertical-align:middle;position:absolute;left:0;top:-1px; width: 16px; height: 16px;}
7081714d 13
11f87187 14.block_settings .block_tree .tree_item {padding-left: 21px;margin:3px 0px;text-align:left;}
7081714d 15
0310e15f 16.block_settings .block_tree .tree_item.branch {background-image: url([[pix:t/expanded]]);background-position: 0 10%;background-repeat: no-repeat;}
3406acde 17.block_settings .block_tree .root_node.leaf {padding-left:0px;}
c55e1d29 18.block_settings .block_tree .active_tree_node {font-weight:bold;}
3406acde 19.jsenabled .block_settings .block_tree .tree_item.branch {cursor:pointer;}
0310e15f 20.jsenabled .block_settings .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty]]);background-position: 0 10%;background-repeat: no-repeat;}
3406acde
SH
21.jsenabled .block_settings .block_tree .collapsed ul {display: none;}
22.jsenabled .block_settings .block_tree .collapsed .tree_item.branch {background-image: url([[pix:t/collapsed]]);}
23
24/** Internet explorer specific rules **/
43c90b9b
RW
25.ie6 .block_settings .block_tree .tree_item {width:100%;}
26
27/** Overide for RTL layout **/
28.dir-rtl .block_settings .block_tree {padding-right:0px;}
11f87187
FM
29.dir-rtl .block_settings .block_tree li ul {padding-left:0;padding-right: 18px;}
30.dir-rtl .block_settings .block_tree .tree_item {padding-right: 21px; padding-left: 0; text-align:right;}
43c90b9b
RW
31.dir-rtl .block_settings .block_tree .tree_item.branch {background-position: center right;}
32.dir-rtl .block_settings .block_tree .root_node.leaf {padding-right:0px;}
11f87187 33.dir-rtl .block_settings .block_tree li.item_with_icon > p img { right: 0; left: auto;}
3d49e6ba 34.jsenabled .block_settings .block_tree .tree_item.branch.loadingbranch {background-image:url([[pix:i/loading_small]]);}
43c90b9b 35
006051fd 36.jsenabled.dir-rtl .block_settings .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty_rtl]]);background-position: center right;}
11f87187 37.jsenabled.dir-rtl .block_settings .block_tree .collapsed .tree_item.branch {background-image: url([[pix:t/collapsed_rtl]]);}