www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 68cbef118ff473e591f67d50f8a8dcc2262d06ba
parent 1650af161aa3c8deb979685ec9e85c416da20ceb
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri, 22 Jul 2011 07:05:08 +0000

Rounded add citation dialog


Diffstat:
Mchrome/content/zotero/integration/addCitationDialog.js | 1+
Mchrome/content/zotero/integration/addCitationDialog.xul | 20++++++++++++++++----
2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/chrome/content/zotero/integration/addCitationDialog.js b/chrome/content/zotero/integration/addCitationDialog.js @@ -70,6 +70,7 @@ var Zotero_Citation_Dialog = new function () { * initialize add citation dialog */ function load() { + document.documentElement.setAttribute("drawintitlebar", "true"); document.documentElement.getButton("extra1").label = Zotero.getString("citation.multipleSources"); document.documentElement.getButton("extra2").label = Zotero.getString("citation.showEditor"); diff --git a/chrome/content/zotero/integration/addCitationDialog.xul b/chrome/content/zotero/integration/addCitationDialog.xul @@ -38,12 +38,14 @@ width="600" height="450" onload="Zotero_Citation_Dialog.load();" onunload="doUnload();" - ondialogaccept="return Zotero_Citation_Dialog.accept();" - ondialogcancel="Zotero_Citation_Dialog.cancel();" + xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" persist="screenX screenY width height" - resizable="true" + style="background: transparent; -moz-appearance:none; padding: 0" + chromemargin="0, 0, 0, 0" buttons="extra1,extra2,accept,cancel" + ondialogaccept="return Zotero_Citation_Dialog.accept();" + ondialogcancel="Zotero_Citation_Dialog.cancel();" ondialogextra2="Zotero_Citation_Dialog.toggleEditor()" ondialogextra1="Zotero_Citation_Dialog.toggleMultipleSources()"> @@ -51,7 +53,7 @@ <script src="../selectItemsDialog.js"/> <script src="addCitationDialog.js"/> - <vbox id="zotero-select-items-container" flex="1"> + <vbox id="zotero-select-items-container" style="background: rgba(239,239,239,0.9); border-radius:15px; padding: 5px;" flex="1"> <vbox flex="1"> <hbox flex="1"> <vbox align="stretch" flex="1"> @@ -201,5 +203,15 @@ <textbox id="editor" type="styled" mode="integration" hidden="true" flex="1"/> <!-- TODO: localize --> <description id="zotero-editor-warning" style="margin: 9px 1px 0" hidden="true">Warning: If you edit a citation in the editor it will no longer update to reflect changes in your database or the citation style.</description> + <hbox> + <hbox flex="1"> + <button dlgtype="extra1"/> + <button dlgtype="extra2"/> + </hbox> + <hbox> + <button dlgtype="cancel"/> + <button dlgtype="accept"/> + </hbox> + </hbox> </vbox> </dialog>