From 093fe3a8d53ea742ea06e7ad5d4557c568ae7d71 Mon Sep 17 00:00:00 2001 From: aminomancer <33384265+aminomancer@users.noreply.github.com> Date: Tue, 17 May 2022 02:17:16 -0700 Subject: [PATCH] 3.1.8: formatting changes. see commit notes. --- JS/restoreTabSoundButton.uc.js | 17 ++- README.md | 8 +- resources/delete-file.svg | 26 ++-- resources/generate-password.svg | 8 +- resources/in-content/devtools.css | 8 +- resources/in-content/ext-bitwarden.css | 8 +- resources/in-content/ext-containers.css | 8 +- resources/in-content/ext-darkreader.css | 8 +- resources/in-content/ext-firefoxnotes.css | 8 +- resources/in-content/ext-mdm.css | 8 +- resources/in-content/ext-nordvpn.css | 8 +- resources/in-content/ext-simpletranslate.css | 8 +- resources/in-content/ext-sortbookmarks.css | 8 +- resources/in-content/ext-tabnotes.css | 8 +- resources/in-content/ext-ublock.css | 8 +- resources/in-content/library.css | 8 +- resources/in-content/menus.css | 8 +- resources/in-content/misc-content.css | 8 +- resources/in-content/picture-in-picture.css | 8 +- resources/in-content/root.css | 8 +- resources/in-content/site-github.css | 8 +- resources/in-content/site-google.css | 8 +- resources/in-content/site-mozilla.css | 8 +- resources/in-content/site-reddit.css | 8 +- resources/in-content/site-subscene.css | 8 +- resources/in-content/site-wiki.css | 8 +- resources/in-content/site-youtube.css | 8 +- resources/in-content/system.css | 8 +- .../layout/contentaccessible/plaintext.css | 8 +- .../progress-bar-indeterminate.svg | 8 +- .../contentaccessible/progress-bar-mask.svg | 12 +- resources/layout/uc-low-globals.css | 8 +- resources/material/backspace-solid.svg | 22 ++-- resources/material/bandages.svg | 34 ++--- resources/material/empty-container.svg | 6 + resources/material/hide-controls.svg | 6 + resources/material/invert-off.svg | 24 ++-- resources/material/invert.svg | 18 ++- resources/material/midi-port.svg | 10 +- resources/material/new-address.svg | 8 +- resources/material/phishing.svg | 40 +++--- resources/material/show-controls.svg | 8 +- resources/material/textdirection.svg | 16 ++- .../material/tracking-attention-gradient.svg | 8 +- resources/material/tracking-attention.svg | 8 +- .../material/tracking-disabled-gradient.svg | 8 +- resources/material/tracking-disabled.svg | 8 +- resources/material/tracking-gradient.svg | 8 +- resources/material/tracking.svg | 8 +- resources/material/verified-update.svg | 24 ++-- resources/monotone-checkbox-checked.svg | 5 - resources/monotone-checkbox.svg | 5 - resources/skin/add-bookmark.svg | 8 +- resources/skin/add-separator.svg | 8 +- resources/skin/close-tabs-mult.svg | 28 +++-- resources/skin/close-tabs.svg | 8 +- resources/skin/close-window.svg | 22 ++-- resources/skin/duplicate-tab.svg | 20 +-- resources/skin/edit-paste-and-go.svg | 8 +- resources/skin/mark-tab-read.svg | 20 +-- resources/skin/mark-tab-unread.svg | 20 +-- resources/skin/move-tab.svg | 20 +-- resources/skin/new-private.svg | 28 +++-- resources/skin/new-unloaded.svg | 30 +++-- resources/skin/select-around.svg | 16 ++- resources/skin/select-left.svg | 8 +- resources/skin/select-right.svg | 8 +- resources/skin/share.svg | 22 ++-- resources/skin/synced-tabs.svg | 32 +++-- resources/skin/tab-play.svg | 8 +- uc-app-menu.css | 8 +- uc-bookmarks.css | 8 +- uc-context-menu-icons.css | 8 +- uc-context-menus.css | 8 +- uc-ctrl-tab.css | 8 +- uc-extensions.css | 8 +- uc-findbar.css | 119 +++++++++--------- uc-fullscreen.css | 8 +- uc-globals.css | 8 +- uc-misc.css | 8 +- uc-navbar.css | 8 +- uc-panels.css | 8 +- uc-popups.css | 8 +- uc-search-mode-icons.css | 8 +- uc-search-one-offs.css | 8 +- uc-sidebar.css | 8 +- uc-tabs-bar.css | 8 +- uc-tabs.css | 8 +- uc-urlbar-results.css | 8 +- uc-urlbar.css | 8 +- uc-variables.css | 8 +- userChrome.ag.css | 8 +- userChrome.au.css | 8 +- userChrome.css | 2 +- userContent.css | 8 +- 95 files changed, 707 insertions(+), 473 deletions(-) delete mode 100644 resources/monotone-checkbox-checked.svg delete mode 100644 resources/monotone-checkbox.svg diff --git a/JS/restoreTabSoundButton.uc.js b/JS/restoreTabSoundButton.uc.js index c184149d..65e8ac79 100644 --- a/JS/restoreTabSoundButton.uc.js +++ b/JS/restoreTabSoundButton.uc.js @@ -14,6 +14,19 @@ let uri = makeURI("data:text/css;charset=UTF=8," + encodeURIComponent(css)); if (!sss.sheetRegistered(uri, sss.AUTHOR_SHEET)) sss.loadAndRegisterSheet(uri, sss.AUTHOR_SHEET); + /* necessary DOM: + + + + + + + + + */ /** * for a given tab on which the tooltip is anchored, set the tooltip icon accordingly. * for a secure tab, use the lock icon. for an insecure tab, use the insecure icon. @@ -22,7 +35,7 @@ * @param {object} icon (the tooltip icon's DOM node) * @param {object} tab (the tab's DOM node) */ - function configureIcon(icon, tab) { + function setIdentityIcon(icon, tab) { let { linkedBrowser } = tab; let pending = tab.hasAttribute("pending") || !linkedBrowser.browsingContext; let docURI = pending @@ -182,6 +195,6 @@ title.textContent = label; let url = e.target.querySelector(".places-tooltip-uri"); url.value = tab.linkedBrowser?.currentURI?.spec.replace(/^https:\/\//, ""); - configureIcon(e.target.querySelector("#places-tooltip-insecure-icon"), tab); + setIdentityIcon(e.target.querySelector("#places-tooltip-insecure-icon"), tab); }; })(); diff --git a/README.md b/README.md index 65bf97eb..a03ba22d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ + - Attribution-NonCommercial-ShareAlike International License, v. 4.0. + - If a copy of the CC BY-NC-SA 4.0 was not distributed with this + - file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + - or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. --> # **uc.css.js**

diff --git a/resources/delete-file.svg b/resources/delete-file.svg index eb33cb56..bd6d4be8 100644 --- a/resources/delete-file.svg +++ b/resources/delete-file.svg @@ -1,10 +1,16 @@ - - - - \ No newline at end of file + + + + + + diff --git a/resources/generate-password.svg b/resources/generate-password.svg index 3c814de9..4f229af7 100644 --- a/resources/generate-password.svg +++ b/resources/generate-password.svg @@ -1,4 +1,10 @@ + + - \ No newline at end of file + diff --git a/resources/in-content/devtools.css b/resources/in-content/devtools.css index be263b09..4aadb934 100644 --- a/resources/in-content/devtools.css +++ b/resources/in-content/devtools.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* handles context menus opened in devtools processes, and a few elements like checkboxes */ diff --git a/resources/in-content/ext-bitwarden.css b/resources/in-content/ext-bitwarden.css index b7f33051..a8b7884c 100644 --- a/resources/in-content/ext-bitwarden.css +++ b/resources/in-content/ext-bitwarden.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* bitwarden. requires extensionStylesheetLoader.uc.js */ diff --git a/resources/in-content/ext-containers.css b/resources/in-content/ext-containers.css index c689a8cc..154d8bb0 100644 --- a/resources/in-content/ext-containers.css +++ b/resources/in-content/ext-containers.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* firefox multi-account containers extension */ diff --git a/resources/in-content/ext-darkreader.css b/resources/in-content/ext-darkreader.css index ec68da98..7f12cee3 100644 --- a/resources/in-content/ext-darkreader.css +++ b/resources/in-content/ext-darkreader.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* dark reader */ diff --git a/resources/in-content/ext-firefoxnotes.css b/resources/in-content/ext-firefoxnotes.css index e734eab9..bda948d7 100644 --- a/resources/in-content/ext-firefoxnotes.css +++ b/resources/in-content/ext-firefoxnotes.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* Firefox Notes */ diff --git a/resources/in-content/ext-mdm.css b/resources/in-content/ext-mdm.css index 0ef8fdc2..ccbcf43e 100644 --- a/resources/in-content/ext-mdm.css +++ b/resources/in-content/ext-mdm.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* multithreaded download manager */ diff --git a/resources/in-content/ext-nordvpn.css b/resources/in-content/ext-nordvpn.css index 03301a02..3f9d214b 100644 --- a/resources/in-content/ext-nordvpn.css +++ b/resources/in-content/ext-nordvpn.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* nord VPN extension */ diff --git a/resources/in-content/ext-simpletranslate.css b/resources/in-content/ext-simpletranslate.css index cfc7b972..b3c4e402 100644 --- a/resources/in-content/ext-simpletranslate.css +++ b/resources/in-content/ext-simpletranslate.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* simple translate extension by sienori */ diff --git a/resources/in-content/ext-sortbookmarks.css b/resources/in-content/ext-sortbookmarks.css index be4ebc97..b1de85bb 100644 --- a/resources/in-content/ext-sortbookmarks.css +++ b/resources/in-content/ext-sortbookmarks.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* popup content styles for the addon Sort Bookmarks */ diff --git a/resources/in-content/ext-tabnotes.css b/resources/in-content/ext-tabnotes.css index e1a1a4cb..34e34218 100644 --- a/resources/in-content/ext-tabnotes.css +++ b/resources/in-content/ext-tabnotes.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* this is for my custom new tab page extension, which you can download from the extensions folder in the main directory. */ diff --git a/resources/in-content/ext-ublock.css b/resources/in-content/ext-ublock.css index 3186868a..74df5227 100644 --- a/resources/in-content/ext-ublock.css +++ b/resources/in-content/ext-ublock.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* uBlock Origin dark theme */ diff --git a/resources/in-content/library.css b/resources/in-content/library.css index 4d789f32..5f1a3ed1 100644 --- a/resources/in-content/library.css +++ b/resources/in-content/library.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* for the places organizer, e.g. "Manage Bookmarks" */ diff --git a/resources/in-content/menus.css b/resources/in-content/menus.css index 2e047ed2..55c17d40 100644 --- a/resources/in-content/menus.css +++ b/resources/in-content/menus.css @@ -1,8 +1,8 @@ /* This Source Code Form is subject to the terms of the Creative Commons -* Attribution-NonCommercial-ShareAlike International License, v. 4.0. -* If a copy of the CC BY-NC-SA 4.0 was not distributed with this -* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ -* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ + * Attribution-NonCommercial-ShareAlike International License, v. 4.0. + * If a copy of the CC BY-NC-SA 4.0 was not distributed with this + * file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/ + * or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */ /* mostly handles