View st2-d7-project.json
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
{ | |
"folders": | |
[ | |
{ | |
"path": "/", | |
"file_exclude_patterns": | |
[ | |
"drupal/.gitignore", | |
"drupal/.htaccess", | |
"drupal/authorize.php", |
View hook-form-alter-add-action-classes.php
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_form_alter(). | |
*/ | |
function MYTHEME_form_alter(&$form) { | |
// Add additional classes to each form action. | |
if (isset($form['actions'])) { | |
$actions = element_children($form['actions']); | |
foreach ($actions as $action) { |
View _classes.scss
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
// Include this within your main "_init.scss" file using | |
// @import "classes"; | |
// The opposite of Drupal's .js-hide class which hides an element when | |
// JavaScript is enabled (this hides an element when JavaScript is disabled). | |
// Add this to an element using the @extend directive. For example: | |
// | |
// .tabs { | |
// @extend %no-js-hide. | |
// } |
View each-loops.scss
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
@each $family in futura-book, futura-bold, futura-bold-italic, futura-italic { | |
@font-face { | |
font-family: #{$family}; | |
src: url('../fonts/#{$family}/#{$family}.eot'); | |
src: url('../fonts/#{$family}/#{$family}.eot?#iefix') format('embedded-opentype'), | |
url('../fonts/#{$family}/#{$family}.woff') format('woff'), | |
url('../fonts/#{$family}/#{$family}.ttf') format('truetype'), | |
url('../fonts/#{$family}/#{$family}.svg##{$family}') format('svg'); | |
font-weight: normal; | |
font-style: normal; |
View config.rb
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
require "sass-globbing" | |
require "susy" | |
require "breakpoint" | |
http_path = "/" | |
css_dir = "css" | |
sass_dir = "sass" | |
images_dir = "images" | |
javascripts_dir = "js" | |
fonts_dir = "fonts" |
View slick-centermode.js
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
jQuery(document).ready(function ($) { | |
"use strict"; | |
if ($('#block-views-hero-slideshow-block').length > 0) { | |
$('#block-views-hero-slideshow-block .view-content ul').slick({ | |
centerMode: true, | |
slide: 'li', | |
slidesToShow: 1 | |
}); | |
} |
View _mixins.scss
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
@mixin styled-select($width: 200px, $margin: 30px) { | |
overflow: hidden; | |
width: $width; | |
select { | |
@include appearance(none); | |
@include border-radius(0); | |
background: none; | |
border: none; | |
cursor: pointer; |
View settings.common.php
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 | |
// Disable self-updates. | |
$conf['allow_authorize_operations'] = FALSE; | |
// Disable poormanscron. | |
$conf['cron_safe_threshold'] = 0; |
View settings.local.php
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 | |
$databases = array(); | |
$base_url = ''; | |
$conf['site_name'] = ''; | |
// Display all messages. | |
// $conf['error_level'] = 2; |
View sculpin-deploy.sh
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
#!/bin/sh | |
SOURCE=~/path/to/source | |
TARGET=~/path/to/target | |
ENV=prod | |
REMOTE_NAME=origin | |
REMOTE_BRANCH=master | |
echo "Ensure that the target repository is up to date." | |
cd ${TARGET} |
OlderNewer