Skip to content

Loading…

Bug 851160 : add rtl support for all obvious issues #52

Merged
3 commits merged into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 39 additions and 1 deletion.
  1. +38 −0 css/styles.css
  2. +1 −1 templates/index.html
View
38 css/styles.css
@@ -678,3 +678,41 @@ tr:nth-child(odd) td {
margin: 0px 60px 30px
}
}
+
+/* RTL support */
+
+html[dir=rtl] .selector {
+ float: left;
+}
+
+html[dir=rtl] .statsBox .icon {
+ margin-left: 8px;
+ margin-right: auto;
+}
+
+html[dir=rtl] .panelContainer {
+ left: 100px;
+}
+
+html[dir=rtl] .panelContainerArrow {
+ background-position: 68px bottom;
+}
+
+html[dir=rtl] th {
+ text-align: right;
+}
+
+
+html[dir=rtl] .icon.closeTip {
+ left: 20px;
+ right: auto;
+}
+
+html[dir=rtl] .tipBox-header > .icon:first-child {
+ margin-left: 8px;
+ margin-right: auto;
+}
+
+html[dir=rtl] .statsBoxSection-content li > .statsBoxSection-value {
+ float: left;
+}
View
2 templates/index.html
@@ -218,7 +218,7 @@ <h4 id="sec-2-1">2.1) {{ _('Configuration') }}</h4>
<tbody>
<tr>
<td class="left">appABI</td>
- <td class="left">{{ _('Binary interface for XPCOM') }} (<a href="https://developer.mozilla.org/XPCOM_ABI">https://developer.mozilla.org/XPCOM_ABI</a>)</td>
+ <td class="left">{{ _('Binary interface for XPCOM') }} (<a href="https://developer.mozilla.org/XPCOM_ABI" dir="{{ DIR }}">https://developer.mozilla.org/XPCOM_ABI</a>)</td>
</tr>
<tr>
<td class="left">appBuildID</td>
Something went wrong with that request. Please try again.