diff --git a/chrome/content/zotero/xpcom/annotate.js b/chrome/content/zotero/xpcom/annotate.js index 83284c267..a7d288c29 100644 --- a/chrome/content/zotero/xpcom/annotate.js +++ b/chrome/content/zotero/xpcom/annotate.js @@ -682,11 +682,11 @@ Zotero.Annotation.prototype.displayWithAbsoluteCoordinates = function(absX, absY this.pushpinDiv.style.padding = "0"; this.pushpinDiv.style.display = "block"; this.pushpinDiv.style.position = "absolute"; - this.pushpinDiv.style.MozOpacity = 0.9; this.pushpinDiv.style.cursor = "pointer"; // generate pushpin image var img = this.document.createElement("img"); img.src = "chrome://zotero/skin/annotation-hidden.png"; + img.title = Zotero.getString("annotations.expand.tooltip"); img.addEventListener("click", function() { me.setCollapsed(false); }, false); @@ -763,6 +763,7 @@ Zotero.Annotation.prototype._addChildElements = function() { // close image var img = this.document.createElement("img"); img.src = "chrome://zotero/skin/annotation-close.png"; + img.title = Zotero.getString("annotations.close.tooltip"); img.addEventListener("click", function(event) { if(me._confirmDelete(event)) { me._delete(); @@ -783,6 +784,7 @@ Zotero.Annotation.prototype._addChildElements = function() { // move image this.moveImg = this.document.createElement("img"); this.moveImg.src = "chrome://zotero/skin/annotation-move.png"; + this.moveImg.title = Zotero.getString("annotations.move.tooltip"); this.moveImg.addEventListener("click", function(e) { me._startMove(e); }, false); @@ -791,6 +793,7 @@ Zotero.Annotation.prototype._addChildElements = function() { // hide image var img = this.document.createElement("img"); img.src = "chrome://zotero/skin/annotation-hide.png"; + img.title = Zotero.getString("annotations.collapse.tooltip"); img.addEventListener("click", function(event) { me.setCollapsed(true); }, false); @@ -804,7 +807,7 @@ Zotero.Annotation.prototype._addChildElements = function() { this.grippyDiv.style.position = "absolute"; this.grippyDiv.style.right = "0px"; this.grippyDiv.style.bottom = "0px"; - this.grippyDiv.style.cursor = "move"; + this.grippyDiv.style.cursor = "se-resize"; var img = this.document.createElement("img"); img.src = "chrome://zotero/skin/annotation-grippy.png"; img.addEventListener("mousedown", function(event) { diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index c7eb22dc6..816d4ff3d 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -353,4 +353,8 @@ citation.singleSource = Single Source... report.title.default = Zotero Report annotations.confirmClose.title = Are you sure you want to close this annotation? -annotations.confirmClose.body = All text will be lost. \ No newline at end of file +annotations.confirmClose.body = All text will be lost. +annotations.close.tooltip = Delete Annotation +annotations.move.tooltip = Move Annotation +annotations.collapse.tooltip = Collapse Annotation +annotations.expand.tooltip = Expand Annotation \ No newline at end of file diff --git a/chrome/skin/default/zotero/annotation-hidden.png b/chrome/skin/default/zotero/annotation-hidden.png index b376a21fc..8e12f66d2 100644 Binary files a/chrome/skin/default/zotero/annotation-hidden.png and b/chrome/skin/default/zotero/annotation-hidden.png differ