MDL-50015 mod_imscp: New WS mod_imscp_view_imscp
[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 48/* toc style NONE */
bdb66a46
FM
49.path-mod-book .book_toc_none ul ul,
50.dir-rtl.path-mod-book .book_toc_none ul ul {
51 margin-left: 0;
52 margin-right: 0;
53}
02039379 54
02039379 55/*toc style BULLETS */
fb909757 56.path-mod-book .book_toc_bullets ul ul {
02039379 57 margin-left: 20px;
02039379 58}
bdb66a46
FM
59.dir-rtl.path-mod-book .book_toc_bullets ul ul {
60 margin-left: 0;
61 margin-right: 20px;
02039379 62}
fb909757 63.path-mod-book .book_toc_bullets li li {
02039379
PS
64 list-style: circle;
65}
66
5f9ff790
BO
67.path-mod-book .book_toc_bullets li li:before {
68 display: none;
69}
70
02039379 71/* toc style INDENTED*/
fb909757 72.path-mod-book .book_toc_indented ul {
02039379 73 margin-left: 5px;
bdb66a46
FM
74}
75.dir-rtl.path-mod-book .book_toc_indented ul {
76 margin-left: 0;
77 margin-right: 5px;
02039379 78}
fb909757 79.path-mod-book .book_toc_indented ul ul {
02039379 80 margin-left: 15px;
02039379 81}
bdb66a46
FM
82.dir-rtl.path-mod-book .book_toc_indented ul ul {
83 margin-left: 0;
84 margin-right: 15px;
02039379 85}
fb909757 86.path-mod-book .book_toc_indented li li {
02039379
PS
87 list-style: none;
88}
f4de8461
DB
89
90/* Text style links */
91.navtop.navtext .chaptername,
92.navbottom.navtext .chaptername {
93 font-weight: bolder;
94}
95.navtop.navtext a,
96.navbottom.navtext a {
97 display: inline-block;
98 max-width: 45%;
99}
100.navtop.navtext a.bookprev,
101.navbottom.navtext a.bookprev {
102 float: left;
103 text-align: left;
104}
105.dir-rtl .navtop.navtext a.bookprev,
106.dir-rtl .navbottom.navtext a.bookprev {
107 float: right;
108 text-align: right;
109}
110
111@media (max-width: 480px) {
112 .path-mod-book .navbottom,
113 .path-mod-book .navtop,
114 .dir-rtl.path-mod-book .navbottom,
115 .dir-rtl.path-mod-book .navtop {
116 text-align: center;
117 }
118 .navtop.navtext a,
119 .navbottom.navtext a {
120 display: block;
121 max-width: 100%;
122 margin: auto;
123 }
124 .navtop.navtext a.bookprev,
125 .navbottom.navtext a.bookprev,
126 .dir-rtl .navtop.navtext a.bookprev,
127 .dir-rtl .navbottom.navtext a.bookprev {
128 float: none;
129 }
130}