Unify item tree & v-table style on Windows & Linux

This commit is contained in:
windingwind 2023-11-29 10:44:08 +08:00 committed by Dan Stillman
parent f5be1b26f4
commit 82a9aee21c
9 changed files with 29 additions and 112 deletions

View file

@ -1,5 +0,0 @@
#zotero-items-tree {
.cell.hasAttachment, .cell.numNotes {
padding: 0 8px;
}
}

View file

@ -1,42 +0,0 @@
.virtualized-table {
border: 1px solid ThreeDShadow;
}
.virtualized-table, .drag-image-container {
.twisty {
padding-inline-end: 3px;
svg {
width: 10px;
}
}
}
.virtualized-table-header {
background-image: linear-gradient(-moz-field, -moz-dialog 120%);
border-bottom: 1px solid ThreeDShadow;
border-inline-end: 1px solid ThreeDShadow;
.cell {
&:hover {
background: -moz-field;
}
&.dragging {
background: -moz-dialog;
}
.resizer {
background: linear-gradient(ThreeDShadow, ThreeDShadow) no-repeat center/1px 80%;
}
.sort-indicator {
transform: scale(1.25);
&.ascending {
transform: scale(1.25) rotate(180deg);
}
}
}
}
.twisty svg {
fill: WindowText;
}