From 7aad91eb64bfb5ff88022226cc36cbbd4e4906df Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Sat, 10 Jul 2010 23:30:19 +0000
Subject: [PATCH] Fix CSS, non-garland themes tended to break admin UI.

---
 feeds_ui/feeds_ui.admin.inc |  6 +++++-
 feeds_ui/feeds_ui.css       | 18 +++++++++---------
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/feeds_ui/feeds_ui.admin.inc b/feeds_ui/feeds_ui.admin.inc
index 3b56c83b..a75d6c3c 100644
--- a/feeds_ui/feeds_ui.admin.inc
+++ b/feeds_ui/feeds_ui.admin.inc
@@ -732,7 +732,11 @@ function theme_feeds_ui_container($container) {
   $output = '<div class="feeds-container'. $class .'"'. $id .'>';
 
   if (isset($container['actions']) && count($container['actions'])) {
-    $output .= theme('item_list', $container['actions'], NULL, 'ul', array('class' => 'container-actions'));
+    $output .= '<ul class="container-actions">';
+    foreach ($container['actions'] as $action) {
+      $output .= '<li>'. $action .'</li>';
+    }
+    $output .= '</ul>';
   }
 
   if (!empty($container['title'])) {
diff --git a/feeds_ui/feeds_ui.css b/feeds_ui/feeds_ui.css
index e7513da0..3294004c 100644
--- a/feeds_ui/feeds_ui.css
+++ b/feeds_ui/feeds_ui.css
@@ -22,7 +22,7 @@ div.left-bar {
   float: left;
   position: relative;
   width: 240px;
-  border-right: 1px solid #D3E7F4;
+  border-right: 1px solid #DDD;
   padding: 10px 10px 0 0;
   }
 div.configuration {
@@ -41,9 +41,9 @@ div.feeds-container h4 {
   font-weight: bold;
   }
 div.feeds-container.plain {
-  background-color: #EDF5FA;
-  border-bottom: 1px solid #D3E7F4;
-  border-top: 2px solid #D3E7F4;
+  background-color: #EEE;
+  border-bottom: 1px solid #DDD;
+  border-top: 2px solid #DDD;
   padding: 5px;
   margin: 10px 0;
   }
@@ -62,20 +62,20 @@ div.feeds-container.plain {
       padding: 0;
       background-image: none;
       }
-  div.item-list ul.container-actions {
+  ul.container-actions {
     font-family: Arial, Helvetica;
     float: right;
     margin: 0;
     }
-    div.item-list ul.container-actions li {
+    ul.container-actions li {
       text-align: right;
       background-image: none;
       margin: 0;
       padding: 0;
       }
-      div.item-list .form-item,
-      div.item-list ul.container-actions li form,
-      div.item-list ul.container-actions li form input {
+      ul.container-actions .form-item,
+      ul.container-actions li form,
+       ul.container-actions li form input {
         padding: 0;
         margin: 0;
         display: inline;
-- 
GitLab