[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Odd row colors

Kasper (May 27, 2025, 9:38 AM +0200) d7562151 d093dbe9

+5 -3
+5 -3
src/components/TrackList.svelte
··· 376 376 return { 377 377 ...get_item(item_id).track, 378 378 index: i + 1, 379 + odd: i % 2 === 0 ? 'odd' : null, 379 380 } 380 381 }) 381 382 .filter((track) => track !== null) ··· 385 386 grid.canDrag = false 386 387 grid.canMoveColumns = false 387 388 grid.hideAttribution = true 389 + grid.rowClass = 'odd' 388 390 389 391 // let col_container: HTMLElement 390 392 // let col_drag_line: HTMLElement ··· 519 521 on:dragover={(e) => on_drag_over(e, i)} 520 522 on:drop={drop_handler} 521 523 on:dragend={drag_end_handler} 522 - class:odd={i % 2 === 0} 523 524 class:selected={$selection.has(item_id)} 524 525 class:playing={track_id === $playing_id} 525 526 > ··· 566 567 :global(revogr-data .rgRow) 567 568 line-height: 24px 568 569 font-size: 12px 570 + box-shadow: none 571 + :global(.rgRow.odd) 572 + background-color: hsla(0, 0%, 90%, 0.06) 569 573 :global(revogr-header .rgHeaderCell .resizable) 570 574 display: none 571 - // .odd 572 - // background-color: hsla(0, 0%, 90%, 0.06) 573 575 // .selected 574 576 // background-color: hsla(var(--hue), 20%, 42%, 0.8) 575 577 // :global(:focus)