|
|
@ -1,14 +1,11 @@ |
|
|
|
/* TODO */ |
|
|
|
|
|
|
|
/** |
|
|
|
* This file provides layout and design corrections for right-to-left |
|
|
|
* languages. |
|
|
|
* |
|
|
|
* @author Andreas Gohr <andi@splitbrain.org> |
|
|
|
* @author Dotan Kamber <kamberd@yahoo.com> |
|
|
|
* @author Anika Henke <anika@selfthinker.org> |
|
|
|
*/ |
|
|
|
|
|
|
|
/*..... new code ........................................................................*/ |
|
|
|
/*____________ basic ____________*/ |
|
|
|
|
|
|
|
body, |
|
|
|
caption, |
|
|
@ -20,127 +17,282 @@ th { |
|
|
|
ul, ol { |
|
|
|
padding: 0 1.5em 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
li, dd { |
|
|
|
margin: 0 1.5em 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
blockquote { |
|
|
|
border-width: 0 .25em 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6, |
|
|
|
caption, legend { |
|
|
|
clear: right; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*..... @todo: old code ........................................................................*/ |
|
|
|
/*____________ structure ____________*/ |
|
|
|
|
|
|
|
.bar-left { |
|
|
|
#dokuwiki__header .headings { |
|
|
|
float: right; |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
|
|
|
|
.bar-right { |
|
|
|
#dokuwiki__header .tools { |
|
|
|
float: left; |
|
|
|
text-align: left; |
|
|
|
} |
|
|
|
|
|
|
|
.pagename { |
|
|
|
.mode_show #dokuwiki__aside { |
|
|
|
float: right; |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
#dokuwiki__aside .pad { |
|
|
|
margin: 0 0 0 1.5em; |
|
|
|
} |
|
|
|
|
|
|
|
.logo { |
|
|
|
.mode_show #dokuwiki__content { |
|
|
|
float: left; |
|
|
|
text-align: left; |
|
|
|
margin-left: 0; |
|
|
|
margin-right: -16em; |
|
|
|
} |
|
|
|
.mode_show #dokuwiki__content .pad { |
|
|
|
margin-left: 0; |
|
|
|
margin-right: 16em; |
|
|
|
} |
|
|
|
|
|
|
|
label { |
|
|
|
text-align: left; |
|
|
|
/*____________ design ____________*/ |
|
|
|
|
|
|
|
#dokuwiki__header form.search #qsearch__in { |
|
|
|
margin-right: 0; |
|
|
|
margin-left: .5em; |
|
|
|
} |
|
|
|
|
|
|
|
label.simple { |
|
|
|
text-align: right; |
|
|
|
#dokuwiki__aside ul, #dokuwiki__aside ol { |
|
|
|
padding-right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
div.meta div.user { |
|
|
|
float: right |
|
|
|
/*____________ content ____________*/ |
|
|
|
|
|
|
|
/* section indenting |
|
|
|
.dokuwiki h1 {margin-left: 0; margin-right: 0;} |
|
|
|
.dokuwiki h2 {margin-left: 0; margin-right: .666em;} |
|
|
|
.dokuwiki h3 {margin-left: 0; margin-right: 1.776em;} |
|
|
|
.dokuwiki h4 {margin-left: 0; margin-right: 3em;} |
|
|
|
.dokuwiki h5 {margin-left: 0; margin-right: 4.5712em;} |
|
|
|
.dokuwiki div.level1 {margin-left: 0; margin-right: 0;} |
|
|
|
.dokuwiki div.level2 {margin-left: 0; margin-right: 1em;} |
|
|
|
.dokuwiki div.level3 {margin-left: 0; margin-right: 2em;} |
|
|
|
.dokuwiki div.level4 {margin-left: 0; margin-right: 3em;} |
|
|
|
.dokuwiki div.level5 {margin-left: 0; margin-right: 4em;} |
|
|
|
*/ |
|
|
|
|
|
|
|
.dokuwiki dl.code dt, |
|
|
|
.dokuwiki dl.file dt { |
|
|
|
margin-left: 0; |
|
|
|
margin-right: 1em; |
|
|
|
} |
|
|
|
|
|
|
|
div.meta div.doc { |
|
|
|
text-align: left; |
|
|
|
.JSpopup ul, |
|
|
|
.JSpopup ol { |
|
|
|
padding-right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
/* ------------------ Design corrections --------------------------------- */ |
|
|
|
|
|
|
|
div.dokuwiki ul, |
|
|
|
div.dokuwiki ol { |
|
|
|
margin: 0.5em 1.5em 0.5em 0; |
|
|
|
/*____________ _imgdetail ____________*/ |
|
|
|
|
|
|
|
#dokuwiki__detail div.content img { |
|
|
|
float: right; |
|
|
|
margin-right: 0; |
|
|
|
margin-left: 1.5em; |
|
|
|
} |
|
|
|
#dokuwiki__detail div.content div.img_detail { |
|
|
|
float: right |
|
|
|
} |
|
|
|
|
|
|
|
div.dokuwiki a.urlextern, |
|
|
|
div.dokuwiki a.interwiki, |
|
|
|
div.dokuwiki a.windows, |
|
|
|
div.dokuwiki a.mail, |
|
|
|
div.dokuwiki a.mail.JSnocheck { |
|
|
|
/* should work but doesn't - so we just disable icons here*/ |
|
|
|
/* |
|
|
|
background-position: right 1px; |
|
|
|
padding-right: 16px; |
|
|
|
*/ |
|
|
|
background-image: none !important; |
|
|
|
padding: 0px 0px 0px 0px; |
|
|
|
|
|
|
|
/*____________ _mediamanager ____________*/ |
|
|
|
|
|
|
|
#mediamgr__aside { |
|
|
|
left: auto; |
|
|
|
right: 0; |
|
|
|
border-right-width: 0; |
|
|
|
border-left: 1px solid __border__; |
|
|
|
} |
|
|
|
#mediamgr__content { |
|
|
|
right: auto; |
|
|
|
left: 0; |
|
|
|
} |
|
|
|
|
|
|
|
div.dokuwiki div.secedit input.button { |
|
|
|
float: left; |
|
|
|
#media__opts input { |
|
|
|
margin-right: 0; |
|
|
|
margin-left: .3em; |
|
|
|
} |
|
|
|
|
|
|
|
/* headlines */ |
|
|
|
div.dokuwiki h1, div.dokuwiki h2, div.dokuwiki h3, div.dokuwiki h4, div.dokuwiki h5 { |
|
|
|
#media__tree ul { |
|
|
|
padding-left: 0; |
|
|
|
padding-right: .2em; |
|
|
|
} |
|
|
|
#media__tree ul li { |
|
|
|
clear: right; |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
#media__tree ul li img { |
|
|
|
float: right; |
|
|
|
padding: .5em 0 0 .3em; |
|
|
|
} |
|
|
|
#media__tree ul li li { |
|
|
|
margin-left: 0; |
|
|
|
margin-right: 1.5em; |
|
|
|
} |
|
|
|
|
|
|
|
/* special headlines */ |
|
|
|
div.dokuwiki h1 {margin-left: 0px; margin-right: 0px;} |
|
|
|
div.dokuwiki h2 {margin-left: 0px; margin-right: 20px;} |
|
|
|
div.dokuwiki h3 {margin-left: 0px; margin-right: 40px;} |
|
|
|
div.dokuwiki h4 {margin-left: 0px; margin-right: 60px;} |
|
|
|
div.dokuwiki h5 {margin-left: 0px; margin-right: 80px;} |
|
|
|
#media__content a.mediafile { |
|
|
|
margin-right: 0; |
|
|
|
margin-left: 1.5em; |
|
|
|
} |
|
|
|
#media__content div.detail div.thumb { |
|
|
|
float: right; |
|
|
|
margin: 0 18px 0 .5em; |
|
|
|
} |
|
|
|
#media__content form.meta div.metafield { |
|
|
|
clear: right; |
|
|
|
} |
|
|
|
#media__content form.meta label { |
|
|
|
float: right; |
|
|
|
clear: right; |
|
|
|
} |
|
|
|
#media__content form.meta .edit { |
|
|
|
float: right; |
|
|
|
} |
|
|
|
#media__content form.meta div.buttons { |
|
|
|
clear: right; |
|
|
|
margin: .2em 25% 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
/* indent different sections */ |
|
|
|
div.dokuwiki div.level1 {margin-left: 0px; margin-right: 3px;} |
|
|
|
div.dokuwiki div.level2 {margin-left: 0px; margin-right: 23px;} |
|
|
|
div.dokuwiki div.level3 {margin-left: 0px; margin-right: 43px;} |
|
|
|
div.dokuwiki div.level4 {margin-left: 0px; margin-right: 63px;} |
|
|
|
div.dokuwiki div.level5 {margin-left: 0px; margin-right: 83px;} |
|
|
|
|
|
|
|
/* TOC control */ |
|
|
|
div.dokuwiki div.toc { |
|
|
|
/*____________ _links ____________*/ |
|
|
|
|
|
|
|
/* if link icons don't work as expected, remove the following lines */ |
|
|
|
.dokuwiki a.urlextern, |
|
|
|
.dokuwiki a.windows, |
|
|
|
.dokuwiki a.mail, |
|
|
|
.dokuwiki a.interwiki, |
|
|
|
.dokuwiki a.mediafile { |
|
|
|
background-position: right center; |
|
|
|
padding: 0 17px 0 0; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*____________ _toc ____________*/ |
|
|
|
|
|
|
|
.dokuwiki div.toc { |
|
|
|
float: left; |
|
|
|
margin: 0 1.4em 1.4em 0; |
|
|
|
} |
|
|
|
.dokuwiki .toc span.toc_open, |
|
|
|
.dokuwiki .toc span.toc_close { |
|
|
|
float: left; |
|
|
|
margin: 0 0 0 .2em; |
|
|
|
} |
|
|
|
.dokuwiki #toc__inside ul ul { |
|
|
|
padding-left: 0; |
|
|
|
padding-right: 1em; |
|
|
|
} |
|
|
|
.dokuwiki ul.idx { |
|
|
|
padding-right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*____________ _footnotes ____________*/ |
|
|
|
|
|
|
|
|
|
|
|
div.dokuwiki div.tocheader { |
|
|
|
/*____________ _search ____________*/ |
|
|
|
|
|
|
|
.dokuwiki div.search_quickresult ul li { |
|
|
|
float: right; |
|
|
|
} |
|
|
|
.dokuwiki form.search div.ajax_qsearch { |
|
|
|
left: auto; |
|
|
|
right: -13.5em; |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
|
|
|
|
div.dokuwiki #toc__inside { |
|
|
|
text-align: right; |
|
|
|
|
|
|
|
/*____________ _recent ____________*/ |
|
|
|
|
|
|
|
.dokuwiki #dw__recent ul li, |
|
|
|
.dokuwiki #page__revisions ul li { |
|
|
|
margin-right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
div.dokuwiki ul.toc { |
|
|
|
padding: 0; |
|
|
|
padding-right: 1em; |
|
|
|
|
|
|
|
/*____________ _diff ____________*/ |
|
|
|
|
|
|
|
|
|
|
|
/*____________ _edit ____________*/ |
|
|
|
|
|
|
|
.dokuwiki div.toolbar #draft__status { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
.dokuwiki #wiki__editbar #size__ctl { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
.dokuwiki #wiki__editbar #size__ctl img { |
|
|
|
cursor: pointer; |
|
|
|
} |
|
|
|
.dokuwiki #wiki__editbar .editButtons { |
|
|
|
margin-right: 0; |
|
|
|
margin-left: 1em; |
|
|
|
} |
|
|
|
|
|
|
|
div.dokuwiki ul.toc li { |
|
|
|
background-position: right 0.6em; |
|
|
|
padding-right:0.4em; |
|
|
|
direction: rtl; |
|
|
|
.dokuwiki .secedit { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
|
|
|
|
div.dokuwiki ul.toc li.clear { |
|
|
|
padding-right:0.4em; |
|
|
|
|
|
|
|
/*____________ _modal ____________*/ |
|
|
|
|
|
|
|
#link__wiz_close { |
|
|
|
float: left; |
|
|
|
} |
|
|
|
#link__wiz_result { |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
#link__wiz_result div.type_u, |
|
|
|
#link__wiz_result div.type_f, |
|
|
|
#link__wiz_result div.type_d { |
|
|
|
padding: 3px 22px 3px 3px; |
|
|
|
background-position: 257px 3px; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*____________ _forms ____________*/ |
|
|
|
|
|
|
|
div.dokuwiki pre { |
|
|
|
.dokuwiki label.block { |
|
|
|
text-align: left; |
|
|
|
} |
|
|
|
.dokuwiki label.simple { |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
|
|
|
|
form#subscribe__form fieldset { |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*____________ _admin ____________*/ |
|
|
|
|
|
|
|
.dokuwiki ul.admin_tasks { |
|
|
|
float: right; |
|
|
|
} |
|
|
|
.dokuwiki ul.admin_tasks li { |
|
|
|
padding-left: 0; |
|
|
|
padding-right: 35px; |
|
|
|
background-position: right 0; |
|
|
|
} |
|
|
|
|
|
|
|
.dokuwiki #admin__version { |
|
|
|
clear: right; |
|
|
|
float: left; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*____________ includes ____________*/ |
|
|
|
|
|
|
|
|