-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathoptions.html
69 lines (65 loc) · 1.79 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
input {
display: inline-block;
vertical-align: middle;
margin-right: 10px;
}
.hide {
display: none;
}
</style>
</head>
<body>
<table id="optionTable">
<tr>
<td colspan="2"><center><h3>Choose color and opacity</h3></center></td>
</tr>
<tr>
<td>
<label>Choose overlay color</label>
</td>
<td>
<input type="color" id="background" /><label id="backgroundLabel">0.5</label>
</td>
</tr>
<tr>
<td>
<label>Choose popup color</label>
</td>
<td>
<input type="color" id="popup" /><label id="popupLabel">0.5</label>
</td>
</tr>
<tr>
<td>
<label>Choose background opacity</label>
</td>
<td>
<input type="range" min="0" max="1" step="0.1" value="0.5" id="backgroundOpacity"><label id="backgroundOpacityLabel">0.5</label>
</td>
</tr>
<tr>
<td>
<label>Choose Popup opacity</label>
</td>
<td>
<input type="range" min="0" max="1" step="0.1" value="0.5" id="popupOpacity"><label id="popupOpacityLabel">0.5</label>
</td>
</tr>
<tr id="shortcut" class="hide">
<td>
<label>Choose Keyboard shortcut</label>
</td>
<td>
<input type="text" id="shortcutKey">
</td>
</tr>
</table>
</body>
<script src="polyfill.js"></script>
<script src="options.js"></script>
</html>