MDL-36449 usability: Improved renaming toolbox and alignment on course page
[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;}
9.block_settings .block_tree li ul {padding-left:16px;margin:0;}
7081714d
SH
10
11.block_settings .block_tree li.item_with_icon > p {position:relative;}
32ee9fe4 12.block_settings .block_tree li.item_with_icon > p img {vertical-align:middle;position:absolute;left:0;top:-1px}
7081714d
SH
13
14.block_settings .block_tree .tree_item {padding-left: 18px;margin:3px 0px;text-align:left;}
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;}
b41fc49c
NK
29.dir-rtl .block_settings .block_tree li ul {padding-left:0;padding-right: 7px;}
30.dir-rtl .block_settings .block_tree li.item_with_icon > p img,
31.dir-rtl .block_navigation .block_tree .type_activity > .tree_item.branch img {left:auto;right:0;}
43c90b9b
RW
32.dir-rtl .block_settings .block_tree .tree_item {padding-right: 18px;text-align:right;}
33.dir-rtl .block_settings .block_tree .tree_item.branch {background-position: center right;}
34.dir-rtl .block_settings .block_tree .root_node.leaf {padding-right:0px;}
35
006051fd
SH
36.jsenabled.dir-rtl .block_settings .block_tree .tree_item.emptybranch {background-image: url([[pix:t/collapsed_empty_rtl]]);background-position: center right;}
37.jsenabled.dir-rtl .block_settings .block_tree .collapsed .tree_item.branch {background-image: url([[pix:t/collapsed_rtl]]);}