source: documentation/trunk/packages/templates/greenstone-monobook/static/3rd/dokuwiki/_toc.css@ 30114

Last change on this file since 30114 was 30114, checked in by jmt12, 9 years ago

Updated Greenstone customizations for Detritus, but rearranged to move into separate plugin. Initial checkin of plugins, template, special wiki pages.

File size: 3.5 KB
Line 
1/* ATTENTION: This file was edited for the "monobook template for DokuWiki".
2 - All url(images/[...]) rules where changed.
3 See 00_starter-tmpl-notes.txt for details. */
4
5/**
6 * This file provides styles for the TOC (table of contents), the
7 * sitemap (?do=index) and backlinks (?do=backlink).
8 */
9
10/* toc
11********************************************************************/
12
13/* toc container */
14.dokuwiki div.toc, /* old, until 2012-01-25 */
15#dw__toc /* new */ {
16 float: right;
17 margin: 0 0 1.4em 1.4em;
18 width: 200px; /*12em;*/
19 background-color: __background__;
20 color: inherit;
21}
22[dir=rtl] .dokuwiki div.toc, /* old, until 2012-01-25 */
23[dir=rtl] #dw__toc /* new */ {
24 float: left;
25 margin: 0 1.4em 1.4em 0;
26}
27
28/*____________ toc header ____________*/
29
30.dokuwiki div.tocheader, /* old */
31#dw__toc h3 /* new */ {
32 padding: .2em .5em;
33 font-weight: bold;
34 margin-bottom: 0;
35 font-size: 1em;
36 text-indent: initial;
37}
38
39/* More specific than overriding h3 style - jmt12 */
40div#content .dokuwiki div#dw__toc h3 {
41 background-color: __background_alt__;
42 border: 1px solid #8CACBB;
43 font-size: 80%;
44}
45
46.dokuwiki .toc span.toc_open, /* old */
47.dokuwiki .toc span.toc_close, /* old */
48#dw__toc h3 strong /* new */ {
49 float: right;
50 margin: 0 .2em;
51 line-height: 1;
52}
53[dir=rtl] .dokuwiki .toc span.toc_open, /* old */
54[dir=rtl] .dokuwiki .toc span.toc_close, /* old */
55[dir=rtl] #dw__toc h3 strong /* new */ {
56 float: left;
57}
58
59/*____________ toc list ____________*/
60
61.dokuwiki #toc__inside,
62#dw__toc > div {
63 padding: 0px; /*.2em .5em;*/
64 border:1px solid #8CACBB;
65}
66.dokuwiki #toc__inside ul, /* old */
67#dw__toc ul /* new */ {
68 padding: 0;
69 margin: 0;
70}
71.dokuwiki #toc__inside ul li, /* old */
72#dw__toc ul li /* new */ {
73 list-style: none;
74 padding: 0;
75 margin: 0;
76 line-height: 1.1;
77}
78.dokuwiki #toc__inside ul li div.li, /* old */
79#dw__toc ul li div.li /* new */ {
80 padding: .15em 0;
81 font-size: 80%;
82}
83.dokuwiki #toc__inside ul ul, /* old */
84#dw__toc ul ul /* new */ {
85 padding-left: 1em;
86}
87[dir=rtl] .dokuwiki #toc__inside ul ul, /* old */
88[dir=rtl] #dw__toc ul ul /* new */ {
89 padding-left: 0;
90 padding-right: 1em;
91}
92.dokuwiki #toc__inside ul ul li, /* old */
93#dw__toc ul ul li /* new */ {
94}
95.dokuwiki #toc__inside ul li a, /* old */
96#dw__toc ul li a /* new */ {
97}
98
99/* in case of toc list jumping one level
100 (e.g. if heading level 3 follows directly after heading level 1) */
101.dokuwiki #toc__inside ul li.clear, /* old */
102#dw__toc ul li.clear /* new */ {
103}
104
105
106/* sitemap (and backlinks)
107********************************************************************/
108
109.dokuwiki ul.idx {
110 padding-left: 0;
111}
112[dir=rtl] .dokuwiki ul.idx {
113 padding-right: 0;
114}
115.dokuwiki ul.idx li {
116 list-style-image: url(static/3rd/dokuwiki/bullet.png);
117 /*
118 @deprecated, change since Adora Belle:
119 list-style-image: url(../../images/bullet.png);
120 */
121}
122.dokuwiki ul.idx li.open {
123 list-style-image: url(static/3rd/dokuwiki/open.png);
124 /*
125 @deprecated, change since Adora Belle:
126 list-style-image: url(../../images/open.png);
127 */
128}
129.dokuwiki ul.idx li.closed {
130 list-style-image: url(static/3rd/dokuwiki/closed.png);
131 /*
132 @deprecated, change since Adora Belle:
133 list-style-image: url(../../images/closed.png);
134 */
135}
136[dir=rtl] .dokuwiki ul.idx li.closed {
137 list-style-image: url(static/3rd/dokuwiki/closed-rtl.png);
138 /*
139 @deprecated, change since Adora Belle:
140 list-style-image: url(../../images/closed-rtl.png);
141 */
142}
Note: See TracBrowser for help on using the repository browser.