From 08ee0671938eeed96f27428c408e3877a01120c9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Mon, 6 Feb 2017 21:20:43 +0100 Subject: [PATCH] added RTL styles --- lib/tpl/dokuwiki/css/pagetools.less | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lib/tpl/dokuwiki/css/pagetools.less b/lib/tpl/dokuwiki/css/pagetools.less index a55019f07..91783008f 100644 --- a/lib/tpl/dokuwiki/css/pagetools.less +++ b/lib/tpl/dokuwiki/css/pagetools.less @@ -86,9 +86,17 @@ fill: @ini_border; } } + + // on interaction show the full item + a:active, + a:focus, a:hover { background-color: @ini_background_alt; + span { + display: inline-block; + } + svg { fill: @ini_link; } @@ -96,8 +104,22 @@ } } } + + [dir=rtl] & { + right: auto; + left: (-1 * @item-width); + + div.tools { + ul { + right: auto; + left: 0; + text-align: left; + } + } + } } +// on hover show all items #dokuwiki__pagetools:hover { div.tools ul { background-color: @ini_background; -- GitLab