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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// color() mixin: | |
///////////////////////////////////////////////////// | |
// Gets the specified color from the color palette // | |
// // | |
// Usage: // | |
// background: color('blue'); // #0099CE // |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// color() mixin: | |
///////////////////////////////////////////////////// | |
// Gets the specified color from the color palette // | |
// // | |
// Usage: // | |
// background: color('blue'); // #0099CE // |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Colors. | |
$blue: #0099CE; | |
$green: #39B54A; | |
$orange: #EB8F2D; | |
$pink: #C1167A; | |
$purple: #6D13B0; |
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
<div class="highlight-color__0099CE"> | |
<h1>This is the title</h1> | |
</div> | |
<div class="highlight-color__C1167A"> | |
<h1>This is the title</h1> | |
</div> | |
<div class="highlight-color__EB8F2D"> | |
<h1>This is the title</h1> |
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
<div class="highlight-color__C1167A"> | |
<h1>This is the title</h1> | |
</div> |
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
<?php | |
/** | |
* Implements preprocess_field | |
*/ | |
function pr_question_preprocess_field(&$vars) { | |
// Alter "Answered by" field. | |
if($vars['element']['#field_name'] == 'field_answered_by') { |
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
<?php | |
/** | |
* Implements hook_preprocess_HOOK(). | |
*/ | |
function cii_preprocess_node(&$vars, $hook) { | |
// Optionally, run node-type-specific preprocess functions, like | |
// STARTERKIT_preprocess_node_page() or STARTERKIT_preprocess_node_story(). | |
$function = __FUNCTION__ . '_' . $vars['node']->type; | |
if (function_exists($function)) { |
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
<?php | |
/** | |
* Implements hook_field_formatter_info(). | |
*/ | |
function aspphotogallery_field_formatter_info() { | |
return array( | |
'aspphotogallery_default' => array( | |
'label' => t('ASP Photo Gallery'), | |
'field types' => array('image'), |
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
<?php | |
/** | |
* @file | |
* Featured Photographs Custom Pane. | |
*/ | |
$plugin = array( | |
'single' => TRUE, | |
'title' => t('Featured Photographs from Exhibit'), |
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
<?php | |
// Get path to module and generate URL to FeaturedPhotographs JS. | |
$path = drupal_get_path('module', 'aspcarousels'); | |
$FeaturedPhotographsJS = file_create_url($path . '/js/FeaturedPhotographs.js'); | |
// Load JS uncompressed to avoid issues with running Colorbox. | |
drupal_add_js($FeaturedPhotographsJS, array('preprocess' => FALSE)) | |
?> |