Index: misc/drupal.css
===================================================================
RCS file: /cvs/drupal/drupal/misc/drupal.css,v
retrieving revision 1.152
diff -u -d -F^function -r1.152 drupal.css
--- misc/drupal.css	31 Jul 2006 11:25:52 -0000	1.152
+++ misc/drupal.css	7 Aug 2006 15:03:13 -0000
@@ -41,57 +41,11 @@
 }
 
 /*
-** Menu styles
-*/
-ul.menu {
-  list-style: none;
-  border: none;
-  text-align:left;
-}
-ul.menu li {
-  margin: 0 0 0 0.5em;
-}
-li.expanded {
-  list-style-type: circle;
-  list-style-image: url(menu-expanded.png);
-  padding: 0.2em 0.5em 0 0;
-  margin: 0;
-}
-li.collapsed {
-  list-style-type: disc;
-  list-style-image: url(menu-collapsed.png);
-  padding: 0.2em 0.5em 0 0;
-  margin: 0;
-}
-li.leaf {
-  list-style-type: square;
-  list-style-image: url(menu-leaf.png);
-  padding: 0.2em 0.5em 0 0;
-  margin: 0;
-}
-li a.active {
-  color: #000;
-}
-td.menu-disabled {
-  background: #ccc;
-}
-
-/*
 ** Other common styles
 */
 .breadcrumb {
   padding-bottom: .5em
 }
-.block-region {
-  background-color: #ff6;
-  margin-top: 4px;
-  margin-bottom: 4px;
-  padding: 3px;
-}
-.block ul {
-  margin: 0;
-  padding: 0 0 0.25em 1em;
-}
 br.clear {
   clear: both;
   height: 0;
@@ -157,20 +111,9 @@
 .more-link {
   text-align: right;
 }
-.node-form .form-text {
-  display: block;
-  width: 95%;
-}
-.node-form .standard {
-  clear: both;
-}
-.node-form textarea {
-  display: block;
-  width: 95%;
-}
-.node-form .attachments fieldset {
-  float: none;
-  display: block;
+.more-help-link {
+  font-size: 0.85em;
+  text-align: right;
 }
 .nowrap {
   white-space: nowrap;
@@ -189,101 +132,6 @@
   padding-bottom: 0.7em;
   font-size: 1.1em;
 }
-
-/*
-** Module specific styles
-*/
-#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;
-}
-.book-navigation .menu {
-  border-top: 1px solid #888;
-  padding: 1em 0 0 3em;
-}
-.book-navigation .page-links {
-  border-top: 1px solid #888;
-  border-bottom: 1px solid #888;
-  text-align: center;
-  padding: 0.5em;
-}
-.book-navigation .page-previous {
-  text-align: right;
-}
-.book-navigation .page-up {
-  margin: 0 4em;
-}
-.book-navigation .page-next {
-  text-align: left;
-}
-.node-unpublished, .comment-unpublished {
-  background-color: #fff4f4;
-}
-.preview .node, .preview .comment {
-  background-color: #ffffea;
-}
-.archive {
-  margin: 1em 0 1em 0;
-}
-.calendar .row-week td a {
-  display: block;
-}
-.calendar .row-week td a:hover {
-  background-color: #888; color: #fff;
-}
-.calendar a {
-  text-decoration: none;
-}
-.calendar a:hover {
-  text-decoration: none;
-}
-.calendar table {
-  border-collapse: collapse;
-  width: 100%;
-  border: 1px solid #000;
-}
-.calendar td, .calendar th {
-  text-align: center;
-  border: 1px solid #000;
-  padding: 1px;
-  margin: 0;
-  font-size: 0.8em;
-}
-.calendar td.day-blank {
-  border: 0;
-}
 .tips {
   margin-top: 0;
   margin-bottom: 0;
@@ -291,48 +139,6 @@
   padding-bottom: 0;
   font-size: 0.9em;
 }
-#forum .description {
-  font-size: 0.9em;
-  margin: 0.5em;
-}
-#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager {
-  white-space: nowrap;
-}
-#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager {
-  text-align: center;
-}
-.forum-topic-navigation {
-  padding: 1em 0 0 3em;
-  border-top: 1px solid #888;
-  border-bottom: 1px solid #888;
-  text-align: center;
-  padding: 0.5em;
-}
-.forum-topic-navigation .topic-previous {
-  margin-right: 4em;
-  text-align: right;
-}
-.forum-topic-navigation .topic-next {
-  text-align: left;
-}
-.locale-untranslated {
-  font-style: normal;
-  text-decoration: line-through;
-}
-#node-admin-filter ul {
-  list-style-type: none;
-  padding: 0;
-  margin: 0;
-  width: 100%;
-}
-#node-admin-buttons {
-  float: left;
-  margin-left: 0.5em;
-  clear: right;
-}
-td.revision-current {
-  background: #ffc;
-}
 dl.multiselect dd.b, dl.multiselect dd.b .form-item, dl.multiselect dd.b select {
   font-family: inherit;
   font-size: inherit;
@@ -351,378 +157,3 @@
   height: 1.75em;
   margin: 0;
 }
-#permissions td.module, #blocks td.region {
-  font-weight: bold;
-}
-#permissions td.permission, #blocks td.block, #taxonomy td.term, #taxonomy td.message {
-  padding-left: 1.5em;
-}
-
-#access-rules .access-type, #access-rules .rule-type {
-  margin-right: 1em;
-  float: left;
-}
-#access-rules .access-type .form-item, #access-rules .rule-type .form-item {
-  margin-top: 0;
-}
-#access-rules .mask {
-  clear: both;
-}
-.poll .bar {
-  height: 1em;
-  margin: 1px 0;
-  background-color: #ddd;
-}
-.poll .bar .foreground {
-  background-color: #000;
-  height: 1em;
-  clear: left;
-  float: left;
-}
-.poll .links {
-  text-align: center;
-}
-.poll .percent {
-  text-align: right;
-}
-.poll .total {
-  text-align: center;
-}
-.poll .vote-form {
-  text-align: center;
-}
-.poll .vote-form .choices {
-  text-align: left;
-  margin: 0 auto;
-  display: table;
-}
-.profile {
-  clear: both;
-  margin: 1em 0;
-}
-.profile .picture {
-  float: right;
-  margin: 0 1em 1em 0;
-}
-.profile dt {
-  margin: 1em 0 0.2em 0;
-  font-weight: bold;
-}
-.profile dd {
-  margin:0;
-}
-.node-form .poll-form fieldset {
-  display: block;
-}
-img.screenshot {
-  border: 1px solid #808080;
-  display: block;
-  margin: 2px;
-}
-.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;
-}
-#tracker td.replies {
-  text-align: center;
-}
-#tracker table {
-  width: 100%;
-}
-.theme-settings-left {
-  float: left;
-  width: 49%;
-}
-.theme-settings-right {
-  float: right;
-  width: 49%;
-}
-.theme-settings-bottom {
-  clear: both;
-}
-#user-login-form {
-  text-align: center;
-}
-.more-help-link {
-  font-size: 0.85em;
-  text-align: right;
-}
-table.watchdog-event th {
-  border-bottom: 1px solid #ccc;
-}
-tr.watchdog-user {
-  background: #ffd;
-}
-tr.watchdog-user .active {
-  background: #eed;
-}
-tr.watchdog-content {
-  background: #ddf;
-}
-tr.watchdog-content .active {
-  background: #cce;
-}
-tr.watchdog-page-not-found, tr.watchdog-access-denied {
-  background: #dfd;
-}
-tr.watchdog-page-not-found .active, tr.watchdog-access-denied .active {
-  background: #cec;
-}
-tr.watchdog-error {
-  background: #ffc9c9;
-}
-tr.watchdog-error .active {
-  background: #eeb9b9;
-}
-
-/* Tab navigation */
-ul.primary {
-  border-collapse: collapse;
-  padding: 0 0 0 1em;
-  white-space: nowrap;
-  list-style: none;
-  margin: 5px;
-  height: auto;
-  line-height: normal;
-  border-bottom: 1px solid #bbb;
-}
-ul.primary li {
-  display: inline;
-}
-ul.primary li a {
-  background-color: #ddd;
-  border-color: #bbb;
-  border-width: 1px;
-  border-style: solid solid none solid;
-  height: auto;
-  margin-right: 0.5em;
-  padding: 0 1em;
-  text-decoration: none;
-}
-ul.primary li.active a {
-  background-color: #fff;
-  border: 1px solid #bbb;
-  border-bottom: #fff 1px solid;
-}
-ul.primary li a:hover {
-  background-color: #eee;
-  border-color: #ccc;
-  border-bottom-color: #eee;
-}
-ul.secondary {
-  border-bottom: 1px solid #bbb;
-  padding: 0.5em 1em;
-  margin: 5px;
-}
-ul.secondary li {
-  display: inline;
-  padding: 0 1em;
-  border-right: 1px solid #ccc;
-}
-ul.secondary a {
-  padding: 0;
-  text-decoration: none;
-}
-ul.secondary a.active {
-  border-bottom: 4px solid #999;
-}
-
-/*
-** Help module
-*/
-.help-items {
-  float: left;
-  width: 22%;
-  padding-right: 3%;
-}
-.help-items-last {
-  padding-right: 0;
-}
-
-/*
-** Autocomplete styles
-*/
-/* Suggestion list */
-#autocomplete {
-  position: absolute;
-  border: 1px solid;
-  overflow: hidden;
-}
-#autocomplete ul {
-  margin: 0;
-  padding: 0;
-  list-style: none;
-}
-#autocomplete li {
-  background: #fff;
-  color: #000;
-  white-space: pre;
-  cursor: default;
-}
-#autocomplete li.selected {
-  background: #0072b9;
-  color: #fff;
-}
-/* Animated throbber */
-html.js input.form-autocomplete {
-  background-image: url(throbber.gif);
-  background-repeat: no-repeat;
-  background-position: 100% 2px;
-}
-html.js input.throbbing {
-  background-position: 100% -18px;
-}
-
-/*
-** Progressbar styles
-*/
-.progress {
-  font-weight: bold;
-}
-.progress .bar {
-  background: #fff url(progress.gif);
-  border: 1px solid #00375a;
-  height: 1.5em;
-  margin-top: 0.2em;
-}
-.progress .filled {
-  background: #0072b9;
-  height: 1em;
-  border-bottom: 0.5em solid #004a73;
-  width: 0%;
-}
-.progress .percentage {
-  float: right;
-}
-
-/*
-** Collapsing fieldsets
-*/
-html.js fieldset.collapsed {
-  border-bottom-width: 0;
-  border-left-width: 0;
-  border-right-width: 0;
-  margin-bottom: 0;
-}
-html.js fieldset.collapsed * {
-  display: none;
-}
-html.js fieldset.collapsed table *,
-html.js fieldset.collapsed legend,
-html.js fieldset.collapsed legend * {
-  display: inline;
-}
-html.js fieldset.collapsible legend a {
-  padding-left: 15px;
-  background: url(menu-expanded.png) 5px 50% no-repeat;
-}
-html.js fieldset.collapsed legend a {
-  background-image: url(menu-collapsed.png);
-}
-/* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */
-* html.js fieldset.collapsible legend a {
-  display: block;
-}
-
-/*
-** Resizable text areas
-*/
-.resizable-textarea {
-  width: 95%;
-}
-.resizable-textarea .grippie {
-  height: 14px;
-  background: #eee url(grippie.png) no-repeat 100% 100%;
-  border: 1px solid #ddd;
-  border-top-width: 0;
-  cursor: s-resize;
-}
-
-/*
-** Formatting for welcome page
-*/
-#first-time strong {
-  display: block;
-  padding: 1.5em 0 .5em;
-}
-
-/*
-** Formatting for administration page -- this should probably be its own file
-*/
-div.admin-panel {
-  margin: 0px 0px 0px 0px;
-  padding: 5px 5px 15px 5px;
-}
-
-div.admin-panel .description {
-  margin: 0px 0px 3px;
-  padding: 2px 0 3px 0;
-  font-weight: normal;
-  text-align: left;
-  color: #999;
-}
-
-div.admin-panel .body {
-  padding: 0 4px 2px 8px;
-  background-color: #f4f4f4;
-  line-height: 1.2em;
-}
-
-div.admin-panel .head {
-  background-color: #6699CC;
-  color: #FFFFFF;
-  font-weight: bold;
-  font-size: 14px;
-  margin: 0px 0px 0px 0px;
-  padding: 4px 4px 4px 8px;
-}
-
-div.admin {
-  padding-top: 15px;
-}
-
-div.admin .left {
-  float: left;
-  width: 47%;
-  margin-left: 1em;
-}
-div.admin .right {
-  float: right;
-  width: 47%;
-  margin-right: 1em;
-}
-
-div.admin .expert-link {
-  text-align: right;
-  margin-right: 1em;
-  padding-right: 4px;
-}
Index: modules/aggregator/aggregator.css
===================================================================
RCS file: modules/aggregator/aggregator.css
diff -N modules/aggregator/aggregator.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/aggregator/aggregator.css	7 Aug 2006 15:03:13 -0000
@@ -0,0 +1,38 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+#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;
+}
Index: modules/aggregator/aggregator.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.module,v
retrieving revision 1.293
diff -u -d -F^function -r1.293 aggregator.module
--- modules/aggregator/aggregator.module	5 Aug 2006 00:26:35 -0000	1.293
+++ modules/aggregator/aggregator.module	7 Aug 2006 15:03:17 -0000
@@ -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));
Index: modules/archive/archive.css
===================================================================
RCS file: modules/archive/archive.css
diff -N modules/archive/archive.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/archive/archive.css	7 Aug 2006 15:03:17 -0000
@@ -0,0 +1,32 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.archive {
+  margin: 1em 0 1em 0;
+}
+.calendar .row-week td a {
+  display: block;
+}
+.calendar .row-week td a:hover {
+  background-color: #888; color: #fff;
+}
+.calendar a {
+  text-decoration: none;
+}
+.calendar a:hover {
+  text-decoration: none;
+}
+.calendar table {
+  border-collapse: collapse;
+  width: 100%;
+  border: 1px solid #000;
+}
+.calendar td, .calendar th {
+  text-align: center;
+  border: 1px solid #000;
+  padding: 1px;
+  margin: 0;
+  font-size: 0.8em;
+}
+.calendar td.day-blank {
+  border: 0;
+}
Index: modules/archive/archive.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/archive/archive.module,v
retrieving revision 1.90
diff -u -d -F^function -r1.90 archive.module
--- modules/archive/archive.module	31 Jul 2006 11:25:52 -0000	1.90
+++ modules/archive/archive.module	7 Aug 2006 15:03:18 -0000
@@ -40,6 +40,12 @@ function archive_menu($may_cache) {
       'callback' => 'archive_page',
       'type' => MENU_SUGGESTED_ITEM);
   }
