zotero/scss/_zotero.scss

104 lines
3.1 KiB
SCSS
Raw Permalink Normal View History

2017-05-22 23:10:03 +00:00
// Abstracts
// --------------------------------------------------
@import "abstracts/variables";
@import "abstracts/functions";
2023-10-20 16:05:57 +00:00
@import "abstracts/mixins";
2017-05-22 23:10:03 +00:00
@import "abstracts/placeholders";
@import "abstracts/utilities";
@import "abstracts/split-button";
@import "abstracts/svgicon";
2017-05-22 23:10:03 +00:00
@import "themes/light";
@import "themes/dark";
2017-05-22 23:10:03 +00:00
// Base
// --------------------------------------------------
@import "base/base";
2017-05-22 23:10:03 +00:00
// Components
// --------------------------------------------------
@import "components/advancedSearch";
@import "components/annotation";
@import "components/autosuggest";
@import "components/banner";
@import "components/button";
@import "components/clicky";
@import "components/contextPane";
@import "components/collection-tree";
@import "components/createParent";
2024-01-16 13:22:48 +00:00
@import "components/csledit";
@import "components/dictionaryManager";
@import "components/editable";
@import "components/editBibliographyDialog";
@import "components/exportOptions";
2018-12-18 11:47:11 +00:00
@import "components/icons";
@import "components/import-wizard";
@import "components/item-tree";
@import "components/listheader";
@import "components/locateManager";
@import "components/longTagFixer";
2020-09-15 07:30:17 +00:00
@import "components/mainWindow";
2023-11-15 09:07:54 +00:00
@import "components/menu";
2020-11-03 16:29:51 +00:00
@import "components/notesList";
@import "components/progressMeter";
@import "components/publications-dialog";
2024-01-17 11:10:11 +00:00
@import "components/richlistbox";
2024-01-16 13:53:21 +00:00
@import "components/rtfScan";
@import "components/runJS";
@import "components/search";
2024-01-12 13:03:30 +00:00
@import "components/selectItemsDialog";
@import "components/spinner";
@import "components/syncButtonTooltip";
@import "components/tabBar";
@import "components/tagSelector";
@import "components/titleBar";
2024-01-12 09:10:04 +00:00
@import "components/splitter";
@import "components/textLink";
2023-12-15 09:51:39 +00:00
@import "components/toolbar";
@import "components/toolbarbutton";
XUL -> JS tree megacommit - Just a single huge commit. This has been developed over too long a time, required many tiny changes across too many files and has seen too many iterations to be separated into separate commits. The original branch with all the messy commits will be kept around for posterity https://github.com/zotero/zotero/compare/bb220ad0f2d6bf0eca6df6d225d3d358cb50a27b...adomasven:feature/react-item-tree - Replaces XUL <tree> element across the whole zotero client codebase with a custom supermegafast virtualized-table inspired by react-virtualized yet mimicking old XUL treeview API. The virtualized-table sits on top on a raw-to-the-metal, interpreted-at-runtime JS based windowing solution inspired by react-window. React-based solutions could not be used because they were slow and Zotero UI needs to be responsive and be able to display thousands of rows in a treeview without any slowdowns. - Attempts were made at making this screen-reader friendly, but yet to be tested with something like JAWS - RTL-friendly - Styling and behaviour across all platforms was copied as closely as possible to the original XUL tree - Instead of row-based scroll snapping this has smooth-scrolling. If you're using arrow keys to browse through the tree then it effectively snap-scrolls. Current CSS snap scroll attributes do not seem to work in the way we would require even on up-to-date browsers, yet alone the ESR version of FX that Zotero is on. JS solutions are either terrible for performance or produce inexcusable jitter. - When dragging-and-dropping items the initial drag freezes the UI for a fairly jarring amount of time. Does not seem to be fixable due to the synchronous code that needs to be run in the dragstart handler. Used to be possible to run that code async with the XUL tree. - Item tree column picker no longer has a dedicated button. Just right-click the columns. The column preferences (width, order, etc) are no longer handled by XUL, which required a custom serialization and storage solution that throws warnings in the developer console due to the amount of data being stored. Might cause temporary freezing on HDDs upon column resize/reorder/visibility toggling. - Context menu handling code basically unchanged, but any UI changes that plugins may have wanted to do (including adding new columns) will have to be redone by them. No serious thought has gone into how plugin developers would achieve that yet. - Opens up the possibility for awesome alternative ways to render the tree items, including things like multiple-row view for the item tree, which has been requested for a long while especially by users switching from other referencing software
2020-06-03 07:29:46 +00:00
@import "components/virtualized-table";
2024-01-17 11:10:11 +00:00
@import "components/window";
@import "components/tabsMenu";
@import "components/newCollectionDialog";
@import "components/reader";
@import "components/banners";
2023-11-06 17:32:37 +00:00
// Elements
// --------------------------------------------------
@import "elements/attachmentBox";
@import "elements/attachmentPreview";
@import "elements/attachmentPreviewBox";
@import "elements/colorPicker";
@import "elements/guidancePanel";
@import "elements/itemBox";
@import "elements/noteEditor";
@import "elements/notesBox";
@import "elements/publicationsLicenseInfo";
@import "elements/quickSearchTextbox";
@import "elements/richlistCheckbox";
@import "elements/styleConfigurator";
@import "elements/splitMenuButton";
@import "elements/tagsBox";
@import "elements/zoteroSearch";
@import "elements/itemPaneHeader";
@import "elements/editableText";
@import "elements/itemPaneSidenav";
@import "elements/abstractBox";
@import "elements/collapsibleSection";
2023-11-28 10:58:59 +00:00
@import "elements/attachmentsBox";
@import "elements/attachmentRow";
@import "elements/attachmentAnnotationsBox";
2023-11-28 10:58:59 +00:00
@import "elements/annotationRow";
@import "elements/noteRow";
@import "elements/librariesCollectionsBox";
2024-01-30 10:43:16 +00:00
@import "elements/duplicatesMergePane";
@import "elements/itemMessagePane";
@import "elements/itemDetails";
@import "elements/itemPane";
@import "elements/itemPaneCustomSection";
2024-01-30 10:43:16 +00:00
@import "elements/contextPane";