commit 6c6505a7baf4ae24fd513617c4917bb1a6ce6314 parent 6c97fed76c2fd7b4b781de69b09bf31e6935a9ab Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 16 Jan 2012 23:02:14 -0500 Make "Restore to Library" button look somewhat less awful Diffstat:
| M | chrome/content/zotero/itemPane.xul | | | 7 | ++++--- |
| M | chrome/skin/default/zotero/itemPane.css | | | 5 | +++++ |
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/itemPane.xul b/chrome/content/zotero/itemPane.xul @@ -34,9 +34,10 @@ <vbox id="zotero-item-pane" zotero-persist="width"> <!-- Trash --> - <!-- TODO: Make look less awful --> - <button id="zotero-item-restore-button" label="&zotero.items.menu.restoreToLibrary;" - oncommand="ZoteroPane_Local.restoreSelectedItems()" hidden="true"/> + <vbox id="zotero-item-restore-button-holder"> + <button id="zotero-item-restore-button" label="&zotero.items.menu.restoreToLibrary;" + oncommand="ZoteroPane_Local.restoreSelectedItems()" hidden="true"/> + </vbox> <!-- Commons --> <button id="zotero-item-show-original" label="Show Original" diff --git a/chrome/skin/default/zotero/itemPane.css b/chrome/skin/default/zotero/itemPane.css @@ -36,6 +36,11 @@ margin-left: 5px; } +/* Restore button in trash view */ +#zotero-item-restore-button-holder +{ + -moz-appearance: toolbar; +} /* Merge pane in duplicates view */ #zotero-duplicates-merge-button