-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The theme breaks the play/pause indicator logic in the Music app #28
Comments
Thanks for the details, should be fixed now. I looked a bit closer at the generic .play-pause rules in the theme and they were originally written for the Audio Player app. So I'll need to take a look and make sure there are no further conflicts between the two. Much appreciated. |
Okay, great! I tested the top of the I didn't realize that Audio Player had element with the same class name, but I guess that odds for such collision were quite high. |
Here's one more heads up on the Music app. Yesterday, I released a new version 0.9.0 which introduced two new css definitions:
and
The first is supposed to be a very faint highlight around current artist or album after playing has been started by clicking the artist/album title. The second is used to highlight the playlist name on the navigation pane while a track is being dragged to that playlist. You might want to override these rules on the dark-breeze theme. At the moment, the first of these is completely invisible and also the second one is difficult to see with the theme. I would say that these are not critical problems, though. |
Thanks for the heads up, I'll take a look at it. |
Took some time to get to it, but it is now included in the latest release. Thanks. |
I'm the author of the Music app and noticed the following problem while investigating (an unrelated) bug reported for the app:
When the nextcloud-breeze-dark theme is enabled, the Music app shows the play indicator in front of each track and each view/playlist name:
The indicator is supposed to show only on the current track and on the hovered track. In the navigation pane, the indicator should be shown on the currently playing view and when hovered directly on the indicator.
The problem is in how the theme overrides the rules of the class
.play-pause
. To work correctly with the latest version of the Music app (v0.8.0 released a few hours ago), the rules should be as following:The most important thing to note here is that there is no rule for the class
.play-pause
alone. This is because the element is essentially a 3-state indicator where the icon may be play, pause, or none. The none state is the default and to show other icons there are additional conditions.Note that the Music v0.8.0 made some changes on the track item structure so the style definitions given above don't work perfectly on older versions. It would probably be impossible to define the rules so that they would work 100% correctly on all versions. But just to be clear, the problem described here was present already on older versions of the Music app.
Test configuration:
Theme version 13.0.4
Music app version 0.8.0 and 0.7.0
Nextcloud version 14.0.0-alpha (shouldn't be relevant)
The text was updated successfully, but these errors were encountered: