-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (81 loc) · 2.57 KB
/
style.css
File metadata and controls
93 lines (81 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
:root {
--bg: rgba(18,18,20,0.6);
--panel: rgba(255,255,255,0.04);
--accent: rgba(255,255,255,0.92);
--muted: rgba(255,255,255,0.6);
--glass: rgba(255,255,255,0.06);
}
html,body {
height:100%;
margin:0;
-webkit-user-select: none;
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing:antialiased;
}
#overlay {
width:100%;
height:100%;
color:var(--accent);
background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.12));
border-radius: 10px;
box-shadow: 0 6px 24px rgba(0,0,0,0.45);
overflow:hidden;
}
/* Header: draggable area */
#header {
display:flex;
align-items:center;
justify-content:space-between;
padding:8px 10px;
-webkit-app-region: drag;
cursor: move;
background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
#title { font-weight:600; font-size:13px; color:var(--accent); }
#controls { display:flex; gap:6px; -webkit-app-region: no-drag; }
#controls button {
width:28px; height:22px; border-radius:6px; border:none; background:transparent; color:var(--muted); cursor:pointer;
}
#controls button:hover { background:var(--glass); color:var(--accent); }
/* Content */
#content { padding:8px 10px 12px; display:flex; flex-direction:column; gap:8px; }
#lyrics {
font-size:14px;
line-height:1.35;
max-height:48px;
overflow:hidden;
display:flex;
flex-direction:column;
justify-content:center;
padding:4px;
}
.line { color:var(--muted); font-size:13px; padding:2px 0; }
.line.current { color:var(--accent); font-weight:700; font-size:15px; }
/* Toolbar */
#toolbar { display:flex; justify-content:space-between; align-items:center; gap:8px; padding-top:6px; }
#toolbar .left { display:flex; gap:6px; }
#toolbar button { border:none; padding:6px 8px; border-radius:8px; cursor:pointer; background:var(--panel); color:var(--accent); }
#toolbar button:hover { filter:brightness(1.08); }
#toolbar .right { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
#opacity { width:100px; cursor:pointer; }
.no-drag { -webkit-app-region: no-drag; }
.ct-label { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); }
#lyricsContainer {
margin-top: 10px;
max-height: 200px; /* adjust to fit window */
overflow-y: auto;
padding: 6px 8px;
background: rgba(0,0,0,0.25);
border-radius: 8px;
color: var(--accent);
font-size: 12px;
line-height: 1.3;
white-space: pre-wrap;
}
#lyricsContainer::-webkit-scrollbar {
width: 6px;
}
#lyricsContainer::-webkit-scrollbar-thumb {
background-color: rgba(255,255,255,0.3);
border-radius: 3px;
}