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
a { | |
background-image: -webkit-gradient(linear,left top,left bottom,from(transparent),to(#ddd)); | |
background-image: -webkit-linear-gradient(top,transparent 50%,#ddd 50%); | |
background-image: linear-gradient(to bottom,transparent 50%,#ddd 50%); | |
background-image: none; | |
color: red; | |
background-repeat: repeat-x; | |
-webkit-background-size: 2px 2px; | |
background-size: 2px 2px; | |
background-position: 0 90%; |
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
function throttle( fn, time ) { | |
var t = 0; | |
return function() { | |
var args = arguments, ctx = this; | |
clearTimeout(t); | |
t = setTimeout( function() { | |
fn.apply( ctx, args ); | |
}, time ); | |
}; |
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 | |
@mixin font-smoothing($value: on) { | |
@if $value == on { | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
@else { | |
-webkit-font-smoothing: subpixel-antialiased; | |
-moz-osx-font-smoothing: auto; |
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
<div> | |
<input type="radio" id="only_admins_see_billable_rates_true" name="only_admins_see_billable_rates" value="true"> | |
<label class="inline" for="only_admins_see_billable_rates_true">Admins</label> | |
<input type="radio" id="only_admins_see_billable_rates_false" name="only_admins_see_billable_rates" value="false"> | |
<label class="inline" for="only_admins_see_billable_rates_false">Everyone</label> | |
</div> |
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
<span class="icn-toggle"></span> |
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
<span class="icn-toggle"></span> |
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
// @font-face Custom | |
@mixin fontface($font-family, $file-path, $weight: normal, $style: normal) { | |
@font-face { | |
font-family: $font-family; | |
font-weight: $weight; | |
font-style: $style; | |
src: url('#{$file-path}.eot'); | |
src: url('#{$file-path}.eot?#iefix') format('embedded-opentype'), | |
url('#{$file-path}.woff') format('woff'), | |
url('#{$file-path}.ttf') format('truetype'); |
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
// H&Co Typography mixin ------------------------------------------------------------- | |
// | |
// $fontFamily: gotham, Sentinel, whitney | |
// $fontWeight: light, book, medium, semibold, bold, black | |
// $SSm: true, false (ScreenSmart Font?) | |
// $fontStyle: normal, italic | |
// | |
// USAGE: @include HoefFont(gotham, bold, true); | |
@function capitalize($string) { |
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
var plumber = require('gulp-plumber'); | |
var notify = require('gulp-notify'); | |
// SASS style sheets | |
gulp.task('styles', function () { | |
return gulp.src('./PATH') | |
.pipe(plumber({ | |
errorHandler: notify.onError("Error: <%= error.message %>") | |
})) | |
}); |
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
// ---- | |
// Sass (v3.4.1) | |
// Compass (v1.0.1) | |
// ---- | |
$currentDate: current-date('%A, %b %e %Y'); | |
$currentTime: current-time('%T %p %Z'); | |
/* | |
Date: #{$currentDate} |
OlderNewer