Skip to content

Loading…

Hebrew language should appear properly. fixed #165 #167

Merged
merged 1 commit into from

2 participants

@Mikey1993

A fix for #165.
Hebrew (rtl language) should now look as it should in the dashboard
menu.

@Mikey1993 Mikey1993 Hebrew language should appear properly. fixed #165
A fix  for #165.
Hebrew (rtl language) should now look as it should in the dashboard
menu.
2c2e75e
@gorhill gorhill merged commit 43d70f3 into chrisaljoudi:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 22, 2014
  1. @Mikey1993

    Hebrew language should appear properly. fixed #165

    Mikey1993 committed
    A fix  for #165.
    Hebrew (rtl language) should now look as it should in the dashboard
    menu.
This page is out of date. Refresh to see the latest.
Showing with 57 additions and 4 deletions.
  1. +1 −1 3p-filters.html
  2. +2 −1 about.html
  3. +3 −0 css/common.css
  4. +51 −2 css/dashboard-common.css
View
2 3p-filters.html
@@ -15,6 +15,7 @@
body > ul {
margin: 0.5em 0 0 0;
padding-left: 1em;
+ padding-right: 1em;
}
ul {
padding: 0;
@@ -61,7 +62,6 @@
#buttonApply {
display: none;
position: fixed;
- right: 1em;
top: 1em;
}
#buttonApply.enabled {
View
3 about.html
@@ -8,6 +8,7 @@
<style>
ul {
padding-left: 1em;
+ padding-right: 1em;
}
</style>
</head>
@@ -15,7 +16,7 @@
<body>
<h2>µBlock <span id="aboutVersion"></span></h2>
-<ul>
+<ul id="AboutUL">
<li><a href="https://github.com/gorhill/uBlock/releases" data-i18n="aboutChangelog"></a>
<li><a href="https://github.com/gorhill/ublock" data-i18n="aboutCode"></a>
<li><span data-i18n="aboutContributors"></span>
View
3 css/common.css
@@ -12,3 +12,6 @@
vertical-align: baseline;
display: inline-block;
}
+#dashboard-nav-widgets {
+ direction: __MSG_@@bidi_dir__;
+ }
View
53 css/dashboard-common.css
@@ -2,6 +2,7 @@ body {
margin: 0;
padding: 0 0.5em 5em 0.5em;
font: 14px sans-serif;
+ direction: __MSG_@@bidi_dir__;
}
h2, h3 {
margin: 1em 0;
@@ -17,8 +18,9 @@ h3 {
font-size: 16px;
}
h2 + * {
- margin: 0 0 0 1em;
- padding: 0;
+ margin: 0 auto 0 auto;
+ margin-__MSG_@@bidi_start_edge__: 1em !important;
+ padding-__MSG_@@bidi_end_edge__: 0em !important;
}
a {
text-decoration: none;
@@ -29,6 +31,53 @@ a {
+
+body ul.lists {
+ padding-__MSG_@@bidi_end_edge__: 0em !important;
+ padding-__MSG_@@bidi_start_edge__: 1em !important;
+ }
+li.listDetails {
+ float: __MSG_@@bidi_start_edge__;
+ position: static;
+ width: 100%;
+ margin: 0 auto 0 auto !important;
+ margin-__MSG_@@bidi_start_edge__: 1em !important;
+ margin-__MSG_@@bidi_end_edge__: 0em !important;
+ }
+li.listDetails input[type="checkbox"] {
+ float: __MSG_@@bidi_start_edge__;
+ }
+.listDetails a {
+ float: __MSG_@@bidi_start_edge__;
+ }
+#buttonApply {
+ __MSG_@@bidi_end_edge__: 1em;
+ }
+#ExternalListDiv {
+ margin: 2em auto 0 auto;
+ margin-__MSG_@@bidi_start_edge__: 2em !important;
+ }
+#externalLists {
+ text-align: left;
+ }
+.userFilters {
+ text-align: left;
+ }
+#whitelist {
+ text-align: left;
+ }
+table.ooo {
+ direction: ltr;
+ float: __MSG_@@bidi_start_edge__;
+ }
+ul#AboutUL {
+ padding-__MSG_@@bidi_start_edge__: 1em;
+ margin-__MSG_@@bidi_start_edge__: 1em !important;
+ }
+
+
+
+
.whatisthis {
margin: 0 0 0 8px;
border: 0;
Something went wrong with that request. Please try again.