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
bradleyfew@bradleys-mbp comcom (js-testing) $ grunt test | |
>> Local Npm module "grunt-template-jasmine-requirejs" not found. Is it installed? | |
Running "connect:test" (connect) task | |
Started connect web server on http://0.0.0.0:8899 | |
Running "jasmine:run" (jasmine) task | |
Warning: Object false has no method 'indexOf' Use --force to continue. | |
Aborted due to warnings. |
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
message: | |
{ user: { id: '1', name: 'Shell', room: 'Shell' }, | |
text: 'hubot brew roulette', | |
id: 'messageId', | |
done: false, | |
room: 'Shell' }, | |
match: [ 'hubot brew roulette', index: 0, input: 'hubot brew roulette' ], | |
envelope: | |
{ room: 'Shell', | |
user: { id: '1', name: 'Shell', room: 'Shell' }, |
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
.btn { | |
background-color: #f00; | |
display: block; | |
&:hover, | |
&:focus { | |
background-color: red; | |
} | |
&:active { |
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
# Description: | |
# Decide who's making the next round of tea | |
# | |
# Commands: | |
# hubot brew roulette | |
# | |
taunts = [ | |
", you are the chosen one my friend.", | |
", it's time to make a brew!", |
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
.grid { | |
background:red; | |
margin-left: -1em; | |
overflow: hidden; | |
/* demo purposes */ | |
margin-bottom: 1em; | |
} | |
.cell { | |
box-sizing: border-box; |
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
.btn { | |
@include box-sizing(border-box); | |
display: inline-block; | |
padding: 0.5em 1.75em; | |
border: none; | |
border-bottom: 1px solid #6B5F5A; | |
margin: 0; | |
background-color: $brand; | |
color: #fff; | |
cursor: pointer; |
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
// Return the hex value of tint/shade | |
@function colorToString($color, $int) { | |
$output: $color; | |
@if $int == 0 { | |
$output: base + ' - ' + $color; | |
} | |
@return "" + $output + ""; |
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
$site-width: 962px; | |
@function calc-percent($target, $container) { | |
// $container: $site-width !default; fails :( | |
@return ($target / $container) * 100%; | |
} | |
.foo { |
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
/**********************************************/ | |
/* | |
/* Darker Skin by Darcy Clarke - 2011 | |
/* | |
/* For how to install, or more themes, check out: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* | |
/* Color scheme is based on Joe Bergantine's Specials Board: | |
/* http://joebergantine.com/werkstatt/seestyle | |
/* |
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
// Basic gradient mixin which is located inside variables-and-mixins.scss | |
@mixin basic-gradient($start, $stop) { | |
background: $start; | |
background: -moz-linear-gradient(top, $start 0%, $stop 100%); | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$start), color-stop(100%,$stop)); | |
background: -webkit-linear-gradient(top, $start 0%,$stop 100%); | |
background: -o-linear-gradient(top, $start 0%,$stop 100%); | |
background: -ms-linear-gradient(top, $start 0%,$stop 100%); | |
background: linear-gradient(to bottom, $start 0%,$stop 100%); | |
} |
NewerOlder