zotero/chrome/content/zotero-platform/mac
abaevbog 5f076dfeea
fx115: Citation dialog fixes (#3889)
- css tweaks for proper sizing and minor cleanup
of unused classes and properties
- added flip="none" for the panels to not bounce
around window's edges
- removed dialog's marginBottom on macOS - it doesn't
seem needed anymore
- close and reopen panel when window's height changes
on all platforms. It used to only happen on windows
but now the panel remains at it's original location on
macOS as well, so we'll always reopen the panel so
that is is positioned close to the dialog
- try to postion the panel in the middle on windows
- fix progress meter not appearing

* improved qf window drag

- not using old windowDraggingUtils since it causes
issues on windows with the mouse outrunning the window.
- instead, set -moz-window-drag: drag on dialog when
the mouse is over the red border
- added chromeutils param to the window. These are required
for dragging to work on windows and their values are
important because wrong values will cause the window to
shrink and basically disappear. 0,0,15,0 seems to work
most reliably though the reason why other values (e.g.
0,2,2,2 as on the ZoteroPane window) break window is not
clear
- added margins around the dialog on windows. moz-window-drag
doesn't seem to properly work for mouse clicks very close
to the window's edge
- with fx115, the <panel> does not follow the window
when it is dragged, so we have to hide the panel during dragging.
Unfortunately, mouseup/down events don't fire on the dialog when
moz-window-drag: drag is set on windows. Without these events,
as a workaround, we check window's position periodically and
hide/display the reference panel based on that.
- removed initial window.resizeTo() right when the content is
loaded. It's not needed and sometimes causes rendering
issues when the dialog appears shrunk.

* fx115 linux css edits

- try to make the dialog look like dialogs on other platforms.
Red background, no chrome etc. The actual window's background can't seem
to be transparant, so no round borders
- minor edits to sizing on linux
2024-04-05 12:07:24 +03:00
..
integration.css fx115: Citation dialog fixes (#3889) 2024-04-05 12:07:24 +03:00
overlay.css fx115: fix main window element layout 2024-03-30 00:58:58 -04:00
panebutton-active.png Fx60: Restore prefwindow bindings 2019-08-27 00:47:39 -04:00
panebutton-inactive.png Fx60: Restore prefwindow bindings 2019-08-27 00:47:39 -04:00
preferences.css Preferences: Restore Help button (#2803) 2022-10-03 07:35:40 -04:00
tagselector.css
treesource-collection.png
treesource-collection@2x.png Add missing 2x Mac collection/search icons and fix 2x sync icon size 2017-10-18 06:05:51 -04:00
treesource-search.png
treesource-search@2x.png Add missing 2x Mac collection/search icons and fix 2x sync icon size 2017-10-18 06:05:51 -04:00
zotero-z-16px-australis.png Toolbar icon tweaks 2016-02-10 03:33:01 -05:00
zotero-z-32px-australis.png Toolbar icon tweaks 2016-02-10 03:33:01 -05:00