mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2025-12-06 02:30:54 -08:00
Merge branch 'master' into dev
This commit is contained in:
commit
f7af979911
14 changed files with 65 additions and 25 deletions
22
README.org
22
README.org
|
|
@ -12,9 +12,18 @@
|
|||
- [[#why-proton][WHY Proton?]]
|
||||
- [[#why-not-proton][WHY Not Proton?]]
|
||||
- [[#padding-comparisons][Padding Comparisons]]
|
||||
- [[#contributors][Contributors]]
|
||||
- [[#faq][FAQ]]
|
||||
:END:
|
||||
|
||||
-----
|
||||
|
||||
🔔🔔 A project redesign is in progress. #351
|
||||
|
||||
It's built with SCSS and all configured as options. \\
|
||||
It's in beta testing, and I'am looking forward to hearing from you.
|
||||
|
||||
-----
|
||||
|
||||
** Introduction
|
||||
[[https://wiki.mozilla.org/Firefox/Proton][Proton]] is Firefox's new design, starting from Firefox 89. \\
|
||||
|
|
@ -31,6 +40,8 @@
|
|||
|
||||
(Lepton's design :arrow_up:)
|
||||
|
||||
@@html:<details>@@@@html:<summary>@@ *Feature List (Click)* @@html:</summary>@@
|
||||
|
||||
- *Color*
|
||||
- Default light/dark theme contrast enhancement
|
||||
- Colorful context menu
|
||||
|
|
@ -92,6 +103,8 @@
|
|||
- Activate calculator at address bar
|
||||
- Mouse pointer for each context
|
||||
|
||||
@@html:</details>@@
|
||||
|
||||
** Installation Guide
|
||||
|
||||
*Script Installation (experimental)*
|
||||
|
|
@ -164,6 +177,15 @@
|
|||
- Proton
|
||||
- Lepton
|
||||
|
||||
|
||||
** Contributors
|
||||
|
||||
Thanks to all contributors to this project for providing help and developing features!
|
||||
|
||||
[[https://github.com/black7375/Firefox-UI-Fix/graphs/contributors][@@html:<img src="https://contrib.rocks/image?repo=black7375/Firefox-UI-Fix"/>@@]]
|
||||
|
||||
A list of all contributors can be found in [[./CREDITS][CREDITS]].
|
||||
|
||||
** FAQ
|
||||
|
||||
- *Black pixels around the selected tab bottom corners* \\
|
||||
|
|
|
|||
2
icons/blank.svg
Normal file
2
icons/blank.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 91 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
6
icons/undo.svg
Normal file
6
icons/undo.svg
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path fill="context-fill" d="M16,11 C16,11.5522847 15.5522847,12 15,12 C14.4477153,12 14,11.5522847 14,11 C14,8.23857625 11.7614237,6 9,6 C6.94968096,6 5.18760031,7.23409522 4.41604369,9 L7.0043326,9 C7.55661734,9 8.0043326,9.44771525 8.0043326,10 C8.0043326,10.5522847 7.55661734,11 7.0043326,11 L2,11 C1.44771525,11 1,10.5522847 1,10 L1,5 C1,4.44771525 1.44771525,4 2,4 C2.55228475,4 3,4.44771525 3,5 L3,7.39241339 C4.22489715,5.35958217 6.45367486,4 9,4 C12.8659932,4 16,7.13400675 16,11 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 801 B |
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
/*= menu_EditPopup ===========================================================*/
|
||||
#menu_undo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
#menu_redo {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
|
||||
#orgUndo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
#orgRedo {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ panelMenuBookmarkThisPage[starred] {
|
|||
|
||||
/*= Tabbar - All Tab Menu ====================================================*/
|
||||
#allTabsMenu-undoCloseTab {
|
||||
list-style-image: url("chrome://global/skin/icons/undo.svg");
|
||||
list-style-image: url("./icons/undo.svg");
|
||||
}
|
||||
#allTabsMenu-searchTabs {
|
||||
list-style-image: url("chrome://global/skin/icons/search-glass.svg");
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
}
|
||||
|
||||
menuitem.privatetab-icon {
|
||||
--menuitem-image: url("./icons/priavate-favicon.svg");
|
||||
--menuitem-image: url("./icons/private-favicon.svg");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
--menuitem-image: url("./icons/book-add.svg");
|
||||
}
|
||||
#spell-undo-add-to-dictionary {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#context-openlinkincurrent {
|
||||
|
|
@ -167,7 +167,7 @@
|
|||
}
|
||||
|
||||
#context-undo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
#context-redo {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
|
||||
/*= SyncedTabsSidebarTabsFilterContext =======================================*/
|
||||
#SyncedTabsSidebarTabsFilterContext > menuitem[cmd="cmd_undo"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
#SyncedTabsSidebarTabsFilterContext > menuitem[cmd="cmd_cut"] {
|
||||
--menuitem-image: url("chrome://browser/skin/edit-cut.svg");
|
||||
|
|
@ -157,7 +157,7 @@
|
|||
|
||||
/*= urlbar-input-container ===================================================*/
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_undo"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_redo"] {
|
||||
}
|
||||
|
|
@ -183,7 +183,7 @@
|
|||
/*= textbox-contextmenu ======================================================*/
|
||||
/* Browser's Searchbar, Libray's Searchbar, Page Info */
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-undo"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-redo"] {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,10 +57,15 @@
|
|||
#context_closeTabOptions {
|
||||
}
|
||||
#context_undoCloseTab {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
/*= new-tab-button-popup =====================================================*/
|
||||
#new-tab-button-popup > menuitem[command="Browser:NewUserContextTab"],
|
||||
.new-tab-popup > menuitem[command="Browser:NewUserContextTab"] {
|
||||
--menuitem-image: url("./icons/container-openin-16.svg");
|
||||
}
|
||||
|
||||
#new-tab-button-popup > menuitem[command="Browser:OpenAboutContainers"],
|
||||
.new-tab-popup > menuitem[command="Browser:OpenAboutContainers"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
|
|
@ -102,7 +107,7 @@
|
|||
--menuitem-image: url("./icons/tab-multiple.svg");
|
||||
}
|
||||
#toolbar-context-undoCloseTab {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#toggle_toolbar-menubar {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
|
|||
:not(menu, #ContentSelectDropdown)
|
||||
> menupopup
|
||||
> menu:not(.menu-iconic, [type="checkbox"], [checked="true"], .in-menulist) {
|
||||
list-style-image: var(--menuitem-image) !important;
|
||||
list-style-image: var(--menuitem-image, url("./icons/blank.svg")) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5783,7 +5783,7 @@
|
|||
|
||||
/*= Tabbar - All Tab Menu ====================================================*/
|
||||
#allTabsMenu-undoCloseTab {
|
||||
list-style-image: url("chrome://global/skin/icons/undo.svg");
|
||||
list-style-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#allTabsMenu-searchTabs {
|
||||
|
|
@ -5927,7 +5927,7 @@
|
|||
:not(menu, #ContentSelectDropdown)
|
||||
> menupopup
|
||||
> menu:not(.menu-iconic, [type="checkbox"], [checked="true"], .in-menulist) {
|
||||
list-style-image: var(--menuitem-image) !important;
|
||||
list-style-image: var(--menuitem-image, url("./icons/blank.svg")) !important;
|
||||
}
|
||||
}
|
||||
/* Padding */
|
||||
|
|
@ -6267,10 +6267,15 @@
|
|||
}
|
||||
|
||||
#context_undoCloseTab {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
/*= new-tab-button-popup =====================================================*/
|
||||
#new-tab-button-popup > menuitem[command="Browser:NewUserContextTab"],
|
||||
.new-tab-popup > menuitem[command="Browser:NewUserContextTab"] {
|
||||
--menuitem-image: url("./icons/container-openin-16.svg");
|
||||
}
|
||||
|
||||
#new-tab-button-popup > menuitem[command="Browser:OpenAboutContainers"],
|
||||
.new-tab-popup > menuitem[command="Browser:OpenAboutContainers"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
|
||||
|
|
@ -6320,7 +6325,7 @@
|
|||
}
|
||||
|
||||
#toolbar-context-undoCloseTab {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#toggle_toolbar-menubar {
|
||||
|
|
@ -6361,7 +6366,7 @@
|
|||
}
|
||||
|
||||
#spell-undo-add-to-dictionary {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#context-openlinkincurrent {
|
||||
|
|
@ -6547,7 +6552,7 @@
|
|||
}
|
||||
|
||||
#context-undo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#context-cut {
|
||||
|
|
@ -6899,7 +6904,7 @@
|
|||
|
||||
/*= SyncedTabsSidebarTabsFilterContext =======================================*/
|
||||
#SyncedTabsSidebarTabsFilterContext > menuitem[cmd="cmd_undo"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#SyncedTabsSidebarTabsFilterContext > menuitem[cmd="cmd_cut"] {
|
||||
|
|
@ -6928,7 +6933,7 @@
|
|||
|
||||
/*= urlbar-input-container ===================================================*/
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_undo"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#urlbar-input-container .textbox-contextmenu menuitem[cmd="cmd_cut"] {
|
||||
|
|
@ -6954,7 +6959,7 @@
|
|||
/*= textbox-contextmenu ======================================================*/
|
||||
/* Browser's Searchbar, Libray's Searchbar, Page Info */
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-undo"] {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
.textbox-contextmenu > menuitem[data-l10n-id="text-action-cut"] {
|
||||
|
|
@ -7094,7 +7099,7 @@
|
|||
|
||||
/*= menu_EditPopup ===========================================================*/
|
||||
#menu_undo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#menu_cut {
|
||||
|
|
@ -7331,7 +7336,7 @@
|
|||
}
|
||||
|
||||
#orgUndo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#orgCut {
|
||||
|
|
@ -7397,7 +7402,7 @@
|
|||
}
|
||||
|
||||
menuitem.privatetab-icon {
|
||||
--menuitem-image: url("./icons/priavate-favicon.svg");
|
||||
--menuitem-image: url("./icons/private-favicon.svg");
|
||||
}
|
||||
}
|
||||
@supports -moz-bool-pref("userChrome.theme.fully_color") {
|
||||
|
|
|
|||
|
|
@ -2258,7 +2258,7 @@
|
|||
}
|
||||
|
||||
#orgUndo {
|
||||
--menuitem-image: url("chrome://global/skin/icons/undo.svg");
|
||||
--menuitem-image: url("./icons/undo.svg");
|
||||
}
|
||||
|
||||
#orgCut {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue