A list of Drush shortcuts I find useful for Drupal development.
drush uli
// ---- | |
// Sass (v3.4.0.rc.1) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
@import "compass"; | |
$tool-icons: ( | |
sakai-help: "\f059", |
// ---- | |
// Sass (v3.3.9) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
@import "compass"; | |
//$supported-browsers: browsers() !default; | |
$graceful-usage-threshold: 0.1; | |
$critical-usage-threshold: 0.01; | |
$debug-browser-support: true; |
<h1>Color Swatches</h1> | |
<ul class="sg__colours"> | |
<li class="sg__colour sg__colour--brand"></li> | |
<li class="sg__colour sg__colour--copy"></li> | |
<li class="sg__colour sg__colour--link"></li> | |
<li class="sg__colour sg__colour--hover"></li> | |
<li class="sg__colour sg__colour--highlight"></li> | |
<li class="sg__colour sg__colour--error"></li> | |
</ul> |
// ---- | |
// Sass (v3.2.19) | |
// Compass (v) | |
// ---- | |
@import "compass"; | |
$repeating-linear-gradient: repeating-linear-gradient(#ededed, #ededed 33px, #d4d4d4 33px, #d4d4d4 38px); | |
.foo { |
body { | |
margin: 10px; | |
background-color: darkgray; | |
} | |
h1 { | |
text-align: center; | |
} | |
.shelf-wrapper { |
// ---- | |
// Sass (v3.3.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
.block { | |
padding: 0; | |
&__element { | |
margin: 0; | |
} |
// ---- | |
// Sass (v3.2.14) | |
// Compass (v0.12.2) | |
// ---- | |
$icon: (help '\e003'); | |
@mixin generate-icon($icon, $pseudo: before, $prefix: '') { | |
#{$prefix}#{nth($icon, 1)}:#{$pseudo} { | |
content: nth($icon, 2); |
// ---- | |
// Sass (v3.3.0.rc.5) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$icons: ((help '\e003'), (close '\e005') ,(clos '\e004')); | |
//$icons: ((help '\e003')); | |
@mixin foo($list...){ | |
//@debug length($list); |
// ---- | |
// Sass (v3.3.0.rc.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@mixin adjust-each-header($start, $finish, $startingFontSize: 30px, $adjustFont: 3px, $lineHeight: 1.618) { | |
@for $i from $start through $finish { | |
h#{$i} { | |
font-size: $startingFontSize; | |
line-height: getValue(($startingFontSize * $lineHeight)); |