This file contains hidden or 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
// references | |
// loop through teasers | |
// add different rel to each li | |
// for colorbox to see each teaser as a separate gallery | |
var count = 0; | |
$('ul.references.overview li').each(function(){ | |
$(this).find('.colorbox a').attr('rel','gallery-'+count); | |
// add class to first list item, to be able to hide all others | |
$(this).find('ul li:first').addClass('show'); | |
count++; |
This file contains hidden or 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
//-- FONT SETTINGS -- | |
//------------------- | |
$base-font-size: 13.5px; |
This file contains hidden or 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
// OFF-CANVAS TOP REGION | |
#top { | |
background: $grey-light; | |
color: $white; | |
overflow: hidden; | |
> .container { | |
position: relative; | |
overflow: hidden; | |
height: 5em; | |
-webkit-transition: height 0.5s ease-out; |
This file contains hidden or 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
diff --git a/video_embed_field.module b/video_embed_field.module | |
index 54491d4..8a45ebb 100755 | |
--- a/video_embed_field.module | |
+++ b/video_embed_field.module | |
@@ -354,7 +354,8 @@ function template_preprocess_video_embed_field_embed_code(&$variables) { | |
// Prepare embed code | |
if ($handler && isset($handler['function']) && function_exists($handler['function'])) { | |
- $variables['embed_code'] = drupal_render(call_user_func($handler['function'], $variables['url'], $variables['style_settings'])); | |
+ $embed_code = call_user_func($handler['function'], $variables['url'], $variables['style_settings']); |
OlderNewer