From 860947d3c87e8ebd53031ac8077d1dce24716e32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sun, 27 May 2007 17:57:48 +0000 Subject: #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. --- modules/poll/poll-rtl.css | 11 +++++++++++ modules/poll/poll.css | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 modules/poll/poll-rtl.css (limited to 'modules/poll') 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; } -- cgit v1.2.3