aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/dashboard-common.css
diff options
context:
space:
mode:
authorDeathamns <deathamns@gmail.com>2014-10-21 16:45:54 +0200
committerDeathamns <deathamns@gmail.com>2014-11-09 17:40:40 +0100
commit6d49ef0dac78eef45a6b5bbfc5abe52ff193587f (patch)
tree39c2fb6f8360fb6894f557cb2741e1b23108c9cd /src/css/dashboard-common.css
parent86222cb3687b755b80b4c5c6acc6b04eb19aad3c (diff)
downloaduBlock-6d49ef0dac78eef45a6b5bbfc5abe52ff193587f.zip
uBlock-6d49ef0dac78eef45a6b5bbfc5abe52ff193587f.tar.gz
uBlock-6d49ef0dac78eef45a6b5bbfc5abe52ff193587f.tar.bz2
Avoid using Chrome's @@bidi_* type i18n messages
... for the sake of portability. When including vapi-common.js in an HTML file, then the body element there will have a "dir" attribute filled with the current locale's direction (ltr or rtl). The following languages are considered right-to-left: ar, he, fa, ps, ur. Everything else is left-to-right. After the "dir" attribute is set, we can decide in CSS which elements should have different styling for rtl languages (e.g., body[dir=rtl] #id).
Diffstat (limited to 'src/css/dashboard-common.css')
-rw-r--r--src/css/dashboard-common.css6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/css/dashboard-common.css b/src/css/dashboard-common.css
index 4ec0ef6..fb5eba3 100644
--- a/src/css/dashboard-common.css
+++ b/src/css/dashboard-common.css
@@ -2,7 +2,6 @@ body {
margin: 0;
padding: 0 0.5em 5em 0.5em;
font: 14px sans-serif;
- direction: __MSG_@@bidi_dir__;
}
h2, h3 {
margin: 1em 0;
@@ -17,11 +16,6 @@ h2:nth-of-type(1) {
h3 {
font-size: 16px;
}
-h2 + * {
- margin: 0 auto;
- margin-__MSG_@@bidi_start_edge__: 1em;
- padding-__MSG_@@bidi_end_edge__: 0em;
- }
a {
text-decoration: none;
}