From 6f64bd840cbbf3d6b979ace968b4884827c2afca Mon Sep 17 00:00:00 2001 From: tophf Date: Tue, 17 Jul 2018 11:24:13 +0300 Subject: [PATCH] code cosmetics: strip trailing spaces --- README.md | 6 +++--- edit.html | 4 ++-- edit/global-search.js | 4 ++-- global.css | 8 ++++---- manage.html | 36 ++++++++++++++++++------------------ 5 files changed, 29 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 9ba1d7f3..0b1484d3 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,13 @@ See our [contributing](./.github/CONTRIBUTING.md) page for more details. ## 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) -Current Stylus: +Current Stylus: 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 it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or diff --git a/edit.html b/edit.html index e281fb2e..fd7124b7 100644 --- a/edit.html +++ b/edit.html @@ -456,11 +456,11 @@ - + - + diff --git a/edit/global-search.js b/edit/global-search.js index 6d2ebe7f..db45a232 100644 --- a/edit/global-search.js +++ b/edit/global-search.js @@ -583,10 +583,10 @@ onDOMready().then(() => { $(DIALOG_STYLE_SELECTOR) || $create('style' + DIALOG_STYLE_SELECTOR) ).textContent = ` - #search-replace-dialog { + #search-replace-dialog { background-color: ${colors.body.bg}; } - #search-replace-dialog textarea { + #search-replace-dialog textarea { color: ${colors.body.fore}; background-color: ${colors.input.bg}; } diff --git a/global.css b/global.css index 4ff4da33..0c992f4b 100644 --- a/global.css +++ b/global.css @@ -45,7 +45,7 @@ input:not([type]) { padding: 0 3px; font: 400 13.3333px Arial; border: 1px solid hsl(0, 0%, 66%); -} +} .svg-icon.checked { position: absolute; @@ -213,7 +213,7 @@ select[disabled] > option { .moz-appearance-bug input[type="radio"] { -moz-appearance: radio !important; } - + .firefox select { font-size: 13px; padding: 0 20px 0 2px; @@ -245,8 +245,8 @@ select[disabled] > option { .firefox.non-windows .style-name { font-family: Arial, sans-serif; - } - + } + /* Firefox cannot handle fractions in font-size */ .firefox button:not(.install) { font-size: 13px; diff --git a/manage.html b/manage.html index 61844329..73887e79 100644 --- a/manage.html +++ b/manage.html @@ -171,12 +171,12 @@