2017-03-23 03:41:50 +00:00
|
|
|
<html id="stylus">
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-02-28 23:57:03 +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-12-04 16:14:04 +00:00
|
|
|
<link rel="stylesheet" href="global.css">
|
2015-07-19 15:27:19 +00:00
|
|
|
|
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 #stylus-popup #actions * {
|
|
|
|
transition: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2017-04-08 17:45:45 +00:00
|
|
|
<!-- Notes:
|
|
|
|
* Chrome doesn't garbage-collect (or even leaks) SVG <symbol> referenced via <use> so we'll embed the code directly
|
|
|
|
* inter-tag whitespace in templates is automatically removed in localization.js
|
|
|
|
* i18n-anything attribute automatically creates "anything" attribute
|
|
|
|
-->
|
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="style">
|
|
|
|
<div class="entry">
|
2017-12-02 23:55:23 +00:00
|
|
|
<div class="main-controls">
|
|
|
|
<label class="style-name">
|
2017-12-03 23:40:22 +00:00
|
|
|
<input class="checker" type="checkbox">
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</label>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
2017-12-02 23:55:23 +00:00
|
|
|
<div class="actions">
|
|
|
|
<a href="#" class="enable" i18n-text="enableStyleLabel"></a>
|
|
|
|
<a href="#" class="disable" i18n-text="disableStyleLabel"></a>
|
2017-12-05 21:14:21 +00:00
|
|
|
<a href="#" class="configure" i18n-title="configureStyle">
|
|
|
|
<svg class="svg-icon config" viewBox="0 0 14 16">
|
|
|
|
<path d="m6.2578 1.1191c-0.4526 0-0.81641 0.36381-0.81641 0.81641v0.69531a5.5932 5.5932 0 0 0-1.1328 0.47266l-0.49414-0.49414c-0.16002-0.16002-0.36907-0.24023-0.57812-0.24023-0.20905 0-0.41811 0.080216-0.57812 0.24023l-1.0488 1.0488c-0.32004 0.32004-0.32004 0.83621 0 1.1562l0.49023 0.49023a5.5932 5.5932 0 0 0-0.4668 1.1348h-0.69726c-0.4526 0-0.81641 0.36576-0.81641 0.81836v1.4844c0 0.4526 0.36381 0.81641 0.81641 0.81641h0.69726a5.5932 5.5932 0 0 0 0.4707 1.1328l-0.49414 0.49414c-0.32004 0.32004-0.32004 0.83426 0 1.1543l1.0488 1.0508c0.32004 0.32003 0.83621 0.32003 1.1562 0l0.49023-0.49024a5.5932 5.5932 0 0 0 1.1367 0.4668v0.69727c0 0.4526 0.36381 0.81641 0.81641 0.81641h1.4844c0.4526 0 0.81641-0.36381 0.81641-0.81641v-0.69727a5.5932 5.5932 0 0 0 1.1328-0.4707l0.49414 0.49414c0.32004 0.32003 0.83622 0.32003 1.1562 0l1.0488-1.0508c0.32004-0.32004 0.32004-0.83426 0-1.1543l-0.49023-0.49023a5.5932 5.5932 0 0 0 0.4668-1.1367h0.69726c0.4526 0 0.81641-0.36381 0.81641-0.81641v-1.4844c0-0.4526-0.36381-0.81836-0.81641-0.81836h-0.69726a5.5932 5.5932 0 0 0-0.4707-1.1309l0.49414-0.49414c0.32004-0.32004 0.32004-0.83621 0-1.1562l-1.0488-1.0488c-0.16002-0.16002-0.36907-0.24023-0.57812-0.24023s-0.41811 0.080216-0.57812 0.24023l-0.49023 0.49023a5.5932 5.5932 0 0 0-1.1367-0.4668v-0.69727c0-0.4526-0.36381-0.81641-0.81641-0.81641zm0.56836 0.7793h0.34766c0.22291 0 0.40234 0.17943 0.40234 0.40234v1.1621a4.5763 4.5763 0 0 1 2.2227 0.92383l0.82422-0.82422c0.15762-0.15762 0.41074-0.15762 0.56836 0l0.24609 0.24609c0.15762 0.15762 0.15762 0.41074 0 0.56836l-0.82226 0.82227a4.5763 4.5763 0 0 1 0.91797 2.2246h1.166c0.22291 0 0.40234 0.17943 0.40234 0.40234v0.34766c0 0.22291-0.17943 0.40234-0.40234 0.40234h-1.1641a4.5763 4.5763 0 0 1-0.92188 2.2227l0.82422 0.82422c0.15762 0.15762 0.15762 0.41074 0 0.56836l-0.24609 0.24609c-0.15762 0.15763-0.41074 0.15763-0.56836 0l-0.82227-0.82226a4.5763 4.5763 0 0 1-2.2246 0.91797v1.166c0 0.22291-0.17943 0.40234-0.40234 0.40234h-0.34766c-0.22291 0-0.40234-0.17943-0.40234-0.40234v-1.1641a4.5763 4.5763 0 0 1-2.2227-0.92188l-0.82422 0.82422c-0.15762 0.15763-0.41074 0.15763-0.56836 0l-0.24609-0.24609c-0.15762-0.15762-0.15762-0.41074 0-0.56836l0.82226-0.82226a4.5763 4.5763 0 0 1-0.91797-2.2246h-1.166c-0.22291 0-0.40234-0.17943-0.40234-0.40234v-0.34766c0-0.22291 0.17943-0.40234 0.40234-0.40234h1.1641a4.5763 4.5763 0 0 1 0.92188-2.2227l-0.82422-0.82422c-0.15762-0.15762-0.15762-0.41074 0-0.56836l0.24609-0.24609c0.15762-0.15762 0.41074-0.15762 0.56836 0l0.82227 0.82227a4.5763 4.5763 0 0 1 2.2246-0.91797v-1.166c0-0.22291 0.17943-0.40234 0.40234-0.40234zm0.17383 2.7109a3.3898 3.3898 0 0 0-3.3906 3.3906 3.3898 3.3898 0 0 0 3.3906 3.3887 3.3898 3.3898 0 0 0 3.3906-3.3887 3.3898 3.3898 0 0 0-3.3906-3.3906zm0 1.1875a2.2034 2.2034 0 0 1 2.2031 2.2031 2.2034 2.2034 0 0 1-2.2031 2.2031 2.2034 2.2034 0 0 1-2.2031-2.2031 2.2034 2.2034 0 0 1 2.2031-2.2031z"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2017-12-02 23:55:23 +00:00
|
|
|
<a class="style-edit-link" href="edit.html?id=" i18n-title="editStyleLabel">
|
|
|
|
<svg class="svg-icon edit" viewBox="0 0 14 16">
|
|
|
|
<path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
|
|
|
<a href="#" class="delete" i18n-title="deleteStyleLabel">
|
|
|
|
<svg class="svg-icon remove" viewBox="0 0 14 16">
|
|
|
|
<path fill-rule="evenodd" d="M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="writeStyle">
|
|
|
|
<a class="write-style-link"></a>
|
|
|
|
</template>
|
2017-03-21 01:32:38 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="noStyles">
|
|
|
|
<div id="no-styles" class="entry" i18n-text="noStylesForSite"></div>
|
|
|
|
</template>
|
2017-03-25 03:04:24 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="regexpProblemIndicator">
|
|
|
|
<div class="regexp-problem-indicator" i18n-title="styleRegexpProblemTooltip"></div>
|
|
|
|
</template>
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<template data-id="regexpProblemExplanation">
|
|
|
|
<div id="regexp-explanation">
|
|
|
|
<div id="regexp-partial" i18n-html="styleRegexpPartialExplanation"></div>
|
|
|
|
<div id="regexp-invalid" i18n-text="styleRegexpInvalidExplanation"></div>
|
|
|
|
<button i18n-text="confirmOK"></button>
|
|
|
|
</div>
|
|
|
|
</template>
|
2017-03-30 23:18:41 +00:00
|
|
|
|
2017-08-27 09:56:09 +00:00
|
|
|
<template data-id="unavailableInfo">
|
|
|
|
<div class="blocked-info">
|
|
|
|
<label i18n-text="stylusUnavailableForURL"></label>
|
|
|
|
<p i18n-text="stylusUnavailableForURLdetails"></p>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template data-id="unreachableInfo">
|
|
|
|
<div class="blocked-info">
|
|
|
|
<label i18n-text="unreachableContentScript"></label>
|
|
|
|
<p i18n-text="unreachableFileHint"></p>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2017-12-05 21:14:21 +00:00
|
|
|
<link rel="stylesheet" href="vendor-overwrites/colorpicker/colorpicker.css">
|
|
|
|
<script src="vendor-overwrites/colorpicker/colorpicker.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="msgbox/msgbox.css">
|
|
|
|
<script src="msgbox/msgbox.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="options/onoffswitch.css">
|
|
|
|
<link rel="stylesheet" href="manage/config-dialog.css">
|
|
|
|
<script src="manage/config-dialog.js"></script>
|
|
|
|
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="js/dom.js"></script>
|
2017-07-14 00:52:40 +00:00
|
|
|
<script src="js/messaging.js"></script>
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="js/localization.js"></script>
|
|
|
|
<script src="js/prefs.js"></script>
|
|
|
|
<script src="content/apply.js"></script>
|
2017-12-05 21:14:21 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="popup/popup.css">
|
2017-07-12 18:52:44 +00:00
|
|
|
<script src="popup/popup.js"></script>
|
2017-11-28 22:46:42 +00:00
|
|
|
<script src="popup/hotkeys.js"></script>
|
2017-02-28 23:57:03 +00:00
|
|
|
</head>
|
2012-04-16 01:56:12 +00:00
|
|
|
|
2017-03-05 14:40:48 +00:00
|
|
|
<body id="stylus-popup">
|
2017-04-01 04:37:25 +00:00
|
|
|
|
|
|
|
<div id="confirm">
|
|
|
|
<div>
|
|
|
|
<b>Style's Name</b>
|
|
|
|
<span i18n-text="deleteStyleConfirm"></span>
|
|
|
|
<div>
|
|
|
|
<button i18n-text="confirmDelete" data-cmd="ok"></button>
|
|
|
|
<button i18n-text="confirmCancel" data-cmd="cancel"></button>
|
|
|
|
</div>
|
2017-03-13 19:26:43 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
|
2017-12-01 21:49:59 +00:00
|
|
|
<aside id="hotkey-info" i18n-title="popupHotkeysTooltip"></aside>
|
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
<div id="installed"></div>
|
|
|
|
|
|
|
|
<div class="actions">
|
|
|
|
<div id="disable-all-wrapper">
|
|
|
|
<div class="main-controls">
|
2017-12-03 23:40:22 +00:00
|
|
|
<label id="disableAll-label" i18n-text="disableAllStyles">
|
|
|
|
<input id="disableAll" type="checkbox">
|
|
|
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
|
|
|
</label>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="main-controls">
|
|
|
|
<div id="find-styles">
|
2017-09-30 00:01:07 +00:00
|
|
|
<a id="find-styles-link" href="https://userstyles.org/styles/browse/"
|
|
|
|
i18n-text="findStylesForSite"></a>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
|
|
|
<div id="write-style">
|
|
|
|
<span id="write-style-for" i18n-text="writeStyleFor"></span>
|
|
|
|
</div>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-03-06 13:54:56 +00:00
|
|
|
<!-- Actions -->
|
|
|
|
<div id="popup-options">
|
2017-08-18 11:47:23 +00:00
|
|
|
<button id="popup-manage-button" i18n-text="openManage"
|
2017-08-22 16:29:26 +00:00
|
|
|
data-href="manage.html" i18n-title="popupManageTooltip"></button>
|
2017-04-01 04:37:25 +00:00
|
|
|
<button id="popup-options-button" i18n-text="openOptionsPopup"></button>
|
2017-04-29 16:27:42 +00:00
|
|
|
<button id="popup-shortcuts-button" class="chromium-only"
|
|
|
|
i18n-text="shortcuts"
|
|
|
|
i18n-title="shortcutsNote"></button>
|
2017-02-28 23:57:03 +00:00
|
|
|
</div>
|
2017-04-01 04:37:25 +00:00
|
|
|
</div>
|
2017-12-03 23:40:22 +00:00
|
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" style="display: none !important;">
|
|
|
|
<symbol id="svg-icon-checked" viewBox="0 0 1000 1000">
|
|
|
|
<path fill-rule="evenodd" d="M983.2,184.3L853,69.8c-4-3.5-9.3-5.3-14.5-5c-5.3,0.4-10.3,2.8-13.8,6.8L352.3,609.2L184.4,386.9c-3.2-4.2-8-7-13.2-7.8c-5.3-0.8-10.6,0.6-14.9,3.9L18,487.5c-8.8,6.7-10.6,19.3-3.9,28.1L325,927.2c3.6,4.8,9.3,7.7,15.3,8c0.2,0,0.5,0,0.7,0c5.8,0,11.3-2.5,15.1-6.8L985,212.6C992.3,204.3,991.5,191.6,983.2,184.3z"/>
|
|
|
|
</symbol>
|
|
|
|
</svg>
|
|
|
|
|
2017-04-01 04:37:25 +00:00
|
|
|
</body>
|
2017-03-06 13:54:56 +00:00
|
|
|
</html>
|