-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
options.html
executable file
·76 lines (74 loc) · 2.14 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
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<title>Yawas options</title>
<style>
:root{
--titlefont:'avenir next',avenir,Lato,'GillSans',-apple-system,Helvetica,Arial,sans-serif;
--font:'avenir next',avenir,-apple-system,Helvetica,Arial,sans-serif;
--text:white;
--bg:#190B33;
--bg-blue:#3F75F0/*#9D6CFF*/;
--bg-green:#9EDD09;
--bg-red:#920028;
--body-font-size:13pt;
}
*{
font-family: var(--font);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
html{width:420px;}
body {
margin:16px;
overflow-x:hidden;
font-size:var(--body-font-size);
background-color:var(--bg);color:var(--text);
}
h1{font-size:160%}
button{
margin:8px;
border:0;
outline:none;
font-size:14px;
padding:8px 16px;
font-weight:bold;
background-color:#8a8;
border-radius:32px;
cursor:pointer;
}
button:hover{color:white}
a{color:white}
.adonate{
font-size:14px;
font-weight:bold;
color:black;
background-color:rgb(255, 196, 57);
border-radius:32px;
padding:8px 16px;
}
.adonate:hover{color:white;}
</style>
</head>
<body>
<h1>Yawas settings</h1>
<!--input type="checkbox" id="handlePDF"/> Use Yawas to view PDF documents
<br-->
<!--input type="checkbox" id="saveGoogle"/>Save highlights to Google Bookmarks<br/-->
<!--h3>Saving options</h3>
<input type="radio" name="saveoption" id="saveChromeBookmarks"/> chrome.bookmark API (unlimited)<br>
<input type="radio" name="saveoption" id="saveLocally"/> chrome.storage.sync (max 512 entries)<br-->
<!--button id="save">Save and close</button-->
<!--button id="restore" title="Restore default options">Restore</button-->
<!--br><br-->
<h3>Search</h3>
Search your yawas highlights <button id="searchChromeBookmarks" title="Search your yawas highlights">Search</button>
<!--h3>Import</h3>
Import your Google Bookmarks (you need to be signed in) into Chrome Bookmarks.
This will create a 'Yawas' folder at the root of your Chrome Bookmarks.<br>
<button id="importChromeBookmarks" title="Import Google Bookmarks to Chrome Bookmarks">Import</button>
<p id="importmessage"></p>
<br-->
</body>
<script src="options.js"></script>
</html>