MDL-47230 mod_book: Sub chapter bullet formatting
[moodle.git] / mod / book / styles.css
2 .path-mod-book .navtop img.icon,
3 .path-mod-book .navbottom img.icon {
4   margin-right: 4px;
5   margin-left: 4px;
6   border: 0;
7   padding: 0;
8 }
11 .path-mod-book .navbottom,
12 .path-mod-book .navtop {
13     text-align: right;
14 }
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;
21 }
22 .path-mod-book .navbottom {
23     margin-top: 0.5em;
24 }
26 /* == Fake toc block == */
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;
36     list-style: none;
37     margin-top: .5em;
38 }
39 .path-mod-book .block_book_toc li li {
40     list-style: none;
41 }
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 }
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 }
58 /*toc style BULLETS */
59 .path-mod-book .book_toc_bullets {
60   font-size: 0.8em;
61 }
62 .path-mod-book .book_toc_bullets ul ul {
63     margin-left: 20px;
64 }
65 .dir-rtl.path-mod-book .book_toc_bullets ul ul {
66     margin-left: 0;
67     margin-right: 20px;
68 }
69 .path-mod-book .book_toc_bullets li li {
70     list-style: circle;
71 }
73 .path-mod-book .book_toc_bullets li li:before {
74     display: none;
75 }
77 /* toc style INDENTED*/
78 .path-mod-book .book_toc_indented {
79   font-size: 0.8em;
80 }
81 .path-mod-book .book_toc_indented ul {
82     margin-left: 5px;
83 }
84 .dir-rtl.path-mod-book .book_toc_indented ul {
85     margin-left: 0;
86     margin-right: 5px;
87 }
88 .path-mod-book .book_toc_indented ul ul {
89     margin-left: 15px;
90 }
91 .dir-rtl.path-mod-book .book_toc_indented ul ul {
92     margin-left: 0;
93     margin-right: 15px;
94 }
95 .path-mod-book .book_toc_indented li li {
96     list-style: none;
97 }
99 /* Text style links */
100 .navtop.navtext .chaptername,
101 .navbottom.navtext .chaptername {
102     font-weight: bolder;
104 .navtop.navtext a,
105 .navbottom.navtext a {
106     display: inline-block;
107     max-width: 45%;
109 .navtop.navtext a.bookprev,
110 .navbottom.navtext a.bookprev {
111     float: left;
112     text-align: left;
114 .dir-rtl .navtop.navtext a.bookprev,
115 .dir-rtl .navbottom.navtext a.bookprev {
116     float: right;
117     text-align: right;
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     }