forked from jonathanKingston/merge-windows
-
Notifications
You must be signed in to change notification settings - Fork 1
/
preferences.html
53 lines (53 loc) · 1.86 KB
/
preferences.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Preferences</title>
<style>
@import "chrome://global/skin/in-content/common.css";
:root /* = html, but higher specificity */ {
background-color: var(--in-content-box-background);
padding-bottom: 3em;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
padding-bottom: var(--card-padding);
margin-top: var(--card-padding);
color: var(--in-content-text-color);
border-bottom: 1px solid var(--in-content-box-border-color);
display: grid;
grid-template-columns: 2em 1fr;
grid-row-gap: .75em;
}
legend {
padding-bottom: .75em;
}
</style>
</head>
<body>
<fieldset>
<legend>Choose where the context menu is available:</legend>
<input type="checkbox" name="menu_location" value="all" id="page">
<label for="page">On the web page</label>
<input type="checkbox" name="menu_location" value="tab" id="tab_bar">
<label for="tab_bar">On the tab bar</label>
<input type="checkbox" name="menu_location" value="tools_menu" id="menu">
<label for="menu">In the tools menu</label>
</fieldset>
<fieldset>
<legend>Choose where to merge tabs to:</legend>
<input type="radio" name="merge_insertion" id="end" value="0">
<label for="end">At the end of the current window (default)</label>
<input type="radio" name="merge_insertion" id="focus" value="1">
<label for="focus">After the current active tab</label>
</fieldset>
<fieldset>
<legend>Want the latest and greatest?</legend>
<input type="checkbox" name="experimental" value="true" id="experimental">
<label for="experimental">Enable experimental features</label>
</fieldset>
<script src="preferences.js"></script>
</body>
</html>