]> source.dussan.org Git - redmine.git/commitdiff
Restyles the sort handle(#12909).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 19 Apr 2016 17:33:29 +0000 (17:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 19 Apr 2016 17:33:29 +0000 (17:33 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15340 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb
public/images/reorder.png [new file with mode: 0644]
public/stylesheets/application.css

index f298a15ed62a802f864603ad793187c90e88f43f..b41ce94b0f6055ad738890f2256ca8853587a2a8 100644 (file)
@@ -477,7 +477,7 @@ module ApplicationHelper
       :reorder_param => options[:param] || object.class.name.underscore
     }
     content_tag('span', '',
-      :class => "sort-handle ui-icon ui-icon-arrowthick-2-n-s",
+      :class => "sort-handle",
       :data => data)
   end
 
diff --git a/public/images/reorder.png b/public/images/reorder.png
new file mode 100644 (file)
index 0000000..5774b68
Binary files /dev/null and b/public/images/reorder.png differ
index d8429123901b4fd7c05ca9db68e840482fc89dcd..67cd722f8b2d88b82ed37fa6bf18255d19685e50 100644 (file)
@@ -1201,6 +1201,9 @@ a.icon-only::after {
 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
 
+.sort-handle { width:16px; height:16px; background:url(../images/reorder.png) no-repeat 0 50%; cursor:move; }
+tr.ui-sortable-helper { border:1px solid #e4e4e4; }
+
 .contextual>.icon:not(:first-child), .buttons>.icon:not(:first-child) { margin-left: 5px; }
 
 img.gravatar {