Unset CSS
Categories
Component ID
1350870
Component name
Unset CSS
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
1755
Component created
Component changed
Component body
Allows site admins to set a list of css files/path patterns that should be unset. This means when you build themes you don't have to override so much default css. It works with public and private files.
E.g.
modules/*
profiles/*
sites/example.com/modules/og/theme/og.css
This example will remove all CSS from core modules, any css in the profiles directory and the Organic Groups css in the site directory.
This module works by modifying the page template style variable in `unset_css_preprocess_page`, which means that it probably won't work with modules such as IE Unlimited CSS Loader which uses the same technique to modify the css.
You can also set the blacklist in your `settings.php` file.
E.g.
$conf['unset_css_blacklist'] = <<<BLACKLIST
modules/*
BLACKLIST;
This will force the value of the `unset_css_blacklist` variable to be "modules/*".
