From 710766066939278561b3ff432d0540464e2845c0 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 18 Sep 2014 22:55:20 +0200 Subject: [PATCH] [ticket/365] Fix alignment in rtl languages B3P-365 --- .../template/portal/_block_config.html | 2 +- styles/prosilver/theme/portal.css | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/styles/prosilver/template/portal/_block_config.html b/styles/prosilver/template/portal/_block_config.html index 440c7563..3929d4de 100644 --- a/styles/prosilver/template/portal/_block_config.html +++ b/styles/prosilver/template/portal/_block_config.html @@ -1,6 +1,6 @@ - + diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index 032dcae2..a14ef214 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -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