Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Patrick Biegel: "Thanks a lot for your fast reply and the great solution! It works now and that's really important! The PHP Generator for MySQL is a great software".
George Westrup: "I have saved so much time using your products. Also you are quick to respond to every question I have had. Thanks for the great support".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

Style sheets internals

Style sheets structure

PHP Generator's style sheets are made with LESS, a dynamic style sheet language that can be compiled into Cascading Style Sheets (CSS). The choice of Less is motivated by such advantages of this language as variables, mixins, functions and many other techniques that simplify the development of large style sheets.

 

All .less files are stored in the components/assets/less folder of the output directory. The main.less file references (directly or indirectly) all styles defined in other files and subdirectories of this folder as well as user-defined styles, which are stored in components/assets/less/user.less. Current color theme is defined in components/assets/less/theme.less. When you click "Generate" in PHP Generator for MySQL, the software automatically compiles main.less and saves the results to components/assets/css/main.css.

 

Manual compilation of LESS files

You might want to compile .less files manually. To do so, you will need to compile main.less using any .less compiler you like. For example, you can use dotless.Compiler (a command-line compiler that comes with PHP Generator and can be found in SQL Maestro Group\DotLess inside the Common Files directory) using the following command:

 

dotless.compiler.exe -r -m full/path/to/main.less

 

Visit dotless.Compiler wiki to find more info on using this tool.



Prev Return to chapter overview Next