74492e40c4
- 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
154 lines
No EOL
3.2 KiB
CSS
154 lines
No EOL
3.2 KiB
CSS
:root {
|
|
--theme-border-color: #cecece;
|
|
}
|
|
|
|
/* Hide horrible blue effect for menu bar and toolbar */
|
|
#navigator-toolbox {
|
|
-moz-appearance: none;
|
|
}
|
|
|
|
#zotero-pane #zotero-toolbar {
|
|
-moz-appearance: none !important;
|
|
margin-top: -3px;
|
|
border: 1px solid var(--theme-border-color);
|
|
}
|
|
|
|
|
|
@media (min-resolution: 1.25dppx) {
|
|
#zotero-pane-stack .toolbarbutton-icon {
|
|
width: 16px;
|
|
}
|
|
|
|
#zotero-tb-sync > .toolbarbutton-icon {
|
|
width: 20px;
|
|
}
|
|
}
|
|
|
|
#zotero-tb-sync-error {
|
|
margin-right: 4px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
#zotero-tb-sync {
|
|
margin-right: 1px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.zotero-view-tabbox tab {
|
|
padding-left: .7em;
|
|
padding-right: .7em;
|
|
}
|
|
|
|
#zotero-toolbar {
|
|
-moz-appearance: toolbox !important;
|
|
padding-left: 2px;
|
|
}
|
|
|
|
#zotero-pane[dir=rtl] .zotero-tb-button > .toolbarbutton-icon {
|
|
transform: scaleX(-1);
|
|
}
|
|
|
|
#zotero-collections-splitter:not([state=collapsed]),
|
|
#zotero-items-splitter:not([state=collapsed]),
|
|
#zotero-tags-splitter:not([state=collapsed]),
|
|
#zotero-context-splitter:not([state=collapsed]),
|
|
#zotero-context-splitter-stacked:not([state=collapsed]) {
|
|
border: 0;
|
|
background-color: transparent;
|
|
position: relative;
|
|
/* Positive z-index positions the splitter on top of its siblings and makes
|
|
it clickable on both sides. */
|
|
z-index: 1;
|
|
}
|
|
|
|
#zotero-context-splitter:not([state=collapsed]),
|
|
#zotero-context-splitter-stacked:not([state=collapsed]) {
|
|
z-index: 0;
|
|
}
|
|
|
|
#zotero-collections-splitter:not([state=collapsed]),
|
|
#zotero-items-splitter:not([state=collapsed]):not([orient=vertical]),
|
|
#zotero-tags-splitter:not([state=collapsed]),
|
|
#zotero-context-splitter:not([state=collapsed]) {
|
|
border-inline-end: 1px solid var(--theme-border-color);
|
|
min-width: 0;
|
|
width: 3px;
|
|
margin-inline-start: -3px;
|
|
}
|
|
|
|
#zotero-tags-splitter:not([state=collapsed]),
|
|
#zotero-items-splitter:not([state=collapsed])[orient=vertical],
|
|
#zotero-context-splitter-stacked:not([state=collapsed]) {
|
|
border-block-end: 1px solid var(--theme-border-color);
|
|
min-height: 0;
|
|
height: 3px;
|
|
margin-block-start: -3px;
|
|
}
|
|
|
|
#zotero-collections-splitter > grippy,
|
|
#zotero-items-splitter > grippy,
|
|
#zotero-tags-splitter > grippy,
|
|
#zotero-context-splitter > grippy {
|
|
border: 0;
|
|
}
|
|
|
|
#zotero-collections-splitter:not([state=collapsed]) > grippy,
|
|
#zotero-items-splitter:not([state=collapsed]) > grippy,
|
|
#zotero-tags-splitter:not([state=collapsed]) > grippy,
|
|
#zotero-context-splitter:not([state=collapsed]) > grippy,
|
|
#zotero-context-splitter-stacked:not([state=collapsed]) > grippy {
|
|
display: none;
|
|
}
|
|
|
|
tree {
|
|
border-width: 0;
|
|
}
|
|
|
|
#zotero-tag-selector groupbox {
|
|
-moz-appearance: none;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
#tags-box {
|
|
padding-top: 0.1em;
|
|
padding-left: 0.05em;
|
|
}
|
|
|
|
#tags-box button {
|
|
margin: .04em 0 0 .15em !important;
|
|
}
|
|
|
|
.zotero-editpane-tabs spacer {
|
|
border: 0;
|
|
}
|
|
|
|
.zotero-view-item {
|
|
padding: 0 !important;
|
|
-moz-appearance: none;
|
|
background-color: -moz-field;
|
|
border-width: 1px 0 0 0;
|
|
border-color: var(--theme-border-color);
|
|
}
|
|
|
|
.zotero-editpane-tabs {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
#zotero-item-pane-groupbox {
|
|
-moz-appearance: none !important;
|
|
border-width: 0;
|
|
}
|
|
|
|
.zotero-editpane-item-box > scrollbox, .zotero-view-item > tabpanel > vbox,
|
|
#zotero-editpane-tags > scrollbox, .zotero-editpane-related {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
#zotero-editpane-tags > scrollbox {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.zotero-view-item > tabpanel > vbox {
|
|
padding-left: 5px;
|
|
} |