1/**
2 * codologic css
3 *
4 * @link     http://codologic.com
5 *
6 * Author: Avinash D'Silva <avinash.roshan.dsilva@gmail.com|codologic.com>
7 *
8 * Previous Authors:
9 * @author   Anika Henke <anika@selfthinker.org>
10 * @author   Clarence Lee <clarencedglee@gmail.com>
11 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
12 */
13
14/*____________ section indenting ____________
15
16.dokuwiki .page  h1 {margin-left: 0;}
17.dokuwiki .page  h2 {margin-left: .666em;}
18.dokuwiki .page  h3 {margin-left: 1.776em;}
19.dokuwiki .page  h4 {margin-left: 3em;}
20.dokuwiki .page  h5 {margin-left: 4.5712em;}
21.dokuwiki .page  div.level1 {margin-left: 0;}
22.dokuwiki .page  div.level2 {margin-left: 1em;}
23.dokuwiki .page  div.level3 {margin-left: 2em;}
24.dokuwiki .page  div.level4 {margin-left: 3em;}
25.dokuwiki .page  div.level5 {margin-left: 4em;}
26
27[dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
28[dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
29[dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
30[dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
31[dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
32[dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
33[dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
34[dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
35[dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
36[dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
37*/
38/* hx margin-left = (1 / font-size) * .levelx-margin */
39
40/*____________ links to wiki pages (addition to _links) ____________*/
41
42/* existing wikipage */
43.dokuwiki a.wikilink1 {
44    color: #2b73b7;
45    background-color: inherit;
46}
47
48/* not existing wikipage */
49.dokuwiki a.wikilink2 {
50    color: @ini_missing;
51    background-color: inherit;
52}
53
54/*____________ images ____________*/
55
56/* embedded images (styles are already partly set in lib/styles/all.css) */
57.dokuwiki img.media {
58    margin: .2em 0;
59}
60
61.dokuwiki img.medialeft {
62    margin: .2em 1em .2em 0;
63}
64
65.dokuwiki img.mediaright {
66    margin: .2em 0 .2em 1em;
67}
68
69.dokuwiki img.mediacenter {
70    margin: .2em auto;
71}
72
73/*____________ lists ____________*/
74
75#dokuwiki__content ul li,
76#dokuwiki__aside ul li {
77    color: @ini_text_alt;
78}
79
80#dokuwiki__content ol li,
81#dokuwiki__aside ol li {
82    color: @ini_text_neu;
83}
84
85#dokuwiki__content li .li,
86#dokuwiki__aside li .li {
87    color: @ini_text;
88}
89
90/*____________ tables ____________*/
91
92/* div around each table */
93.dokuwiki div.table {
94    overflow-x: auto;
95    margin-bottom: 1.4em;
96}
97
98.dokuwiki div.table table {
99    margin-bottom: 0;
100}
101
102.dokuwiki table.inline {
103    min-width: 50%;
104}
105
106.dokuwiki table.inline tr:hover td {
107    background-color: @ini_background_alt;
108}
109
110.dokuwiki table.inline tr:hover th {
111    background-color: @ini_border;
112}
113
114/*____________ code ____________*/
115
116/* fix if background-color hides underlining */
117.dokuwiki em.u code {
118    text-decoration: underline;
119}
120
121/* filenames for downloadable file and code blocks */
122.dokuwiki dl.code,
123.dokuwiki dl.file {
124    dt {
125        background-color: @ini_background_site;
126        .linear-gradient(~"top, @{ini_background_alt} 0%, @{ini_background_site} 100%");
127        color: inherit;
128        border: 1px solid @ini_border;
129        border-bottom-color: @ini_background_site;
130        border-top-left-radius: .3em;
131        border-top-right-radius: .3em;
132        padding: .3em .6em .1em;
133        margin-bottom: -1px;
134        float: left;
135
136        a {
137            background-color: transparent;
138            font-size: 0.875em;
139            font-weight: normal;
140            display: block;
141            min-height: 16px;
142        }
143    }
144
145    dd {
146        margin: 0;
147        clear: left;
148        min-height: 1px; /* for IE7 */
149    }
150
151    pre {
152        box-shadow: inset -4px -4px .5em -.3em @ini_border;
153    }
154}
155
156[dir=rtl] .dokuwiki dl.code,
157[dir=rtl] .dokuwiki dl.file {
158    dt {
159        float: right;
160    }
161
162    dd {
163        clear: right;
164    }
165}
166
167/* for code in <file> */
168.dokuwiki dl.file {
169    pre,
170    dt {
171        border-style: dashed;
172    }
173    dt {
174        border-bottom-style: solid;
175    }
176}
177
178/*____________ JS popup ____________*/
179
180.JSpopup {
181    background-color: @ini_background;
182    color: @ini_text;
183    border: 1px solid @ini_border;
184    box-shadow: .1em .1em .1em @ini_border;
185    border-radius: 2px;
186    padding: .3em .5em;
187    font-size: .9em;
188}
189
190.dokuwiki form.search div.ajax_qsearch {
191    top: -.35em;
192    font-size: 1em;
193    text-overflow: ellipsis;
194}
195
196.JSpopup ul,
197.JSpopup ol {
198    padding-left: 0;
199}
200
201[dir=rtl] .JSpopup ul,
202[dir=rtl] .JSpopup ol {
203    padding-right: 0;
204}
205
206/* changes to underscored CSS files
207********************************************************************/
208
209#acl__tree li {
210    margin: 0;
211}
212
213#dokuwiki__content span.curid a {
214    font-weight: normal;
215}
216
217#dokuwiki__content strong span.curid a {
218    font-weight: bold;
219}
220
221/*____________ changes to _edit ____________*/
222
223.dokuwiki div.toolbar {
224    button.toolbutton {
225        border-radius: 0;
226        border-left-width: 0;
227        padding: .1em .35em;
228    }
229
230    button.toolbutton:first-child {
231        border-top-left-radius: 4px;
232        border-bottom-left-radius: 4px;
233        border-left-width: 1px;
234    }
235
236    button.toolbutton:last-child {
237        border-top-right-radius: 4px;
238        border-bottom-right-radius: 4px;
239    }
240}
241
242[dir=rtl] .dokuwiki div.toolbar {
243    button.toolbutton:last-child {
244        border-top-left-radius: 4px;
245        border-bottom-left-radius: 4px;
246        border-top-right-radius: 0;
247        border-bottom-right-radius: 0;
248        border-left-width: 1px;
249    }
250
251    button.toolbutton:first-child {
252        border-top-left-radius: 0;
253        border-bottom-left-radius: 0;
254        border-top-right-radius: 4px;
255        border-bottom-right-radius: 4px;
256        border-left-width: 0;
257        border-right-width: 1px;
258    }
259}
260
261.dokuwiki div.section_highlight {
262    margin: 0 -2em;
263    padding: 0 1em;
264    border-width: 0 1em;
265}
266
267.dokuwiki textarea.edit {
268    font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
269}
270
271.dokuwiki div.preview {
272    margin: 0 -2em;
273    padding: 0 2em;
274}
275
276.dokuwiki.hasSidebar div.preview {
277    border-right: @ini_sidebar_width solid @ini_background_alt;
278}
279
280[dir=rtl] .dokuwiki.hasSidebar div.preview {
281    border-right-width: 0;
282    border-left: @ini_sidebar_width solid @ini_background_alt;
283}
284
285.dokuwiki div.preview div.pad {
286    padding: 1.556em 0 2em;
287}
288
289/*____________ changes to _toc ____________*/
290
291#dw__toc {
292    margin: -1.556em -2em .5em 1.4em;
293    width: @ini_sidebar_width;
294    border-left: 1px solid @ini_border;
295    background: @ini_background;
296    color: inherit;
297}
298
299[dir=rtl] #dw__toc {
300    margin: -1.556em 1.4em .5em -2em;
301    border-left-width: 0;
302    border-right: 1px solid @ini_border;
303}
304
305.dokuwiki h3.toggle {
306    padding: .5em 1em;
307    margin-bottom: 0;
308    font-size: .875em;
309    letter-spacing: .1em;
310}
311
312#dokuwiki__aside h3.toggle {
313    display: none;
314}
315
316.dokuwiki .toggle strong {
317    background: transparent url(images/toc-arrows.png) 0 0;
318    width: 8px;
319    height: 5px;
320    margin: .4em 0 0;
321}
322
323.dokuwiki .toggle.closed strong {
324    background-position: 0 -5px;
325}
326
327.dokuwiki .toggle strong span {
328    display: none;
329}
330
331#dw__toc {
332    > div {
333        font-size: 0.875em;
334        padding: .5em 1em 1em;
335    }
336
337    ul {
338        padding: 0 0 0 1.2em;
339
340        li {
341            list-style-image: url(images/toc-bullet.png);
342        }
343    }
344
345    ul li.clear {
346        list-style: none;
347    }
348
349    ul li div.li {
350        padding: .2em 0;
351    }
352}
353
354[dir=rtl] #dw__toc ul {
355    padding: 0 1.5em 0 0;
356}
357
358/*____________ changes to _imgdetail ____________*/
359
360#dokuwiki__detail {
361    padding: 0;
362
363    img {
364        float: none;
365        margin-bottom: 1.4em;
366    }
367
368    div.img_detail {
369        float: none;
370    }
371
372    div.img_detail dl {
373        overflow: hidden;
374    }
375
376    div.img_detail dl dt {
377        float: left;
378        width: 9em;
379        text-align: right;
380        clear: left;
381    }
382
383    div.img_detail dl dd {
384        margin-left: 9.5em;
385    }
386}
387
388[dir=rtl] #dokuwiki__detail div.img_detail {
389    dl dt {
390        float: right;
391        text-align: left;
392        clear: right;
393    }
394
395    dl dd {
396        margin-left: 0;
397        margin-right: 9.5em;
398    }
399}
400