Conditional-CSS Integration
Component ID
964380
Component name
Conditional-CSS Integration
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1930
Component created
Component changed
Component body
This module provides easy integration with Conditional-CSS. It allows to you to style your site in a following way:
/* Conditional-CSS example */
a.button_active, a.button_unactive {
display: inline-block;
[if lte Gecko 1.8] display: -moz-inline-stack;
[if lte Konq 3.1] float: left;
height: 30px;
[if IE 5.0] margin-top: -1px;
text-decoration: none;
outline: none;
[if IE] text-decoration: expression(hideFocus='true');
}
To learn more about syntax, visit following link: http://conditional-css.com/usage.
Module preprocesses any css file added by drupal_add_css(...) or placed into *.info files.
Installation
- Download patched version of Conditional-CSS from http://vmirgorod.name/content/conditional-css-library (or patch it manually).
- Extract archived files to /sites/all/libraries/c-css/.
- Enable Conditional CSS Integration module.
Dependences
License
Conditional-CSS is distributed under CDDL license which is incompatible with GPL, so it couldn't be distributed as part of this project. However you are allowed to download it manually and include it into your Drupal installation folder. Please use patched version of Conditional-CSS, because original version could not be used.
Development of this project is sponsored by Trellon.
