From a9f735863005753ab8e2a3694a9c3f3bcb42be11 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Thu, 11 Oct 2012 23:14:00 +0100 Subject: [PATCH] removed template dependencies from underscored CSS files --- css/_links.css | 16 ++++++++++++---- css/_media_fullscreen.css | 4 ++++ css/_toc.css | 16 ++++++++++++++++ css/content.css | 18 ++++++++++++++++++ style.ini | 9 ++++----- 5 files changed, 54 insertions(+), 9 deletions(-) diff --git a/css/_links.css b/css/_links.css index c0c7e58..5b783b2 100644 --- a/css/_links.css +++ b/css/_links.css @@ -6,13 +6,9 @@ /* existing wikipage */ .dokuwiki a.wikilink1 { - color: __existing__; - background-color: inherit; } /* not existing wikipage */ .dokuwiki a.wikilink2 { - color: __missing__; - background-color: inherit; text-decoration: none; } .dokuwiki a.wikilink2:link, @@ -44,14 +40,26 @@ /* external link */ .dokuwiki a.urlextern { background-image: url(images/external-link.png); + /* + @deprecated, change since Adora Belle: + background-image: url(../../images/external-link.png); + */ } /* windows share */ .dokuwiki a.windows { background-image: url(images/unc.png); + /* + @deprecated, change since Adora Belle: + background-image: url(../../images/unc.png); + */ } /* email link */ .dokuwiki a.mail { background-image: url(images/email.png); + /* + @deprecated, change since Adora Belle: + background-image: url(../../images/email.png); + */ } /* icons of the following are set by dokuwiki in lib/exe/css.php */ diff --git a/css/_media_fullscreen.css b/css/_media_fullscreen.css index a5ee0f7..5f439c2 100644 --- a/css/_media_fullscreen.css +++ b/css/_media_fullscreen.css @@ -66,6 +66,10 @@ width: 6px; right: 2px; background: transparent url(images/resizecol.png) center center no-repeat; + /* + @deprecated, change since Adora Belle: + background: transparent url(../../images/resizecol.png) center center no-repeat; + */ } #mediamanager__page .ui-resizable-e:hover { background-color: __background_alt__; diff --git a/css/_toc.css b/css/_toc.css index 92daf16..68eafba 100644 --- a/css/_toc.css +++ b/css/_toc.css @@ -100,13 +100,29 @@ } .dokuwiki ul.idx li { list-style-image: url(images/bullet.png); + /* + @deprecated, change since Adora Belle: + list-style-image: url(../../images/bullet.png); + */ } .dokuwiki ul.idx li.open { list-style-image: url(images/open.png); + /* + @deprecated, change since Adora Belle: + list-style-image: url(../../images/open.png); + */ } .dokuwiki ul.idx li.closed { list-style-image: url(images/closed.png); + /* + @deprecated, change since Adora Belle: + list-style-image: url(../../images/closed.png); + */ } [dir=rtl] .dokuwiki ul.idx li.closed { list-style-image: url(images/closed-rtl.png); + /* + @deprecated, change since Adora Belle: + list-style-image: url(../../images/closed-rtl.png); + */ } diff --git a/css/content.css b/css/content.css index 6bbfaf9..7f158a3 100644 --- a/css/content.css +++ b/css/content.css @@ -33,6 +33,20 @@ /* hx margin-left = (1 / font-size) * .levelx-margin */ +/*____________ links to wiki pages (addition to _links) ____________*/ + +/* existing wikipage */ +.dokuwiki a.wikilink1 { + color: __existing__; + background-color: inherit; +} +/* not existing wikipage */ +.dokuwiki a.wikilink2 { + color: __missing__; + background-color: inherit; +} + + /*____________ images ____________*/ /* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */ @@ -52,6 +66,10 @@ /*____________ tables ____________*/ +/* div before each table */ +.dokuwiki div.table { +} + .dokuwiki table.inline { min-width: 50%; } diff --git a/style.ini b/style.ini index f06bcdc..bbda8c5 100644 --- a/style.ini +++ b/style.ini @@ -3,8 +3,7 @@ ; Define the stylesheets your template uses here. The second value ; defines for which output media the style should be loaded. Currently -; print, screen and rtl are supported. rtl styles are loaded additionally -; to screen styles if a right-to-left language is selected (eg. Hebrew). +; print, screen and all are supported. [stylesheets] @@ -54,15 +53,15 @@ __background_neu__ = "#ddd" ; border color __border__ = "#ccc" +; highlighted text (e.g. search snippets) +__highlight__ = "#ff9" + ;-------------------------------------------------------------------------- ; these are used for links __existing__ = "#090" __missing__ = "#f30" -; highlighting search snippets -__highlight__ = "#ff9" - ; widths __site_width__ = "64em" __sidebar_width__ = "16em"