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 border-width: 0;
55 border-color: var(--color-d);
56
57 div {
58 display: flex;
59 align-items: center;
60 }
61
62 span {
63 flex-grow: 1;
64 }
65
66 &.active {
67 background-color: var(--color-c-highlight);
68 font-weight: bold;
69 }
70
71 &:not(.drop-target-top-border):not(.drop-target-bottom-border):hover {
72 background-color: var(--color-c-highlight);
73 }
74}
75
76.playlist-drag-btn {
77 cursor: grab;
78 height: 100%;
79}
80
81.playlist-item.drop-target-top-border,
82.playlist-item.drop-target-bottom-border {
83 border-style: solid;
84}
85
86.playlist-item.drop-target-top-border {
87 border-top-width: 2px;
88}
89
90.playlist-item.drop-target-bottom-border {
91 border-bottom-width: 2px;
92}
93
94.drop-area-end {
95 flex-grow: 1;
96 min-height: 2rem;
97}
98