Merge branch 'master' of github.com:chriseppstein/compass

This commit is contained in:
Eric Meyer 2011-02-21 23:23:14 -07:00
commit c521908947
4 changed files with 31 additions and 0 deletions

View File

@ -32,6 +32,7 @@ The Documentation for the [latest preview release](http://beta.compass-style.org
* The comma-delimited-list has been renamed to delimited-list and * The comma-delimited-list has been renamed to delimited-list and
generalized to accept a delimiter which defaults to a comma. generalized to accept a delimiter which defaults to a comma.
The old function continues to exist, but is deprecated. The old function continues to exist, but is deprecated.
* A new CSS3 mixin for [appearance](/reference/compass/css3/appearance/) was added.
0.11.beta.2 (02/01/2011) 0.11.beta.2 (02/01/2011)
------------------------ ------------------------

View File

@ -0,0 +1,16 @@
---
title: Compass Appearance
crumb: Appearance
framework: compass
stylesheet: compass/css3/_appearance.scss
meta_description: Specify the CSS3 appearance property.
layout: core
classnames:
- reference
- core
- css3
---
- render 'reference' do
:markdown
Provides a mixin for `appearance`.
See the CSS3 specification: [appearance](http://www.w3.org/TR/css3-ui/#appearance).

View File

@ -14,3 +14,4 @@
@import "css3/font-face"; @import "css3/font-face";
@import "css3/transform"; @import "css3/transform";
@import "css3/transition"; @import "css3/transition";
@import "css3/appearance";

View File

@ -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
);
}