Fix Linux UI bugs
This commit is contained in:
parent
fb26921e11
commit
f9a2f2f3e0
8 changed files with 3 additions and 38 deletions
|
@ -74,9 +74,6 @@ class Button extends PureComponent {
|
|||
}
|
||||
|
||||
get menuMarker() {
|
||||
if (!Zotero.isNode && Zotero.isLinux) {
|
||||
return this.props.isMenu && <span className="menu-marker"/>
|
||||
}
|
||||
return this.props.isMenu && <CSSIcon name="chevron-6" className="menu-marker icon-8"/>
|
||||
}
|
||||
|
||||
|
|
|
@ -1142,12 +1142,8 @@ class VirtualizedTable extends React.Component {
|
|||
}
|
||||
let sortIndicator = "";
|
||||
if (!column.iconLabel && column.sortDirection) {
|
||||
if (!Zotero.isNode && Zotero.isLinux) {
|
||||
sortIndicator = <span className={"sort-indicator " + (column.sortDirection === 1 ? "ascending" : "descending")}/>;
|
||||
} else {
|
||||
sortIndicator = <CSSIcon name="sort-indicator" className={"icon-8 sort-indicator " + (column.sortDirection === 1 ? "ascending" : "descending")} />;
|
||||
}
|
||||
}
|
||||
const className = cx("cell", column.className, { 'first-column': index === 0, dragging: this.state.draggingColumn == index },
|
||||
{ "cell-icon": !!column.iconLabel });
|
||||
return (<Draggable
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
line-height: inherit;
|
||||
color: inherit;
|
||||
text-align: center;
|
||||
-moz-appearance: toolbarbutton;
|
||||
-moz-appearance: none;
|
||||
|
||||
&[disabled],
|
||||
&.disabled {
|
||||
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
}
|
||||
span.menu-marker {
|
||||
-moz-appearance: toolbarbutton-dropdown;
|
||||
-moz-appearance: none;
|
||||
display: inline-block;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#aboutcontent
|
||||
{
|
||||
color: #3e3e3e;
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
tags-box, related-box {
|
||||
color: Text;
|
||||
background: Background;
|
||||
}
|
||||
|
||||
#related-popup, #tags-popup {
|
||||
--panel-color: Text;
|
||||
--panel-background: transparent;
|
||||
--panel-border-color: InactiveBorder
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
//
|
||||
// Button
|
||||
// --------------------------------------------------
|
||||
|
||||
.btn {
|
||||
-moz-appearance: none;
|
||||
|
||||
span.menu-marker {
|
||||
-moz-appearance: none;
|
||||
}
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
// MacOS specific
|
||||
// --------------------------------------------------
|
||||
|
||||
@import "mac/button";
|
||||
@import "mac/createParent";
|
||||
@import "mac/editable";
|
||||
@import "mac/tabBar";
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
// Linux specific
|
||||
// --------------------------------------------------
|
||||
|
||||
@import "linux/about";
|
||||
@import "linux/createParent";
|
||||
@import "linux/editable";
|
||||
@import "linux/errorReport";
|
||||
|
@ -16,4 +15,3 @@
|
|||
// Elements
|
||||
|
||||
@import "linux/elements/itemBox";
|
||||
@import "linux/elements/noteEditor";
|
||||
|
|
Loading…
Reference in a new issue