From 6c9c85134a8e561f0556181f7bedbdcfa6500eee Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 5 Mar 2011 21:15:19 -0800 Subject: [PATCH] Fix the issue action bar CSS --- app/views/issues/_action_menu.rhtml | 4 +++- public/stylesheets/main.css | 21 ++++++++------------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/views/issues/_action_menu.rhtml b/app/views/issues/_action_menu.rhtml index b1af5785a7..9f38bf062c 100644 --- a/app/views/issues/_action_menu.rhtml +++ b/app/views/issues/_action_menu.rhtml @@ -1,9 +1,11 @@
-<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %> <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %> <%= watcher_link(@issue, User.current, {:class => 'watcher_link', :replace => ['#watchers', '.watcher_link']}) %> <%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %> <%= link_to_if_authorized l(:button_copy), {:controller => 'issue_moves', :action => 'new', :id => @issue, :copy_options => {:copy => 't'}}, :class => 'icon icon-copy' %> <%= link_to_if_authorized l(:button_move), {:controller => 'issue_moves', :action => 'new', :id => @issue}, :class => 'icon icon-move' %> <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => (@issue.leaf? ? l(:text_are_you_sure) : l(:text_are_you_sure_with_children)), :method => :post, :class => 'icon icon-del' %> +
+<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => '', :accesskey => accesskey(:edit)) %> +
diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index f35bfcacf4..7f508ffdf4 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -547,18 +547,18 @@ form#issue-list { right:10px; top:0; padding:0 100px 0 10px; - border-left:1px solid #237084; height:100%; } -.title-bar-actions span { - line-height:3.5; +.title-bar .title-bar-actions .contextual { +/* line-height:3.5;*/ + padding-right: 100px; } -.title-bar-actions span a { - color:#fff; +.title-bar-actions .contextual a { +/* color:#fff;*/ } -.title-bar-actions span.meta-sep { - color:#6DABC2; - padding:0 2px; +.title-bar .title-bar-actions .contextual a.icon { + color:#fff; + margin-right: 0px; } .title-bar .update { right:0; @@ -1495,7 +1495,6 @@ fieldset#filters div.add-filter { border:none; } .title-bar .contextual { - border-left:1px solid #237084; padding:0 140px 0 12px; position:absolute; right:10px; @@ -1523,10 +1522,6 @@ fieldset#filters div.add-filter { .extras-actions { border-top:none; } -.title-bar-actions span a { - background:none; - padding:0; -} #content .meta table.progress { border:1px solid #bbb; border-collapse:separate;