diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-14 07:14:50 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-14 07:14:50 +0000 |
commit | 3cc2b1e3d78d7e82572d59939507bb3eddce53b4 (patch) | |
tree | 9a31e74cff3d628bb918f1bc2887b6a433f91aba /modules/aggregator | |
parent | 4b65446fb63496a12486ed8616ba84186e82f74c (diff) | |
download | brdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.gz brdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.bz2 |
#77183 by m3avrck and timcn, split up drupal.css by module.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.css | 38 | ||||
-rw-r--r-- | modules/aggregator/aggregator.module | 4 |
2 files changed, 42 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.css b/modules/aggregator/aggregator.css new file mode 100644 index 000000000..0efefdf7a --- /dev/null +++ b/modules/aggregator/aggregator.css @@ -0,0 +1,38 @@ +/* $Id$ */ + +#aggregator .feed-source .feed-title { + margin-top: 0; +} +#aggregator .feed-source .feed-image img { + margin-bottom: 0.75em; +} +#aggregator .feed-source .feed-icon { + float: right; + display: block; +} +#aggregator .feed-item { + margin-bottom: 1.5em; +} +#aggregator .feed-item-title { + margin-bottom: 0; + font-size: 1.3em; +} +#aggregator .feed-item-meta, #aggregator .feed-item-body { + margin-bottom: 0.5em; +} +#aggregator .feed-item-categories { + font-size: 0.9em; +} +#aggregator td { + vertical-align: bottom; +} +#aggregator td.categorize-item { + white-space: nowrap; +} +#aggregator .categorize-item .news-item .body { + margin-top: 0; +} +#aggregator .categorize-item h3 { + margin-bottom: 1em; + margin-top: 0; +} diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 0b7d3cbd2..99d09940c 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -117,6 +117,10 @@ function aggregator_menu($may_cache) { } } else { + // Add the CSS for this module + // We put this in !$may_cache so it's only added once per request + drupal_add_css(drupal_get_path('module', 'aggregator') .'/aggregator.css'); + if (arg(0) == 'aggregator' && is_numeric(arg(2))) { if (arg(1) == 'sources') { $feed = aggregator_get_feed(arg(2)); |