Skip to content

Instantly share code, notes, and snippets.

View chrisfromredfin's full-sized avatar

Chris Wells chrisfromredfin

View GitHub Profile
@chrisfromredfin
chrisfromredfin / gist:23973ea8fb9d101c04d43f181b849deb
Created February 5, 2017 18:50
SASS for Sanitizing Drupal's $tabs
ul.tabs {
border-bottom: 0;
white-space: normal;
line-height: 1.6em;
padding: 0;
margin: 0;
li {
a {
border-style: solid;
@chrisfromredfin
chrisfromredfin / gist:39374262fda0b276bf9ccf38c00504d4
Created February 5, 2017 18:46
CSS for Santizing Drupal's $tabs
ul.primary { border-bottom: 0; white-space: normal; line-height: 1.6em; padding: 0; margin: 0 }
ul.primary li a { border-style: solid; white-space: nowrap; margin-right: .1em; }
ul.primary li.active a { border-bottom: 1px solid #bbb; }
ul.primary li a:hover { border-bottom-color: #ccc; }
{
"Use Non-ASCII Font" : true,
"Tags" : [
],
"Ansi 12 Color" : {
"Blue Component" : "0.8117647",
"Green Component" : "0.6235294",
"Red Component" : "0.4470588"
},
<?php
/**
* Implementation of hook_drush_command().
*
* In this hook, you specify which commands your
* drush module makes available, what it does and
* description.
*
* Notice how this structure closely resembles how
* you define menu hooks.