From d9fdb0d0c7897bd3ffd1e9df4357ca1eb2fde64f Mon Sep 17 00:00:00 2001 From: Zee Agency Date: Mon, 14 Feb 2011 14:37:22 +0100 Subject: [PATCH] Add css3 appearance mixin --- frameworks/compass/stylesheets/compass/_css3.scss | 1 + .../stylesheets/compass/css3/_appearance.scss | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 frameworks/compass/stylesheets/compass/css3/_appearance.scss diff --git a/frameworks/compass/stylesheets/compass/_css3.scss b/frameworks/compass/stylesheets/compass/_css3.scss index 41f0447f..3ca84aa0 100644 --- a/frameworks/compass/stylesheets/compass/_css3.scss +++ b/frameworks/compass/stylesheets/compass/_css3.scss @@ -14,3 +14,4 @@ @import "css3/font-face"; @import "css3/transform"; @import "css3/transition"; +@import "css3/appearance"; \ No newline at end of file diff --git a/frameworks/compass/stylesheets/compass/css3/_appearance.scss b/frameworks/compass/stylesheets/compass/css3/_appearance.scss new file mode 100644 index 00000000..128fe4d9 --- /dev/null +++ b/frameworks/compass/stylesheets/compass/css3/_appearance.scss @@ -0,0 +1,13 @@ +@import "shared"; + +// Change the appearance for Mozilla, Webkit and the future +// +// @param $ap +// [ none | normal | icon | window | button | menu | field ] + +@mixin appearance($ap) { + $ap: unquote($ap); + @include experimental(appearance, $ap, + -moz, -webkit, not -o, not -ms, not -khtml, official + ); +}