zotero/scss/mac/_virtualized-table.scss
Abe Jellinek 74492e40c4
Improve bidi & RTL support (#2415)
- Render cell text in its native direction
- Fix context menu positioning
- Fix item box (localizations needed)
- Fix column resizing
- Fix bidi text in collection tree
- Always right-align in RTL, always left-align in LTR.
  I'm going off advice from this excellent guide for RTL website design
  by Ahmad Shadeed: https://rtlstyling.com/posts/rtl-styling#tables
- Join creators in the tree ("Smith and Jones") using a format string to
  support languages like Arabic and Hebrew where there shouldn't be a
  space after the "and".
- Fix tabs
- Fix toolbar on Mac, flip icons on other platforms
2022-11-20 18:23:17 -05:00

35 lines
548 B
SCSS

.virtualized-table, .drag-image-container {
.twisty {
width: 19px;
svg {
fill: #888;
width: 16px;
}
}
.selected:not(.highlighted) .twisty svg {
fill: #fff;
}
.spacer-twisty {
min-width: 19px;
}
.spacer-header {
min-width: 6px;
}
}
.virtualized-table-body, .drag-image-container{
.cell:not(:first-child) {
background-image: linear-gradient(#ddd, #ddd);
background-size: 1px 80%;
background-position: left;
&:dir(rtl) {
background-position: right;
}
background-repeat: no-repeat;
height: 100%;
}
}