{ "info": { "author": "Victor Fernandez de Alba", "author_email": "sneridagh@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python" ], "description": ".. contents::\n\nIntroduction\n============\n\nThis package allow theme developers to add LESS stylesheets into a Plone site.\n\nLESS\n====\n\nLESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the client-side (Chrome, Safari, Firefox) and server-side.\n\nYou can find more information about LESS at http://lesscss.org/\n\nIntegration with Plone\n======================\n\nThis package clone the portal_css behavior, extending it to meet both client-side and server-side LESS resources compiling methods.\n\nIt adds a *portal_less* tool to the portal, enables an import/export GS profile *lessregistry.xml*, overrides the default *Products.ResourceRegistries* viewlet by adding the LESS resources part for the tag.\n\nAdding LESS resources\n=====================\n\nThis package is intended to be used in conjunction with an user defined Plone Theme package. As a developer, you can include as many LESS resources as you may need to build your theme. You can add LESS resources using a GS profile named *lessregistry.xml*. The syntax is cloned from *cssregistry.xml* profile::\n\n \n \n \n \n\n\nControl Panel\n=============\n\nYou can manage the way the LESS resources compile by accessing the LESS resources configlet located at the site setup. By default, client-side LESS resources compile mode and minification are enabled.\n\nClient side compiling\n=====================\n\nClient-side compiling is intended to use while in (theme) development mode.\n\ncollective.lesscss will use the standard method for compiling client-side by using the *less.js* (v1.3, at the time of this writting) and exposing the LESS resources after the portal_css ones::\n\n \n \n \n\nServer side compiling\n=====================\n\nServer-side compiled LESS resources are recommended in production mode. By unsetting this option, the site will server-side compile them into CSS resources and enable a volatile cache on them. \n\nIMPORTANT NOTE: Server-side compiling requires to have declared the resources via plone.resource package in your theme package! Example::\n\n \n\nAnd furthermore, if you aren't using plone.app.theming for develop your theme you should declare the type you are using for your resources by creating this class somewhere in your theme (e.g. traversal.py)::\n\n from plone.resource.traversal import ResourceTraverser\n\n class BootstrapTraverser(ResourceTraverser):\n \"\"\"The theme traverser.\n\n Allows traveral to /++bootstrap++ using ``plone.resource`` to fetch\n things stored either on the filesystem or in the ZODB.\n \"\"\"\n name = 'bootstrap'\n\nand later on, declare the adapter via zcml::\n\n \n\nSo, you should now be able to access to the resources inside the resources directory by accessing::\n\n http://localhost/Plone/++bootstrap++less/\n\nTwitter bootstrap integration\n=============================\n\nYou can check out the package https://github.com/sneridagh/example.bootstrap for a full example on how to integrate LESS resources in your theme package.\n\nContributors\n============\n\n- Victor Fernandez de Alba [sneridagh], Author\n- Sebastian Jordan [seppeljordan]\n- Leonardo J. Caballero G. [macagua]\n- Laurent Lasudry [laulaz]\n\nChangelog\n=========\n\n2.0.2 (2017-12-12)\n------------------\n\n- Do not get cached lesscss if debugmode is checked in portal_less.\n [bsuttor]\n\n\n2.0.1 (2017-05-17)\n------------------\n\n- Always encode CSS string before LESS compilation to avoid errors\n [laulaz]\n\n- Don't display info messages if compilation failed\n [laulaz]\n\n\n2.0 (2017-03-21)\n----------------\n\n- Use python package lesscpy directly instead of calling a script (#8).\n This allows to get rid of Node.js in buildout for server-side compiling.\n [laulaz]\n\n- Add (optional) minification of LESS files.\n Code is based on https://github.com/collective/collective.lesscss/pull/9 but\n uses lessc script directly (instead of cleancss) with compress option.\n [laulaz]\n\n- Improve server-side compilation when there are references between files.\n We need to compile the resources all together because otherwise the compiler\n will fail on unknown variables references between files.\n [laulaz]\n\n- Added Spanish translation\n [macagua]\n\n- Added more improvements about i18n\n [macagua]\n\n- Added Bash script for i18ndude\n [macagua]\n\n1.3 (2014-07-02)\n----------------\n\n- Update to nodejs v0.10.29\n [seppeljordan]\n\n- Reworked server-side compilation, should work with an registered\n LESS resource now\n [seppeljordan]\n\n\n1.2 (2014-03-19)\n----------------\n\n- Update to lessjs 1.7.0\n [jaroel]\n\n\n1.1 (2014-03-11)\n----------------\n* updated nodejs to version 0.10.26\n [seppeljordan]\n\n* updated version of less.js to 1.6.3\n [jaroel]\n\n1.0b2 (2012-04-14)\n-------------------\n\n* Fix pypi distribution [sneridagh]\n\n1.0b1 (2012-04-13)\n-------------------\n\n* A portal_less inherited from CSSRegistry [sneridagh]\n* Import/Export GS profile [sneridagh]\n* A viewlet to include less files [sneridagh]\n* Register less.js in portal_javascripts [sneridagh]\n* A site wide configuration with : transform server side / client wide. [sneridagh]\n* Provide documented buildout to install nodejs to compile your files server side [sneridagh]\n* Make the results in cached with memoize [sneridagh]\n* test with twitter's bootstrap sources [sneridagh]", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.lesscss", "keywords": "plone zope less css", "license": "gpl", "maintainer": "", "maintainer_email": "", "name": "collective.lesscss", "package_url": "https://pypi.org/project/collective.lesscss/", "platform": "", "project_url": "https://pypi.org/project/collective.lesscss/", "project_urls": { "Homepage": "https://github.com/collective/collective.lesscss" }, "release_url": "https://pypi.org/project/collective.lesscss/2.0.2/", "requires_dist": null, "requires_python": "", "summary": "This package allow theme developers to add LESS stylesheets into a Plone site.", "version": "2.0.2" }, "last_serial": 4165503, "releases": { "1.0b1": [ { "comment_text": "", "digests": { "md5": "4a56e29f0ff3fb282abfa9d4677bfec9", "sha256": "b894b9a56283bec768eb1b13953ca10d7b837114d0c954b56c59a6120f9144a3" }, "downloads": -1, "filename": "collective.lesscss-1.0b1-py2.6.egg", "has_sig": false, "md5_digest": "4a56e29f0ff3fb282abfa9d4677bfec9", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 29788, "upload_time": "2012-04-13T13:04:26", "url": "https://files.pythonhosted.org/packages/f9/aa/3e2472203c0314c4d45c22bdb00dfbc027d1fe556687217e8d4a06c83881/collective.lesscss-1.0b1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "f8e6f82615331a828e26050ab7098af3", "sha256": "e6df9a3f78032724db5bdab3a38693bacb4cc005ca97ff00824de6b7b5ed9af8" }, "downloads": -1, "filename": "collective.lesscss-1.0b1.tar.gz", "has_sig": false, "md5_digest": "f8e6f82615331a828e26050ab7098af3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9784, "upload_time": "2012-04-13T13:04:26", "url": "https://files.pythonhosted.org/packages/c2/a0/007a668bc73e429a06ce96d0ffb25fb40b3aa10e554801a7716500e78998/collective.lesscss-1.0b1.tar.gz" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "17c6e0d3e55045fe55bd07166a76fdda", "sha256": "5255edc490526a64d93f504797d7725604ef32da926467f0fbc4a5b544cb7047" }, "downloads": -1, "filename": "collective.lesscss-1.0b2-py2.6.egg", "has_sig": false, "md5_digest": "17c6e0d3e55045fe55bd07166a76fdda", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 57346, "upload_time": "2012-04-14T23:43:10", "url": "https://files.pythonhosted.org/packages/70/7a/70ad50da15cbc64cc64fc8b019106608d5f31795b6acbf8f344050ee1bdb/collective.lesscss-1.0b2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "5b152580dcf7668edb543cf308041468", "sha256": "e69f956109a20e52fd8d827362899830944e4edd9980f7246022940e76e3791c" }, "downloads": -1, "filename": "collective.lesscss-1.0b2.tar.gz", "has_sig": false, "md5_digest": "5b152580dcf7668edb543cf308041468", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 44723, "upload_time": "2012-04-14T23:43:09", "url": "https://files.pythonhosted.org/packages/eb/8d/1ea58638d2ec9b705f757ec703e6ef2aab25aa1222bb03e9e65b3f950ac1/collective.lesscss-1.0b2.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "297022acf43be3f81d77a995cbdc5caa", "sha256": "6ec07904b6cf6a7effaf8e59f19d3a96003bc4d73611d699304f3d44c8fc9808" }, "downloads": -1, "filename": "collective.lesscss-1.1.zip", "has_sig": false, "md5_digest": "297022acf43be3f81d77a995cbdc5caa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 78079, "upload_time": "2014-03-11T14:58:49", "url": "https://files.pythonhosted.org/packages/54/03/38b5180358c6451ae6e40b118c552731888df05416cf5146428da799181d/collective.lesscss-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "5471eaecf7e1245e51cc8b3430fdbefa", "sha256": "77cff2b757537fc85a4bbe7ee82ea3ae076080a0df8fb1e61d90c6f1547aa591" }, "downloads": -1, "filename": "collective.lesscss-1.2.zip", "has_sig": false, "md5_digest": "5471eaecf7e1245e51cc8b3430fdbefa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79241, "upload_time": "2014-03-19T13:54:10", "url": "https://files.pythonhosted.org/packages/5b/4c/343fd4fe2c2c7fbce8fe69b4d42d06af2d4167af3653606526f39aee0a90/collective.lesscss-1.2.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "7667b62c97ea1102bdbf13f213dae2d7", "sha256": "0c855116e10736f660026dae43baa76c77c745264e226a3a58890a24c217a224" }, "downloads": -1, "filename": "collective.lesscss-1.3.tar.gz", "has_sig": false, "md5_digest": "7667b62c97ea1102bdbf13f213dae2d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68499, "upload_time": "2014-07-02T15:33:23", "url": "https://files.pythonhosted.org/packages/51/52/ad8d2a83a79a2ae34bf443267debba48e33a18c24a31a7e661776afbf1f9/collective.lesscss-1.3.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "8a86cf63871598e18f7714f2be0ae649", "sha256": "2fbfeea843a52bcf1dc16d44dcc0a17b0692d7f768119c8829954831e6229913" }, "downloads": -1, "filename": "collective.lesscss-2.0.tar.gz", "has_sig": false, "md5_digest": "8a86cf63871598e18f7714f2be0ae649", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64998, "upload_time": "2017-03-21T15:23:37", "url": "https://files.pythonhosted.org/packages/fe/cf/6239eb41d550ed5645b243099cc461967c1c5255bd9af8aa68d29e48515c/collective.lesscss-2.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "df9db6a66e611dba6f565a77875aa09e", "sha256": "e5bdbf2fce49d63abd70624a7270a6fe612ef9e60ce0cf5fff480d46b89db500" }, "downloads": -1, "filename": "collective.lesscss-2.0.1.tar.gz", "has_sig": false, "md5_digest": "df9db6a66e611dba6f565a77875aa09e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 65191, "upload_time": "2017-05-17T13:14:01", "url": "https://files.pythonhosted.org/packages/b2/59/b0810f19712113e6e65a39aaab1d83b5d5196ae7c42ce312ab028804de1f/collective.lesscss-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "830399604e82464d5f02722024f63192", "sha256": "4ce192d851e11b36a8c416bd50bd155434ae1797958dc1b99edbbdc118fb6b77" }, "downloads": -1, "filename": "collective.lesscss-2.0.2.tar.gz", "has_sig": false, "md5_digest": "830399604e82464d5f02722024f63192", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 66674, "upload_time": "2017-12-12T10:56:59", "url": "https://files.pythonhosted.org/packages/9d/13/cf17d61b6936fc0fceb79eb5c12736033ae7064e5d50faa7d9976dfc9fe0/collective.lesscss-2.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "830399604e82464d5f02722024f63192", "sha256": "4ce192d851e11b36a8c416bd50bd155434ae1797958dc1b99edbbdc118fb6b77" }, "downloads": -1, "filename": "collective.lesscss-2.0.2.tar.gz", "has_sig": false, "md5_digest": "830399604e82464d5f02722024f63192", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 66674, "upload_time": "2017-12-12T10:56:59", "url": "https://files.pythonhosted.org/packages/9d/13/cf17d61b6936fc0fceb79eb5c12736033ae7064e5d50faa7d9976dfc9fe0/collective.lesscss-2.0.2.tar.gz" } ] }