-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
86 lines (80 loc) · 2.28 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>一键置顶</title>
<style>
.container {
width: 200px;
padding: 10px 20px;
/* margin: 0 auto; */
}
h4 {
text-align: center;
}
select {
display: inline-block;
line-height: 1;
white-space: nowrap;
cursor: pointer;
background: #fff;
border: 1px solid #dcdfe6;
color: #606266;
-webkit-appearance: none;
text-align: center;
box-sizing: border-box;
outline: none;
margin: 0;
transition: 0.1s;
font-weight: 500;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
padding: 12px 20px;
font-size: 14px;
border-radius: 4px;
}
.btn {
display: inline-block;
line-height: 1;
white-space: nowrap;
cursor: pointer;
background: #fff;
border: 1px solid #dcdfe6;
color: #606266;
-webkit-appearance: none;
text-align: center;
box-sizing: border-box;
outline: none;
margin: 0;
transition: 0.1s;
font-weight: 500;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
padding: 12px 20px;
font-size: 14px;
border-radius: 4px;
}
.btn:hover {
box-shadow: 0 1px 3px #fafafa;
background: #fafafa;
color: #409eff;
}
</style>
</head>
<body>
<div class="container">
<!-- <span>速度选择:</span> -->
<h4>一键置顶,拒绝sx网页</h4>
<select id="select">
<option value="average">均速</option>
<option value="immediate">直接置顶</option>
<option value="fast-to-slow">快到慢</option>
</select>
<button class="btn" id="topBtn">一键置顶</button>
</div>
<script src="./popup.js"></script>
</body>
</html>