+  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', 'archive') .'/archive.css');
+  }
+  
   return $items;
 }
 
Index: modules/block/block.css
===================================================================
RCS file: modules/block/block.css
diff -N modules/block/block.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/block/block.css	7 Aug 2006 15:03:18 -0000
@@ -0,0 +1,18 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+#blocks td.region {
+  font-weight: bold;
+}
+#blocks td.block {
+  padding-left: 1.5em;
+}
+.block-region {
+  background-color: #ff6;
+  margin-top: 4px;
+  margin-bottom: 4px;
+  padding: 3px;
+}
+.block ul {
+  margin: 0;
+  padding: 0 0 0.25em 1em;
+}
Index: modules/block/block.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/block/block.module,v
retrieving revision 1.211
diff -u -d -F^function -r1.211 block.module
--- modules/block/block.module	31 Jul 2006 11:25:52 -0000	1.211
+++ modules/block/block.module	7 Aug 2006 15:03:38 -0000
@@ -99,6 +99,11 @@ function block_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', 'block') .'/block.css');
+  }
 
   return $items;
 }
Index: modules/book/book.css
===================================================================
RCS file: modules/book/book.css
diff -N modules/book/book.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/book/book.css	7 Aug 2006 15:03:38 -0000
@@ -0,0 +1,21 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.book-navigation .menu {
+  border-top: 1px solid #888;
+  padding: 1em 0 0 3em;
+}
+.book-navigation .page-links {
+  border-top: 1px solid #888;
+  border-bottom: 1px solid #888;
+  text-align: center;
+  padding: 0.5em;
+}
+.book-navigation .page-previous {
+  text-align: right;
+}
+.book-navigation .page-up {
+  margin: 0 4em;
+}
+.book-navigation .page-next {
+  text-align: left;
+}
Index: modules/book/book.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/book/book.module,v
retrieving revision 1.378
diff -u -d -F^function -r1.378 book.module
--- modules/book/book.module	6 Aug 2006 23:00:41 -0000	1.378
+++ modules/book/book.module	7 Aug 2006 15:03:41 -0000
@@ -118,6 +118,10 @@ function book_menu($may_cache) {
       'type' => MENU_CALLBACK);
   }
   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', 'book') .'/book.css');
