The focus on this release is to get the compass stylesheet libraries and docs as close to final for 1.0 as possible.
- Upgrade to Blueprint 1.0
- DONE Upgrade stylesheets
@function shadow-3d($thickness-shadow-color, $splash-shadow-color, $thickness, $angle: 0) { | |
$shadows: compact(); | |
@if unit($thickness) != px { @warn "$thickness must be passed as a pixel value, eg: 5px." }; | |
@for $i from 1 through $thickness/1px { | |
$shadows: append($shadows, 0 1px * $i 0 adjust-color($thickness-shadow-color, $lightness: -3.3% * ($i - 1))); | |
} | |
@each $values in ( | |
0 $thickness + 1px 1px 0.1, | |
0 0 $thickness + 5px 0.3, | |
0 abs($thickness - 2px) 5px 0.2, |
module MyAppIntegration | |
extend self | |
class Installer < Compass::Installers::ManifestInstaller | |
def completed_configuration | |
@completed_configuration ||= MyAppIntegration.configuration | |
end | |
# do special install stuff here | |
# like installing package manifests, etc. |
@function linear() { | |
@return cubic-bezier(0.250, 0.250, 0.750, 0.750); } | |
@function ease() { | |
@return cubic-bezier(0.250, 0.100, 0.250, 1.000); } | |
@function ease-in() { | |
@return cubic-bezier(0.420, 0.000, 1.000, 1.000); } | |
@function ease-in-quad() { | |
@return cubic-bezier(0.550, 0.085, 0.680, 0.530); } |
" Put this in your .vimrc and whenever you `git commit` you'll see the diff of your commit next to your commit message. | |
" For the most accurate diffs, use `git config --global commit.verbose true` | |
" BufRead seems more appropriate here but for some reason the final `wincmd p` doesn't work if we do that. | |
autocmd VimEnter COMMIT_EDITMSG call OpenCommitMessageDiff() | |
function OpenCommitMessageDiff() | |
" Save the contents of the z register | |
let old_z = getreg("z") | |
let old_z_type = getregtype("z") |
# Ignore static version of the site (used to upload error pages to S3 for Heroku errors) | |
/out |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.