summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-19 17:33:29 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-19 17:33:29 +0000
commita1874c8975754e2184674f3107028fbae2b9558d (patch)
treea9e32f152ebe45bc379ed40f2fce7da2b375471a
parent39ff11ba06a7c72eb27519b3e918969f43596573 (diff)
downloadredmine-a1874c8975754e2184674f3107028fbae2b9558d.tar.gz
redmine-a1874c8975754e2184674f3107028fbae2b9558d.zip
Restyles the sort handle(#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15340 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/application_helper.rb2
-rw-r--r--public/images/reorder.pngbin0 -> 472 bytes
-rw-r--r--public/stylesheets/application.css3
3 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index f298a15ed..b41ce94b0 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -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
index 000000000..5774b68c7
--- /dev/null
+++ b/public/images/reorder.png
Binary files differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index d84291239..67cd722f8 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -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 {