mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 18:33:38 +02:00
Improvements to currently playing queue (#48)
* First sloppy import of code from heyarne/reagent-movable * Consistently use "current queue" to avoid confusion * Update shadow-cljs, re-frame and debux * Solve styling problem when sorting table rows * Make sortable component more reusable * Refactor playlist to use a sorted-map * Make sure current queue is displayed again * Fix sorting when converting a shuffled into a linear playlist * Implement set-current-track * Implement song-move in playlist * Add autoprefixer * Implement drag and drop reordering in current queue * Fix broken dev sass build * Bump some dependencies * Move airsonic-ui.views.icon to bulma.icon * Implement reusable dropdown in bulma.dropdown * Immediately render reordered tracks, reimplement actions in album view * Use new song-table on search result page * Make song-table more reusable * Remove current song * Implement go to source in current queue * Remove unused song view
This commit is contained in:
parent
f0324a236d
commit
8bf222a6e8
29 changed files with 1773 additions and 869 deletions
|
|
@ -218,18 +218,6 @@
|
|||
.grow
|
||||
width: 100%
|
||||
|
||||
// duh
|
||||
.song-list
|
||||
.song
|
||||
.duration
|
||||
padding-left: .5rem
|
||||
color: $grey-light
|
||||
font-weight: normal
|
||||
|
||||
&.is-playing
|
||||
background-color: $light !important
|
||||
font-weight: bold
|
||||
|
||||
// useful in general to pull elements closer together; bulma es very generous
|
||||
// with whitespace
|
||||
.section.is-small
|
||||
|
|
@ -298,17 +286,6 @@
|
|||
margin-right: 1rem
|
||||
margin-bottom: 0
|
||||
|
||||
.collection-info
|
||||
list-style: none
|
||||
|
||||
li
|
||||
display: inline-block
|
||||
margin-left: 0.75rem
|
||||
|
||||
&:first-child
|
||||
margin-left: 0
|
||||
|
||||
|
||||
.song-list
|
||||
counter-reset: track
|
||||
|
||||
|
|
@ -322,3 +299,54 @@
|
|||
font-weight: normal
|
||||
display: inline
|
||||
padding-right: 0.375rem
|
||||
|
||||
.collection-info
|
||||
list-style: none
|
||||
|
||||
li
|
||||
display: inline-block
|
||||
margin-left: 0.75rem
|
||||
|
||||
&:first-child
|
||||
margin-left: 0
|
||||
|
||||
.song-listing-table
|
||||
tr.is-playing
|
||||
background-color: $table-row-active-background-color
|
||||
color: $table-row-active-color
|
||||
|
||||
a, strong, td.song-duration, td.sort-handle span
|
||||
color: currentColor
|
||||
|
||||
span.button, div.dropdown
|
||||
color: $table-color
|
||||
|
||||
td
|
||||
&.is-narrow
|
||||
white-space: nowrap
|
||||
|
||||
&.song-duration
|
||||
text-align: right
|
||||
|
||||
&.sortable-handle
|
||||
-webkit-touch-callout: none
|
||||
user-select: none
|
||||
|
||||
tbody .song-duration
|
||||
color: $grey-light
|
||||
|
||||
tr:hover
|
||||
.button
|
||||
|
||||
// drag'n'drop
|
||||
.sortable-handle
|
||||
span
|
||||
cursor: grabbing
|
||||
user-select: none
|
||||
|
||||
tr.sortable-is-moving.is-playing
|
||||
background-color: $table-row-active-background-color
|
||||
color: $table-row-active-color
|
||||
|
||||
a, strong, td.song-duration, td.sort-handle span
|
||||
color: currentColor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue