This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
zotero
Watch
2
Star
0
Fork
You've already forked zotero
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
92a04fcffa
zotero
/
scss
/
linux
/
elements
/
_itemBox.scss
10 lines
98 B
SCSS
Raw
Normal View
History
Unescape
Escape
fx102: Cleans up scss files, removes shadow DOM use from CEs (#3051) Removes a huge amount of excessive files and duplication for CE scss. All CE css is now output in the single zotero-react-client.css file. Moving all CE styling into a single stylesheet required removing their shadow DOMs. It is desirable anyway, since you want to be able to style CEs from "outside", when embedding in different contexts. Shadow removal required some CE code changes to maintain functionality. Elements refactored: - attachment-box (displayed when an attachment (like PDF) is selected in the item tree) - color-picker (in the tag color selector) - guidance-panel (displayed on first run when editing authors for a book section) - item-box (info tab in the item pane) - note-editor - notes-box (note tab in the item pane) - quick-search-textbox - related-box (related tab in the item pane) - tags-box (tags tab in the item pane) - zoterosearch (advanced search condition builder form)
2023-04-01 05:37:55 +00:00
item-box
{
itemBox redesign - Table structure rewrite to use grid layout instead of the <table> component so that screen readers can see the content - Added icons to mirror right-click actions - Moved creator actions to the options menu - Drag-drop to reorder creators - Using editable-text instead of clicky component - Consolidated autocomplete logic in one function - Added @focus-ring to all components of the itemBox - Fields are focusable and navigatable via keyboard in non-edit modes - General refactoring to consolidate stylesheets across platforms and remove code that's not more used (mainly related to handling old clicky text component). - Retractions panel background set for --material-background instead of light pink in dark mode.
2023-12-21 20:10:04 +00:00
#
item-type-menu
{
padding
:
1
px
;
@include
comfortable
{
padding
:
2
px
;
}
fx102: Cleans up scss files, removes shadow DOM use from CEs (#3051) Removes a huge amount of excessive files and duplication for CE scss. All CE css is now output in the single zotero-react-client.css file. Moving all CE styling into a single stylesheet required removing their shadow DOMs. It is desirable anyway, since you want to be able to style CEs from "outside", when embedding in different contexts. Shadow removal required some CE code changes to maintain functionality. Elements refactored: - attachment-box (displayed when an attachment (like PDF) is selected in the item tree) - color-picker (in the tag color selector) - guidance-panel (displayed on first run when editing authors for a book section) - item-box (info tab in the item pane) - note-editor - notes-box (note tab in the item pane) - quick-search-textbox - related-box (related tab in the item pane) - tags-box (tags tab in the item pane) - zoterosearch (advanced search condition builder form)
2023-04-01 05:37:55 +00:00
}
}
Reference in a new issue
Copy permalink