<!-- rsce_wrapper_start.html5 -->
<?php
$hextorgba = \Contao\System::getContainer()->get('rwd.contao_custom_articles_bundle.hex_to_rgba');
if($this->background_color[1] && $this->background_color[1] != '') {
$rgba = $hextorgba->convertColors($this->background_color[0], $this->background_color[1]);
$this->background_color = 'background:' . $rgba . ';';
}
else {
$rgb = $hextorgba->convertColors($this->background_color[0]);
$this->background_color = 'background:' . $rgb . ';';
}
if($this->font_color) {
$this->font_color = ' color:#' . $this->font_color . ';';
}
if($this->minheight['value']) {
$this->height = ' min-height:' . $this->minheight['value'] . $this->minheight['unit'] . ';';
}
?>
<div class="wrapper block <?= $this->class; ?>" style="<?= $this->background_color; ?><?= $this->font_color; ?><?= $this->opacity; ?><?= $this->height ?>">
<div class="inside row">