From a94c593a9083a367e77d5bdd874538d8cdc2a82e Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 26 Aug 2012 22:17:29 +0100 Subject: [PATCH] made tabs RTL-aware --- css/_edit.css | 6 ------ css/_tabs.css | 13 +++++++++++++ css/_toc.css | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/css/_edit.css b/css/_edit.css index c9ca67d..2428948 100644 --- a/css/_edit.css +++ b/css/_edit.css @@ -151,9 +151,3 @@ div.picker button.toolbutton { border: solid __background_alt__; border-width: 0 .5em; } -[dir=rtl] .dokuwiki div.section_highlight { - margin: -3em -1.5em -.01em 0; - padding: 3em 1em .01em 0; - border-left-width: 0; - border-right: .5em solid __background_alt__; -} diff --git a/css/_tabs.css b/css/_tabs.css index de544fd..1dffa8f 100644 --- a/css/_tabs.css +++ b/css/_tabs.css @@ -13,6 +13,9 @@ margin: 0; list-style: none; } +[dir=rtl] .dokuwiki ul.tabs li { + float: right; +} .dokuwiki ul.tabs li strong, .dokuwiki ul.tabs li a { @@ -23,6 +26,16 @@ color: __text__; border-radius: .5em .5em 0 0; } +[dir=rtl] .dokuwiki ul.tabs li strong, +[dir=rtl] .dokuwiki ul.tabs li a { + float: right; + margin: 0 0 0 .3em; +} +*+html[dir=rtl] .dokuwiki ul.tabs li strong, +*+html[dir=rtl] .dokuwiki ul.tabs li a { + float: none; + display: inline-block; +} .dokuwiki ul.tabs li strong { font-weight: normal; } diff --git a/css/_toc.css b/css/_toc.css index 66a05f3..1a74ccc 100644 --- a/css/_toc.css +++ b/css/_toc.css @@ -88,7 +88,7 @@ } -/* sitemap (and backlinkss) +/* sitemap (and backlinks) ********************************************************************/ .dokuwiki ul.idx {