MDL-47230 mod_book: Sub chapter bullet formatting
[moodle.git] / mod / book / styles.css
CommitLineData
02039379 1
bdb66a46 2.path-mod-book .navtop img.icon,
d8a6d49c 3.path-mod-book .navbottom img.icon {
8cb50b2a
PS
4 margin-right: 4px;
5 margin-left: 4px;
bdb66a46
FM
6 border: 0;
7 padding: 0;
dab784a3
PS
8}
9
bdb66a46
FM
10
11.path-mod-book .navbottom,
5b7e511e 12.path-mod-book .navtop {
8cb50b2a 13 text-align: right;
c6d2eda2 14}
bdb66a46
FM
15.dir-rtl.path-mod-book .navbottom,
16.dir-rtl.path-mod-book .navtop {
17 text-align: left;
18}
19.path-mod-book .navtop {
20 margin-bottom: 0.5em;
c6d2eda2 21}
f4de8461
DB
22.path-mod-book .navbottom {
23 margin-top: 0.5em;
24}
c6d2eda2 25
8cb50b2a 26/* == Fake toc block == */
c6d2eda2 27
bdb66a46
FM
28.path-mod-book .block_book_toc ul {
29 margin: 0 0 0 5px;
30 padding-left: 0;
31 padding-right: 0;
32}
33.dir-rtl.path-mod-book .block_book_toc ul { margin: 0 5px 0 0; }
34.path-mod-book .block_book_toc li {
35 clear: both;
02039379 36 list-style: none;
bdb66a46 37 margin-top: .5em;
02039379 38}
bdb66a46 39.path-mod-book .block_book_toc li li {
02039379
PS
40 list-style: none;
41}
bdb66a46
FM
42.path-mod-book .block_book_toc .action-list { float: right; }
43.dir-rtl.path-mod-book .block_book_toc .action-list { float: left; }
44.path-mod-book .block_book_toc .action-list img.smallicon {
45 margin: 0 3px;
46}
02039379 47
bdb66a46
FM
48/* toc style NONE */
49.path-mod-book .book_toc_none {
50 font-size: 0.8em;
51}
52.path-mod-book .book_toc_none ul ul,
53.dir-rtl.path-mod-book .book_toc_none ul ul {
54 margin-left: 0;
55 margin-right: 0;
56}
02039379 57
02039379 58/*toc style BULLETS */
fb909757 59.path-mod-book .book_toc_bullets {
c6d2eda2
PS
60 font-size: 0.8em;
61}
fb909757 62.path-mod-book .book_toc_bullets ul ul {
02039379 63 margin-left: 20px;
02039379 64}
bdb66a46
FM
65.dir-rtl.path-mod-book .book_toc_bullets ul ul {
66 margin-left: 0;
67 margin-right: 20px;
02039379 68}
fb909757 69.path-mod-book .book_toc_bullets li li {
02039379
PS
70 list-style: circle;
71}
72
5f9ff790
BO
73.path-mod-book .book_toc_bullets li li:before {
74 display: none;
75}
76
02039379 77/* toc style INDENTED*/
fb909757 78.path-mod-book .book_toc_indented {
c6d2eda2
PS
79 font-size: 0.8em;
80}
fb909757 81.path-mod-book .book_toc_indented ul {
02039379 82 margin-left: 5px;
bdb66a46
FM
83}
84.dir-rtl.path-mod-book .book_toc_indented ul {
85 margin-left: 0;
86 margin-right: 5px;
02039379 87}
fb909757 88.path-mod-book .book_toc_indented ul ul {
02039379 89 margin-left: 15px;
02039379 90}
bdb66a46
FM
91.dir-rtl.path-mod-book .book_toc_indented ul ul {
92 margin-left: 0;
93 margin-right: 15px;
02039379 94}
fb909757 95.path-mod-book .book_toc_indented li li {
02039379
PS
96 list-style: none;
97}
f4de8461
DB
98
99/* Text style links */
100.navtop.navtext .chaptername,
101.navbottom.navtext .chaptername {
102 font-weight: bolder;
103}
104.navtop.navtext a,
105.navbottom.navtext a {
106 display: inline-block;
107 max-width: 45%;
108}
109.navtop.navtext a.bookprev,
110.navbottom.navtext a.bookprev {
111 float: left;
112 text-align: left;
113}
114.dir-rtl .navtop.navtext a.bookprev,
115.dir-rtl .navbottom.navtext a.bookprev {
116 float: right;
117 text-align: right;
118}
119
120@media (max-width: 480px) {
121 .path-mod-book .navbottom,
122 .path-mod-book .navtop,
123 .dir-rtl.path-mod-book .navbottom,
124 .dir-rtl.path-mod-book .navtop {
125 text-align: center;
126 }
127 .navtop.navtext a,
128 .navbottom.navtext a {
129 display: block;
130 max-width: 100%;
131 margin: auto;
132 }
133 .navtop.navtext a.bookprev,
134 .navbottom.navtext a.bookprev,
135 .dir-rtl .navtop.navtext a.bookprev,
136 .dir-rtl .navbottom.navtext a.bookprev {
137 float: none;
138 }
139}