summaryrefslogtreecommitdiff
path: root/modules/search
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-14 07:14:50 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-08-14 07:14:50 +0000
commit3cc2b1e3d78d7e82572d59939507bb3eddce53b4 (patch)
tree9a31e74cff3d628bb918f1bc2887b6a433f91aba /modules/search
parent4b65446fb63496a12486ed8616ba84186e82f74c (diff)
downloadbrdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.gz
brdo-3cc2b1e3d78d7e82572d59939507bb3eddce53b4.tar.bz2
#77183 by m3avrck and timcn, split up drupal.css by module.
Diffstat (limited to 'modules/search')
-rw-r--r--modules/search/search.css35
-rw-r--r--modules/search/search.module5
2 files changed, 40 insertions, 0 deletions
diff --git a/modules/search/search.css b/modules/search/search.css
new file mode 100644
index 000000000..fb05bdd07
--- /dev/null
+++ b/modules/search/search.css
@@ -0,0 +1,35 @@
+/* $Id$ */
+
+.search-form {
+ margin-bottom: 1em;
+}
+.search-form p {
+ margin-top: 0;
+ margin-bottom: 0.2em;
+ padding-top: 0;
+ padding-bottom: 0;
+}
+.search-form input {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.search-results p {
+ margin-top: 0;
+}
+.search-results dt {
+ font-size: 1.1em;
+}
+.search-results dd {
+ margin-bottom: 1em;
+}
+.search-results .search-info {
+ font-size: 0.85em;
+}
+.search-advanced .criterion {
+ float: left;
+ margin-right: 2em;
+}
+.search-advanced .action {
+ float: left;
+ clear: left;
+}
diff --git a/modules/search/search.module b/modules/search/search.module
index eb2aff9d0..34f70c551 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -182,6 +182,11 @@ function search_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', 'search') .'/search.css');
+ }
return $items;
}