diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-05-27 17:57:48 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-05-27 17:57:48 +0000 |
commit | 860947d3c87e8ebd53031ac8077d1dce24716e32 (patch) | |
tree | a333fef28fb5ad71b93a6b933a384f6439ba99d2 /modules/poll | |
parent | 7f83d274b5eead1c1dc0a92036afccc11cdbd5d8 (diff) | |
download | brdo-860947d3c87e8ebd53031ac8077d1dce24716e32.tar.gz brdo-860947d3c87e8ebd53031ac8077d1dce24716e32.tar.bz2 |
#145737 by yhager, documentation cleaned up by myself: add support for RTL CSS overrides and default RTL CSS override files for modules
Note: properties, which are different in the RTL display are marked with /* LTR */ in default CSS files now,
so maintainers remember that changing them should also have an effect on RTL CSS files.
This should open the way for better RTL (right-to-left written) language (such as Arabic and Hebrew) support.
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll-rtl.css | 11 | ||||
-rw-r--r-- | modules/poll/poll.css | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/modules/poll/poll-rtl.css b/modules/poll/poll-rtl.css new file mode 100644 index 000000000..8be324dbf --- /dev/null +++ b/modules/poll/poll-rtl.css @@ -0,0 +1,11 @@ +/* $Id $ */ + +.poll .bar .foreground { + float: right; +} +.poll .percent { + text-align: left; +} +.poll .vote-form .choices { + text-align: right; +} diff --git a/modules/poll/poll.css b/modules/poll/poll.css index afd86c6c4..d5eeb3ffa 100644 --- a/modules/poll/poll.css +++ b/modules/poll/poll.css @@ -8,13 +8,13 @@ .poll .bar .foreground { background-color: #000; height: 1em; - float: left; + float: left; /* LTR */ } .poll .links { text-align: center; } .poll .percent { - text-align: right; + text-align: right; /* LTR */ } .poll .total { text-align: center; @@ -23,7 +23,7 @@ text-align: center; } .poll .vote-form .choices { - text-align: left; + text-align: left; /* LTR */ margin: 0 auto; display: table; } |