+    
     // To avoid SQL overhead, check whether we are on a node page and whether the
     // user is allowed to outline posts in books.
     if (arg(0) == 'node' && is_numeric(arg(1)) && user_access('outline posts in books')) {
Index: modules/forum/forum.css
===================================================================
RCS file: modules/forum/forum.css
diff -N modules/forum/forum.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/forum/forum.css	7 Aug 2006 15:03:41 -0000
@@ -0,0 +1,26 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+#forum .description {
+  font-size: 0.9em;
+  margin: 0.5em;
+}
+#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager {
+  white-space: nowrap;
+}
+#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager {
+  text-align: center;
+}
+.forum-topic-navigation {
+  padding: 1em 0 0 3em;
+  border-top: 1px solid #888;
+  border-bottom: 1px solid #888;
+  text-align: center;
+  padding: 0.5em;
+}
+.forum-topic-navigation .topic-previous {
+  margin-right: 4em;
+  text-align: right;
+}
+.forum-topic-navigation .topic-next {
+  text-align: left;
+}
\ No newline at end of file
Index: modules/forum/forum.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/forum/forum.module,v
retrieving revision 1.344
diff -u -d -F^function -r1.344 forum.module
--- modules/forum/forum.module	6 Aug 2006 23:00:42 -0000	1.344
+++ modules/forum/forum.module	7 Aug 2006 15:03:46 -0000
@@ -97,6 +97,11 @@ function forum_menu($may_cache) {
         'type' => MENU_CALLBACK);
     }
   }
