diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f3aebcf..58f5a85 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -186,4 +186,12 @@ module ApplicationHelper end end + def category_color + if @category.nil? + "" + else + @category.top_ancestor.display_color + end + end + end diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml index f6f5d4c..df5cf9e 100644 --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -26,8 +26,8 @@ <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;", :alt => _('Image for Loading...') %> -
-
+
+
Acessibilidade Central de Buscas @@ -52,6 +52,7 @@ +
diff --git a/public/artwork/newbar/menu.html b/public/artwork/newbar/menu.html index c9fb581..6d9ae0a 100644 --- a/public/artwork/newbar/menu.html +++ b/public/artwork/newbar/menu.html @@ -8,8 +8,8 @@ -
-
+
+
Acessibilidade Central de Buscas diff --git a/public/stylesheets/menu.css b/public/stylesheets/menu.css index 495425b..041f4ac 100644 --- a/public/stylesheets/menu.css +++ b/public/stylesheets/menu.css @@ -230,7 +230,6 @@ clear: both; #header { clear: left; - background: #204a87; padding: 3px; text-align: left; margin-left: -290px; -- libgit2 0.21.2