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

Subscribe to our news:
Partners
Testimonials
Charles Phillips: "Just want to take a second to really thank you for all the great support you give – I think that’s by far the best feature you offer".
Charles Phillips: "I very much like the program and all of its functionality! Would be happy to give you an endorsement or recommend it to others - saves me a ton of time".

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