+  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', 'forum') .'/forum.css');
+  }
 
   return $items;
 }
Index: modules/help/help.css
===================================================================
RCS file: modules/help/help.css
diff -N modules/help/help.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/help/help.css	7 Aug 2006 15:03:46 -0000
@@ -0,0 +1,10 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.help-items {
+  float: left;
+  width: 22%;
+  padding-right: 3%;
+}
+.help-items-last {
+  padding-right: 0;
+}
\ No newline at end of file
Index: modules/help/help.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/help/help.module,v
retrieving revision 1.52
diff -u -d -F^function -r1.52 help.module
--- modules/help/help.module	31 Jul 2006 11:25:53 -0000	1.52
+++ modules/help/help.module	7 Aug 2006 15:03:46 -0000
@@ -28,6 +28,11 @@ function help_menu($may_cache) {
         'access' => $admin_access);
     }
   }
+  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', 'help') .'/help.css');
+  }
 
   return $items;
 }
Index: modules/locale/locale.css
===================================================================
RCS file: modules/locale/locale.css
diff -N modules/locale/locale.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/locale/locale.css	7 Aug 2006 15:03:46 -0000
@@ -0,0 +1,6 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.locale-untranslated {
+  font-style: normal;
+  text-decoration: line-through;
+}
\ No newline at end of file
Index: modules/locale/locale.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/locale/locale.module,v
retrieving revision 1.139
diff -u -d -F^function -r1.139 locale.module
--- modules/locale/locale.module	5 Aug 2006 00:26:36 -0000	1.139
+++ modules/locale/locale.module	7 Aug 2006 15:03:48 -0000
@@ -111,6 +111,10 @@ function locale_menu($may_cache) {
       'type' => MENU_CALLBACK);
   }
   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', 'locale') .'/locale.css');
