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
constantintWeb.Sass.HTTP_IMPORT_NONE
constantintWeb.Sass.HTTP_IMPORT_GREEDY
constantintWeb.Sass.HTTP_IMPORT_ANY- Description
Description:
HTTP_IMPORT_NONEDefault value of Compiler.http_import. Prohibits imports over HTTP.
HTTP_IMPORT_GREEDYAllow imports over HTTP only if the returned content type is text/scss.
HTTP_IMPORT_ANYAnything goes.
- Constant
LIBSASS_VERSION
constantstringWeb.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
constantintWeb.Sass.SASS2SCSS_KEEP_COMMENT
constantintWeb.Sass.SASS2SCSS_STRIP_COMMENT
constantintWeb.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
constantintWeb.Sass.STYLE_NESTED
constantintWeb.Sass.STYLE_EXPANDED
constantintWeb.Sass.STYLE_COMPACT
constantintWeb.Sass.STYLE_COMPRESSED- Description
Styling of output. Use as argument to
Compiler.set_output_style()STYLE_NESTEDThe default setting. The output will look like:
a { property: value; other-property: value; } a:hover { property: value; } b { property: value; }STYLE_EXPANDEDFully expanded output:
a { property: value; other-property: value; } a:hover { property: value; } b { property: value; }STYLE_COMPACTSomewhat minified output:
a { property: value; other-prop: value } a:hover { property: value; } b { property: value; }STYLE_COMPRESSEDMinified output
a{property:value;other-property:value}a:hover{property:value}b{property:value}