-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.html
71 lines (71 loc) · 4.17 KB
/
settings.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
<!DOCTYPE html>
<html>
<head>
<title>Reticle Settings</title>
<link rel="stylesheet" href="css/settings.css">
</head>
<body>
<div class="sidebar">
<h1 class="sidebar-heading">Reticle</h1>
<ul class="sidebar-tabs" id="tabs">
<li id="tab-settings" class="active">Settings</li>
<li id="tab-help">Shortcuts</li>
</ul>
</div>
<div class="content" id="tab-content-ct">
<div class="tab-content active" id="tab-content-settings">
<h2 class="content-heading">Settings</h2>
<section>
<h3>Primary overlay color</h3>
<label for="primary-hex" class="settings-row">The hexidecimal value (e.g. #000000) used as the overlay ruler's background color.</label>
<input type="text" id="primary-hex" maxlength="7" />
</section>
<section>
<h3>Alternate overlay color</h3>
<label for="alt-hex" class="settings-row">The overlay ruler's alternate background color (press Tab when the overlay is visible to toggle between colors).</label>
<input type="text" id="alt-hex" maxlength="7" />
</section>
<section>
<h3>Overlay opacity</h3>
<label for="overlay-opacity" class="settings-row">The overlay's level of transparency/opaqueness (higher values result in less transparency).</label>
<select id="overlay-opacity">
<option value="0.1">10%</option>
<option value="0.2">20%</option>
<option value="0.3">30%</option>
<option value="0.4">40%</option>
<option value="0.5">50%</option>
<option value="0.6">60%</option>
<option value="0.7">70%</option>
<option value="0.8">80%</option>
<option value="0.9">90%</option>
<option value="1.0">100%</option>
</select>
</section>
</div>
<div class="tab-content" id="tab-content-help">
<h2 class="content-heading">Shortcuts</h2>
<dl class="kb-shorcuts">
<dt><span class="kb">Ctrl/Cmd</span>+<span class="kb">Shift</span>+<span class="kb">X</span></dt>
<dd>Toggle extension (This can be customized in Extensions > Keyboard shortcuts)</dd>
<dt><span class="kb">Esc</span></dt>
<dd>Deactivate extension</dd>
<dt><span class="kb">↑</span> / <span class="kb">↓</span> / <span class="kb">←</span> / <span class="kb">→</span></dt>
<dd>Move overlay</dd>
<dt><span class="kb">Shift</span>+<span class="kb">↑</span> / <span class="kb">↓</span> / <span class="kb">←</span> / <span class="kb">→</span></dt>
<dd>Move overlay by 10px</dd>
<dt><span class="kb">Alt</span>+<span class="kb">↑</span> / <span class="kb">↓</span> / <span class="kb">←</span> / <span class="kb">→</span></dt>
<dd>Resize overlay</dd>
<dt><span class="kb">Shift</span>+<span class="kb">Alt</span>+<span class="kb">↑</span> / <span class="kb">↓</span> / <span class="kb">←</span> / <span class="kb">→</span></dt>
<dd>Resize overlay by 10px</dd>
<dt><span class="kb">Ctrl/Cmd</span>+<span class="kb">↑</span> / <span class="kb">↓</span></dt>
<dd>Increase / decrease overlay opacity</dd>
<dt><span class="kb">Tab</span></dt>
<dd>Toggle between primary and alternate overlay color</dd>
<dt><span class="kb">Delete</span> / <span class="kb">Backspace</span></dt>
<dd>Clear the current overlay</dd>
</dl>
</div>
</div>
<script src="js/settings.js"></script>
</body>
</html>