SrGooglo 8482f2e457 Feat: Implement Music Library and overhaul Studio TV
- Introduces a new Music Library system for managing favorites (tracks,
  playlists, releases), replacing the previous TrackLike model.
- Completely revamps the Studio TV profile page, adding live statistics,
  stream configuration, restream management, and media URL display.
- Enhances the media player with a custom seekbar and improved audio
  playback logic for MPD and non-MPD sources.
- Lays foundational groundwork for chat encryption with new models and APIs.
- Refactors critical UI components like PlaylistView and PagePanel.
- Standardizes monorepo development scripts to use npm.
- Updates comty.js submodule and adds various new UI components.
2025-05-10 02:32:41 +00:00

252 lines
3.4 KiB
Plaintext
Executable File

@import "@styles/vars.less";
html {
&.mobile {
.playlist_view {
display: flex;
flex-direction: column;
width: 100%;
padding: 0 10px !important;
.play_info_wrapper {
position: relative;
width: 100%;
.play_info {
display: flex;
flex-direction: column;
width: 100%;
.play_info_details {
width: 100%;
}
.play_info_cover {
width: 30vh !important;
height: 30vh !important;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
}
}
}
}
}
.playlist_view {
position: relative;
display: flex;
flex-direction: column;
width: 100%;
gap: 20px;
.play_info_wrapper {
display: flex;
flex-direction: column;
top: 0;
left: 0;
align-items: center;
justify-content: center;
width: 100%;
z-index: 45;
color: var(--text-color);
.play_info {
display: inline-flex;
flex-direction: row;
gap: 20px;
align-self: center;
width: 100%;
height: 100%;
padding: 20px;
overflow: hidden;
background-color: var(--background-color-accent);
border-radius: 12px;
.play_info_cover {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
align-self: center;
height: 15vh !important;
width: 15vh !important;
min-height: 15vh;
min-width: 15vh;
max-width: 400px;
max-height: 400px;
background-color: black;
border-radius: 12px;
overflow: hidden;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
.play_info_details {
display: flex;
flex-direction: column;
width: 90%;
gap: 10px;
.play_info_title {
display: inline-flex;
flex-direction: row;
align-items: center;
font-size: 1.2rem;
font-family: "Space Grotesk", sans-serif;
h1 {
margin: 0;
font-weight: 600;
word-break: break-all;
}
}
.play_info_description {
font-size: 0.8rem;
font-weight: 400;
max-height: 10vh;
text-overflow: ellipsis;
p {
margin: 0;
overflow: hidden;
white-space: nowrap;
}
}
.play_info_statistics {
display: flex;
flex-direction: column;
background-color: var(--background-color-primary);
padding: 20px;
border-radius: 8px;
.play_info_statistics_item {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 10px;
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
margin: 0;
}
.play_info_statistics_item_icon {
margin-right: 10px;
}
.play_info_statistics_item_text {
font-size: 0.8rem;
font-weight: 400;
}
&:last-child {
margin-bottom: 0;
}
}
}
.play_info_actions {
display: inline-flex;
flex-direction: row;
align-items: center;
gap: 10px;
.likeButtonWrapper {
background-color: var(--background-color-primary);
border-radius: 12px;
padding: 10px;
}
}
}
}
}
.list {
display: flex;
flex-direction: column;
color: var(--text-color);
gap: 10px;
width: 100%;
h1 {
margin: 0;
}
.list_header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.list_content {
display: flex;
flex-direction: column;
gap: 7px;
}
}
}