MDL-40204 theme_bootstrapbase & theme_clean: Fix RTL 3 column lyt with 1 blk.

This commit is contained in:
Gareth J Barnard 2013-06-16 19:14:43 +01:00
parent f192883305
commit a31445a854
3 changed files with 14 additions and 2 deletions

View File

@ -38,6 +38,12 @@
/** decrease the span size by 1 **/
.fluid-span(3);
}
.empty-region-side-post #region-bs-main-and-post.span9 #region-main.span8 {
/** RTL with no post area. **/
width:100%;
}
/** Page layout CSS ends **/
.dir-ltr,

File diff suppressed because one or more lines are too long

View File

@ -31,6 +31,12 @@
// Get the HTML for the settings bits.
$html = theme_clean_get_html_for_settings($OUTPUT, $PAGE);
if (right_to_left()) {
$regionbsid = 'region-bs-main-and-post';
} else {
$regionbsid = 'region-bs-main-and-pre';
}
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes(); ?>>
<head>
@ -78,7 +84,7 @@ echo $OUTPUT->doctype() ?>
</header>
<div id="page-content" class="row-fluid">
<div id="region-bs-main-and-pre" class="span9">
<div id="<?php echo $regionbsid ?>" class="span9">
<div class="row-fluid">
<section id="region-main" class="span8 pull-right">
<?php