1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00

Hebrew language should appear properly. fixed #165

A fix  for #165.
Hebrew (rtl language) should now look as it should in the dashboard
menu.
This commit is contained in:
Mikey1993 2014-08-23 00:25:56 +03:00
parent f440fb8b85
commit 2c2e75e605
4 changed files with 57 additions and 4 deletions

View File

@ -15,6 +15,7 @@ div > p:last-child {
body > ul {
margin: 0.5em 0 0 0;
padding-left: 1em;
padding-right: 1em;
}
ul {
padding: 0;
@ -61,7 +62,6 @@ button.reloadAll:hover {
#buttonApply {
display: none;
position: fixed;
right: 1em;
top: 1em;
}
#buttonApply.enabled {

View File

@ -8,6 +8,7 @@
<style>
ul {
padding-left: 1em;
padding-right: 1em;
}
</style>
</head>
@ -15,7 +16,7 @@ ul {
<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 File

@ -12,3 +12,6 @@
vertical-align: baseline;
display: inline-block;
}
#dashboard-nav-widgets {
direction: __MSG_@@bidi_dir__;
}

View File

@ -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;