[designfix] style all reorder icons

pull/41/head
Romano Licker 13 years ago
parent 29a428cfb9
commit eb8727d3e6
  1. 5
      app/helpers/application_helper.rb
  2. 2
      public/stylesheets/application.css

@ -404,10 +404,13 @@ module ApplicationHelper
end
def reorder_links(name, url)
content_tag(:span,
link_to(image_tag('2uparrow.png', :alt => l(:label_sort_highest)), url.merge({"#{name}[move_to]" => 'highest'}), :method => :post, :title => l(:label_sort_highest)) +
link_to(image_tag('1uparrow.png', :alt => l(:label_sort_higher)), url.merge({"#{name}[move_to]" => 'higher'}), :method => :post, :title => l(:label_sort_higher)) +
link_to(image_tag('1downarrow.png', :alt => l(:label_sort_lower)), url.merge({"#{name}[move_to]" => 'lower'}), :method => :post, :title => l(:label_sort_lower)) +
link_to(image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), url.merge({"#{name}[move_to]" => 'lowest'}), :method => :post, :title => l(:label_sort_lowest))
link_to(image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), url.merge({"#{name}[move_to]" => 'lowest'}), :method => :post, :title => l(:label_sort_lowest)),
:class => "reorder-icons"
)
end
def breadcrumb(*args)

@ -2636,7 +2636,7 @@ Additional wiki styles
border: 1px solid #C7CFCA;
}
td.small-icons img {
.reorder-icons img {
padding-right: 3px;
padding-left: 3px;
}

Loading…
Cancel
Save