Last updated 16 May 2012. Created on 17 April 2012.
Edited by mortendk, soulston. Log in to edit this page.

In Drupal7 the BAT naming scheme was introduced - This splits up the CSS files for a module into 3 different files:

1. modulename.**base**.css

The bare minimum required for the module to function

2. modulename.**admin**.css

The CSS needed for the Administration

3. modulename.**theme**.css

The optional CSS to make it look pretty.

Optional because it should contain any css that the module creator/maintainer thinks makes things look pretty but obviously this is very dependant on the site.

Unfortunately this was introduced very late in the Drupal7 development, so it was only the system module that really followed these rules before the final release - oooh well the mothership takes care of business:
Core CSS files are copied over & split up for quick cleanup.

In Drupal8 there is a huge effort to get this in as clean ‘n’ mean as possible.

In the future more core modules will be split and added to the Mothership.

* book
* contextual

Looking for support? Visit the forums, or join #drupal-support in IRC.