+
     if (is_numeric(arg(4))) {
       // String related callbacks
       $items[] = array('path' => 'admin/settings/locale/string/edit/'. arg(4),
Index: modules/menu/menu.css
===================================================================
RCS file: modules/menu/menu.css
diff -N modules/menu/menu.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/menu/menu.css	7 Aug 2006 15:03:48 -0000
@@ -0,0 +1,88 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+ul.menu {
+  list-style: none;
+  border: none;
+  text-align:left;
+}
+ul.menu li {
+  margin: 0 0 0 0.5em;
+}
+li.expanded {
+  list-style-type: circle;
+  list-style-image: url(menu-expanded.png);
+  padding: 0.2em 0.5em 0 0;
+  margin: 0;
+}
+li.collapsed {
+  list-style-type: disc;
+  list-style-image: url(menu-collapsed.png);
+  padding: 0.2em 0.5em 0 0;
+  margin: 0;
+}
+li.leaf {
+  list-style-type: square;
+  list-style-image: url(menu-leaf.png);
+  padding: 0.2em 0.5em 0 0;
+  margin: 0;
+}
+li a.active {
+  color: #000;
+}
+td.menu-disabled {
+  background: #ccc;
+}
+
+/*
+** Tab navigation
+*/
+ul.primary {
+  border-collapse: collapse;
+  padding: 0 0 0 1em;
+  white-space: nowrap;
+  list-style: none;
+  margin: 5px;
+  height: auto;
+  line-height: normal;
+  border-bottom: 1px solid #bbb;
+}
+ul.primary li {
+  display: inline;
+}
+ul.primary li a {
+  background-color: #ddd;
+  border-color: #bbb;
+  border-width: 1px;
+  border-style: solid solid none solid;
+  height: auto;
+  margin-right: 0.5em;
+  padding: 0 1em;
+  text-decoration: none;
+}
+ul.primary li.active a {
+  background-color: #fff;
+  border: 1px solid #bbb;
+  border-bottom: #fff 1px solid;
+}
+ul.primary li a:hover {
+  background-color: #eee;
+  border-color: #ccc;
+  border-bottom-color: #eee;
+}
+ul.secondary {
+  border-bottom: 1px solid #bbb;
+  padding: 0.5em 1em;
+  margin: 5px;
+}
+ul.secondary li {
+  display: inline;
+  padding: 0 1em;
+  border-right: 1px solid #ccc;
+}
+ul.secondary a {
+  padding: 0;
+  text-decoration: none;
+}
+ul.secondary a.active {
+  border-bottom: 4px solid #999;
+}
\ No newline at end of file
Index: modules/menu/menu.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/menu/menu.module,v
retrieving revision 1.77
diff -u -d -F^function -r1.77 menu.module
--- modules/menu/menu.module	31 Jul 2006 11:25:53 -0000	1.77
+++ modules/menu/menu.module	7 Aug 2006 15:03:52 -0000
@@ -112,6 +112,11 @@ function menu_menu($may_cache) {
       'weight' => 5,
     );
   }
+  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', 'menu') .'/menu.css');
+  }
 
   return $items;
 }
