Add docs for the user interface module

This commit is contained in:
Chris Eppstein 2012-03-09 00:08:41 -08:00
parent 046d4688d1
commit 1fef2b2e5e
2 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1,15 @@
---
title: Compass User Interface
crumb: User Interface
framework: compass
stylesheet: compass/css3/_user-interface.scss
meta_description: Declare an element inline block for all browsers.
layout: core
classnames:
- reference
- core
- css3
---
- render 'reference' do
%p
Provides mixins for the CSS3 User Interface module.

View File

@ -1,19 +1,17 @@
@import "shared";
// User Interface ------------------------------------------------------------ // User Interface ------------------------------------------------------------
// This file can be expanded to handle all the user interface properties as // This file can be expanded to handle all the user interface properties as
// they become available in browsers: // they become available in browsers:
// http://www.w3.org/TR/2000/WD-css3-userint-20000216 // http://www.w3.org/TR/2000/WD-css3-userint-20000216
@import "shared";
// User Select ---------------------------------------------------------------
// This property controls the selection model and granularity of an element. // This property controls the selection model and granularity of an element.
// //
// @param $select // @param $select
// [ none | text | toggle | element | elements | all | inherit ] // [ none | text | toggle | element | elements | all | inherit ]
@mixin user-select($select) { @mixin user-select($select) {
$select: unquote($select); $select: unquote($select);
@include experimental(user-select, $select, @include experimental(user-select, $select,
-moz, -webkit, not -o, not -ms, -khtml, official -moz, -webkit, not -o, not -ms, -khtml, official
); );
} }