forked from zsxsoft/danmu-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanel.html
56 lines (50 loc) · 1.61 KB
/
panel.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style type="text/css">
body {
font-family: 'Segoe UI Light', 'Segoe UI', 'Segoe WP', 'Helvetica Neue', '微软雅黑 Light', '微软雅黑', sans-serif;
font-size: 1rem;
line-height: 1.5;
color: #373a3c;
}
.btn {
display: block;
display: block;
cursor: pointer;
-webkit-transition: -webkit-transform .2s;
float: left;
min-width: 75px;
text-align: center;
opacity: .75;
background-color: #2e8bcc;
z-index: 1;
margin-right: 2px;
color: #fff;
height: 70px;
width: 70px;
font-family: 'Segoe UI Light', 'Segoe UI', 'Segoe WP', 'Helvetica Neue', '微软雅黑 Light', '微软雅黑', sans-serif;
border: none;
}
.btn:hover {
opacity: 1;
}
.center {
position: absolute;
top: 10%;
transform: translate(10%, 10%);
}
</style>
<title>DANMU Panel</title>
</head>
<body>
<div class="center">
<button class="btn btn-success btn-control" data-top="danmuControl" data-param="start">接收弹幕</button>
<button class="btn btn-success btn-control" data-top="danmuControl" data-param="stop">停收弹幕</button>
<button class="btn btn-success btn-control" data-top="danmuControl" data-param="clear">清空弹幕</button>
<button class="btn btn-success btn-control" data-top="windowControl" data-param="quit" id="btn-quit">退出弹幕</button>
</div>
</body>
<script src="panel.js"></script>
</html>