-
Notifications
You must be signed in to change notification settings - Fork 0
License
blackice2999/drupal-css3pie
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
// $Id: README.txt,v 1.1 2010/11/14 10:07:21 blackice2999 Exp $ *CSS3PIE* a very simple Drupal module to implement the css3pie.com javascript to your drupal and make the css selectors configurable over ui. This module creates a real css file on drupal files folder and add them via drupal_add_css. Installation: -------------- Download the PIE Library from http://css3pie.com and extract it. if you use the library api (http://drupal.org/project/libraries) you can extract it to /sites/all/libraries/PIE if you dont want to use the libraries API you must extract the PIE library to modules/css3pie/PIE Configuration: -------------- go to admin/build/themes/css3pie and configure as you want. In the textarea use for every selector one line (dont use a commata). If you have problems with the file mime type on .htc files you can set the php wrapper option to yes and the file comes with a own mime type header. The CSS File will be rebuild if you save new options. Implement in own module: -------------- You can use the hook: hook_css3pie() in your own module to provides a array with selectors that you are using. Example: -------- hook_css3pie() { return array('yourmodulename' => array( '.class1', '.class2', '.class3', )); } The Result: ----------- The result of the css is very simple: Example CSS file: ----- .myclass1, .myclass2, #myId1, #myId1 > .myclass3 { behaviour: url(/sites/all/libraries/PIE/PIE.htc); } ----
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published