Merge pull request #379 from marc1706/ticket/377
[ticket/377] Align portal columns right-to-left in rtl languages
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
<!-- [+] right module area -->
|
<!-- [+] right module area -->
|
||||||
<!-- IF S_RIGHT_COLUMN -->
|
<!-- 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 -->
|
<!-- BEGIN modules_right -->
|
||||||
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
|
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
|
||||||
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->
|
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->
|
||||||
|
|||||||
@@ -281,12 +281,20 @@ a.portal-forumtitle {
|
|||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #portal-left, .rtl #portal-right {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
#portal-center-wrapper {
|
#portal-center-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #portal-center-wrapper {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
#portal-column-area {
|
#portal-column-area {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@@ -296,6 +304,11 @@ a.portal-forumtitle {
|
|||||||
margin-left: -100%;
|
margin-left: -100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rtl #portal-left {
|
||||||
|
margin-right: -100%;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* top spacing between portal body table and headerbar spacing is usually 10px
|
* top spacing between portal body table and headerbar spacing is usually 10px
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user