i18n: add RTL-hacks to cascade.css of the Openwrt.org theme
[project/luci.git] / themes / openwrt / htdocs / luci-static / openwrt.org / cascade.css
index 90ee1ff9f023b19a5ec19f21ea4d2581cf6956b5..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 {
@@ -29,10 +34,6 @@ a img {
        text-decoration: none;
 }
 
        text-decoration: none;
 }
 
-small {
-       white-space: nowrap;
-}
-
 ul.tabmenu {
        margin: 0;
        clear: both;
 ul.tabmenu {
        margin: 0;
        clear: both;
@@ -66,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;
@@ -102,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;
@@ -166,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;
 }
@@ -251,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;
 }
@@ -284,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;
@@ -447,7 +468,8 @@ input.cbi-input-password {
        text-indent: 17px;
 }
 
        text-indent: 17px;
 }
 
-input.cbi-input-find {
+input.cbi-input-find,
+input.cbi-button-find {
        background-image: url('../resources/cbi/find.gif');
        color: #000000;
        padding-left: 17px;
        background-image: url('../resources/cbi/find.gif');
        color: #000000;
        padding-left: 17px;
@@ -515,6 +537,46 @@ div.cbi-section-remove input {
        padding-right: 1px;
 }
 
        padding-right: 1px;
 }
 
+input.cbi-button-up {
+       background-image: url('../resources/cbi/up.gif');
+       padding-left: 11px;
+       padding-right: 1px;
+}
+
+input.cbi-button-down {
+       background-image: url('../resources/cbi/down.gif');
+       padding-left: 11px;
+       padding-right: 1px;
+}
+
+input.cbi-button-edit {
+       background-image: url('../resources/cbi/edit.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+input.cbi-button-reload {
+       background-image: url('../resources/cbi/reload.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+input.cbi-button-reset {
+       background-image: url('../resources/cbi/reset.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
+input.cbi-button-remove {
+       background-image: url('../resources/cbi/remove.gif');
+       color: #000000;
+       padding-left: 17px;
+       padding-right: 1px;
+}
+
 .cbi-input-invalid {
        background-image: url('../resources/cbi/reset.gif');
        background-repeat: no-repeat;
 .cbi-input-invalid {
        background-image: url('../resources/cbi/reset.gif');
        background-repeat: no-repeat;
@@ -584,6 +646,11 @@ table.cbi-section-table .cbi-rowstyle-2:hover {
        color: #000000;
 }
 
        color: #000000;
 }
 
+table.cbi-section-table .cbi-section-table-cell {
+       padding: 3px;
+       white-space: nowrap;
+}
+
 .cbi-section .cbi-rowstyle-1 h3 {
        background-color: #eeeeff;
        color: #555555;
 .cbi-section .cbi-rowstyle-1 h3 {
        background-color: #eeeeff;
        color: #555555;
@@ -687,6 +754,7 @@ table.cbi-section-table td {
 tr.cbi-section-table-descr th {
        font-weight: normal;
        font-size: 90%;
 tr.cbi-section-table-descr th {
        font-weight: normal;
        font-size: 90%;
+       vertical-align: top;
 }
 
 td.cbi-section-table-optionals {
 }
 
 td.cbi-section-table-optionals {
@@ -828,6 +896,64 @@ div.cbi-tab-descr {
 }
 
 
 }
 
 
+.ifacebox {
+       background-color: #FFFFFF;
+       border: 1px solid #CCCCCC;
+       margin: 0 10px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+.ifacebox .ifacebox-head {
+       border-bottom: 1px solid #CCCCCC;
+       padding: 2px;
+}
+
+.ifacebox .ifacebox-body {
+       padding: 2px;
+}
+
+
+.ifacebadge {
+       background-color: #FFFFFF;
+       border: 1px solid #CCCCCC;
+       padding: 2px;
+       margin-left: 2px;
+       display: inline-block;
+}
+
+.ifacebadge-active {
+       border-color: #000000;
+       font-weight: bold;
+}
+
+
+.zonebadge {
+       padding: 2px;
+       display: inline-block;
+       white-space: nowrap;
+       cursor: pointer;
+}
+
+.zonebadge em,
+.zonebadge strong {
+       margin: 3px;
+       display: inline-block;
+}
+
+.zonebadge input {
+       width: 6em;
+       height: 1.5em;
+}
+
+.zonebadge-empty {
+       border: 1px dashed #AAAAAA;
+       color: #AAAAAA;
+       font-style: italic;
+       font-size: smaller;
+}
+
+
 .uci-change-list {
        font-family: monospace;
 }
 .uci-change-list {
        font-family: monospace;
 }