-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Ouellet
committed
Aug 5, 2014
1 parent
8026813
commit 69dd15b
Showing
5 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
product_jumbo | ||
============= | ||
|
||
full width panel | ||
full width template for kalatheme | ||
|
||
Tweak the css as needed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** Product Jumbo CSS if needed **/ | ||
|
||
#product-nav { | ||
margin-top: 0; | ||
} | ||
|
||
#product-nav .container { | ||
width: 100%; | ||
} | ||
|
||
#product-nav .product-jumbo-navbar { | ||
padding: 0; | ||
} | ||
|
||
#product-jumbo .container { | ||
width:100%; | ||
} | ||
|
||
#product-jumbo .product-jumbo-strech { | ||
padding: 0; | ||
} | ||
|
||
@-moz-document url-prefix() { | ||
#product-jumbo .product-jumbo-strech { | ||
margin-top: -10px; | ||
} | ||
} | ||
|
||
.not-front.not-logged-in #product-jumbo { | ||
margin-top: -10px; | ||
} | ||
|
||
.page-support.not-logged-in #product-jumbo, | ||
#product-jumbo { | ||
margin-top: 30px; | ||
margin-bottom: 2em; | ||
} | ||
|
||
.logged-in.dealer.navbar-tray-open #product-jumbo { | ||
margin-top: -10px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Template for Panopoly product-jumbo. | ||
* | ||
* 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 products product-jumbo clearfix <?php if (!empty($class)) { print $class; } ?>" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>> | ||
<section class="section" id="product-nav"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-<?php print kalatheme_grid_size(KALATHEME_GRID_FULL); ?> product-jumbo-navbar"> | ||
<?php print $content['navbar']; ?> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section class="section" id="product-jumbo"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-<?php print kalatheme_grid_size(KALATHEME_GRID_FULL); ?> product-jumbo-strech"> | ||
<?php print $content['pjumbo']; ?> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
<section class="section" id="product-content"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-<?php print kalatheme_grid_size(KALATHEME_GRID_FULL); ?> product-jumbo-content"> | ||
<?php print $content['contentmain']; ?> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div><!-- /.product-jumbo --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
// Plugin definition | ||
$plugin = array( | ||
'title' => t('Product Jumbo'), | ||
'icon' => 'product-jumbo.png', | ||
'category' => t('CSi'), | ||
'css' => 'product-jumbo.css', | ||
'theme' => 'product_jumbo', | ||
'regions' => array( | ||
'navbar' => t('Top Nav'), | ||
'pjumbo' => t('Product Jumbotron'), | ||
'contentmain' => t('Content'), | ||
), | ||
); |