forked from tarnas14/vimflowy
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathoptions.html
More file actions
52 lines (52 loc) · 1.2 KB
/
Copy pathoptions.html
File metadata and controls
52 lines (52 loc) · 1.2 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Options</title>
<style>
body {
font-size: 14px;
background-color: #fff;
color: var(--fg);
width: min(100% - 2rem, 70rem);
margin-inline: auto;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
h1 {
display: flex;
align-items: center;
}
h3 {
background-color: rgba(0, 0, 0, 0.05);
padding: 10px;
margin: 10px 0;
font-size: 100%;
font-weight: normal;
}
img {
margin-right: 12px;
}
.box-1 {
display: grid;
align-items: center;
grid-template-columns: 24px 1fr;
grid-gap: 5px;
}
.save-box {
margin-top: 10px;
}
</style>
</head>
<body>
<h1><img src="icon48.png"/>Vimflowy options</h1>
<h3>Mapping customization</h3>
<div class="box-1">
<input type="checkbox" id="jkToEsc">
<label for="jkToEsc">Map jk to Esc</label>
</div>
<div class="save-box">
<button id="save">Save Options</button>
<button id="restore">Restore Defaults</button>
</div>
<script src="optionPage.js"></script>
</body>
</html>