|
1 | 1 | <!doctype html>
|
2 |
| -<meta charset="UTF-8" /> |
3 |
| -<base target="_blank" /> |
4 |
| -<title>One Click Extension Manager options</title> |
5 |
| -<style> |
6 |
| - @import './webext-base.css'; |
7 |
| - label { |
8 |
| - display: block; |
9 |
| - } |
10 |
| - select { |
11 |
| - line-height: 2; |
12 |
| - height: 2.4em; /* Match the height of the input */ |
13 |
| - } |
14 |
| - ul { |
15 |
| - padding-left: 1em; |
16 |
| - } |
17 |
| - p:has([value='tab']:checked, [value='sidebar']:checked) |
18 |
| - ~ p:has(label[for='width']) { |
19 |
| - display: none; |
20 |
| - } |
21 |
| - |
22 |
| - /* TODO: Drop after https://github.com/fregante/webext-base-css/issues/18 */ |
23 |
| - hr { |
24 |
| - --body-margin-h: 8px; |
25 |
| - margin-right: calc(-1 * var(--body-margin-h)); |
26 |
| - margin-left: calc(-1 * var(--body-margin-h)); |
27 |
| - border: none; |
28 |
| - border-bottom: 1px solid #aaa4; |
29 |
| - } |
30 |
| -</style> |
31 |
| -<form id="options-form"> |
| 2 | +<html class="webext-base-css-modal"> |
| 3 | + <meta charset="UTF-8" /> |
| 4 | + <base target="_blank" /> |
| 5 | + <title>One Click Extension Manager options</title> |
| 6 | + <style> |
| 7 | + @import './webext-base.css'; |
| 8 | + body { |
| 9 | + padding: 20px !important; |
| 10 | + } |
| 11 | + hr { |
| 12 | + --body-margin-h: 20px; |
| 13 | + } |
| 14 | + h1 { |
| 15 | + font-weight: 100; |
| 16 | + line-height: 1; |
| 17 | + } |
| 18 | + label { |
| 19 | + display: block; |
| 20 | + } |
| 21 | + select { |
| 22 | + line-height: 2; |
| 23 | + height: 2.4em; /* Match the height of the input */ |
| 24 | + } |
| 25 | + ul { |
| 26 | + padding-left: 1em; |
| 27 | + } |
| 28 | + p:has([value='tab']:checked, [value='sidebar']:checked) |
| 29 | + ~ p:has(label[for='width']) { |
| 30 | + display: none; |
| 31 | + } |
| 32 | + /* TODO: Drop after https://github.com/fregante/webext-base-css/issues/18 */ |
| 33 | + hr { |
| 34 | + --body-margin-h: 8px; |
| 35 | + margin-right: calc(-1 * var(--body-margin-h)); |
| 36 | + margin-left: calc(-1 * var(--body-margin-h)); |
| 37 | + border: none; |
| 38 | + border-bottom: 1px solid #aaa4; |
| 39 | + } |
| 40 | + </style> |
| 41 | + <script type="module" defer src="options.js"></script> |
| 42 | + <h1>One-Click Extensions Manager</h1> |
| 43 | + <form id="options-form"> |
| 44 | + <p> |
| 45 | + <label for="showButtons">Show buttons</label> |
| 46 | + <select name="showButtons" id="showButtons"> |
| 47 | + <option value="on-demand">On right click (default)</option> |
| 48 | + <option value="always">Always</option> |
| 49 | + </select> |
| 50 | + </p> |
| 51 | + <p> |
| 52 | + <label for="position">Position</label> |
| 53 | + <select name="position" id="position"> |
| 54 | + <option value="popup">Menu (default)</option> |
| 55 | + <option value="window">Popup window</option> |
| 56 | + <option value="tab">Tab</option> |
| 57 | + <option value="sidebar">Sidebar</option> |
| 58 | + </select> |
| 59 | + </p> |
| 60 | + <p> |
| 61 | + <label for="width"> Width <small>(in pixels)</small> </label> |
| 62 | + <input type="text" name="width" id="width" placeholder="400" size="5" /> |
| 63 | + </p> |
| 64 | + </form> |
| 65 | + <hr /> |
32 | 66 | <p>
|
33 |
| - <label for="showButtons">Show buttons</label> |
34 |
| - <select name="showButtons" id="showButtons"> |
35 |
| - <option value="on-demand">On right click (default)</option> |
36 |
| - <option value="always">Always</option> |
37 |
| - </select> |
| 67 | + If you find this useful, consider supporting its development by donating or |
| 68 | + leaving a review. |
38 | 69 | </p>
|
| 70 | + <ul> |
| 71 | + <li> |
| 72 | + <a |
| 73 | + href="https://chrome.google.com/webstore/detail/one-click-extensions-mana/pbgjpgbpljobkekbhnnmlikbbfhbhmem/reviews" |
| 74 | + >Reviews</a |
| 75 | + > |
| 76 | + </li> |
| 77 | + <li><a href="https://github.com/sponsors/fregante">Donations</a></li> |
| 78 | + <li> |
| 79 | + <a href="https://github.com/hankxdev/one-click-extensions-manager" |
| 80 | + >Open source on GitHub</a |
| 81 | + > |
| 82 | + </li> |
| 83 | + </ul> |
39 | 84 | <p>
|
40 |
| - <label for="position">Position</label> |
41 |
| - <select name="position" id="position"> |
42 |
| - <option value="popup">Menu (default)</option> |
43 |
| - <option value="window">Popup window</option> |
44 |
| - <option value="tab">Tab</option> |
45 |
| - <option value="sidebar">Sidebar</option> |
46 |
| - </select> |
| 85 | + Made by <a href="https://fregante.com">fregante</a> 🇮🇹 and |
| 86 | + <a href="https://momane.com/">Hank Yang</a> 🇨🇳 |
47 | 87 | </p>
|
48 |
| - <p> |
49 |
| - <label for="width"> Width <small>(in pixels)</small> </label> |
50 |
| - <input type="text" name="width" id="width" placeholder="400" size="5" /> |
51 |
| - </p> |
52 |
| -</form> |
53 |
| -<hr /> |
54 |
| -<p> |
55 |
| - If you find this useful, consider supporting its development by donating or |
56 |
| - leaving a review. |
57 |
| -</p> |
58 |
| -<ul> |
59 |
| - <li> |
60 |
| - <a |
61 |
| - href="https://chrome.google.com/webstore/detail/one-click-extensions-mana/pbgjpgbpljobkekbhnnmlikbbfhbhmem/reviews" |
62 |
| - >Reviews</a |
63 |
| - > |
64 |
| - </li> |
65 |
| - <li><a href="https://github.com/sponsors/fregante">Donations</a></li> |
66 |
| - <li> |
67 |
| - <a href="https://github.com/hankxdev/one-click-extensions-manager" |
68 |
| - >Open source on GitHub</a |
69 |
| - > |
70 |
| - </li> |
71 |
| -</ul> |
72 |
| -<p> |
73 |
| - Made by <a href="https://fregante.com">fregante</a> 🇮🇹 and |
74 |
| - <a href="https://momane.com/">Hank Yang</a> 🇨🇳 |
75 |
| -</p> |
76 |
| -<script type="module" src="options.js"></script> |
| 88 | +</html> |
0 commit comments