Skip to content
Snippets Groups Projects
Commit 089bb55b authored by Melissa Miller's avatar Melissa Miller
Browse files

update theme until next build

parent d817b01d
No related branches found
No related tags found
No related merge requests found
Showing
with 93 additions and 0 deletions
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
/**
* @file
* ocio-omega-threecol panel layout
**/
.ocio-omega-threecol-container .panel-pane {
margin-bottom: 1em;
}
.ocio-omega-threecol-column-content-region {
min-height: 1px;
width: 33.9%;
float: left;
}
.ocio-omega-threecol-column-content-region-inner {
margin-right: 5%;
}
.ocio-omega-threecol-column3 {
width: 32.2%;
}
.ocio-omega-threecol-column3-inner {
margin-right: 0;
}
/* iPad or less */
@media only screen and (max-width: 760px) {
.ocio-omega-threecol-column-content-region,
.ocio-omega-threecol-column3 {
width: 100%;
float: none;
}
.ocio-omega-threecol-column-content-region-inner {
margin-right: 0;
}
}
<?php
// Plugin definition
$plugin = array(
'title' => t('Three Column'),
'icon' => 'ocio-omega-threecol.png',
'category' => t('WCM Layouts'),
'theme' => 'ocio-omega-threecol',
'css' => 'ocio-omega-threecol.css',
'regions' => array(
'header' => t('Header'),
'column1' => t('First Column'),
'column2' => t('Second Column'),
'column3' => t('Third Column'),
),
);
profiles/wcm_base/themes/ocio_omega_base/panels/ocio-omega-threecol.png

1.1 KiB

<?php
/**
* @file
* Template for custom ocio-omega-threecol Panopoly layout.
*
* Variables:
* - $css_id: An optional CSS id to use for the layout.
* - $content: An array of content, each item in the array is keyed to one
* panel of the layout. This layout supports the following sections:
*/
?>
<div class="panel-display ocio-omega-threecol clearfix <?php if (!empty($class)) { print $class; } ?>" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
<div class="ocio-omega-threecol-container ocio-omega-threecol-header clearfix panel-panel row-fluid">
<div class="ocio-omega-threecol-container-inner ocio-omega-threecol-header-inner panel-panel-inner span12">
<?php print $content['header']; ?>
</div>
</div>
<div class="ocio-omega-threecol-container ocio-omega-threecol-column-content clearfix row-fluid">
<div class="ocio-omega-threecol-column-content-region ocio-omega-threecol-column1 panel-panel span4">
<div class="ocio-omega-threecol-column-content-region-inner ocio-omega-threecol-column1-inner panel-panel-inner">
<?php print $content['column1']; ?>
</div>
</div>
<div class="ocio-omega-threecol-column-content-region ocio-omega-threecol-column2 panel-panel span4">
<div class="ocio-omega-threecol-column-content-region-inner ocio-omega-threecol-column2-inner panel-panel-inner">
<?php print $content['column2']; ?>
</div>
</div>
<div class="ocio-omega-threecol-column-content-region ocio-omega-threecol-column3 panel-panel span4">
<div class="ocio-omega-threecol-column-content-region-inner ocio-omega-threecol-column3-inner panel-panel-inner">
<?php print $content['column3']; ?>
</div>
</div>
</div>
</div><!-- /.ocio-omega-threecol -->
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment