i18n: add RTL-hacks to cascade.css of the Openwrt.org theme
authorDaniel Golle <daniel@makrotopia.org>
Sun, 16 Sep 2012 19:23:17 +0000 (19:23 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 16 Sep 2012 19:23:17 +0000 (19:23 +0000)
themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css

index 2c633e2d1c9d5269e730e26090553843bdbd8b97..acb44f3de5d3a6dd709a9b8180a3d9bf1f6a1206 100644 (file)
@@ -1,5 +1,10 @@
 @charset "utf-8";
 
 @charset "utf-8";
 
+.lang_he {
+       direction: RTL;
+       unicode-bidi: embed;
+}
+
 @media all {
 
 html {
 @media all {
 
 html {
@@ -62,6 +67,10 @@ ul.tabmenu li {
        overflow: hidden;
 }
 
        overflow: hidden;
 }
 
+.lang_he ul.tabmenu li {
+       float: right;
+}
+
 ul.tabmenu li a {
        text-decoration: none;
        color: #444444;
 ul.tabmenu li a {
        text-decoration: none;
        color: #444444;
@@ -98,6 +107,10 @@ ul.l1 li.tabmenu-item-logout a {
        margin-left: 30px;
 }
 
        margin-left: 30px;
 }
 
+.lang_he ul.l1 li.tabmenu-item-logout a {
+       margin-right: 30px;
+}
+
 abbr,
 acronym {
        font-style: normal;
 abbr,
 acronym {
        font-style: normal;
@@ -162,6 +175,10 @@ div.hostinfo {
        padding: 0.5em;
 }
 
        padding: 0.5em;
 }
 
+.lang_he div.hostinfo {
+       float: right;
+}
+
 #xhr_poll_status {
        cursor: pointer;
 }
 #xhr_poll_status {
        cursor: pointer;
 }
@@ -247,6 +264,10 @@ html #menubar a:visited.warning {
        float: right;
 }
 
        float: right;
 }
 
+.lang_he #savemenu {
+       float: left;
+}
+
 .lang_de #submenu_admin_uci {
        width: 12em;
 }
 .lang_de #submenu_admin_uci {
        width: 12em;
 }
@@ -280,6 +301,10 @@ textarea#syslog {
        border-color: #444444;
 }
 
        border-color: #444444;
 }
 
+.lang_he #maincontent {
+       direction: rtl;
+}
+
 #maincontent h2 {
        font-size: 150%;
        font-family: Trebuchet MS, Verdana, sans-serif;
 #maincontent h2 {
        font-size: 150%;
        font-family: Trebuchet MS, Verdana, sans-serif;