forked from ytmdesktop/ytmdesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlyrics.html
102 lines (84 loc) · 2.38 KB
/
lyrics.html
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
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Lyrics</title>
<link href="assets/css/material_icons.css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="assets/css/styles.css" />
<link type="text/css" rel="stylesheet" href="node_modules/materialize-css/dist/css/materialize.min.css" media="screen,projection"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body {
background: #232323;
color: #FFF;
padding: 5px;
width: 100%;
height: 100%;
}
.title {
text-overflow: ellipsis;
overflow: hidden;
width: 93%;
white-space: nowrap;
}
/* width */
::-webkit-scrollbar {
width: 6px;
}
/* Track */
::-webkit-scrollbar-track {
background: #232323;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #f44336;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
#content {
overflow: auto;
width: 100%;
height: 94%;
}
#lyric {
font-size: 130%;
text-align: center;
}
input {
color: #FFF;
}
.hide {
display: none;
}
#div_search_lyric {
margin-top: 20%;
}
</style>
</head>
<body>
<div class="bar drag">
<div class="title">
<h6 class="truncate"> <i class="material-icons tiny">music_note</i> <span id="now-playing"></span> </h6>
</div>
<div class="cmd-btns">
<div class="no-drag pointer cmd-btn hover-red" id="btn-close"> <i class="material-icons tiny">close</i> </div>
</div>
</div>
<div id="content" style="margin-top: 34px; padding: 5px;">
<div id="lyric">
<span id="i18n_LABEL_LOADING"></span>
</div>
<div id="div_search_lyric" class="hide center-align container">
<input id="input_lyric_song" type="text" />
<input class="hide" id="input_lyric_artist" type="text" />
<button class="btn" id="btn_search_lyric"><i class="material-icons">search</i></button>
</div>
</div>
<script src="node_modules/materialize-css/dist/js/materialize.min.js"></script>
<script>
require('./renderer_lyrics.js');
</script>
</body>
</html>