Commit graph

169 commits

Author SHA1 Message Date
Dan Stillman
fe79954b96 Fix HiDPI icons in trees on Linux 2015-04-07 14:25:24 -04:00
Dan Stillman
61e11f9afa Fix main toolbar icons in 2x mode on Win/Linux 2015-04-07 03:06:25 -04:00
Dan Stillman
bfbf3d871c Fix display of sync error icon (2x and spacing) 2015-04-06 17:39:21 -04:00
Dan Stillman
af871a3fd5 Add 2x versions of many icons
Courtesy of Pastel SVG (2x famfamfam)

I didn't add 2x versions for any composite icons or any Fugue icons.

Also:

- Removed some unused/redundant images
- Switched to shadowless versions for a couple Fugue icons
2015-04-06 17:24:55 -04:00
Dan Stillman
3194f4629f Fix size of separate Z toolbar icon on Windows and Linux
Fixes #667
2015-03-09 03:37:40 -04:00
Dan Stillman
a1bed8b5ad More icon tweaks
- New dedicated Zotero button, available in the Customize palette
- Remove "16px" Z SVG and just render "32px" one at the smaller size
  (there's a slight difference at the edges, but we should probably redo
  it anyway so that dark lines reach all the way to the bottom)
- Change "Open Zotero" back to just "Zotero", since 1) it's for closing
  too, 2) it can also just bring Standalone to the front, and 3) "Open
  Zotero" looks weird and inconsistent in the menu panel next to things
  like "Preferences"
- For now, show single large Z for combo buttons in customization
  palette with "Zotero (Combo)", though we can probably do something
  better.
- Fix some HiDPI bugs when moving items between areas

Still need a layout for the panel for the combo buttons
2015-02-27 03:35:18 -05:00
Dan Stillman
0ab38f1d43 Add borders to collapsed collections/items splitters
We can think about making them more wider, etc., but this makes them ever so
slightly more visible.
2015-02-23 19:48:28 -05:00
Dan Stillman
003db7c894 Toolbar icon tweaks on OS X 2015-02-23 02:38:48 -05:00
Dan Stillman
46bed210a1 Toolbar icon tweaks on Windows 2015-02-22 19:30:16 -05:00
Dan Stillman
0f402295be Toolbar icon tweaks on Linux 2015-02-22 18:56:39 -05:00
Dan Stillman
00d9bd41b3 Fix HiDPI save icon on Linux, maybe 2015-02-22 14:11:54 -05:00
Dan Stillman
1abee72233 Fix toolbar buttons on Windows
Known issues:

- Hover doesn't work on the dropmarker alone, so instead of showing the
  hover effect for each segment individually, the menu-button parts are
  highlighted together, which at least looks like a choice
- When the menu-button is disabled, it still has some hover/active
  effects.
- Tested only on Windows 7
2015-02-22 06:46:07 -05:00
Dan Stillman
a85a9a632e Decrease right-padding of middle button by 1px on OS X 2015-02-22 06:46:07 -05:00
Dan Stillman
1069b483cc Fix toolbar buttons on Linux
Known issues:

- The dropmarker segment doesn't get a background highlight color on
  hover. And now you'll notice. Sorry.
