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
| // Grunt task: copy Pattern Lab's public directory to Drupal theme directory | |
| // | |
| // Requires: Grunt Shell (https://github.com/sindresorhus/grunt-shell) | |
| // Usage: 'grunt shell:patternlabCopy' | |
| shell: { | |
| patternlabCopy: { | |
| command: | |
| 'rsync -r patternlab/public/* public/sites/all/themes/gesso/pattern-lab' | |
| } |
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
| ######################### | |
| # PATHs | |
| ######################### | |
| export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/share/npm/bin:/usr/local/bin/bin:$PATH" | |
| ######################### | |
| # Git | |
| ######################### | |
| # Show present working directory and Git branch at prompt |
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
| # | |
| # AUTOMATED SETUP ON A NEW MACHINE: | |
| # | |
| # This script takes care of installing local dev tools, applications, fonts, | |
| # and copying over custom configuration. | |
| # | |
| # 1) Download Dropbox: https://www.dropbox.com/downloading | |
| # | |
| # 2) Set up Dropbox: | |
| # - Go to Dropbox Preferences |
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
| module.exports = function (grunt) { | |
| // Load grunt tasks automatically | |
| require('load-grunt-tasks')(grunt); | |
| // Time how long tasks take. Can help when optimizing build times | |
| require('time-grunt')(grunt); | |
| // Define the configuration for all the tasks | |
| grunt.initConfig({ |
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
| &:not(.ng-hide) + .map__wrapper { // Sass :not boolean | |
| @extend %element-hidden; | |
| } |
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
| # Compass / Sass config file | |
| # | |
| # This file is only needed for Compass/Sass integration. If you are not using | |
| # Compass, you may safely ignore or delete this file. | |
| # All config options: http://compass-style.org/help/documentation/configuration-reference/ | |
| # Environment setting, 3 options: | |
| # dev_max: sourcemaps, line comments, expanded output (not ideal if committing CSS to a code repo) | |
| # dev_min: sourcemaps and expanded output (good for theming in progress) | |
| # production: compressed CSS with no debug info |
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
| /* | |
| PhantomCSS Test Template | |
| To use this template in a project: | |
| - install PhantomCSS (https://github.com/Huddle/PhantomCSS) | |
| - copy and rename this PhantomCSS_test_template.js file | |
| cp PhantomCSS_test_template.js sitename.js | |
| - edit the 'sitename' variable | |
| - customize the Test Scenerio | |
| - save the file |
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
| // ---- | |
| // Sass (v3.3.12) | |
| // Compass (v1.0.0.alpha.21) | |
| // Breakpoint (v2.4.6) | |
| // ---- | |
| @import "compass"; | |
| @import "breakpoint"; | |
| $fancy-breakpoint: 500px 600px, 650px; |
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
| // Add last-child class in IE 8 | |
| // source: https://gist.github.com/nathansmith/950767 | |
| function last_child() { | |
| if (/msie [1-8]{1}[^0-9]/.test(navigator.userAgent.toLowerCase())) { | |
| $('*:last-child').addClass('last-child'); | |
| } | |
| } |
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
| // @file | |
| // Styles for: Cross-browser grayscale filter placeholder. | |
| %grayscale { | |
| -webkit-filter: grayscale(1); // Chrome 19+ & Safari 6+ | |
| filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); // Firefox 3.5+ | |
| filter: gray; // IE 6-9 | |
| } |