FINAL suepr merge step : added all modules to this super repos
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
.panel-html5-2col{width:100%;}
|
||||
.panel-html5-2col>*{float:left;width:50%;}
|
||||
.panel-html5-2col>.article{clear:both;}
|
||||
.clear-after:after{clear:both;content:'';display:block;height:0px;overflow:hidden;visibility:hidden;width:0px;}
|
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
// Plugin definition
|
||||
$plugin = array(
|
||||
'title' => t('[Article] [Aside]'),
|
||||
'category' => t('Columns: 2'),
|
||||
'icon' => 'html5-2-col.png',
|
||||
'theme' => 'panels_html5_2_col',
|
||||
'css' => 'html5-2-col.css',
|
||||
'regions' => array(
|
||||
'article' => t('Article'),
|
||||
'aside' => t('Aside'),
|
||||
),
|
||||
);
|
Binary file not shown.
After Width: | Height: | Size: 193 B |
@@ -0,0 +1,4 @@
|
||||
<div class="panel panel-html5-2col clear-after" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<article class="article clear-after"><?php print $content['article']; ?></article>
|
||||
<aside class="aside clear-after"><?php print $content['aside']; ?></aside>
|
||||
</div>
|
@@ -0,0 +1,2 @@
|
||||
.panel-html5-basic{width:100%;}
|
||||
.clear-after:after{clear:both;content:'';display:block;height:0px;overflow:hidden;visibility:hidden;width:0px;}
|
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
// Plugin definition
|
||||
$plugin = array(
|
||||
'title' => t('[Header] [Nav] [Section]'),
|
||||
'category' => t('Columns: 1'),
|
||||
'icon' => 'html5-basic.png',
|
||||
'theme' => 'panels_html5_basic',
|
||||
'css' => 'html5-basic.css',
|
||||
'regions' => array(
|
||||
'header' => t('Header'),
|
||||
'nav' => t('Nav'),
|
||||
'section' => t('Section'),
|
||||
),
|
||||
);
|
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,5 @@
|
||||
<div class="panel-html5-basic clear-after" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<header class="header clear-after"><?php print $content['header']; ?></header>
|
||||
<nav class="nav clear-after"><?php print $content['nav']; ?></nav>
|
||||
<section class="section clear-after"><?php print $content['section']; ?></section>
|
||||
</div>
|
@@ -0,0 +1,2 @@
|
||||
.panel-html5-custom-2{width:100%;}
|
||||
.clear-after:after{clear:both;content:'';display:block;height:0px;overflow:hidden;visibility:hidden;width:0px;}
|
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
// Plugin definition
|
||||
$plugin = array(
|
||||
'title' => t('[Article] [Nav] [Aside]'),
|
||||
'category' => t('Columns: 1'),
|
||||
'icon' => 'html5-custom-2.png',
|
||||
'theme' => 'panels_html5_custom_2',
|
||||
'css' => 'html5-custom-2.css',
|
||||
'regions' => array(
|
||||
'article' => t('Article'),
|
||||
'nav' => t('Nav'),
|
||||
'aside' => t('Aside'),
|
||||
),
|
||||
);
|
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,5 @@
|
||||
<div class="panel panel-html5-custom2 clear-after" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<article class="article clear-after"><?php print $content['article']; ?></article>
|
||||
<nav class="nav clear-after"><?php print $content['nav']; ?></nav>
|
||||
<aside class="aside clear-after"><?php print $content['aside']; ?></aside>
|
||||
</div>
|
@@ -0,0 +1,5 @@
|
||||
.panel-html5-custom{width:100%;}
|
||||
.panel-html5-custom .nav{ float:left; width:100%; }
|
||||
.panel-html5-custom .article{ clear:both; float:left; width:50%; }
|
||||
.panel-html5-custom .aside{ float:right; width:50%; }
|
||||
.clear-after:after{clear:both;content:'';display:block;height:0px;overflow:hidden;visibility:hidden;width:0px;}
|
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
// Plugin definition
|
||||
$plugin = array(
|
||||
'title' => t('[Nav] [Article] [Aside]'),
|
||||
'category' => t('Columns: 2'),
|
||||
'icon' => 'html5-custom.png',
|
||||
'theme' => 'panels_html5_custom',
|
||||
'css' => 'html5-custom.css',
|
||||
'regions' => array(
|
||||
'nav' => t('Nav'),
|
||||
'article' => t('Article'),
|
||||
'aside-nav' => t('Aside > Nav'),
|
||||
'aside-content' => t('Aside > Content'),
|
||||
),
|
||||
);
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,9 @@
|
||||
<div class="panel panel-html5-custom clear-after" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<nav class="nav clear-after"><?php print $content['nav']; ?></nav>
|
||||
<article class="article clear-after"><?php print $content['article']; ?></article>
|
||||
<aside class="aside clear-after">
|
||||
|
||||
<?php if($content['aside-nav']): ?><nav class="aside-nav clear-after"><?php print $content['aside-nav']; ?></nav><?php endif; ?>
|
||||
<?php print $content['aside-content']; ?>
|
||||
</aside>
|
||||
</div>
|
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Definition of the 'default' panel style.
|
||||
*/
|
||||
|
||||
// Plugin definition
|
||||
$plugin = array(
|
||||
'title' => t('Minimum HTML'),
|
||||
'description' => t('The default panel rendering style; without separator.'),
|
||||
'render pane' => 'panels_minimum_style_render_pane',
|
||||
'render region' => 'panels_minimum_style_render_region',
|
||||
);
|
||||
|
||||
/**
|
||||
* Render callback.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function theme_panels_minimum_style_render_pane($vars) {
|
||||
return render($vars['content']->content);
|
||||
}
|
||||
|
||||
|
||||
function theme_panels_minimum_style_render_region($vars) {
|
||||
return implode($vars['panes']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user