[ticket/365] Fix alignment in rtl languages

B3P-365
This commit is contained in:
Marc Alexander
2014-09-18 22:55:20 +02:00
parent 099a089145
commit 7107660669
2 changed files with 20 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg"><div class="inner"><ul class="topiclist"><li class="header"><dl><dt style="padding: 0px 0px 2px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' -->
<!-- DEFINE $LR_BLOCK_H_R = '</dt><dd></dd></dl></li></ul><ul class="topiclist forums"><li><dl><dt></dt><dd style="border-left: 0px; width: 100%;"><div style="text-align: left; margin: 5px 5px 5px 5px">' -->
<!-- DEFINE $LR_BLOCK_H_R = '</dt><dd></dd></dl></li></ul><ul class="topiclist forums"><li><dl><dt></dt><dd class="portal-side-wrapper"><div class="portal-side">' -->
<!-- DEFINE $LR_BLOCK_F_L = '</div></dd></dl></li></ul>' -->
<!-- DEFINE $LR_BLOCK_F_R = '</div></div><br class="portal-clear" />' -->

View File

@@ -39,6 +39,10 @@
text-decoration: underline;
}
.rtl .portal-navigation .menutitle {
text-align: right;
}
.calendar-info {
list-style-type: none;
}
@@ -300,6 +304,20 @@ a.portal-forumtitle {
width: 100%;
}
.portal-side {
text-align: left;
margin: 5px 5px 5px 5px
}
.rtl .portal-side {
text-align: right;
}
.portal-side-wrapper {
border-left: 0;
width: 100%;
}
/*
* This is needed in order to have the same spacing between blocks
* as we have between the top blocks and the headerbar
@@ -352,6 +370,7 @@ a.portal-forumtitle {
background-image: url("./images/portal/arrowbullet_rtl.gif");
background-position: center right; /* custom bullet list image */
padding-right: 19px; /* link text is indented 19px */
text-align: right;
}
/* Portal clock