2c6e451393777e9a172ec3c772c595f80a81ef0f
[moodle.git] / blocks / settings / styles.css
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;}
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;}
9 .block_settings .block_tree li ul {padding-left:18px;margin:0;}
11 .block_settings .block_tree li.item_with_icon > p {position:relative;}
12 .block_settings .block_tree li.item_with_icon > p img {vertical-align:middle;position:absolute;left:0;top:-1px; width: 16px; height: 16px;}
14 .block_settings .block_tree .tree_item {padding-left: 21px;margin:3px 0px;text-align:left;}
16 .block_settings .block_tree .tree_item.branch {background-image: url([[pix:t/expanded]]);background-position: 0 10%;background-repeat: no-repeat;}
17 .block_settings .block_tree .root_node.leaf {padding-left:0px;}
18 .block_settings .block_tree .active_tree_node {font-weight:bold;}
19 .jsenabled .block_settings .block_tree .tree_item.branch {cursor:pointer;}
20 .jsenabled .block_settings .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty]]);background-position: 0 10%;background-repeat: no-repeat;}
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]]);}
24 /** Internet explorer specific rules **/
25 .ie6 .block_settings .block_tree .tree_item {width:100%;}
27 /** Overide for RTL layout **/
28 .dir-rtl .block_settings .block_tree {padding-right:0px;}
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;}
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;}
33 .dir-rtl .block_settings .block_tree li.item_with_icon > p img { right: 0; left: auto;}
35 .jsenabled.dir-rtl .block_settings .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty_rtl]]);background-position: center right;}
36 .jsenabled.dir-rtl .block_settings .block_tree .collapsed .tree_item.branch {background-image: url([[pix:t/collapsed_rtl]]);}