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
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']); |
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
// 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 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 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 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
img.inserted { | |
width: 50%; | |
float: left; | |
} | |
.left .inserted { | |
float: left; | |
margin: rhythm(0.3) rhythm(0.5) rhythm(0.25) 0; | |
} | |
.right .inserted { |
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
width: columns(4,9) + (columns(1,9)/2) + (gutter(9)/2); | |
margin-right: gutter(9); |
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
// add this to your html page (e.g. in a block) | |
<div id="map_canvas">map_canvas</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
//-------------- | |
//---- TEAM ---- | |
//-------------- | |
ul.team { | |
@include span-columns($total-columns); | |
padding: 0 !important; | |
li { | |
list-style: none; | |
@include span-columns($total-columns); | |
border-bottom: 1px solid $grey; |
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
/* Responsive table */ | |
@media all and (max-width: 640px) { | |
.table, | |
.row, | |
.column, | |
.column:before { | |
display: inline-block; | |
/* Converts a table, table row, table column and table column:before into a block element */ | |
} |
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
/** | |
* Implements template_preprocess_taxonomy_term(). | |
*/ | |
function YOURTHEME_preprocess_taxonomy_term(&$variables) { | |
// Add taxonomy term description wrapper | |
$variables['content']['description']['#prefix'] = ''; | |
$variables['content']['description']['#suffix'] = ''; | |
} |
NewerOlder