diff --git a/frameworks/compass/stylesheets/compass/_misc.scss b/frameworks/compass/stylesheets/compass/_misc.scss index 029d490b..569797e2 100644 --- a/frameworks/compass/stylesheets/compass/_misc.scss +++ b/frameworks/compass/stylesheets/compass/_misc.scss @@ -7,14 +7,14 @@ @mixin unobtrusive-logo($size: 1em) { font-family: Monaco, Courier, "Lucida Sans Unicode", monospace; font-size: $size; - color: #888888; + color: #888; .selector { vertical-align: middle; font-size: 1.3em; } .brace { vertical-align: middle; font: bold 1.7em Georgia, "Times New Roman", serif; - color: #cccccc; + color: #ccc; margin: 0 -0.2em; } .rule { vertical-align: middle; diff --git a/frameworks/compass/stylesheets/compass/css3/_background-clip.scss b/frameworks/compass/stylesheets/compass/css3/_background-clip.scss index 51c84413..b8b5889e 100644 --- a/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +++ b/frameworks/compass/stylesheets/compass/css3/_background-clip.scss @@ -16,10 +16,9 @@ $default-background-clip: padding-box !default; // * border-box @mixin background-clip($clip: $default-background-clip) { - // webkit and mozilla use the deprecated short [border | padding | content] + // webkit and mozilla use the deprecated short [border | padding] $deprecated: padding; - @if $clip == "border-box" { - $deprecated: border; } + @if $clip == border-box { $deprecated: border; } background-clip: $clip; -webkit-background-clip: $deprecated; -moz-background-clip: $deprecated; } diff --git a/frameworks/compass/stylesheets/compass/css3/_background-origin.scss b/frameworks/compass/stylesheets/compass/css3/_background-origin.scss index ed97e6f9..dbad531d 100644 --- a/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +++ b/frameworks/compass/stylesheets/compass/css3/_background-origin.scss @@ -1,23 +1,24 @@ -// Override `!default-background-origin` to change the default. +// Override `$default-background-origin` to change the default. $default-background-origin: content-box !default; // Position the background off the edge of the padding, border or content // // * Possible values: -// * `"padding-box"` -// * `"border-box"` -// * `"content-box"` -// * browser defaults to `"padding-box"` -// * mixin defaults to `"content-box"` +// * `padding-box` +// * `border-box` +// * `content-box` +// * browser defaults to `padding-box` +// * mixin defaults to `content-box` + @mixin background-origin($origin: $default-background-origin) { // webkit and mozilla use the deprecated short [border | padding | content] $deprecated: padding; - @if $origin == "border-box" { - $deprecated: border; } - @if $origin == "content-box" { - $deprecated: content; } - background-origin: $origin; + @if $origin == border-box { $deprecated: border; } + @if $origin == content-box { $deprecated: content; } + + background-origin: $origin; -webkit-background-origin: $deprecated; - -moz-background-origin: $deprecated; } + -moz-background-origin: $deprecated; +} diff --git a/frameworks/compass/stylesheets/compass/css3/_background-size.scss b/frameworks/compass/stylesheets/compass/css3/_background-size.scss index 7eb623c3..7901ee14 100644 --- a/frameworks/compass/stylesheets/compass/css3/_background-size.scss +++ b/frameworks/compass/stylesheets/compass/css3/_background-size.scss @@ -7,8 +7,9 @@ $default-background-size: 100% auto !default; @mixin background-size($size: $default-background-size) { - background-size: $size; + background-size: $size; -webkit-background-size: $size; - -o-background-size: $size; - -khtml-background-size: $size; - -moz-background-size: $size; } + -o-background-size: $size; + -khtml-background-size: $size; + -moz-background-size: $size; +} diff --git a/frameworks/compass/stylesheets/compass/css3/_opacity.scss b/frameworks/compass/stylesheets/compass/css3/_opacity.scss index 43c51c5e..1e614490 100644 --- a/frameworks/compass/stylesheets/compass/css3/_opacity.scss +++ b/frameworks/compass/stylesheets/compass/css3/_opacity.scss @@ -1,6 +1,6 @@ // Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity. // -// @param !opacity +// @param $opacity // A number between 0 and 1, where 0 is transparent and 1 is opaque. @mixin opacity($opacity) {