Added a few rtl fixes

This commit is contained in:
Marc Alexander
2011-07-31 18:19:57 +02:00
parent 204af4c8be
commit 9ae3012689
11 changed files with 36 additions and 22 deletions

View File

@@ -4,9 +4,9 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" />&nbsp;<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
<table width="100%" cellspacing="1">
<tr>
<td align="left" colspan="2">{minical.U_PREV_MONTH}</td>
<td align="left" colspan="2"><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{minical.U_NEXT_MONTH}<!-- ELSE -->{minical.U_PREV_MONTH}<!-- ENDIF --></td>
<td colspan="3" align="center"><span class="genmed">{minical.L_MINI_CAL_MONTH}</span></td>
<td align="right" colspan="2">{minical.U_NEXT_MONTH}</td>
<td align="right" colspan="2"><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{minical.U_PREV_MONTH}<!-- ELSE -->{minical.U_NEXT_MONTH}<!-- ENDIF --></td>
</tr>
<tr>
<!-- IF minical.S_SUNDAY_FIRST -->

View File

@@ -32,7 +32,7 @@
<tr>
<!-- [+] left module area -->
<!-- IF S_LEFT_COLUMN -->
<td valign="top" style="width: {S_PORTAL_LEFT_COLUMN}px; padding-right: {$BLOCK_DISTANCE};">
<td valign="top" style="width: {S_PORTAL_LEFT_COLUMN}px; padding-<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->left<!-- ELSE -->right<!-- ENDIF -->: {$BLOCK_DISTANCE};">
<!-- BEGIN modules_left -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_left.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_left.IMAGE_SRC}' -->
@@ -70,7 +70,7 @@
<!-- [+] right module area -->
<!-- IF S_RIGHT_COLUMN -->
<td valign="top" style="width: {S_PORTAL_RIGHT_COLUMN}px; padding-left: {$BLOCK_DISTANCE};">
<td valign="top" style="width: {S_PORTAL_RIGHT_COLUMN}px; padding-<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->: {$BLOCK_DISTANCE};">
<!-- BEGIN modules_right -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

View File

@@ -63,8 +63,22 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{
/*
* top spacing between portal body table and headerbar spacing is usually 10px
* the headerbar's rounded corners already generate a padding of 5px so only 5px needed here
*/
#portal-body {
padding-top: 5px;
padding-top: 10px;
}
/*
* This is needed in order to have the same spacing between blocks
* as we have between the top blocks and the headerbar
*/
#portal-body .forabg {
margin-bottom: 0px;
}
/* RTL language fixes */
.rtl .portal-navigation ul li a{
background-image: url("{T_THEME_PATH}/images/portal/arrowbullet_rtl.gif");
background-position: center right; /*custom bullet list image*/
padding-right: 19px; /*link text is indented 19px*/
}