From 165251a9f5d635087dc50573e446eedf4c1d811d Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 15 Apr 2023 23:12:29 +0800 Subject: [PATCH] Fixed issues --- src/other/firefox/Monterey/parts/dialogs.css | 8 + src/other/firefox/Monterey/parts/icons.css | 53 +++++ .../firefox/WhiteSur/icons/phone-symbolic.svg | 4 + .../icons/screenshot-symbolic-light.svg | 6 + .../icons/tab-restore-symbolic-light.svg | 5 + .../WhiteSur/icons/tab-restore-symbolic.svg | 5 + .../WhiteSur/icons/url2qr-icon-light.svg | 182 ++++++++++++++++++ .../firefox/WhiteSur/icons/url2qr-icon.svg | 182 ++++++++++++++++++ src/other/firefox/WhiteSur/parts/dialogs.css | 8 + .../firefox/WhiteSur/parts/headerbar.css | 2 +- src/other/firefox/WhiteSur/parts/icons.css | 53 +++++ src/other/firefox/WhiteSur/parts/tabsbar.css | 4 + 12 files changed, 511 insertions(+), 1 deletion(-) create mode 100644 src/other/firefox/WhiteSur/icons/phone-symbolic.svg create mode 100644 src/other/firefox/WhiteSur/icons/screenshot-symbolic-light.svg create mode 100644 src/other/firefox/WhiteSur/icons/tab-restore-symbolic-light.svg create mode 100644 src/other/firefox/WhiteSur/icons/tab-restore-symbolic.svg create mode 100644 src/other/firefox/WhiteSur/icons/url2qr-icon-light.svg create mode 100644 src/other/firefox/WhiteSur/icons/url2qr-icon.svg diff --git a/src/other/firefox/Monterey/parts/dialogs.css b/src/other/firefox/Monterey/parts/dialogs.css index 735f19c..9484bea 100644 --- a/src/other/firefox/Monterey/parts/dialogs.css +++ b/src/other/firefox/Monterey/parts/dialogs.css @@ -55,6 +55,14 @@ dialog[subdialog] { padding-bottom: 0; } +#description-box { + margin: 24px 24px 0 !important; +} + +#rememberContainer { + margin: 0 24px 16px !important; +} + #titleContainer { padding: 6px !important; margin-top: 6px !important; diff --git a/src/other/firefox/Monterey/parts/icons.css b/src/other/firefox/Monterey/parts/icons.css index 0b591e2..e1b3bcf 100644 --- a/src/other/firefox/Monterey/parts/icons.css +++ b/src/other/firefox/Monterey/parts/icons.css @@ -325,6 +325,14 @@ menu[disabled] > .menu-right { list-style-image: url("../icons/view-more-horizontal-symbolic.svg") !important; } +#mozcn-mobile-bookmarks-button { + list-style-image: url("../icons/phone-symbolic.svg") !important; +} + +#bookmarks-toolbar-button, #bookmarks-toolbar-placeholder { + list-style-image: url("../icons/star-symbolic.svg") !important; +} + /* Glitch - animations (may be possible to fix in about:config) */ #reload-button, .downloadIconRetry > .button-box > .button-icon, @@ -469,6 +477,44 @@ menu[disabled] > .menu-right { list-style-image: url("../icons/screenshot-symbolic.svg") !important; } +toolbarbutton#easyscreenshot_mozillaonline_com-BAP { + --webextension-menupanel-image: url("../icons/screenshot-symbolic.svg") !important; + --webextension-menupanel-image-2x: url("../icons/screenshot-symbolic.svg") !important; + --webextension-menupanel-image-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-menupanel-image-2x-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-menupanel-image-dark: url("../icons/screenshot-symbolic.svg") !important; + --webextension-menupanel-image-2x-dark: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image-2x: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-toolbar-image-2x-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-toolbar-image-dark: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image-2x-dark: url("../icons/screenshot-symbolic.svg") !important; +} + +toolbarbutton#cpmanager_mozillaonline_com-BAP { + --webextension-menupanel-image: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-menupanel-image-2x: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-menupanel-image-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-menupanel-image-2x-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-menupanel-image-dark: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-menupanel-image-2x-dark: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image-2x: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-toolbar-image-2x-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-toolbar-image-dark: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image-2x-dark: url("../icons/tab-restore-symbolic.svg") !important; +} + +toolbar:not([brighttext]) .webextension-browser-action:-moz-lwtheme { + list-style-image: var(--webextension-toolbar-image-2x-dark, var(--gnome-toolbar-color)) !important; +} + +#mo-url2qr-icon { + list-style-image: url("../icons/url2qr-icon.svg") !important; +} + .popup-notification-icon[popupid="web-notifications"], .desktop-notification-icon { list-style-image: url("../icons/notification-symbolic.svg") !important; } @@ -649,6 +695,9 @@ treechildren::-moz-tree-image { #downloads-button .toolbarbutton-icon, #sync-button .toolbarbutton-icon, #new-window-button .toolbarbutton-icon, + #mozcn-mobile-bookmarks-button .toolbarbutton-icon, + #bookmarks-toolbar-button .toolbarbutton-icon, + #bookmarks-toolbar-placeholder .toolbarbutton-icon, #screenshot-button .toolbarbutton-icon, #tracking-protection-icon, #pageActionButton, @@ -700,6 +749,10 @@ treechildren::-moz-tree-image { list-style-image: url("../icons/save-to-pocket-open-light.svg") !important; } + #mo-url2qr-icon { + list-style-image: url("../icons/url2qr-icon-light.svg") !important; + } + /* Tree views */ treechildren::-moz-tree-twisty, .item.client .item-twisty-container { diff --git a/src/other/firefox/WhiteSur/icons/phone-symbolic.svg b/src/other/firefox/WhiteSur/icons/phone-symbolic.svg new file mode 100644 index 0000000..dc74770 --- /dev/null +++ b/src/other/firefox/WhiteSur/icons/phone-symbolic.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/other/firefox/WhiteSur/icons/screenshot-symbolic-light.svg b/src/other/firefox/WhiteSur/icons/screenshot-symbolic-light.svg new file mode 100644 index 0000000..fa6d8e8 --- /dev/null +++ b/src/other/firefox/WhiteSur/icons/screenshot-symbolic-light.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/other/firefox/WhiteSur/icons/tab-restore-symbolic-light.svg b/src/other/firefox/WhiteSur/icons/tab-restore-symbolic-light.svg new file mode 100644 index 0000000..3b3bda6 --- /dev/null +++ b/src/other/firefox/WhiteSur/icons/tab-restore-symbolic-light.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/other/firefox/WhiteSur/icons/tab-restore-symbolic.svg b/src/other/firefox/WhiteSur/icons/tab-restore-symbolic.svg new file mode 100644 index 0000000..5342d92 --- /dev/null +++ b/src/other/firefox/WhiteSur/icons/tab-restore-symbolic.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/other/firefox/WhiteSur/icons/url2qr-icon-light.svg b/src/other/firefox/WhiteSur/icons/url2qr-icon-light.svg new file mode 100644 index 0000000..0bf3009 --- /dev/null +++ b/src/other/firefox/WhiteSur/icons/url2qr-icon-light.svg @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/other/firefox/WhiteSur/icons/url2qr-icon.svg b/src/other/firefox/WhiteSur/icons/url2qr-icon.svg new file mode 100644 index 0000000..6e87af6 --- /dev/null +++ b/src/other/firefox/WhiteSur/icons/url2qr-icon.svg @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/other/firefox/WhiteSur/parts/dialogs.css b/src/other/firefox/WhiteSur/parts/dialogs.css index 735f19c..9484bea 100644 --- a/src/other/firefox/WhiteSur/parts/dialogs.css +++ b/src/other/firefox/WhiteSur/parts/dialogs.css @@ -55,6 +55,14 @@ dialog[subdialog] { padding-bottom: 0; } +#description-box { + margin: 24px 24px 0 !important; +} + +#rememberContainer { + margin: 0 24px 16px !important; +} + #titleContainer { padding: 6px !important; margin-top: 6px !important; diff --git a/src/other/firefox/WhiteSur/parts/headerbar.css b/src/other/firefox/WhiteSur/parts/headerbar.css index 09f7257..9aff8fb 100644 --- a/src/other/firefox/WhiteSur/parts/headerbar.css +++ b/src/other/firefox/WhiteSur/parts/headerbar.css @@ -65,7 +65,7 @@ toolbar .toolbaritem-combined-buttons > .toolbarbutton-1 { #nav-bar toolbarbutton:not(#urlbar-zoom-button)[disabled] { background: transparent !important; border-color: var(--gnome-button-disabled-border-color) !important; - box-shadow: var(--gnome-button-disabled-box-shadow) !important; + box-shadow: none !important; opacity: 1 !important; } diff --git a/src/other/firefox/WhiteSur/parts/icons.css b/src/other/firefox/WhiteSur/parts/icons.css index 0b591e2..e1b3bcf 100644 --- a/src/other/firefox/WhiteSur/parts/icons.css +++ b/src/other/firefox/WhiteSur/parts/icons.css @@ -325,6 +325,14 @@ menu[disabled] > .menu-right { list-style-image: url("../icons/view-more-horizontal-symbolic.svg") !important; } +#mozcn-mobile-bookmarks-button { + list-style-image: url("../icons/phone-symbolic.svg") !important; +} + +#bookmarks-toolbar-button, #bookmarks-toolbar-placeholder { + list-style-image: url("../icons/star-symbolic.svg") !important; +} + /* Glitch - animations (may be possible to fix in about:config) */ #reload-button, .downloadIconRetry > .button-box > .button-icon, @@ -469,6 +477,44 @@ menu[disabled] > .menu-right { list-style-image: url("../icons/screenshot-symbolic.svg") !important; } +toolbarbutton#easyscreenshot_mozillaonline_com-BAP { + --webextension-menupanel-image: url("../icons/screenshot-symbolic.svg") !important; + --webextension-menupanel-image-2x: url("../icons/screenshot-symbolic.svg") !important; + --webextension-menupanel-image-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-menupanel-image-2x-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-menupanel-image-dark: url("../icons/screenshot-symbolic.svg") !important; + --webextension-menupanel-image-2x-dark: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image-2x: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-toolbar-image-2x-light: url("../icons/screenshot-symbolic-light.svg") !important; + --webextension-toolbar-image-dark: url("../icons/screenshot-symbolic.svg") !important; + --webextension-toolbar-image-2x-dark: url("../icons/screenshot-symbolic.svg") !important; +} + +toolbarbutton#cpmanager_mozillaonline_com-BAP { + --webextension-menupanel-image: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-menupanel-image-2x: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-menupanel-image-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-menupanel-image-2x-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-menupanel-image-dark: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-menupanel-image-2x-dark: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image-2x: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-toolbar-image-2x-light: url("../icons/tab-restore-symbolic-light.svg") !important; + --webextension-toolbar-image-dark: url("../icons/tab-restore-symbolic.svg") !important; + --webextension-toolbar-image-2x-dark: url("../icons/tab-restore-symbolic.svg") !important; +} + +toolbar:not([brighttext]) .webextension-browser-action:-moz-lwtheme { + list-style-image: var(--webextension-toolbar-image-2x-dark, var(--gnome-toolbar-color)) !important; +} + +#mo-url2qr-icon { + list-style-image: url("../icons/url2qr-icon.svg") !important; +} + .popup-notification-icon[popupid="web-notifications"], .desktop-notification-icon { list-style-image: url("../icons/notification-symbolic.svg") !important; } @@ -649,6 +695,9 @@ treechildren::-moz-tree-image { #downloads-button .toolbarbutton-icon, #sync-button .toolbarbutton-icon, #new-window-button .toolbarbutton-icon, + #mozcn-mobile-bookmarks-button .toolbarbutton-icon, + #bookmarks-toolbar-button .toolbarbutton-icon, + #bookmarks-toolbar-placeholder .toolbarbutton-icon, #screenshot-button .toolbarbutton-icon, #tracking-protection-icon, #pageActionButton, @@ -700,6 +749,10 @@ treechildren::-moz-tree-image { list-style-image: url("../icons/save-to-pocket-open-light.svg") !important; } + #mo-url2qr-icon { + list-style-image: url("../icons/url2qr-icon-light.svg") !important; + } + /* Tree views */ treechildren::-moz-tree-twisty, .item.client .item-twisty-container { diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index 6f1082f..3f196ca 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -360,6 +360,10 @@ tab[selected]:-moz-window-inactive { height: 32px !important; } +#alltabs-button { + display: none !important; +} + /* firefox-view-button */ :root:not([privatebrowsingmode="temporary"]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs { border-inline-start: 1px solid var(--gnome-toolbar-border-color) !important;