From fde2e8a17414de9e99f6473def670e5c7092a692 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 24 Feb 2014 10:08:00 +0000 Subject: [PATCH] BIS-627 / SP-1141: ELN UI - Improve Workspace Uploader (Selective delete Style) SVN: 30579 --- .../openbis/public/resources/uploader/css/src/upload.css | 9 +++++++++ .../openbis/public/resources/uploader/js/src/upload.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/css/src/upload.css b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/css/src/upload.css index 1766c60fd8b..4c865d8551a 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/css/src/upload.css +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/css/src/upload.css @@ -282,3 +282,12 @@ button:hover { left: 0; z-index: -100; } +.delete-button { + cursor:pointer; + opacity: 0.5; + font-size: 20px; +} +.delete-button:hover { + opacity: 1; + font-weight:bold; +} \ No newline at end of file diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/js/src/upload.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/js/src/upload.js index 236c566d3c7..336098e6538 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/js/src/upload.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/uploader/js/src/upload.js @@ -259,7 +259,7 @@ var Uploader = new function () { ++current_upload_id; $(settings.file_list) .append("<li class=\"upload\" id=\"upload-" + id + "\">" + - "<span id='delete-" + id + "' style='font-size: 20px;'>X</span> " + + "<span id='delete-" + id + "' class='delete-button'>X</span> " + "<span id=\"progress-" + id + "\" class=\"progressbar-container\">" + "<span id=\"progressbar-" + id + "\" class=\"progressbar\"></span>" + "</span>" + -- GitLab