2017-02-14 15:35:53 +00:00
|
|
|
<!DOCTYPE html>
|
2017-03-23 03:41:50 +00:00
|
|
|
<html id="stylus">
|
2017-02-14 15:35:53 +00:00
|
|
|
<head>
|
2017-11-25 13:24:07 +00:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2017-04-10 06:47:09 +00:00
|
|
|
<title i18n-text-append="optionsHeading">Stylus </title>
|
2017-12-08 04:40:08 +00:00
|
|
|
<link rel="stylesheet" href="global.css">
|
2017-08-27 14:45:15 +00:00
|
|
|
<link rel="stylesheet" href="options/options.css">
|
2017-09-05 21:33:08 +00:00
|
|
|
<link rel="stylesheet" href="options/onoffswitch.css">
|
2018-01-24 20:16:24 +00:00
|
|
|
<link rel="stylesheet" href="msgbox/msgbox.css">
|
2017-09-03 20:52:06 +00:00
|
|
|
|
|
|
|
<style id="firefox-transitions-bug-suppressor">
|
|
|
|
/* restrict to FF */
|
2017-12-02 16:38:03 +00:00
|
|
|
@supports (-moz-appearance:none) {
|
2017-09-03 20:52:06 +00:00
|
|
|
/* increased specificity to override sane selectors in user styles */
|
|
|
|
html#stylus.firefox #options *, #stylus #notes * {
|
|
|
|
transition: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2018-11-30 01:35:21 +00:00
|
|
|
<script src="js/polyfill.js"></script>
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="js/dom.js"></script>
|
2018-11-07 06:09:29 +00:00
|
|
|
<script src="js/promisify.js"></script>
|
2020-02-02 04:36:54 +00:00
|
|
|
<script src="js/messaging.js"></script>
|
2018-11-07 06:09:29 +00:00
|
|
|
<script src="js/msg.js"></script>
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="js/localization.js"></script>
|
|
|
|
<script src="js/prefs.js"></script>
|
2018-01-19 12:14:09 +00:00
|
|
|
<script src="js/storage-util.js" async></script>
|
2018-01-24 20:16:24 +00:00
|
|
|
<script src="msgbox/msgbox.js" async></script>
|
2019-03-10 02:58:17 +00:00
|
|
|
<script src="content/style-injector.js"></script>
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="content/apply.js"></script>
|
2017-02-14 15:35:53 +00:00
|
|
|
</head>
|
|
|
|
|
2017-11-26 01:53:21 +00:00
|
|
|
<body id="stylus-options">
|
2020-02-02 04:36:54 +00:00
|
|
|
|
|
|
|
<div id="options-header">
|
|
|
|
<div id="options-title">
|
|
|
|
<div id="options-close-icon"><svg viewBox="0 0 20 20" class="svg-icon"><path d="M11.69,10l4.55,4.55-1.69,1.69L10,11.69,5.45,16.23,3.77,14.55,8.31,10,3.77,5.45,5.45,3.77,10,8.31l4.55-4.55,1.69,1.69Z"></path></svg></div>
|
|
|
|
Stylus</div>
|
|
|
|
</div>
|
|
|
|
|
2017-04-14 07:50:52 +00:00
|
|
|
<div id="options">
|
2017-04-28 23:36:10 +00:00
|
|
|
|
2017-06-28 10:49:04 +00:00
|
|
|
<div class="block">
|
|
|
|
<h1 i18n-text="optionsCustomizeIcon"></h1>
|
|
|
|
<div class="items">
|
|
|
|
<label>
|
|
|
|
<span i18n-text="optionsIconDark"></span>
|
|
|
|
<div class="iconset">
|
|
|
|
<input type="radio" name="iconset">
|
|
|
|
<img src="/images/icon/16.png">
|
|
|
|
<img src="/images/icon/16w.png">
|
|
|
|
<img src="/images/icon/16x.png">
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
<label>
|
|
|
|
<span i18n-text="optionsIconLight"></span>
|
|
|
|
<div class="iconset">
|
|
|
|
<input type="radio" name="iconset">
|
|
|
|
<img src="/images/icon/light/16.png">
|
|
|
|
<img src="/images/icon/light/16w.png">
|
|
|
|
<img src="/images/icon/light/16x.png">
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-04-14 07:50:52 +00:00
|
|
|
<div class="block">
|
|
|
|
<h1 i18n-text="optionsCustomizeBadge"></h1>
|
|
|
|
<div class="items">
|
2017-04-28 23:36:10 +00:00
|
|
|
<label>
|
|
|
|
<span i18n-text="prefShowBadge"></span>
|
|
|
|
<span class="onoffswitch">
|
2017-11-28 04:09:52 +00:00
|
|
|
<input type="checkbox" id="show-badge" class="slider">
|
2017-04-29 17:05:42 +00:00
|
|
|
<span></span>
|
2017-04-28 23:36:10 +00:00
|
|
|
</span>
|
|
|
|
</label>
|
2017-04-14 07:50:52 +00:00
|
|
|
<label>
|
|
|
|
<span i18n-text="optionsBadgeNormal"></span>
|
|
|
|
<input type="color" id="badgeNormal">
|
|
|
|
</label>
|
|
|
|
<label>
|
|
|
|
<span i18n-text="optionsBadgeDisabled"></span>
|
|
|
|
<input type="color" id="badgeDisabled">
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-28 23:36:10 +00:00
|
|
|
|
2017-04-14 07:50:52 +00:00
|
|
|
<div class="block">
|
|
|
|
<h1 i18n-text="optionsCustomizePopup"></h1>
|
|
|
|
<div class="items">
|
|
|
|
<label>
|
|
|
|
<span i18n-text="optionsPopupWidth"></span>
|
|
|
|
<input type="number" id="popupWidth" min="200" max="800">
|
|
|
|
</label>
|
2017-08-27 13:41:29 +00:00
|
|
|
<label>
|
|
|
|
<span i18n-text="popupOpenEditInWindow"
|
|
|
|
i18n-title="popupOpenEditInWindowTooltip"></span>
|
|
|
|
<span class="onoffswitch">
|
2017-11-28 04:09:52 +00:00
|
|
|
<input type="checkbox" id="openEditInWindow" class="slider">
|
2017-08-27 13:41:29 +00:00
|
|
|
<span></span>
|
|
|
|
</span>
|
|
|
|
</label>
|
2017-04-14 07:50:52 +00:00
|
|
|
<label>
|
|
|
|
<span i18n-text="popupStylesFirst"></span>
|
|
|
|
<span class="onoffswitch">
|
2017-11-28 04:09:52 +00:00
|
|
|
<input type="checkbox" id="popup.stylesFirst" class="slider">
|
2017-04-29 17:05:42 +00:00
|
|
|
<span></span>
|
2017-04-14 07:50:52 +00:00
|
|
|
</span>
|
|
|
|
</label>
|
2019-01-01 05:11:45 +00:00
|
|
|
<label>
|
|
|
|
<span i18n-text="popupAutoResort"></span>
|
|
|
|
<span class="onoffswitch">
|
|
|
|
<input type="checkbox" id="popup.autoResort" class="slider">
|
|
|
|
<span></span>
|
|
|
|
</span>
|
|
|
|
</label>
|
2019-09-24 13:21:36 +00:00
|
|
|
<label class="chromium-only chrome-no-popup-border">
|
2017-11-14 08:13:03 +00:00
|
|
|
<span i18n-text="popupBorders" i18n-title="popupBordersTooltip"></span>
|
|
|
|
<span class="onoffswitch">
|
2017-11-28 04:09:52 +00:00
|
|
|
<input type="checkbox" id="popup.borders" class="slider">
|
2017-11-14 08:13:03 +00:00
|
|
|
<span></span>
|
|
|
|
</span>
|
|
|
|
</label>
|
2017-04-14 07:50:52 +00:00
|
|
|
</div>
|
2017-03-28 00:42:07 +00:00
|
|
|
</div>
|
2017-04-28 23:36:10 +00:00
|
|
|
|
2017-12-12 00:27:28 +00:00
|
|
|
<div class="block" id="updates">
|
2017-04-14 07:50:52 +00:00
|
|
|
<h1 i18n-text="optionsCustomizeUpdate"></h1>
|
|
|
|
<div class="items">
|
2018-01-24 20:16:24 +00:00
|
|
|
<label>
|
|
|
|
<span i18n-text="optionsUpdateInterval">
|
2018-03-29 03:37:04 +00:00
|
|
|
<a data-cmd="note"
|
2019-01-28 03:32:35 +00:00
|
|
|
i18n-title="optionsUpdateImportNote"
|
|
|
|
href="#"
|
|
|
|
class="svg-inline-wrapper"
|
|
|
|
tabindex="0">
|
2018-01-24 20:16:24 +00:00
|
|
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
|
|
|
</a>
|
|
|
|
</span>
|
2017-04-14 07:50:52 +00:00
|
|
|
<input type="number" min="0" id="updateInterval">
|
|
|
|
</label>
|
|
|
|
</div>
|
2019-11-05 19:30:45 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block sync-options">
|
|
|
|
<h1 i18n-text="optionsCustomizeSync"></h1>
|
|
|
|
<div class="items">
|
2019-11-15 00:17:25 +00:00
|
|
|
<div class="label">
|
2019-11-05 19:30:45 +00:00
|
|
|
<span class="sync-status"></span>
|
2019-11-14 05:50:38 +00:00
|
|
|
<div class="select-resizer">
|
|
|
|
<select class="cloud-name">
|
|
|
|
<option value="none" i18n-text="optionsSyncNone"></option>
|
|
|
|
<option value="dropbox">Dropbox</option>
|
|
|
|
<option value="google">Google Drive</option>
|
|
|
|
<option value="onedrive">OneDrive</option>
|
|
|
|
</select>
|
|
|
|
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
|
|
|
</div>
|
2019-11-15 00:17:25 +00:00
|
|
|
</div>
|
2019-11-05 19:30:45 +00:00
|
|
|
<div class="actions">
|
|
|
|
<button type="button" class="connect" i18n-text="optionsSyncConnect"></button>
|
|
|
|
<button type="button" class="disconnect" i18n-text="optionsSyncDisconnect"></button>
|
|
|
|
<button type="button" class="sync-now" i18n-text="optionsSyncSyncNow"></button>
|
|
|
|
<button type="button" class="sync-login" i18n-text="optionsSyncLogin"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-14 07:50:52 +00:00
|
|
|
</div>
|
2017-04-28 23:36:10 +00:00
|
|
|
|
2017-11-15 03:25:30 +00:00
|
|
|
<div class="block" id="advanced">
|
2017-12-09 15:25:44 +00:00
|
|
|
<div class="collapsible-resizer">
|
2017-12-12 18:33:41 +00:00
|
|
|
<h1 i18n-text="optionsAdvanced">
|
2018-03-29 03:37:04 +00:00
|
|
|
<a href="#" class="svg-inline-wrapper is-collapsed" tabindex="0">
|
2018-03-29 03:27:37 +00:00
|
|
|
<svg class="svg-icon" viewBox="0 0 1792 1792">
|
|
|
|
<path fill-rule="evenodd" d="M1408 704q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45z"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2018-03-29 03:37:04 +00:00
|
|
|
<a href="#" class="svg-inline-wrapper is-expanded" tabindex="0">
|
2018-03-29 03:27:37 +00:00
|
|
|
<svg class="svg-icon" viewBox="0 0 1792 1792">
|
|
|
|
<path fill-rule="evenodd" d="M1408 1216q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45 19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 45z"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2017-11-15 03:25:30 +00:00
|
|
|
</h1>
|
|
|
|
</div>
|
2017-04-14 07:50:52 +00:00
|
|
|
<div class="items">
|
|
|
|
<label>
|
2018-01-24 20:16:24 +00:00
|
|
|
<span i18n-text="optionsAdvancedExposeIframes">
|
2018-03-29 03:37:04 +00:00
|
|
|
<a data-cmd="note"
|
2019-01-28 03:32:35 +00:00
|
|
|
i18n-title="optionsAdvancedExposeIframesNote"
|
|
|
|
href="#"
|
|
|
|
class="svg-inline-wrapper"
|
|
|
|
tabindex="0">
|
2018-01-24 20:16:24 +00:00
|
|
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
|
|
|
</a>
|
|
|
|
</span>
|
2017-04-28 23:36:10 +00:00
|
|
|
<span class="onoffswitch">
|
2017-11-28 04:09:52 +00:00
|
|
|
<input type="checkbox" id="exposeIframes" class="slider">
|
2017-04-29 17:05:42 +00:00
|
|
|
<span></span>
|
2017-04-28 23:36:10 +00:00
|
|
|
</span>
|
2017-04-29 16:54:16 +00:00
|
|
|
</label>
|
2017-07-31 16:39:10 +00:00
|
|
|
<label class="chromium-only">
|
2017-04-29 16:54:16 +00:00
|
|
|
<span i18n-text="optionsAdvancedContextDelete"></span>
|
|
|
|
<span class="onoffswitch">
|
2017-11-28 04:09:52 +00:00
|
|
|
<input type="checkbox" id="editor.contextDelete" class="slider">
|
2017-04-29 17:05:42 +00:00
|
|
|
<span></span>
|
2017-04-29 16:54:16 +00:00
|
|
|
</span>
|
2017-04-14 07:50:52 +00:00
|
|
|
</label>
|
2017-04-28 23:36:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block" id="actions">
|
|
|
|
<button data-cmd="reset" i18n-text="optionsResetButton" i18n-title="optionsReset"></button>
|
2020-02-02 04:36:54 +00:00
|
|
|
<button data-cmd="open-manage" i18n-text="styleCancelEditLabel"></button>
|
2017-04-28 23:36:10 +00:00
|
|
|
<div data-cmd="check-updates">
|
|
|
|
<button i18n-text="optionsCheck" i18n-title="optionsCheckUpdate">
|
|
|
|
<span id="update-progress"></span>
|
|
|
|
</button>
|
2017-04-14 15:30:09 +00:00
|
|
|
<div id="updates-installed" i18n-text="updatesCurrentlyInstalled"></div>
|
2017-04-14 07:50:52 +00:00
|
|
|
</div>
|
2017-04-29 17:58:53 +00:00
|
|
|
<button data-cmd="open-keyboard" class="chromium-only" i18n-text="shortcuts" i18n-title="shortcutsNote"></button>
|
2017-04-14 07:50:52 +00:00
|
|
|
</div>
|
2017-03-28 00:42:07 +00:00
|
|
|
</div>
|
|
|
|
|
2018-01-24 20:16:24 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" style="display: none !important;">
|
|
|
|
<symbol id="svg-icon-help" viewBox="0 0 14 16">
|
|
|
|
<path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path>
|
|
|
|
</symbol>
|
2019-11-14 05:50:38 +00:00
|
|
|
|
|
|
|
<symbol id="svg-icon-select-arrow" viewBox="0 0 1792 1792">
|
|
|
|
<path fill-rule="evenodd" d="M1408 704q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45z"/>
|
|
|
|
</symbol>
|
2018-01-24 20:16:24 +00:00
|
|
|
</svg>
|
|
|
|
|
2017-08-27 14:45:15 +00:00
|
|
|
<script src="options/options.js"></script>
|
2017-02-14 15:35:53 +00:00
|
|
|
</body>
|
|
|
|
</html>
|