Playlist.css
⎇
Raw
1.playlist-container {
2 display: flex;
3 flex-grow: 1;
4 flex-basis: 0;
5 flex-direction: column;
6 .save-dialog {
7 max-width: 300px;
8 .save-buttons {
9 display: flex;
10 gap: 0.5rem;
11 justify-content: end;
12 }
13 }
14}
15
16.playlist-header {
17 display: flex;
18 gap: 1.5rem;
19 align-items: center;
20 padding: 0.5rem;
21 font-weight: bold;
22 border-bottom: 1px solid var(--color-c);
23
24 span {
25 text-overflow: ellipsis;
26 text-wrap-mode: nowrap;
27 overflow: hidden;
28 }
29
30 button {
31 background: none;
32 padding: 0;
33 &:hover {
34 background: none;
35 }
36 }
37}
38
39.playlist {
40 flex: 1;
41 overflow-y: auto;
42 padding: 0.5rem;
43 display: flex;
44 flex-direction: column;
45 gap: 0.25rem;
46}
47
48.playlist-item {
49 padding: 0.5rem;
50 background-color: var(--color-c);
51 display: flex;
52 align-items: center;
53 gap: 1.5rem;
54
55 div {
56 display: flex;
57 align-items: center;
58 }
59
60 span {
61 flex-grow: 1;
62 }
63
64 &.active {
65 background-color: var(--color-c-highlight);
66 font-weight: bold;
67 }
68
69 &:not(.drop-target-top-border):not(.drop-target-bottom-border):hover {
70 background-color: var(--color-c-highlight);
71 }
72}
73
74.playlist-drag-btn {
75 cursor: grab;
76 height: 100%;
77}
78
79.playlist-item.drop-target-top-border,
80.playlist-item.drop-target-bottom-border {
81 border-style: solid;
82}
83
84.playlist-item.drop-target-top-border {
85 border-top-width: 2px;
86}
87
88.playlist-item.drop-target-bottom-border {
89 border-bottom-width: 2px;
90}
91
92.drop-area-end {
93 flex-grow: 1;
94 min-height: 2rem;
95}
96