diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/includes/common.inc drupal-rtl/includes/common.inc --- drupal/includes/common.inc 2007-05-21 10:35:01.000000000 -0700 +++ drupal-rtl/includes/common.inc 2007-05-24 12:33:52.000000000 -0700 @@ -1449,6 +1449,10 @@ function drupal_add_link($attributes) { * @param $path * (optional) The path to the CSS file relative to the base_path(), e.g., * /modules/devel/devel.css. + * If the current language is an RTL language (Hebrew, Arabic...), the + * function will look for an RTL version of the CSS file and append it + * to the list. This file should be have a '-rtl' suffix to its name, + * e.g., a CSS file called 'name.css' will become 'name-rtl.css'. * @param $type * (optional) The type of stylesheet that is being added. Types are: module * or theme. @@ -1482,6 +1486,7 @@ function drupal_add_link($attributes) { */ function drupal_add_css($path = NULL, $type = 'module', $media = 'all', $preprocess = TRUE) { static $css = array(); + global $language; // Create an array of CSS files for each media type first, since each type needs to be served // to the browser differently. @@ -1491,8 +1496,17 @@ function drupal_add_css($path = NULL, $t $css[$media] = array('module' => array(), 'theme' => array()); } $css[$media][$type][$path] = $preprocess; - } + // If the current language is RTL, add the RTLized version of CSS + if (module_exists('locale') && $language->direction == LANGUAGE_RTL){ + // Check if an RTL version exists, and add it to the array + $rtl_path = str_replace('.css', '-rtl.css', $path); + if (file_exists($rtl_path)) { + $css[$media][$type][$rtl_path] = $preprocess; + } + } + } + return $css; } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/misc/menu-collapsed-rtl.png drupal-rtl/misc/menu-collapsed-rtl.png --- drupal/misc/menu-collapsed-rtl.png 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/misc/menu-collapsed-rtl.png 2007-03-29 15:59:20.000000000 -0700 @@ -0,0 +1,3 @@ +PNG + + IHDRŐ pHYsodPLTEU~tRNS["IDATc```b &)V"IENDB` \ No newline at end of file diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/aggregator/aggregator-rtl.css drupal-rtl/modules/aggregator/aggregator-rtl.css --- drupal/modules/aggregator/aggregator-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/aggregator/aggregator-rtl.css 2007-05-24 08:51:05.000000000 -0700 @@ -0,0 +1,5 @@ +/* $Id$ */ + +#aggregator .feed-source .feed-icon { + float: left; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/aggregator/aggregator.css drupal-rtl/modules/aggregator/aggregator.css --- drupal/modules/aggregator/aggregator.css 2006-08-14 00:14:48.000000000 -0700 +++ drupal-rtl/modules/aggregator/aggregator.css 2007-05-24 08:51:36.000000000 -0700 @@ -7,7 +7,7 @@ margin-bottom: 0.75em; } #aggregator .feed-source .feed-icon { - float: right; + float: right; /* LTR */ display: block; } #aggregator .feed-item { diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/block/block-rtl.css drupal-rtl/modules/block/block-rtl.css --- drupal/modules/block/block-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/block/block-rtl.css 2007-05-24 10:01:40.000000000 -0700 @@ -0,0 +1,6 @@ +/* $Id$ */ + +#blocks td.block { + padding-left: inherit; + padding-right: 1.5em; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/block/block.css drupal-rtl/modules/block/block.css --- drupal/modules/block/block.css 2006-12-07 11:50:31.000000000 -0800 +++ drupal-rtl/modules/block/block.css 2007-05-24 08:52:24.000000000 -0700 @@ -4,7 +4,7 @@ font-weight: bold; } #blocks td.block { - padding-left: 1.5em; + padding-left: 1.5em; /* LTR */ } .block-region { background-color: #ff6; diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/book/book-rtl.css drupal-rtl/modules/book/book-rtl.css --- drupal/modules/book/book-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/book/book-rtl.css 2007-05-24 08:54:03.000000000 -0700 @@ -0,0 +1,8 @@ +/* $Id$ */ + +.book-navigation .page-previous { + float: right; +} +.book-navigation .page-up { + float: right; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/book/book.css drupal-rtl/modules/book/book.css --- drupal/modules/book/book.css 2007-01-29 10:53:38.000000000 -0800 +++ drupal-rtl/modules/book/book.css 2007-05-24 08:54:17.000000000 -0700 @@ -14,13 +14,13 @@ text-align: left; width: 42%; display: block; - float: left; + float: left; /* LTR */ } .book-navigation .page-up { margin: 0 5%; width: 4%; display: block; - float: left; + float: left; /* LTR */ } .book-navigation .page-next { text-align: right; diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/color/color-rtl.css drupal-rtl/modules/color/color-rtl.css --- drupal/modules/color/color-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/color/color-rtl.css 2007-05-24 10:05:36.000000000 -0700 @@ -0,0 +1,45 @@ +/* $Id$ */ + +#placeholder { + right: inherit; + left: 0; +} + +/* Palette */ +.color-form .form-item { + padding-left: inherit; + padding-right: 1em; +} +.color-form label { + float: right; + clear: right; +} +.color-form .form-text, .color-form .form-select { + float: right; +} +.color-form .form-text { + margin-right: inherit; + margin-left: 5px; +} + +#palette .hook { + float: right; +} +#palette .down, #palette .up, #palette .both { + background-position: 0 0; +} +#palette .up { + background-position: 0 -27px; +} +#palette .both { + background-position: 0 -54px; +} + +#palette .lock { + float: right; + left: inherit; + right: -10px; +} +html.js #preview { + float: right; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/color/color.css drupal-rtl/modules/color/color.css --- drupal/modules/color/color.css 2007-04-13 00:33:23.000000000 -0700 +++ drupal-rtl/modules/color/color.css 2007-05-24 10:06:34.000000000 -0700 @@ -8,51 +8,51 @@ #placeholder { position: absolute; top: 0; - right: 0; + right: 0; /* LTR */ } /* Palette */ .color-form .form-item { height: 2em; line-height: 2em; - padding-left: 1em; + padding-left: 1em; /* LTR */ margin: 0.5em 0; } .color-form label { - float: left; - clear: left; + float: left; /* LTR */ + clear: left; /* LTR */ width: 10em; } .color-form .form-text, .color-form .form-select { - float: left; + float: left; /* LTR */ } .color-form .form-text { text-align: center; - margin-right: 5px; + margin-right: 5px; /* LTR */ cursor: pointer; } #palette .hook { - float: left; + float: left; /* LTR */ margin-top: 3px; width: 16px; height: 16px; } #palette .down, #palette .up, #palette .both { - background: url(images/hook.png) no-repeat 100% 0; + background: url(images/hook.png) no-repeat 100% 0; /* LTR */ } #palette .up { - background-position: 100% -27px; + background-position: 100% -27px; /* LTR */ } #palette .both { - background-position: 100% -54px; + background-position: 100% -54px; /* LTR */ } #palette .lock { - float: left; + float: left; /* LTR */ position: relative; top: -1.4em; - left: -10px; + left: -10px; /* LTR */ width: 20px; height: 25px; background: url(images/lock.png) no-repeat 50% 2px; @@ -75,5 +75,5 @@ html.js #preview { display: block; position: relative; - float: left; + float: left; /* LTR */ } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/comment/comment-rtl.css drupal-rtl/modules/comment/comment-rtl.css --- drupal/modules/comment/comment-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/comment/comment-rtl.css 2007-05-24 10:07:32.000000000 -0700 @@ -0,0 +1,6 @@ +/* $Id$ */ + +.indented { + margin-left: inherit; + margin-right: 25px; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/comment/comment.css drupal-rtl/modules/comment/comment.css --- drupal/modules/comment/comment.css 2007-04-13 00:33:23.000000000 -0700 +++ drupal-rtl/modules/comment/comment.css 2007-05-24 10:07:02.000000000 -0700 @@ -1,5 +1,5 @@ /* $Id: comment.css,v 1.2 2007/04/13 07:33:23 dries Exp $ */ .indented { - margin-left: 25px; + margin-left: 25px; /* LTR */ } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/dblog/dblog-rtl.css drupal-rtl/modules/dblog/dblog-rtl.css --- drupal/modules/dblog/dblog-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/dblog/dblog-rtl.css 2007-05-24 10:17:21.000000000 -0700 @@ -0,0 +1,7 @@ +/* $Id$ */ + +#dblog-filter-form .form-item { + float: right; + padding-right: inherit; + padding-left: .8em; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/dblog/dblog.css drupal-rtl/modules/dblog/dblog.css --- drupal/modules/dblog/dblog.css 2007-05-14 02:42:08.000000000 -0700 +++ drupal-rtl/modules/dblog/dblog.css 2007-05-24 10:08:40.000000000 -0700 @@ -1,8 +1,8 @@ /* $Id: dblog.css,v 1.2 2007/04/30 11:12:35 dries Exp $ */ #dblog-filter-form .form-item { - float: left; - padding-right: .8em; + float: left; /* LTR */ + padding-right: .8em; /* LTR */ margin: 0.1em; } tr.dblog-user { diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/forum/forum-rtl.css drupal-rtl/modules/forum/forum-rtl.css --- drupal/modules/forum/forum-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/forum/forum-rtl.css 2007-05-24 10:10:37.000000000 -0700 @@ -0,0 +1,18 @@ +/* $Id $ */ + +#forum tr td.forum { + padding-left: inherit; + padding-right: 25px; + background-position: 98% 2px; +} +.forum-topic-navigation { + padding: 1em 3em 0 0; +} +.forum-topic-navigation .topic-previous { + text-align: left; + float: right; +} +.forum-topic-navigation .topic-next { + text-align: right; + float: left; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/forum/forum.css drupal-rtl/modules/forum/forum.css --- drupal/modules/forum/forum.css 2007-01-31 08:01:17.000000000 -0800 +++ drupal-rtl/modules/forum/forum.css 2007-05-24 10:11:26.000000000 -0700 @@ -11,8 +11,8 @@ text-align: center; } #forum tr td.forum { - padding-left: 25px; - background-position: 2px 2px; + padding-left: 25px; /* LTR */ + background-position: 2px 2px; /* LTR */ background-image: url(../../misc/forum-default.png); background-repeat: no-repeat; } @@ -20,19 +20,19 @@ background-image: url(../../misc/forum-new.png); } .forum-topic-navigation { - padding: 1em 0 0 3em; + padding: 1em 0 0 3em; /* LTR */ border-top: 1px solid #888; border-bottom: 1px solid #888; text-align: center; padding: 0.5em; } .forum-topic-navigation .topic-previous { - text-align: right; - float: left; + text-align: right; /* LTR */ + float: left; /* LTR */ width: 46%; } .forum-topic-navigation .topic-next { - text-align: left; - float: right; + text-align: left; /* LTR */ + float: right; /* LTR */ width: 46%; } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/help/help-rtl.css drupal-rtl/modules/help/help-rtl.css --- drupal/modules/help/help-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/help/help-rtl.css 2007-05-24 10:11:50.000000000 -0700 @@ -0,0 +1,11 @@ +/* $Id: help.css,v 1.1 2006/08/14 07:14:49 drumm Exp $ */ + +.help-items { + float: right; + padding-right: inherit; + padding-left: 3%; +} +.help-items-last { + padding-right: inherit; + padding-left: 0; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/help/help.css drupal-rtl/modules/help/help.css --- drupal/modules/help/help.css 2006-08-14 00:14:49.000000000 -0700 +++ drupal-rtl/modules/help/help.css 2007-05-24 10:12:23.000000000 -0700 @@ -1,10 +1,10 @@ /* $Id: help.css,v 1.1 2006/08/14 07:14:49 drumm Exp $ */ .help-items { - float: left; + float: left; /* LTR */ width: 22%; - padding-right: 3%; + padding-right: 3%; /* LTR */ } .help-items-last { - padding-right: 0; + padding-right: 0; /* LTR */ } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/node/node-rtl.css drupal-rtl/modules/node/node-rtl.css --- drupal/modules/node/node-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/node/node-rtl.css 2007-05-24 10:14:15.000000000 -0700 @@ -0,0 +1,8 @@ +/* $Id $ */ + +#node-admin-buttons { + float: right; + margin-left: inherit; + margin-right: 0.5em; + clear: left; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/node/node.css drupal-rtl/modules/node/node.css --- drupal/modules/node/node.css 2006-09-04 20:50:56.000000000 -0700 +++ drupal-rtl/modules/node/node.css 2007-05-24 10:14:33.000000000 -0700 @@ -13,9 +13,9 @@ width: 100%; } #node-admin-buttons { - float: left; - margin-left: 0.5em; - clear: right; + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ } td.revision-current { background: #ffc; diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/poll/poll-rtl.css drupal-rtl/modules/poll/poll-rtl.css --- drupal/modules/poll/poll-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/poll/poll-rtl.css 2007-05-24 10:15:42.000000000 -0700 @@ -0,0 +1,11 @@ +/* $Id $ */ + +.poll .bar .foreground { + float: right; +} +.poll .percent { + text-align: left; +} +.poll .vote-form .choices { + text-align: right; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/poll/poll.css drupal-rtl/modules/poll/poll.css --- drupal/modules/poll/poll.css 2006-10-02 09:16:06.000000000 -0700 +++ drupal-rtl/modules/poll/poll.css 2007-05-24 10:16:08.000000000 -0700 @@ -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; } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/search/search-rtl.css drupal-rtl/modules/search/search-rtl.css --- drupal/modules/search/search-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/search/search-rtl.css 2007-05-24 10:17:01.000000000 -0700 @@ -0,0 +1,11 @@ +/* $Id $ */ + +.search-advanced .criterion { + float: right; + margin-right: inherit; + margin-left: 2em; +} +.search-advanced .action { + float: right; + clear: right; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/search/search.css drupal-rtl/modules/search/search.css --- drupal/modules/search/search.css 2006-08-14 00:14:49.000000000 -0700 +++ drupal-rtl/modules/search/search.css 2007-05-24 10:17:19.000000000 -0700 @@ -26,10 +26,10 @@ font-size: 0.85em; } .search-advanced .criterion { - float: left; - margin-right: 2em; + float: left; /* LTR */ + margin-right: 2em; /* LTR */ } .search-advanced .action { - float: left; - clear: left; + float: left; /* LTR */ + clear: left; /* LTR */ } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/system/admin-rtl.css drupal-rtl/modules/system/admin-rtl.css --- drupal/modules/system/admin-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/system/admin-rtl.css 2007-05-24 10:24:45.000000000 -0700 @@ -0,0 +1,38 @@ +/* $Id $ */ + +div.admin-panel .body { + padding: 0 8px 2px 4px; +} + +div.admin .expert-link { + text-align: left; + margin-right: inherit; + margin-left: 1em; + padding-right: inherit; + padding-left: 4px; +} + +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-right: 30px; +} + +table.system-status-report th { + background-position: 95% 50%; +} + +table.screenshot { + margin-left: 1em; +} + +div.date-container { + clear: right; +} + +div.date-container div { + float: right; +} +div.custom-container { + margin-left: inherit; + margin-right: 15px; +} + diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/system/admin.css drupal-rtl/modules/system/admin.css --- drupal/modules/system/admin.css 2007-05-21 10:22:45.000000000 -0700 +++ drupal-rtl/modules/system/admin.css 2007-05-24 10:24:51.000000000 -0700 @@ -14,7 +14,7 @@ div.admin-panel .description { } div.admin-panel .body { - padding: 0 4px 2px 8px; + padding: 0 4px 2px 8px; /* LTR */ } div.admin { @@ -33,9 +33,9 @@ div.admin .right { } div.admin .expert-link { - text-align: right; - margin-right: 1em; - padding-right: 4px; + text-align: right; /* LTR */ + margin-right: 1em; /* LTR */ + padding-right: 4px; /* LTR */ } table.package { @@ -65,11 +65,11 @@ table.system-status-report th { border-bottom: 1px solid #ccc; } table.system-status-report th, table.system-status-report tr.merge-up td { - padding-left: 30px; + padding-left: 30px; /* LTR */ } table.system-status-report th { background-repeat: no-repeat; - background-position: 5px 50%; + background-position: 5px 50%; /* LTR */ padding-top: 6px; padding-bottom: 6px; } @@ -102,7 +102,7 @@ table.system-status-report tr.ok th { * Formatting for theme overview */ table.screenshot { - margin-right: 1em; + margin-right: 1em; /* LTR */ } .theme-info h2 { margin-bottom: 0; @@ -117,7 +117,7 @@ table.screenshot { */ div.date-container { overflow: auto; - clear: left; + clear: left; /* LTR */ } div.date-container > div, div.date-container > div > div { @@ -126,7 +126,7 @@ div.date-container > div, div.date-conta } div.date-container div { - float: left; + float: left; /* LTR */ } html.js div.custom-container { @@ -138,7 +138,7 @@ html.js div.custom-container .form-item } div.custom-container { - margin-left: 15px; + margin-left: 15px; /* LTR */ width: 50%; } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/system/defaults-rtl.css drupal-rtl/modules/system/defaults-rtl.css --- drupal/modules/system/defaults-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/system/defaults-rtl.css 2007-05-24 10:25:53.000000000 -0700 @@ -0,0 +1,7 @@ +/* $Id $ */ + +th { + text-align: right; + padding-right: inherit; + padding-left: 1em; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/system/defaults.css drupal-rtl/modules/system/defaults.css --- drupal/modules/system/defaults.css 2006-08-25 02:01:12.000000000 -0700 +++ drupal-rtl/modules/system/defaults.css 2007-05-24 10:26:03.000000000 -0700 @@ -22,8 +22,8 @@ table { border-collapse: collapse; } th { - text-align: left; - padding-right: 1em; + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ border-bottom: 3px solid #ccc; } diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/system/system-rtl.css drupal-rtl/modules/system/system-rtl.css --- drupal/modules/system/system-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/system/system-rtl.css 2007-05-24 10:39:48.000000000 -0700 @@ -0,0 +1,85 @@ +/* $Id $ */ + +.item-list .icon { + float: left; + padding-left: inherit; + padding-right: 0.25em; + clear: left; +} +.item-list ul li { + margin: 0 1.5em 0.25em 0; +} + +.more-link { + text-align: left; +} +.more-help-link { + text-align: left; +} + +dl.multiselect dt, dl.multiselect dd { + float: right; + margin: 0 0 0 1em; +} +ul.menu { + text-align:right; +} +ul.menu li { + margin: 0 0.5em 0 0; +} +li.expanded { + padding: 0.2em 0 0 0.5em; +} +li.collapsed { + list-style-image: url(../../misc/menu-collapsed-rtl.png); + padding: 0.2em 0 0 0.5em; +} +li.leaf { + padding: 0.2em 0 0 0.5em; +} +.block ul { + padding: 0 1em 0.25em 0; +} + +ul.primary { + padding: 0 1em 0 0; +} +ul.primary li a { + margin-right: inherit; + margin-left: 0.5em; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: inherit; + border-left: 1px solid #ccc; +} +html.js input.form-autocomplete { + background-position: 0% 2px; +} +html.js input.throbbing { + background-position: 0% -18px; +} + +html.js fieldset.collapsible legend a { + padding-left: inherit; + padding-right: 15px; + background-position: 98% 75%; +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed-rtl.png); + background-position: 98% 50%; +} + +div.teaser-button-wrapper { + float: left; + padding-right: inherit; + padding-left: 5%; +} +.teaser-checkbox div.form-item { + float: left; + margin: 0 0 0 5%; +} +.progress .percentage { + float: left; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/system/system.css drupal-rtl/modules/system/system.css --- drupal/modules/system/system.css 2007-05-21 10:22:45.000000000 -0700 +++ drupal-rtl/modules/system/system.css 2007-05-24 11:19:22.000000000 -0700 @@ -21,8 +21,8 @@ tbody th { border-bottom: 1px solid #ccc; } thead th { - text-align: left; - padding-right: 1em; + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ border-bottom: 3px solid #ccc; } @@ -50,9 +50,9 @@ div.ok, tr.ok { } .item-list .icon { color: #555; - float: right; - padding-left: 0.25em; - clear: right; + float: right; /* LTR */ + padding-left: 0.25em; /* LTR */ + clear: right; /* LTR */ } .item-list .title { font-weight: bold; @@ -62,7 +62,7 @@ div.ok, tr.ok { padding: 0; } .item-list ul li { - margin: 0 0 0.25em 1.5em; + margin: 0 0 0.25em 1.5em; /* LTR */ padding: 0; list-style: disc; } @@ -109,11 +109,11 @@ tr.merge-up, tr.merge-up td, tr.merge-up color: #f00; } .more-link { - text-align: right; + text-align: right; /* LTR */ } .more-help-link { font-size: 0.85em; - text-align: right; + text-align: right; /* LTR */ } .nowrap { white-space: nowrap; @@ -147,10 +147,10 @@ dl.multiselect dd.a, dl.multiselect dd.a width: 8em; } dl.multiselect dt, dl.multiselect dd { - float: left; + float: left; /* LTR */ line-height: 1.75em; padding: 0; - margin: 0 1em 0 0; + margin: 0 1em 0 0; /* LTR */ } dl.multiselect .form-item { height: 1.75em; @@ -170,27 +170,27 @@ dl.multiselect .form-item { ul.menu { list-style: none; border: none; - text-align:left; + text-align:left; /* LTR */ } ul.menu li { - margin: 0 0 0 0.5em; + margin: 0 0 0 0.5em; /* LTR */ } li.expanded { list-style-type: circle; list-style-image: url(../../misc/menu-expanded.png); - padding: 0.2em 0.5em 0 0; + padding: 0.2em 0.5em 0 0; /* LTR */ margin: 0; } li.collapsed { list-style-type: disc; - list-style-image: url(../../misc/menu-collapsed.png); - padding: 0.2em 0.5em 0 0; + list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ + padding: 0.2em 0.5em 0 0; /* LTR */ margin: 0; } li.leaf { list-style-type: square; list-style-image: url(../../misc/menu-leaf.png); - padding: 0.2em 0.5em 0 0; + padding: 0.2em 0.5em 0 0; /* LTR */ margin: 0; } li a.active { @@ -213,7 +213,7 @@ ul.links li { } .block ul { margin: 0; - padding: 0 0 0.25em 1em; + padding: 0 0 0.25em 1em; /* LTR */ } /* @@ -221,7 +221,7 @@ ul.links li { */ ul.primary { border-collapse: collapse; - padding: 0 0 0 1em; + padding: 0 0 0 1em; /* LTR */ white-space: nowrap; list-style: none; margin: 5px; @@ -238,7 +238,7 @@ ul.primary li a { border-width: 1px; border-style: solid solid none solid; height: auto; - margin-right: 0.5em; + margin-right: 0.5em; /* LTR */ padding: 0 1em; text-decoration: none; } @@ -260,7 +260,7 @@ ul.secondary { ul.secondary li { display: inline; padding: 0 1em; - border-right: 1px solid #ccc; + border-right: 1px solid #ccc; /* LTR */ } ul.secondary a { padding: 0; @@ -299,10 +299,10 @@ ul.secondary a.active { html.js input.form-autocomplete { background-image: url(../../misc/throbber.gif); background-repeat: no-repeat; - background-position: 100% 2px; + background-position: 100% 2px; /* LTR */ } html.js input.throbbing { - background-position: 100% -18px; + background-position: 100% -18px; /* LTR */ } /* @@ -322,12 +322,12 @@ html.js fieldset.collapsed legend { display: block; } html.js fieldset.collapsible legend a { - padding-left: 15px; - background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; + padding-left: 15px; /* LTR */ + background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ } html.js fieldset.collapsed legend a { - background-image: url(../../misc/menu-collapsed.png); - background-position: 5px 50%; + background-image: url(../../misc/menu-collapsed.png); /* LTR */ + background-position: 5px 50%; /* LTR */ } /* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ * html.js fieldset.collapsed legend, @@ -372,13 +372,13 @@ html.js .resizable-textarea textarea { margin-bottom: -2px; } div.teaser-button-wrapper { - float: right; - padding-right: 5%; + float: right; /* LTR */ + padding-right: 5%; /* LTR */ margin: 0; } .teaser-checkbox div.form-item { - float: right; - margin: 0 5% 0 0; + float: right; /* LTR */ + margin: 0 5% 0 0; /* LTR */ padding: 0; } textarea.teaser { @@ -407,7 +407,7 @@ html.js .no-js { width: 0%; } .progress .percentage { - float: right; + float: right; /* LTR */ } /* diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/user/user-rtl.css drupal-rtl/modules/user/user-rtl.css --- drupal/modules/user/user-rtl.css 1969-12-31 16:00:00.000000000 -0800 +++ drupal-rtl/modules/user/user-rtl.css 2007-05-24 10:43:30.000000000 -0700 @@ -0,0 +1,22 @@ +/* $Id $ */ + +#permissions td.permission { + padding-left: inherit; + padding-right: 1.5em; +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: inherit; + margin-left: 1em; + float: right; +} +#user-admin-buttons { + float: right; + margin-left: inherit; + margin-right: 0.5em; + clear: left; +} + +.profile .picture { + float: left; + margin: 0 0 1em 1em; +} diff --exclude-from /home/avramzon/misc/ignorelist -Naurp drupal/modules/user/user.css drupal-rtl/modules/user/user.css --- drupal/modules/user/user.css 2007-05-21 10:22:45.000000000 -0700 +++ drupal-rtl/modules/user/user.css 2007-05-24 11:19:22.000000000 -0700 @@ -4,11 +4,11 @@ font-weight: bold; } #permissions td.permission { - padding-left: 1.5em; + padding-left: 1.5em; /* LTR */ } #access-rules .access-type, #access-rules .rule-type { - margin-right: 1em; - float: left; + margin-right: 1em; /* LTR */ + float: left; /* LTR */ } #access-rules .access-type .form-item, #access-rules .rule-type .form-item { margin-top: 0; @@ -26,9 +26,9 @@ width: 100%; } #user-admin-buttons { - float: left; - margin-left: 0.5em; - clear: right; + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ } #user-admin-settings fieldset .description { font-size: 0.85em; @@ -41,8 +41,8 @@ margin: 1em 0; } .profile .picture { - float: right; - margin: 0 1em 1em 0; + float: right; /* LTR */ + margin: 0 1em 1em 0; /* LTR */ } .profile dt { margin: 1em 0 0.2em 0;