added custom layout to panles, created thematique anchor links menu

This commit is contained in:
2017-02-07 17:38:51 +01:00
parent e2b8a1ae80
commit 46db2145e5
25 changed files with 495 additions and 67 deletions
@@ -0,0 +1,18 @@
.panel-thematique{
letter-spacing: -0.25em;
}
.panel-thematique>*{
letter-spacing: normal;
}
.panel-thematique .right,.panel-thematique .left{
display: inline-block; vertical-align: top;
}
.panel-thematique .right{
width:75%;
}
.panel-thematique .left{
width: 25%;
}
.panel-thematique .bottom{
}
@@ -0,0 +1,19 @@
<?php
/**
* @file
* Plugin definition.
*/
$plugin = array(
'title' => t('Clameur'),
'category' => t('Clameur'),
'icon' => 'clameur.png',
'theme' => 'panels_clameur',
'css' => 'clameur.css',
'regions' => array(
'top' => t('Top'),
'left' => t('Left side'),
'right' => t('Right side'),
'bottom' => t('Bottom'),
),
);
Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

@@ -0,0 +1,15 @@
<section class="panel-thematique" <?php if (!empty($css_id)) {print "id=\"$css_id\"";} ?>>
<header class="top">
<?php print $content['top']; ?>
</header>
<section class="right">
<?php print $content['left']; ?>
</section>
<section class="left">
<?php print $content['right']; ?>
</section>
<section class="bottom">
<?php print $content['bottom']; ?>
</section>
</section>