Index: modules/node/node.css
===================================================================
RCS file: modules/node/node.css
diff -N modules/node/node.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/node/node.css	7 Aug 2006 15:03:52 -0000
@@ -0,0 +1,37 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.node-unpublished, .comment-unpublished {
+  background-color: #fff4f4;
+}
+.preview .node, .preview .comment {
+  background-color: #ffffea;
+}
+#node-admin-filter ul {
+  list-style-type: none;
+  padding: 0;
+  margin: 0;
+  width: 100%;
+}
+#node-admin-buttons {
+  float: left;
+  margin-left: 0.5em;
+  clear: right;
+}
+td.revision-current {
+  background: #ffc;
+}
+.node-form .form-text {
+  display: block;
+  width: 95%;
+}
+.node-form .standard {
+  clear: both;
+}
+.node-form textarea {
+  display: block;
+  width: 95%;
+}
+.node-form .attachments fieldset {
+  float: none;
+  display: block;
+}
\ No newline at end of file
Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.667
diff -u -d -F^function -r1.667 node.module
--- modules/node/node.module	6 Aug 2006 23:00:42 -0000	1.667
+++ modules/node/node.module	7 Aug 2006 15:04:01 -0000
@@ -1046,6 +1046,10 @@ function node_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', 'node') .'/node.css');
+
     if (arg(0) == 'node' && is_numeric(arg(1))) {
       $node = node_load(arg(1));
       if ($node->nid) {
Index: modules/poll/poll.css
===================================================================
RCS file: modules/poll/poll.css
diff -N modules/poll/poll.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/poll/poll.css	7 Aug 2006 15:04:01 -0000
@@ -0,0 +1,30 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.poll .bar {
+  height: 1em;
+  margin: 1px 0;
+  background-color: #ddd;
+}
+.poll .bar .foreground {
+  background-color: #000;
+  height: 1em;
+  clear: left;
+  float: left;
+}
+.poll .links {
+  text-align: center;
+}
+.poll .percent {
+  text-align: right;
+}
+.poll .total {
+  text-align: center;
+}
+.poll .vote-form {
+  text-align: center;
+}
+.poll .vote-form .choices {
+  text-align: left;
+  margin: 0 auto;
+  display: table;
+}
\ No newline at end of file
Index: modules/poll/poll.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/poll/poll.module,v
retrieving revision 1.205
diff -u -d -F^function -r1.205 poll.module
--- modules/poll/poll.module	6 Aug 2006 23:00:42 -0000	1.205
+++ modules/poll/poll.module	7 Aug 2006 15:04:03 -0000
@@ -208,6 +208,10 @@ function poll_menu($may_cache) {
       'type' => MENU_CALLBACK);
   }
   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', 'poll') .'/poll.css');
+
     if (arg(0) == 'node' && is_numeric(arg(1))) {
       $node = node_load(arg(1));
       if ($node->type == 'poll') {
Index: modules/profile/profile.css
===================================================================
RCS file: modules/profile/profile.css
diff -N modules/profile/profile.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/profile/profile.css	7 Aug 2006 15:04:03 -0000
@@ -0,0 +1,20 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.profile {
+  clear: both;
+  margin: 1em 0;
+}
+.profile .picture {
+  float: right;
+  margin: 0 1em 1em 0;
+}
+.profile dt {
+  margin: 1em 0 0.2em 0;
+  font-weight: bold;
+}
+.profile dd {
+  margin:0;
+}
+.node-form .poll-form fieldset {
+  display: block;
+}
\ No newline at end of file
Index: modules/profile/profile.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/profile/profile.module,v
retrieving revision 1.161
diff -u -d -F^function -r1.161 profile.module
--- modules/profile/profile.module	5 Aug 2006 00:26:36 -0000	1.161
+++ modules/profile/profile.module	7 Aug 2006 15:04:07 -0000
@@ -85,6 +85,11 @@ function profile_menu($may_cache) {
       'access' => 1,
       'type' => MENU_CALLBACK);
   }
+  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', 'profile') .'/profile.css');
+  }
 
   return $items;
 }
Index: modules/search/search.css
===================================================================
RCS file: modules/search/search.css
diff -N modules/search/search.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/search/search.css	7 Aug 2006 15:04:07 -0000
@@ -0,0 +1,35 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+.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;
+}
\ No newline at end of file
Index: modules/search/search.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/search/search.module,v
retrieving revision 1.188
diff -u -d -F^function -r1.188 search.module
--- modules/search/search.module	5 Aug 2006 22:30:59 -0000	1.188
+++ modules/search/search.module	7 Aug 2006 15:04:12 -0000
@@ -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;
 }
Index: modules/system/system.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.module,v
retrieving revision 1.336
diff -u -d -F^function -r1.336 system.module
--- modules/system/system.module	7 Aug 2006 14:25:37 -0000	1.336
+++ modules/system/system.module	7 Aug 2006 15:04:20 -0000
@@ -244,6 +244,11 @@ function system_menu($may_cache) {
       $custom_theme = variable_get('admin_theme', 'bluemarine');
     }
   }
