From: Daniel Golle Date: Sun, 16 Sep 2012 19:23:17 +0000 (+0000) Subject: i18n: add RTL-hacks to cascade.css of the Openwrt.org theme X-Git-Tag: 0.11.0~87 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4b513110397f1c30c02c4aa740748d1bbb2b6416;p=oweals%2Fluci.git i18n: add RTL-hacks to cascade.css of the Openwrt.org theme --- diff --git a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css index 2c633e2d1..acb44f3de 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -1,5 +1,10 @@ @charset "utf-8"; +.lang_he { + direction: RTL; + unicode-bidi: embed; +} + @media all { html { @@ -62,6 +67,10 @@ ul.tabmenu li { overflow: hidden; } +.lang_he ul.tabmenu li { + float: right; +} + ul.tabmenu li a { text-decoration: none; color: #444444; @@ -98,6 +107,10 @@ ul.l1 li.tabmenu-item-logout a { margin-left: 30px; } +.lang_he ul.l1 li.tabmenu-item-logout a { + margin-right: 30px; +} + abbr, acronym { font-style: normal; @@ -162,6 +175,10 @@ div.hostinfo { padding: 0.5em; } +.lang_he div.hostinfo { + float: right; +} + #xhr_poll_status { cursor: pointer; } @@ -247,6 +264,10 @@ html #menubar a:visited.warning { float: right; } +.lang_he #savemenu { + float: left; +} + .lang_de #submenu_admin_uci { width: 12em; } @@ -280,6 +301,10 @@ textarea#syslog { border-color: #444444; } +.lang_he #maincontent { + direction: rtl; +} + #maincontent h2 { font-size: 150%; font-family: Trebuchet MS, Verdana, sans-serif;