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
$variables['attributes']['class'] = 'test-attribute-merge-1'; | |
$variables['content_attributes']['class'] ='test-content_attributes-merge-2'; | |
$variables['attributes']['role'] = 'attributes-role'; | |
$variables['content_attributes']['role'] = 'content_attributes-role'; | |
$variables['title_attributes']['role'] = 'title-attributes-role'; | |
$variables['item_attributes']['0']['role'] = 'item-attributes-role'; | |
//wtf why u not merge |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
//clean | |
clean: { | |
styleguide: ['styleguide'], | |
css: ['css'] | |
}, | |
//copy |
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
{# title wtf is this called label btw #} | |
{% if not label_hidden %} | |
<h3 {{ title_attributes }}>{{ label }}: </h3> | |
{% endif %} | |
{% for delta, item in items %} | |
{% if loop.length > 1 %} {# no wrappers if theres only 1 item#} | |
<section class="images" {{ content_attributes }}> {# wanna do a print all attributes but no class #} |
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
//tooltips for forms | |
form.tooltip{ | |
small, | |
.description{ | |
text-align:left; | |
width:200px; | |
color: white; | |
background: #666; | |
@include border-radius(2px); |
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 | |
* Returns HTML for a breadcrumb trail. | |
* | |
* @param $variables | |
* An associative array containing: | |
* - breadcrumb: An array containing the breadcrumb links. | |
* | |
* @ingroup themeable |
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
;-------------- CSS FOAD ------------- | |
;stylesheets[all][] = donteverloadmeagain.css | |
stylesheets[all][] = system.theme.css | |
stylesheets[all][] = system.menus.css | |
stylesheets[all][] = system.messages.css | |
stylesheets[all][] = jquery.ui.theme.css | |
stylesheets[all][] = user.css | |
stylesheets[all][] = field.css | |
stylesheets[all][] = node.css | |
stylesheets[all][] = comment.css |
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
<article class="node"> | |
<h1>node bla bla bla</h1> | |
<footer>author</footer> | |
<p> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud </p> | |
<!-- id for a anchor--> | |
<section id="comments"><!--aside ?--> | |
<article> | |
<h3>first post</h3> |