+  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', 'system') .'/system.css');
+  }
 
   return $items;
 }
Index: modules/taxonomy/taxonomy.css
===================================================================
RCS file: modules/taxonomy/taxonomy.css
diff -N modules/taxonomy/taxonomy.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/taxonomy/taxonomy.css	7 Aug 2006 15:04:20 -0000
@@ -0,0 +1,5 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+#taxonomy td.term, #taxonomy td.message {
+  padding-left: 1.5em;
+}
\ No newline at end of file
Index: modules/tracker/tracker.css
===================================================================
RCS file: modules/tracker/tracker.css
diff -N modules/tracker/tracker.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/tracker/tracker.css	7 Aug 2006 15:04:20 -0000
@@ -0,0 +1,8 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+#tracker td.replies {
+  text-align: center;
+}
+#tracker table {
+  width: 100%;
+}
\ No newline at end of file
Index: modules/tracker/tracker.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/tracker/tracker.module,v
retrieving revision 1.132
diff -u -d -F^function -r1.132 tracker.module
--- modules/tracker/tracker.module	6 Aug 2006 23:00:42 -0000	1.132
+++ modules/tracker/tracker.module	7 Aug 2006 15:04:21 -0000
@@ -48,6 +48,10 @@ function tracker_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', 'tracker') .'/tracker.css');
+
     if (arg(0) == 'user' && is_numeric(arg(1))) {
       $items[] = array('path' => 'user/'. arg(1) .'/track', 'title' => t('track'),
           'callback' => 'tracker_track_user', 'access' => user_access('access content'),
Index: modules/user/user.css
===================================================================
RCS file: modules/user/user.css
diff -N modules/user/user.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/user/user.css	7 Aug 2006 15:04:21 -0000
@@ -0,0 +1,21 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+#permissions td.module {
+  font-weight: bold;
+}
+#permissions td.permission {
+  padding-left: 1.5em;
+}
+#access-rules .access-type, #access-rules .rule-type {
+  margin-right: 1em;
+  float: left;
+}
+#access-rules .access-type .form-item, #access-rules .rule-type .form-item {
+  margin-top: 0;
+}
+#access-rules .mask {
+  clear: both;
+}
+#user-login-form {
+  text-align: center;
+}
\ No newline at end of file
Index: modules/watchdog/watchdog.css
===================================================================
RCS file: modules/watchdog/watchdog.css
diff -N modules/watchdog/watchdog.css
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ modules/watchdog/watchdog.css	7 Aug 2006 15:04:21 -0000
@@ -0,0 +1,29 @@
+/* $Id: drupal.css,v 1.152 2006/07/31 11:25:52 dries Exp $ */
+
+table.watchdog-event th {
+  border-bottom: 1px solid #ccc;
+}
+tr.watchdog-user {
+  background: #ffd;
+}
+tr.watchdog-user .active {
+  background: #eed;
+}
+tr.watchdog-content {
+  background: #ddf;
+}
+tr.watchdog-content .active {
+  background: #cce;
+}
+tr.watchdog-page-not-found, tr.watchdog-access-denied {
+  background: #dfd;
+}
+tr.watchdog-page-not-found .active, tr.watchdog-access-denied .active {
+  background: #cec;
+}
+tr.watchdog-error {
+  background: #ffc9c9;
+}
+tr.watchdog-error .active {
+  background: #eeb9b9;
+}
\ No newline at end of file
Index: modules/watchdog/watchdog.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/watchdog/watchdog.module,v
retrieving revision 1.145
diff -u -d -F^function -r1.145 watchdog.module
--- modules/watchdog/watchdog.module	31 Jul 2006 11:25:55 -0000	1.145
+++ modules/watchdog/watchdog.module	7 Aug 2006 15:04:23 -0000
@@ -55,6 +55,12 @@ function watchdog_menu($may_cache) {
       'callback' => 'watchdog_event',
       'type' => MENU_CALLBACK);
   }
+  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', 'watchdog') .'/watchdog.css');    
+  }
+  
   return $items;
 }
 
