-
Stylize
SCSS
- RedCat PHP Framework #autoload-font
https://fr.redcatphp.com/stylize-scss#autoload-font
...paths followed by "font" and then ".scss" extension: $import-path/font/$name-of-font.scss. If they exists it will import them. That doesn't work with variable font-name. header{ font-family: Indie Flower;}body{ font: bold 10px Rock Salt;} This code will trigger autoload to look for font/indie-flower.scss
and font/rock-salt.scss
in the import paths and...
-
Stylize
SCSS
- RedCat PHP Framework #autoload-font
https://redcatphp.com/stylize-scss#autoload-font
...paths followed by "font" and then ".scss" extension: $import-path/font/$name-of-font.scss. If they exists it will import them. That doesn't work with variable font-name. header{ font-family: Indie Flower;}body{ font: bold 10px Rock Salt;} This code will trigger autoload to look for font/indie-flower.scss
and font/rock-salt.scss
in the import paths and...
-
Stylize
SCSS
- RedCat PHP Framework #basic
https://fr.redcatphp.com/stylize-scss#basic
...via Etag and Last-Modified. It also include by default, if they are present, "_config.scss" and "_var.scss". It will use a cache directory by default which is ".tmp/stylish/" from current working directory and which need to be writeable (chmod 0777). $server = new \RedCat\Stylize\Server();$directories = ['css','redcat/css'];$server->serveFrom('style.scss',$directories);
-
Stylize
SCSS
- RedCat PHP Framework #autoload-mixin
https://fr.redcatphp.com/stylize-scss#autoload-mixin
...look for presence of file corresponding to name of mixin in import paths followed by "include" and then ".scss" extension: $import-path/include/$name-of-mixin.scss. If they exists it will import them. @include clearfix();@?include icon(css3); This code will trigger autoload to look for include/clearfix.sccs and include/icon.scss
in the import paths and import them.
-
Stylize
SCSS
- RedCat PHP Framework #autoload-extend
https://fr.redcatphp.com/stylize-scss#autoload-extend
...defined when used, the autoload support will look for presence of file corresponding to name of class in import paths followed by "extend" and then ".scss" extension: $import-path/extend/$name-of-class.scss. If they exists it will import them. This code will trigger autoload to look for extend/redcat-powered.scss
in the import paths and import it.
-
Stylize
SCSS
- RedCat PHP Framework #basic
https://redcatphp.com/stylize-scss#basic
...via Etag and Last-Modified. It also include by default, if they are present, "_config.scss" and "_var.scss". It will use a cache directory by default which is ".tmp/stylish/" from current working directory and which need to be writeable (chmod 0777). $server = new \RedCat\Stylize\Server();$directories = ['css','redcat/css'];$server->serveFrom('style.scss',$directories);
-
Stylize
SCSS
- RedCat PHP Framework #autoload-mixin
https://redcatphp.com/stylize-scss#autoload-mixin
...look for presence of file corresponding to name of mixin in import paths followed by "include" and then ".scss" extension: $import-path/include/$name-of-mixin.scss. If they exists it will import them. @include clearfix();@?include icon(css3); This code will trigger autoload to look for include/clearfix.sccs and include/icon.scss
in the import paths and import them.
-
Stylize
SCSS
- RedCat PHP Framework #autoload-extend
https://redcatphp.com/stylize-scss#autoload-extend
...defined when used, the autoload support will look for presence of file corresponding to name of class in import paths followed by "extend" and then ".scss" extension: $import-path/extend/$name-of-class.scss. If they exists it will import them. This code will trigger autoload to look for extend/redcat-powered.scss
in the import paths and import it.
-
CSS Stylize Toolbox - RedCat PHP Framework
https://redcatphp.com/css-toolbox
...Methods Native Plugins, Custom Plugins Localize Gettext wrapper CLDR , Stylize Features, Basic Usage PHP Support, Autoload Support Debug Error Handler Var Debug , JS Simple Usage, Dependencies Manager Asynchronous Module Definition,
SCSS
Stylize Toolbox Grid mixin - intuitive grid system This css grid system is based on percentage for getting a maximum of flexibility. The ordered parameters are "selector" (optional), "sized box...
-
CSS Stylize Toolbox - RedCat PHP Framework
https://fr.redcatphp.com/css-toolbox
...Methods Native Plugins, Custom Plugins Localize Gettext wrapper CLDR , Stylize Features, Basic Usage PHP Support, Autoload Support Debug Error Handler Var Debug , JS Simple Usage, Dependencies Manager Asynchronous Module Definition,
SCSS
Stylize Toolbox Grid mixin - intuitive grid system This css grid system is based on percentage for getting a maximum of flexibility. The ordered parameters are "selector" (optional), "sized box...
-
Stylize
SCSS
- RedCat PHP Framework
https://fr.redcatphp.com/stylize-scss
Stylize
SCSS
- RedCat PHP Framework Overview Installation, htaccess Components, Framework Strategy Introduction Paradigm Basic Usage Shared dependencies Config Rules Cascastrategy Rules Arbitrary Data PHP Config , Route FrontController, Router Match, Url FoxORM, Identify Session, Auth AuthServer, PHPMailer RandomLib, SecurityLib PhpSecLib, Templix Features, Options HTML5 Plugins, Markup Object Methods Native Plugins, Custom Plugins Localize Gettext wrapper CLDR , Stylize Features, Basic Usage PHP...
-
Stylize
SCSS
- RedCat PHP Framework
https://redcatphp.com/stylize-scss
Stylize
SCSS
- RedCat PHP Framework Overview Installation, htaccess Components, Framework Strategy Introduction Paradigm Basic Usage Shared dependencies Config Rules Cascastrategy Rules Arbitrary Data PHP Config , Route FrontController, Router Match, Url FoxORM, Identify Session, Auth AuthServer, PHPMailer RandomLib, SecurityLib PhpSecLib, Templix Features, Options HTML5 Plugins, Markup Object Methods Native Plugins, Custom Plugins Localize Gettext wrapper CLDR , Stylize Features, Basic Usage PHP...
-
Stylize
SCSS
- RedCat PHP Framework #features
https://fr.redcatphp.com/stylize-scss#features
Additional Features to
SCSS
php imbrication hybride PHP Mixin, mixin autoload (include) extend autoload, font autoload
-
Stylize
SCSS
- RedCat PHP Framework #php
https://fr.redcatphp.com/stylize-scss#php
PHP Support The php will be executed before
SCSS
syntax parser. By dint of tokenizer, the php support allow you tu use short php syntax even if short_open_tag is not enabled in php.ini.
-
Stylize
SCSS
- RedCat PHP Framework #php-imbrication
https://fr.redcatphp.com/stylize-scss#php-imbrication
...have to use a "@?" instead of "@" and same for include: "@?mixin " instead of "@mixin " and "@?include " instead of "@include ". Let's take an example of declaration (the grid from RedCat
SCSS
Toolbox): @import "include/grid.reset-star";@?mixin grid{<? $selector = is_string($e=current($args))&&!is_numeric(str_replace(array('-',',','.'),'',$e))?array_shift($args):false; $mw = is_string($e=end($args...