Skip to content

Instantly share code, notes, and snippets.

View scottdavis's full-sized avatar

Scott Davis scottdavis

View GitHub Profile
@scottdavis
scottdavis / SassMeister-input.scss
Created October 15, 2014 18:52
Generated by SassMeister.com.
// ----
// Sass (v3.4.5)
// Compass (v1.0.1)
// Susy (v2.1.3)
// ----
@import "compass";
@import "susy";
@mixin render(
@scottdavis
scottdavis / SassMeister-input.scss
Created January 27, 2014 20:16
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
@import "compass/reset";
@scottdavis
scottdavis / SassMeister-input-HTML.html
Created November 13, 2013 15:41 — forked from benjamincharity/SassMeister-input-HTML.html
Generated by SassMeister.com.
<div class="icon"></div>
[sdavis@Scotts-iMac:compass (master)]$ bundle exec rake test
WARNING: no such file to load -- rcov/rcovtask
/Users/sdavis/.rvm/rubies/jruby-head/bin/jruby -I"lib:lib:test" -I"/Users/sdavis/.rvm/gems/jruby-head/gems/rake-0.9.2.2/lib" "/Users/sdavis/.rvm/gems/jruby-head/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/integrations/compass_test.rb" "test/integrations/sprites_test.rb" "test/units/actions_test.rb" "test/units/command_line_test.rb" "test/units/compass_module_test.rb" "test/units/compass_png_test.rb" "test/units/compiler_test.rb" "test/units/configuration_test.rb" "test/units/regressions_test.rb" "test/units/sass_extensions_test.rb" "test/units/sprites/engine_test.rb" "test/units/sprites/image_row_test.rb" "test/units/sprites/image_test.rb" "test/units/sprites/images_test.rb" "test/units/sprites/importer_test.rb" "test/units/sprites/layout_test.rb" "test/units/sprites/row_fitter_test.rb" "test/units/sprites/sprite_command_test.rb" "test/units/sprites/sprite_map_test.rb" "test/units/watcher/comp
@scottdavis
scottdavis / config.rb
Created February 23, 2012 17:22 — forked from warthurton/config.rb
Octopress config.rb
# Require any additional compass plugins here.
project_type = :stand_alone
# Publishing paths
http_path = "/"
http_images_path = "http://cdn.warthurton.com/images"
http_fonts_path = "http://cdn.warthurton.com/fonts"
css_dir = "public/stylesheets"
# Local development paths
[sdavis@Scotts-iMac:farm (master)]$ bundle exec compass compile --force
identical public/assets/ie.css
identical public/assets/screen.css
[sdavis@Scotts-iMac:farm (master)]$ rails --version
Rails 3.1.3
@scottdavis
scottdavis / cross-browser-rgba-mixin.scss
Created January 1, 2012 06:58 — forked from philippbosch/cross-browser-rgba-mixin.scss
image-less RGBA backgrounds for real browsers and Internet Explorer
@mixin rgba-background($color, $opacity) {
background-color: $color;
background-color: rgba($color, $opacity);
background-color: transparent\9;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))},endColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))});
zoom: 1;
}
Total: 489 samples
163 33.3% 33.3% 163 33.3% garbage_collector
53 10.8% 44.2% 54 11.0% Dir.open
40 8.2% 52.4% 40 8.2% Kernel#caller
18 3.7% 56.0% 18 3.7% Dir.[]
18 3.7% 59.7% 18 3.7% Regexp#=~
10 2.0% 61.8% 11 2.2% Dir.mkdir
9 1.8% 63.6% 9 1.8% StringScanner#scan
6 1.2% 64.8% 10 2.0% Sass::Script::Lexer#scan
5 1.0% 65.8% 39 8.0% Array#flatten
@mixin slider-nav($sprite, $total-width) {
position:absolute;
$sprite-height:slider-sprite-height($sprite);
$sprite-width:slider-sprite-width($sprite);
$margin:($base-line-height/2) - ($sprite-height/2);
margin-top: $margin;
margin-bottom: $margin;
left: (($total-width - $sprite-width) / 2);
@include slider-sprite($sprite, true);
}
[
"3d-ribbon", "abaddon", "alpha-simprini-engine", "asset_tasks", "atk_icons", "bhm-admin", "big_band", "animate-sass", "beans-middleman", "bedrock", "awestruct", "blossom",
"capucine", "caboodle", "compass-extension-mesh", "compass-facebox-plugin", "compass-fancybox-plugin", "compass_formalize", "compass-foundation", "compass-golden-grid-system",
"compass-grid", "compass-growl", "compass-h5bp", "compass-html5", "compass-jquery-mobile-plugin", "compass-jquery-plugin", "compass-jquery-ui", "compass-jsbundle", "compass-less-plugin",
"compass-lucid-grid", "compass-magick", "compass-recipes", "compass-rgbapng", "compass-rmagick-engine", "compass-scalablegs-plugin", "compass-slickmap", "compass-squaregrid-plugin",
"compass-stems", "compass-susy-plugin", "compass-tfg-plugin", "compass-theme", "compass-themes", "compass-thesquaregrid", "compass-treesaver-plugin", "compass-treesaver-theme-basic-plugin",
"compass_twitter_bootstrap", "compass-twitter-bootstrap", "compass-ui", "compass-vgrid-plugin", "c