Merge branch 'MDL-58490-master' of git://github.com/lameze/moodle
[moodle.git] / blocks / navigation / styles.css
CommitLineData
0b2dc275
DP
1.block_navigation .block_tree .depth_1 > .tree_item.branch {
2 padding-left: 0;
3 background-image: none;
4}
5
6.block_navigation .block_tree .depth_1 > ul {
7 margin: 0;
8}
9
10.block_navigation .block_tree ul {
11 margin-left: 18px;
12}
13
14.block_navigation .block_tree p.hasicon {
15 text-indent: -21px;
16 padding-left: 21px;
17}
18
19.block_navigation .block_tree p.hasicon img {
20 width: 16px;
21 height: 16px;
22 margin-top: 3px;
23 margin-right: 5px;
24 vertical-align: top;
25}
26
27.block_navigation .block_tree p.hasicon.visibleifjs {
28 display: block;
29}
0043daf4 30
7a2999e9
FM
31.block_navigation .block_tree .tree_item {
32 cursor: pointer;
33 padding-left: 0;
34 margin: 3px 0;
35 background-position: 0 50%;
36 background-repeat: no-repeat;
37 word-wrap: break-word;
38}
0043daf4 39
0b2dc275
DP
40.block_navigation .block_tree .tree_item.branch {
41 padding-left: 21px;
42}
43
44.block_navigation .block_tree .active_tree_node {
45 font-weight: bold;
46}
47
48.block_navigation .block_tree [aria-expanded="true"] {
49 background-image: url('[[pix:t/expanded]]');
50}
51
52.block_navigation .block_tree [aria-expanded="false"] {
53 background-image: url('[[pix:t/collapsed]]');
54}
55
56.block_navigation .block_tree [aria-expanded="true"].emptybranch {
57 background-image: url('[[pix:t/collapsed_empty]]');
58}
59
60.block_navigation .block_tree [aria-expanded="false"].loading {
61 background-image: url('[[pix:i/loading_small]]');
62}
0043daf4 63
ed7844b5
FM
64/*rtl:raw:
65.block_navigation .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');}
66.block_navigation .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');}
67.block_navigation .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
68*/
0043daf4 69
0b2dc275
DP
70.block_navigation .block_tree [aria-hidden="false"] {
71 display: block;
72}
73
74.block_navigation .block_tree [aria-hidden="true"] {
75 display: none;
76}