From 72876a7d63e4f04de5b4c39b7b04b4dbe70b20c7 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 28 Mar 2010 23:09:36 -0700 Subject: [PATCH] cleanup the source docs for css3/box_shadow --- .../stylesheets/compass/css3/_box_shadow.sass | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass b/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass index 0331f07d..6735d5aa 100644 --- a/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +++ b/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass @@ -1,18 +1,20 @@ -// - Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3. +// @doc off +// These defaults make the arguments optional for this mixin +// If you like, set different defaults before importing. +// @doc on - Standard arguments are color, horizontal offset, vertical offset, and blur. - -// - These defaults make the arguments optional for this mixin - - If you like, set different defaults in your project. - +// The default color for box shadows !default_box_shadow_color ||= #333 +// The default horizontal offset. Positive is to the right. !default_box_shadow_h_offset ||= 1px +// The default vertical offset. Positive is down. !default_box_shadow_v_offset ||= 1px +// The default blur length. !default_box_shadow_blur ||= 5px +// + Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3. + Arguments are color, horizontal offset, vertical offset, and blur length. =box-shadow(!color = !default_box_shadow_color, !hoff = !default_box_shadow_h_offset, !voff = !default_box_shadow_v_offset, !blur = !default_box_shadow_blur) /* Webkit (Safari, Chrome) */ -webkit-box-shadow= !color !hoff !voff !blur