[ticket/377] Align portal columns right-to-left in rtl languages

With the old table layout, the left columns always displayed on the right
in rtl languages and vice-versa for the left right column. This should be
changed back in the tableless layout.

B3P-377
This commit is contained in:
Marc Alexander
2014-09-21 19:39:20 +02:00
parent c2bb81dbd6
commit 1afb392199
2 changed files with 14 additions and 1 deletions

View File

@@ -72,7 +72,7 @@
<!-- [+] right module area -->
<!-- IF S_RIGHT_COLUMN -->
<div id="portal-right" style="width: {S_PORTAL_RIGHT_COLUMN}px; margin-left: -{S_PORTAL_RIGHT_COLUMN}px;">
<div id="portal-right" style="width: {S_PORTAL_RIGHT_COLUMN}px; margin-<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->: -{S_PORTAL_RIGHT_COLUMN}px;">
<!-- BEGIN modules_right -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->

View File

@@ -281,12 +281,20 @@ a.portal-forumtitle {
float: left;
}
.rtl #portal-left, .rtl #portal-right {
float: right;
}
#portal-center-wrapper {
width: 100%;
float: left;
display: block;
}
.rtl #portal-center-wrapper {
float: right;
}
#portal-column-area {
width: 100%;
margin: 0 auto;
@@ -296,6 +304,11 @@ a.portal-forumtitle {
margin-left: -100%;
}
.rtl #portal-left {
margin-right: -100%;
margin-left: 0;
}
/*
* top spacing between portal body table and headerbar spacing is usually 10px
*/