code cosmetics: strip trailing spaces
This commit is contained in:
parent
70b8a1172f
commit
6f64bd840c
|
@ -45,13 +45,13 @@ See our [contributing](./.github/CONTRIBUTING.md) page for more details.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Inherited code from the original [Stylish](https://github.com/stylish-userstyles/stylish/):
|
Inherited code from the original [Stylish](https://github.com/stylish-userstyles/stylish/):
|
||||||
Copyright © 2005-2014 [Jason Barnabe](jason.barnabe@gmail.com)
|
Copyright © 2005-2014 [Jason Barnabe](jason.barnabe@gmail.com)
|
||||||
|
|
||||||
Current Stylus:
|
Current Stylus:
|
||||||
Copyright © 2017-2018 [Stylus Team](https://github.com/openstyles/stylus/graphs/contributors)
|
Copyright © 2017-2018 [Stylus Team](https://github.com/openstyles/stylus/graphs/contributors)
|
||||||
|
|
||||||
**[GNU GPLv3](./LICENSE)**
|
**[GNU GPLv3](./LICENSE)**
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
|
|
@ -456,11 +456,11 @@
|
||||||
<symbol id="svg-icon-checked" viewBox="0 0 1000 1000">
|
<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"/>
|
<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>
|
</symbol>
|
||||||
|
|
||||||
<symbol id="svg-icon-plus" viewBox="0 0 8 8">
|
<symbol id="svg-icon-plus" viewBox="0 0 8 8">
|
||||||
<path fill-rule="evenodd" d="M3 0v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2z"/>
|
<path fill-rule="evenodd" d="M3 0v3h-3v2h3v3h2v-3h3v-2h-3v-3h-2z"/>
|
||||||
</symbol>
|
</symbol>
|
||||||
|
|
||||||
<symbol id="svg-icon-minus" viewBox="0 0 8 8">
|
<symbol id="svg-icon-minus" viewBox="0 0 8 8">
|
||||||
<path fill-rule="evenodd" d="M0 3v2h8v-2h-8z"/>
|
<path fill-rule="evenodd" d="M0 3v2h8v-2h-8z"/>
|
||||||
</symbol>
|
</symbol>
|
||||||
|
|
|
@ -583,10 +583,10 @@ onDOMready().then(() => {
|
||||||
$(DIALOG_STYLE_SELECTOR) ||
|
$(DIALOG_STYLE_SELECTOR) ||
|
||||||
$create('style' + DIALOG_STYLE_SELECTOR)
|
$create('style' + DIALOG_STYLE_SELECTOR)
|
||||||
).textContent = `
|
).textContent = `
|
||||||
#search-replace-dialog {
|
#search-replace-dialog {
|
||||||
background-color: ${colors.body.bg};
|
background-color: ${colors.body.bg};
|
||||||
}
|
}
|
||||||
#search-replace-dialog textarea {
|
#search-replace-dialog textarea {
|
||||||
color: ${colors.body.fore};
|
color: ${colors.body.fore};
|
||||||
background-color: ${colors.input.bg};
|
background-color: ${colors.input.bg};
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ input:not([type]) {
|
||||||
padding: 0 3px;
|
padding: 0 3px;
|
||||||
font: 400 13.3333px Arial;
|
font: 400 13.3333px Arial;
|
||||||
border: 1px solid hsl(0, 0%, 66%);
|
border: 1px solid hsl(0, 0%, 66%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.svg-icon.checked {
|
.svg-icon.checked {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -213,7 +213,7 @@ select[disabled] > option {
|
||||||
.moz-appearance-bug input[type="radio"] {
|
.moz-appearance-bug input[type="radio"] {
|
||||||
-moz-appearance: radio !important;
|
-moz-appearance: radio !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.firefox select {
|
.firefox select {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
padding: 0 20px 0 2px;
|
padding: 0 20px 0 2px;
|
||||||
|
@ -245,8 +245,8 @@ select[disabled] > option {
|
||||||
|
|
||||||
.firefox.non-windows .style-name {
|
.firefox.non-windows .style-name {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Firefox cannot handle fractions in font-size */
|
/* Firefox cannot handle fractions in font-size */
|
||||||
.firefox button:not(.install) {
|
.firefox button:not(.install) {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|
36
manage.html
36
manage.html
|
@ -171,12 +171,12 @@
|
||||||
|
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h1 id="manage-heading" i18n-text="manageHeading"></h1>
|
<h1 id="manage-heading" i18n-text="manageHeading"></h1>
|
||||||
|
|
||||||
<div id="manage-settings">
|
<div id="manage-settings">
|
||||||
<div class="settings-column">
|
<div class="settings-column">
|
||||||
<details id="filters" data-pref="manage.filters.expanded">
|
<details id="filters" data-pref="manage.filters.expanded">
|
||||||
<summary>
|
<summary>
|
||||||
<h2 i18n-text="manageFilters">:
|
<h2 i18n-text="manageFilters">:
|
||||||
<div class="filter-stats-wrapper">
|
<div class="filter-stats-wrapper">
|
||||||
<span id="filters-stats"></span>
|
<span id="filters-stats"></span>
|
||||||
<a id="reset-filters" href="#" tabindex="0">
|
<a id="reset-filters" href="#" tabindex="0">
|
||||||
|
@ -189,7 +189,7 @@
|
||||||
</div>
|
</div>
|
||||||
</h2>
|
</h2>
|
||||||
</summary>
|
</summary>
|
||||||
|
|
||||||
<div class="filter-selection">
|
<div class="filter-selection">
|
||||||
<label>
|
<label>
|
||||||
<div class="checkmate">
|
<div class="checkmate">
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="filter-selection">
|
<div class="filter-selection">
|
||||||
<label>
|
<label>
|
||||||
<div class="checkmate">
|
<div class="checkmate">
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="filter-selection">
|
<div class="filter-selection">
|
||||||
<label>
|
<label>
|
||||||
<div class="checkmate">
|
<div class="checkmate">
|
||||||
|
@ -243,7 +243,7 @@
|
||||||
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
<svg class="svg-icon select-arrow"><use xlink:href="#svg-icon-select-arrow"/></svg>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label id="only-updates" class="hidden">
|
<label id="only-updates" class="hidden">
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
data-filter=".can-update, .update-problem, .update-done"
|
data-filter=".can-update, .update-problem, .update-done"
|
||||||
|
@ -251,7 +251,7 @@
|
||||||
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
||||||
<span i18n-text="manageOnlyUpdates"></span>
|
<span i18n-text="manageOnlyUpdates"></span>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div id="search-wrapper">
|
<div id="search-wrapper">
|
||||||
<input id="search" type="search" i18n-placeholder="searchStyles" spellcheck="false"
|
<input id="search" type="search" i18n-placeholder="searchStyles" spellcheck="false"
|
||||||
data-filter=":not(.not-matching)"
|
data-filter=":not(.not-matching)"
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
<svg class="svg-icon info"><use xlink:href="#svg-icon-help"/></svg>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="style-actions">
|
<div id="style-actions">
|
||||||
<div id="update-check">
|
<div id="update-check">
|
||||||
<button id="check-all-updates" i18n-text="checkAllUpdates"><span id="update-progress"></span></button>
|
<button id="check-all-updates" i18n-text="checkAllUpdates"><span id="update-progress"></span></button>
|
||||||
|
@ -282,13 +282,13 @@
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="update-all">
|
<div id="update-all">
|
||||||
<button id="apply-all-updates" class="hidden" i18n-text="applyAllUpdates"></button>
|
<button id="apply-all-updates" class="hidden" i18n-text="applyAllUpdates"></button>
|
||||||
<span id="update-all-no-updates" class="hidden" i18n-text="updateAllCheckSucceededNoUpdate"></span>
|
<span id="update-all-no-updates" class="hidden" i18n-text="updateAllCheckSucceededNoUpdate"></span>
|
||||||
<button id="check-all-updates-force" class="hidden" i18n-text="checkAllUpdatesForce"></button>
|
<button id="check-all-updates-force" class="hidden" i18n-text="checkAllUpdatesForce"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="add-style-wrapper">
|
<div id="add-style-wrapper">
|
||||||
<a href="edit.html">
|
<a href="edit.html">
|
||||||
<button id="add-style-label" i18n-text="addStyleLabel" tabindex="-1"></button>
|
<button id="add-style-label" i18n-text="addStyleLabel" tabindex="-1"></button>
|
||||||
|
@ -309,18 +309,18 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-column">
|
<div class="settings-column">
|
||||||
<details id="options" data-pref="manage.options.expanded">
|
<details id="options" data-pref="manage.options.expanded">
|
||||||
|
|
||||||
<summary><h2 id="options-heading" i18n-text="optionsHeading"></h2></summary>
|
<summary><h2 id="options-heading" i18n-text="optionsHeading"></h2></summary>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<input id="manage.newUI" type="checkbox">
|
<input id="manage.newUI" type="checkbox">
|
||||||
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
<svg class="svg-icon checked"><use xlink:href="#svg-icon-checked"/></svg>
|
||||||
<span i18n-text="manageNewUI"></span>
|
<span i18n-text="manageNewUI"></span>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div id="newUIoptions">
|
<div id="newUIoptions">
|
||||||
<div>
|
<div>
|
||||||
<label for="manage.newUI.favicons" i18n-text="manageFavicons">
|
<label for="manage.newUI.favicons" i18n-text="manageFavicons">
|
||||||
|
@ -344,7 +344,7 @@
|
||||||
</div>
|
</div>
|
||||||
<label><input id="manage.newUI.targets" type="number" min="1" max="99"><span i18n-text="manageMaxTargets"></span></label>
|
<label><input id="manage.newUI.targets" type="number" min="1" max="99"><span i18n-text="manageMaxTargets"></span></label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="options-buttons">
|
<div id="options-buttons">
|
||||||
<button id="manage-options-button" i18n-text="openOptionsManage"></button>
|
<button id="manage-options-button" i18n-text="openOptionsManage"></button>
|
||||||
<button id="manage-shortcuts-button" class="chromium-only"
|
<button id="manage-shortcuts-button" class="chromium-only"
|
||||||
|
@ -355,9 +355,9 @@
|
||||||
i18n-title="editorStylesButton"
|
i18n-title="editorStylesButton"
|
||||||
target="_blank"><button i18n-text="cm_theme" tabindex="-1"></button></a>
|
target="_blank"><button i18n-text="cm_theme" tabindex="-1"></button></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details id="backup" data-pref="manage.backup.expanded">
|
<details id="backup" data-pref="manage.backup.expanded">
|
||||||
<summary><h2 id="backup-title" i18n-text="backupButtons"></h2></summary>
|
<summary><h2 id="backup-title" i18n-text="backupButtons"></h2></summary>
|
||||||
<span id="backup-message" i18n-text="backupMessage"></span>
|
<span id="backup-message" i18n-text="backupMessage"></span>
|
||||||
|
@ -366,7 +366,7 @@
|
||||||
<button id="unfile-all-styles" i18n-text="retrieveBckp"></button>
|
<button id="unfile-all-styles" i18n-text="retrieveBckp"></button>
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<div id="manage-text">
|
<div id="manage-text">
|
||||||
<span><a href="https://userstyles.org" target="_blank" i18n-text="linkGetStyles"></a></span>
|
<span><a href="https://userstyles.org" target="_blank" i18n-text="linkGetStyles"></a></span>
|
||||||
<span><a href="https://add0n.com/stylus.html#features" target="_blank" i18n-text="linkGetHelp"></a></span>
|
<span><a href="https://add0n.com/stylus.html#features" target="_blank" i18n-text="linkGetHelp"></a></span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user