2015-02-22 06:46:07 -05:00
Dan Stillman
9a87f15956 Toolbar button overhaul
The address bar icon now lives in a new combo buttonset containing the main Z, "Save to Zotero", and a dropmarker for the former save-icon right-click menu (which we could conceivably use more heavily going forward now that it's more accessible). There's also a separate dedicated Save to Zotero (+ dropmarker) button, not shown by default, that can be swapped in for people who don't want the Z.

The tooltip for the save icon also now shows the keyboard shortcut (though that unfortunately makes for a lot of parentheses).

Known issues:

- Untested on ESR
- Untested on Linux
- Might need refinement on Windows
- Weird 1px horizontal area at bottom of save button that highlights dropmarker (at least on OS X)
- Probably needs a third button option with just the Z icon so that the main button and the save button can be placed separately (e.g., save button in toolbar, Z in panel)
- Combo buttonset needs an inactive single-icon state for the palette and either needs a state for the panel (which might need to span all three columns?) or if possible should just move the other two icons in and put itself back in the palette
- The absurd amount of time and CSS it took to get the toolbar icons looking right on OS X, since apparently no one has put a menu-button inside a combined toolbar button before
2015-02-21 04:16:34 -05:00
Philipp Zumstein
d5b4c31575 Right pane (item-pane) can be collapsed
This belongs to issue #509 and was asked several times in the forum.

 * Add attribute `collapse="after"` to the splitter and add a grippy element.
 * To remember its state after restart I copied `zotero-persist="state"`.
 * Handle zotero-items-splitter the same as zotero-collections-splitter in zotero-platform/mac/overlay.css
 * Change min-width to 250px for #zotero-item-pane in zotero/overlay.css.
 * Update the function `updateToolbarPosition` in zotero/zoteroPane.js:
   * The width of the items-toolbar is corrected if the left pane is collapsed (and the icons are grouped on the left margin together).
   * If the right pane is collapsed, then the items-toolbar is made flexible while making the item-toolbar unflexible. As a result the search box and locate icon are flushed right to the other icons.
2015-01-07 10:41:18 +01:00
Dan Stillman
aab3276276 Use old-style searchbox in Yosemite pre-Fx34
Yosemite introduces a new search textbox shape, but Firefox still uses
the old focus ring shape until 34, so we fake the old searchbox shape
for earlier versions.
2014-10-14 02:22:44 -04:00
Aurimas Vinckevicius
dc5ccffe43 Use Mozilla's colors for itembox and tagbox background
This way, the colors play nicely with Windows themes (e.g. high contrast)
Re https://forums.zotero.org/discussion/38870/make-zotero-fully-recognize-windowsff-high-contrast-themes/ and https://twitter.com/stuffilike2know/status/504167872567189504
2014-08-26 03:11:24 -05:00
Dan Stillman
7d74344b7d Restore highlighting of collection row during drag on Windows 2014-07-20 02:16:20 -04:00
Dan Stillman
472892b4f0 Closes #482, Include active info pane tab in tab cycle on OS X
That was easy. (@simonster, since you disabled this originally, any reason not
to do this, other than the extra tab stop? At least in current Firefox
versions, this is the default behavior.)
2014-05-17 04:10:37 -04:00
Dan Stillman
4179cb8ed6 Retina tree twisties for OS X
Using separate arrows from treetwisty.svg from Mozilla, since it doesn't seem
to be possible to use list-style-position in the tree

The reason we still have to do this at all is that coloring of the twisties in
the tree still gets messed up as you move around the tree. (This still happens
in Places and Thunderbird as well.)
2014-04-28 03:52:18 -04:00
Dan Stillman
76da3e67fb Tweak the tree row height a bit on Windows 2013-11-08 02:57:09 -05:00
Dan Stillman
331ef4ac34 Apply Fx25 tree-row fix to Windows only, and fix spacing there too
"height: auto" (from another extension's fix for this) actually caused
the bottoms of tree rows to be cut off on Windows (and at least on one
Linux installation with Chinese characters).
2013-11-07 03:23:55 -05:00
Simon Kornblith
d0d0f14edb Disable context menu icons on OS X 2013-04-14 01:47:05 -04:00
Dan Stillman
9c74957bc0 Tweak alignment of sync error icon on Windows 2013-04-11 04:30:51 -04:00
Dan Stillman
bb93f019dc File sync overhaul
- New promise-based architecture
- Library-specific file sync queues, allowing other libraries to
  continue if there's an error in one library
- Library-specific sync errors, with error icons next to each library
- Changed file uploading in on-demand download mode, which had been missing
- On-demand download progress indicator in middle pane
- More accurate progress indicator
- Various tweaks and bug fixes
- Various future tweaks and bug fixes
2012-12-11 15:16:40 -05:00
Simon Kornblith
947be813ec Merge branch '3.0' 2012-03-20 02:16:43 -04:00
Simon Kornblith
63c4096a6c Specify both -moz-border-radius and border-radius.
Closes #66, Quick Format is square on nightly
2012-03-09 20:24:28 -05:00
Simon Kornblith
07028650f0 Closes #48, Additional field in QuickFormat dialog showing the name of the library and providing a link to the item with the following modifications
- Open in current window if one is already open
- Use a button instead of a label
- Don't show button if citation item is not linked to a Zotero item

This doesn't currently work if the Zotero pane has never been opened in the given window, because ZoteroPane.selectItem() appears to fail in that circumstance. This needs to be fixed.
2012-02-19 18:37:42 -05:00
Simon Kornblith
ac5d833117 Remove antiquated code 2012-02-10 01:38:01 -05:00
Simon Kornblith
d4552a8c6c Tweak toolbar UI 2012-02-01 22:23:07 -05:00
Simon Kornblith
774f91f092 Fix ugly groupbox 2012-02-01 20:45:55 -05:00
Simon Kornblith
d082d074ee Don't use Win 7 theme on Win XP 2012-02-01 20:05:28 -05:00
Simon Kornblith
ddad4a6acd Undo win-specific style tweak 2012-02-01 19:42:46 -05:00
Simon Kornblith
29f4dce061 Tiny cosmetic change 2012-02-01 18:21:17 -05:00
Simon Kornblith
f606aea369 Minor cosmetic tweak 2012-01-30 01:33:37 -05:00
Simon Kornblith
540abc70da Add a little more spacing 2012-01-26 02:37:11 -05:00
Simon Kornblith
bf10b7192b Set pane padding to 0 on Linux 2012-01-25 19:16:29 -05:00
Simon Kornblith
0f71d2456e Small tweak for Fx 3.6 2012-01-25 18:11:38 -05:00
Simon Kornblith
163fd52efd Revert to last iteration 2012-01-25 17:47:04 -05:00
Simon Kornblith
fe59c353ad More playing around 2012-01-25 04:02:26 -05:00
Simon Kornblith
5610f77943 Flirt with styling the tab bar differently from the toolbar 2012-01-25 03:49:07 -05:00
Simon Kornblith
26a49cf8b8 Slightly wider, fix highlight 2012-01-25 03:33:55 -05:00
Simon Kornblith
93643b012e Return to 11px bold text 2012-01-25 03:26:10 -05:00
Simon Kornblith
ef1deb3691 Fix text position 2012-01-25 03:18:17 -05:00
Simon Kornblith
bd74c29bce Fix buttons in Nightly 2012-01-25 03:10:06 -05:00
Dan Stillman
8941e610e0 Fix invalid CSS selector on Windows
I didn't check whether this affects anything. The rule was being ignored
previously.
2012-01-19 21:05:35 -05:00
Simon Kornblith
0fcf07dd6a Teeny tiny cosmetic fix on Windows 2012-01-17 01:50:39 -05:00
Simon Kornblith
a17b78e222 Minor cosmetic fix 2012-01-16 23:57:19 -05:00
Simon Kornblith
51b3af7bc7 Move icon over by one pixel 2012-01-16 21:33:43 -05:00
Simon Kornblith
b66c2aab89 Add preferences to menus on Windows and Linux 2012-01-16 21:29:32 -05:00
Simon Kornblith
223bfe74db Disable toolbar buttons in collections that cannot be edited 2011-10-02 23:28:38 +00:00
Simon Kornblith
24742691b8 Reduce toolbar button opacity when inactive or disabled 2011-10-02 23:13:18 +00:00
Simon Kornblith
5ed3cba50b Selected item pane button should remain white, even when inactive 2011-10-02 23:02:30 +00:00
Simon Kornblith
601c7bf04b UI tweaks 2011-10-02 22:05:33 +00:00
Dan Stillman
263439c6ab Closes #1464, Limit number of creators in metadata pane
Displays "[x] more..." label that can be clicked to show all creators. Switching away from the item resets. This might need some further tweaking.

Untruncated display of large creator lists is probably faster now as well, though definitely not enough for the ATLAS Experiment.
2011-09-06 06:13:26 +00:00
Simon Kornblith
8b0f8c3fdf Keep add citation dialog raised whenever Firefox is in the foreground, and add hidden pref extensions.zotero.integration.keepAddCitationDialogRaised to keep dialog raised at all times 2011-09-01 01:11:06 +00:00
Simon Kornblith
f1207a90eb Restore dropmarker to search bar on OS X Standalone 2011-08-23 00:42:30 +00:00
Simon Kornblith
22e9eb6ea8 Tab box margin tweak 2011-08-17 06:50:16 +00:00
Simon Kornblith
58c8e7ccfc Windows theme changes. I'm not sure I really like how the tabs on the right look, and maybe we should reconsider the present dividers, but I think this looks a bit better. 2011-08-11 23:37:18 +00:00
Simon Kornblith
a35c33312d Move standalone.dtd out of separate directory 2011-08-10 19:36:05 +00:00
Simon Kornblith
b20c4dd622 - Add border on Linux
- Move dropmarker slightly
2011-08-03 02:09:57 +00:00
Simon Kornblith
3814c9307e Tweak spacing in Linux QuickFormat dialog 2011-08-02 15:27:36 +00:00
Simon Kornblith
46e1fd0600 Tweak Windows appearance (Linux still to come) 2011-08-01 16:59:10 +00:00
Simon Kornblith
a5cdfc2cef Use arrow panel for "Add Citation by Identifier" 2011-07-24 17:41:48 +00:00
Dan Stillman
56c7afc47e Duplicate detection:
- Adds a per-library "Duplicate Items" virtual search to the source list -- shows up by default for "My Library" but can be added to and removed from all libraries
- Current matching algorithm is very basic: finds exact title matches (after normalizing case/diacritics/punctuation/spacing) and DOI/ISBN matches (untested)
- In duplicates view, sets are selected automatically; in other views, duplicate items can be selected manually and the merge interface can be brought up with "Merge Items" in the context menu
- Can select a master item and individual fields to merge from other versions
- Word processor integration code will automatically find mapped replacements and update documents with new item keys

Possible future improvements:

- Improved detection algorithms
- UI tweaks
- Currently if any items differ, all available versions will be shown as master item options, even if only one item is different; probably the earliest equivalent item should be shown for each distinct version
- Caching of results for performance
- Confidence scale
- Creator version selection (currently the creators from the chosen master item are kept)
- Merging of matching child items
- Better sorting of duplicates if not clustered together by the selected sort column
- Relation path compression when merging items that are already mapped to previously removed duplicates

Other changes in this commit:

- Don't show Trash in word processor integration windows
- Consider items in trash to be missing in word processor documents
- Selection of special views (Trash, Unfiled, Duplicates) is now restored properly in new windows
- Disabled field transform context menu when item isn't editable
- Left/right arrow now expands/collapses all selected items instead of just the last-selected row
- Relation deletions are now synced
- The same items row is now reselected after item deletion
- (dev) Zotero.Item.getNotes(), Zotero.Item.getAttachments(), and Zotero.Item.getTags() now return empty arrays rather than FALSE if no matches -- tests on those return values in third-party code will need to be changed
- (dev) New function Zotero.Utilities.removeDiacritics(str, lowercaseOnly) -- could be used to generate ASCII BibTeX keys
- (dev) New 'tempTable' search condition can take a table to join against -- useful for implementing virtual source lists
- (dev) Significant UI code cleanup
- (dev) Moved all item pane content into itemPane.xul
- Probably various other things


Needless to say, this needs testing.
2011-07-22 21:24:38 +00:00
Simon Kornblith
5197f1e78b - Closes #1793, Add update button to standalone
A "Check for Updates" menu item is now available (under the Zotero menu on OS X, or the Help menu on other platforms). This will currently give a 404 unless you build Zotero Standalone as from the "beta" channel.

- Don't add About menu option to help menu on OS X (only to Zotero menu)
2011-07-11 14:54:51 +00:00
Dan Stillman
2b68113fd7 - Fix search bar drop-down on Linux
- Increase padding slightly next to non-menu toolbar buttons
- Tweak alignment of sync icon
2011-06-14 03:24:21 +00:00
Simon Kornblith
b874641bf9 - show correct gradients for between focused, selected, and inactive tree items in collections tree on OS X
- use -moz-linear-gradient instead of images
2011-06-07 06:26:12 +00:00
Dan Stillman
4c07ff04a1 Copy mainwindow-dropdown-arrow.png to skin directory for availability in Standalone 2011-06-07 06:00:36 +00:00
Dan Stillman
689b758dd3 Fixes #1824, Fix appearance of search menu on Windows 2011-06-07 05:47:58 +00:00
Simon Kornblith
d7e4ae3620 Add some new menu items 2011-06-03 05:14:48 +00:00
Simon Kornblith
fbdb7d5526 add missed files from previous commit 2011-05-31 06:50:52 +00:00
Simon Kornblith
08cbf4d4d9 small tweaks to help 2011-05-31 06:38:22 +00:00
Simon Kornblith
1b1af48be0 add Help menu items and About dialog 2011-05-31 06:34:21 +00:00
Simon Kornblith
3ce92c3690 closes #1775, Window hiding on Mac OS X 2011-05-31 05:32:45 +00:00
Dan Stillman
c572131509 Additional (untested) CSS files for Windows/Linux for quick search bar menu 2011-04-25 15:29:09 +00:00
Dan Stillman
3856885e6d Closes #1004, Add menu to quicksearch bar to change search modes
Initial version -- needs additional refinement

Not yet tested on Windows/Linux, and won't look right in Fx3.6
2011-04-25 15:27:49 +00:00
Simon Kornblith
01169f9618 fix item type menu appearance on Windows 2011-03-08 05:51:50 +00:00
Simon Kornblith
ec44bfbcc5 tweak appearance on Linux 2011-03-08 05:44:27 +00:00
Simon Kornblith
b8e213b629 fix Mac CSS typo 2011-03-08 05:25:15 +00:00
Simon Kornblith
e84ef616d4 fix appearance on Windows (still need to test on Linux) 2011-03-08 05:23:01 +00:00
Dan Stillman
393a6d87fe Unless we find anything better, use stack of papers for Unfiled Items icon 2011-02-14 07:11:06 +00:00
Simon Kornblith
4d7c1238b0 virtual treesource, rev. 4 2011-02-14 05:50:41 +00:00
Simon Kornblith
e8cdb543e9 virtual saved search, rev. 3 2011-02-14 05:48:27 +00:00
Simon Kornblith
2f616a84d8 restore to previous icon 2011-02-14 05:39:30 +00:00
Simon Kornblith
d97d60a675 mac virtual saved search icon, second possibility 2011-02-14 05:37:14 +00:00
Simon Kornblith
da0bba1358 icon for OS X virtual saved search, rev. 1 2011-02-14 05:28:14 +00:00
Simon Kornblith
1908001230 - get rid of svg toolbar glow, which wasn't working before anyway
- use icons with higher contrast edges in some cases on OS X
2011-02-13 23:51:50 +00:00
Simon Kornblith
d8966467dc - show title in separate notes window
- fix issues entering new tags into tags popup
- add back left/right tinymce borders on non-OS X
2011-02-13 08:50:24 +00:00
Simon Kornblith
e381b552d0 Modifications to notes and attachments box appearances:
- attachment notes box is now located at bottom, with linked items options above it
- notes no longer display the parent item title. I think this is a waste of space, but if someone wants it back, I can do that
- notes editor spans entire pane
- notes editor does not have gray borders on left or right
- metadata display in notes and attachments boxes is consistent with metadata display in item pane
2011-02-13 06:16:06 +00:00
Simon Kornblith
fd9e25fa29 - Put all Zotero buttons in one contiguous toolbar. This seems to be the only way to get a unified window on OS X. It also means that if the window is too small, the search box pushes over the metadata pane buttons, instead of getting truncated.
- Firefox 3.6 fixes
2011-02-13 03:51:24 +00:00
Simon Kornblith
9312300420 ignore active attribute on Firefox 3.6 in Zotero Tab 2011-02-13 02:35:57 +00:00
Simon Kornblith
c8478f02f8 tweak OS X Zotero tab appearance 2011-02-13 02:29:00 +00:00
Simon Kornblith
51c119ae8a control selected appearance on clicky based on tree focus, not window focus 2011-02-12 21:22:01 +00:00
Simon Kornblith
5edcc84cf9 pad top of itembox on OS X 2011-02-12 20:31:52 +00:00
Simon Kornblith
e5a4d4a1ee fix activated/deactivated appearance in Fx 4 2011-02-12 19:56:13 +00:00
Simon Kornblith
ecf0f3397c Zotero as a tab. This may need to be backed out for 2.1 depending on the amount of trouble it generates. 2011-01-30 09:44:01 +00:00
Simon Kornblith
1a3d616c2d - add support for Zotero as a separate tab (currently only via loading chrome://zotero/content/tab.xul)
- tweak twisty appearance on OS X (highlight-on-click is gone, but this seems preferable to the previous behavior)
- simplify chrome.manifest for standalone
2011-01-24 10:29:36 +00:00
Simon Kornblith
e0e84bc22a - eliminate for each in future cross-browser code
- move itemTypeExists, getCreatorsForType, and getLocalizedCreatorType back under ZU
- modify OpenURL code to use ZU.itemTypeExists
2010-10-27 02:10:45 +00:00