-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpopup.html
70 lines (70 loc) · 1.41 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
<!doctype html>
<html lang="cn">
<head>
<meta charset="UTF-8">
<style>
body{
font: 14px "PingFangSC-Light", "Segoe UI", "Microsoft YaHei";
width: 160px;
margin: 0;
}
body[lang=en] .item,
body[lang=en-US] .item,
body[lang=en-GB] .item{
font-size: 12px;
}
#error{
color: #aaa;
padding: .5rem;
}
#error:empty{
display: none;
}
.list {
padding: .5rem;
}
.item {
border-radius: 3px;
cursor: pointer;
display: none;
line-height: 2em;
text-align: center;
margin-bottom: 1px
}
.item:hover {
background: #eee;
}
.item.checked {
background: #41ad49;
color: #fff;
cursor: default;
}
#current{
background: #f7f7f7;
border-top: 1px solid #e3e3e3;
color: #888;
font-size: 10px;
line-height: 3em;
margin: 0;
text-align: center;
}
#mode{
color: #000;
outline: 0;
}
</style>
</head>
<body>
<div id="normal">
<div class="list">
<div class="item" id="passive" data-text="strEnableForCurrentDomain">此域名启用护眼模式</div>
<div class="item" id="positive" data-text="strDisableForCurrentDomain">此域名关闭护眼模式</div>
</div>
<p id="current" data-text="strCurrentMode">正在<a href="" target="_blank" id="mode"></a>下运行</p>
</div>
<div id="error"></div>
<!-- end -->
<script src="js/utility.js"></script>
<script src="js/option.popup.js"></script>
</body>
</html>