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
{ | |
"data": [ | |
{ | |
"type": "recipes", | |
"id": "d977783a-d277-4f55-b8a7-af57b188ab6e", | |
"attributes": { | |
"title": "Frankfurter salad with mustard dressing" | |
}, | |
"relationships": { | |
"category": { |
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_block_info(). | |
*/ | |
function MODULE_NAME_block_info() { | |
$blocks['BLOCK_DELTA'] = array( | |
'info' => t(''), | |
'cache' => DRUPAL_NO_CACHE, | |
); |
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
// | |
// @file | |
// Magic Padding mixins. | |
// | |
// Replaces bottom padding with an :after psuedo element with top margin, giving | |
// the illusion of the bottom padding collapsing with the bottom margin of the | |
// last child within the element. | |
// | |
// @param $value |
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 | |
/** | |
* Custom implementation of theme_menu_link() for including icons. | |
*/ | |
function cic_menu_link__icon(array $variables) { | |
$element = $variables['element']; | |
$sub_menu = ''; | |
/* Prevent the <span> tag from being escaped */ |
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 | |
* Default theme implementation to display a block. | |
* | |
* Available variables: | |
* - $block->subject: Block title. | |
* - $content: Block content. | |
* - $block->module: Module that generated the block. |
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
/* | |
* toggle.js | |
*/ | |
var logger = require('./logger'), | |
log = logger.log, | |
$ = require('jquery'); | |
var toggle = 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
<div id="swatch-1"></div> | |
<div id="swatch-2"></div> | |
<div id="swatch-3"></div> | |
<div id="swatch-4"></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
@import "singularitygs"; | |
// Singularity Settings | |
$grids: 3; | |
$gutters: 0; | |
$output: 'isolation'; | |
/// | |
$direction: 'rtl'; | |
.rtl { | |
@include grid-span(2, 1); |
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
<header class="brand"> | |
<img src="" class="brand-logo"/> | |
<h1 class="brand-name">The Sass Way</h1> | |
<p class="brand-price">5/6</p> | |
</header> | |
<div class="cover"> | |
<h1 class="cover-title">The Marber Grid</h1> | |
<cite class="cover-author">Singularity GS</cite> | |
</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
// | |
// @file | |
// Sidebars After Layout. | |
// One main content area with two sidebars after. | |
// ---------------------------------------------------------------------------- | |
.l--3up { | |
@include breakpoint(41em, $no-query: '.lt-ie9') { | |
.l-main { | |
@include zen-grid-item(8, 1); |
NewerOlder