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
// 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. | |
// } |
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
<?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) { |
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
{ | |
"folders": | |
[ | |
{ | |
"path": "/", | |
"file_exclude_patterns": | |
[ | |
"drupal/.gitignore", | |
"drupal/.htaccess", | |
"drupal/authorize.php", |
NewerOlder