forked from proEndreeper/RSWikiRedirector
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpopup.html
58 lines (51 loc) · 1.06 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
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin:0;
margin-bottom: 25px;
max-width:200px;
max-height:275px;
width:200px;
height:225px;
overflow:hidden;
font-family: "Segoe UI", Tahoma, sans-serif;
font-size:100%;
}
p {
margin:0;
}
#addonStateImage {
width:200px;
height:200px;
margin:auto;
cursor:pointer;
background-size:contain;
background-position:center;
background-image:url("powerbutton.png")
}
#addonStateImage.disabled{
filter: grayscale(100%);
}
#addonStateSearch {
margin:auto;
}
#addonStateDescriptor {
text-transform: uppercase;
font-weight: bold;
color: #dc3545;
}
#addonStateDescriptor.enabled {
color: #198754;
}
</style>
</head>
<body>
<div id="addonStateImage"></div>
<p style="text-align:center">
UESP Wiki Redirector: <br /> <span id="addonStateDescriptor">ENABLED</span>
</p>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>