i18n: add RTL-hacks to cascade.css of the Openwrt.org theme

This commit is contained in:
Daniel Golle 2012-09-16 19:23:17 +00:00
parent 0a87ff9877
commit 4b51311039

View file

@ -1,5 +1,10 @@
@charset "utf-8"; @charset "utf-8";
.lang_he {
direction: RTL;
unicode-bidi: embed;
}
@media all { @media all {
html { html {
@ -62,6 +67,10 @@ ul.tabmenu li {
overflow: hidden; overflow: hidden;
} }
.lang_he ul.tabmenu li {
float: right;
}
ul.tabmenu li a { ul.tabmenu li a {
text-decoration: none; text-decoration: none;
color: #444444; 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, abbr,
acronym { acronym {
font-style: normal; font-style: normal;
@ -162,6 +175,10 @@ div.hostinfo {
padding: 0.5em; padding: 0.5em;
} }
.lang_he div.hostinfo {
float: right;
}
#xhr_poll_status { #xhr_poll_status {
cursor: pointer; 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 { .lang_de #submenu_admin_uci {
width: 12em; width: 12em;
} }
@ -280,6 +301,10 @@ textarea#syslog {
border-color: #444444; border-color: #444444;
} }
.lang_he #maincontent {
direction: rtl;
}
#maincontent h2 { #maincontent h2 {
font-size: 150%; font-size: 150%;
font-family: Trebuchet MS, Verdana, sans-serif; font-family: Trebuchet MS, Verdana, sans-serif;