mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Merge 334a55b2aa into ea230faa26
This commit is contained in:
commit
f11d21d3f7
5 changed files with 20 additions and 5 deletions
|
|
@ -1236,7 +1236,8 @@ class VirtualizedTable extends React.Component {
|
|||
"focus-states-target",
|
||||
{
|
||||
resizing: this.state.resizing,
|
||||
'multi-select': this.props.multiSelect
|
||||
'multi-select': this.props.multiSelect,
|
||||
'no-alternating-rows': Zotero.Prefs.get('ui.noAlternatingRows'),
|
||||
}]),
|
||||
id: this.props.id,
|
||||
ref: ref => this._topDiv = ref,
|
||||
|
|
|
|||
|
|
@ -62,6 +62,13 @@
|
|||
</menulist>
|
||||
</hbox>
|
||||
|
||||
<hbox align="center">
|
||||
<checkbox data-l10n-id="preferences-item-pane-disable-alternating-rows"
|
||||
preference="extensions.zotero.ui.noAlternatingRows"
|
||||
native="true"
|
||||
/>
|
||||
</hbox>
|
||||
|
||||
<vbox id="item-pane-header-bib-entry-options" class="indented-pref">
|
||||
<hbox align="center">
|
||||
<label data-l10n-id="preferences-item-pane-header-style" control="item-pane-header-style-menu"/>
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ preferences-item-pane-header-style = Header Citation Style:
|
|||
preferences-item-pane-header-locale = Header Language:
|
||||
preferences-item-pane-header-missing-style = Missing style: <{ $shortName }>
|
||||
|
||||
preferences-item-pane-disable-alternating-rows =
|
||||
.label = Disable alternating row colors
|
||||
|
||||
preferences-locate-library-lookup-intro = Library Lookup can find a resource online using your library’s OpenURL resolver.
|
||||
preferences-locate-resolver = Resolver:
|
||||
preferences-locate-base-url = Base URL:
|
||||
|
|
|
|||
|
|
@ -75,8 +75,10 @@
|
|||
|
||||
.virtualized-table, .drag-image-container {
|
||||
.row {
|
||||
&.odd:not(.selected) {
|
||||
background-color: var(--material-stripe);
|
||||
@include state(".virtualized-table:not(.no-alternating-rows)") {
|
||||
&.odd:not(.selected) {
|
||||
background-color: var(--material-stripe);
|
||||
}
|
||||
}
|
||||
|
||||
&.even:not(.selected) {
|
||||
|
|
|
|||
|
|
@ -68,8 +68,10 @@
|
|||
|
||||
.virtualized-table {
|
||||
.row {
|
||||
&.odd:not(.selected) {
|
||||
background-color: var(--material-stripe);
|
||||
@include state(".virtualized-table:not(.no-alternating-rows)") {
|
||||
&.odd:not(.selected) {
|
||||
background-color: var(--material-stripe);
|
||||
}
|
||||
}
|
||||
|
||||
&.even:not(.selected) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue