Module Web.Sass
- Description
Sass is a scripting language that is interpreted into Cascading Style Sheets (CSS). This module is a glue for libsass.
- See also
- Constant
HTTP_IMPORT_NONE
Constant HTTP_IMPORT_GREEDY
Constant HTTP_IMPORT_ANY
constant
int
Web.Sass.HTTP_IMPORT_NONE
constant
int
Web.Sass.HTTP_IMPORT_GREEDY
constant
int
Web.Sass.HTTP_IMPORT_ANY
- Description
Description:
HTTP_IMPORT_NONE
Default value of Compiler.http_import. Prohibits imports over HTTP.
HTTP_IMPORT_GREEDY
Allow imports over HTTP only if the returned content type is text/scss.
HTTP_IMPORT_ANY
Anything goes.
- Constant
LIBSASS_VERSION
constant
string
Web.Sass.LIBSASS_VERSION
- Description
The libsass version, as a string, this module was compiled agains.
- Constant
SASS2SCSS_KEEP_COMMENT
Constant SASS2SCSS_STRIP_COMMENT
Constant SASS2SCSS_CONVERT_COMMENT
constant
int
Web.Sass.SASS2SCSS_KEEP_COMMENT
constant
int
Web.Sass.SASS2SCSS_STRIP_COMMENT
constant
int
Web.Sass.SASS2SCSS_CONVERT_COMMENT
- Description
Constants that can be given as option to sass2scss().
- Constant
STYLE_NESTED
Constant STYLE_EXPANDED
Constant STYLE_COMPACT
Constant STYLE_COMPRESSED
constant
int
Web.Sass.STYLE_NESTED
constant
int
Web.Sass.STYLE_EXPANDED
constant
int
Web.Sass.STYLE_COMPACT
constant
int
Web.Sass.STYLE_COMPRESSED
- Description
Styling of output. Use as argument to
Compiler.set_output_style()
STYLE_NESTED
The default setting. The output will look like:
a { property: value; other-property: value; } a:hover { property: value; } b { property: value; }
STYLE_EXPANDED
Fully expanded output:
a { property: value; other-property: value; } a:hover { property: value; } b { property: value; }
STYLE_COMPACT
Somewhat minified output:
a { property: value; other-prop: value } a:hover { property: value; } b { property: value; }
STYLE_COMPRESSED
Minified output
a{property:value;other-property:value}a:hover{property:value}b{property:value}