-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.txt
41 lines (25 loc) · 1.14 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
eZ Publish LESS extension
==========================
This extension allow you to write stylesheets according LESS syntax.
LESS ( http://lesscss.org ) is a templating stylesheet language based on top of CSS. It provides numerous enhancements and features to speed up development and make its maintenance easier like mixins, nested inheritance, accessors and rules importing.
In this project we use lessphp ( http://leafo.net/lessphp/ ) a LESS PHP compiler in order to compile css.
Requirements
============
eZ Publish >= 4.0
PHP 5.2.0 and higher
Installation
============
- Unpack/unzip the downloaded zip package into the 'extension' directory of your eZ Publish installation.
- Activate the extension by using the admin interface or by editing the settings/override/site.ini.append.php file:
- Regenerate autoload array
Usage
=====
This extension provide an operator "lesscss". To use it just put your css file like argument in the operator inside the head tag in you pagelayout.tpl.
a sample :
{include uri='design:page_head.tpl'}
{lesscss("csslessfile.css")}
TO DO
======
- @import directive support
- support of multiple files
- css compression