zotero/scss/win/elements/_itemBox.scss
Bogdan Abaev 13de06cd52 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.
2024-01-24 23:31:52 -05:00

27 lines
697 B
SCSS

item-box {
@media (-moz-platform: windows-win10) {
.meta-data > input, .meta-data > textarea, .creator-name-box > input {
// Give text fields a consistent, native-ish look using Windows 11
// colors. Ideally, we only want to do this on Windows 11, but
// Windows 11 can't currently be specifically targeted.
// https://bugzilla.mozilla.org/show_bug.cgi?id=1825447
padding: 2px 3px;
border: 1px solid #838383;
border-radius: 3px;
outline: none;
&:focus {
border: 1px solid #2B65BA;
}
}
}
#item-type-menu
{
padding-inline-start: 1px !important;
margin: 0 !important;
margin-inline-start: 1px !important;
margin-inline-end: 5px !important;
}
}