From 95d822ff8adbf5ae14d398a75ee01b01be46b216 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Thu, 8 Jul 2021 10:10:31 +0900 Subject: [PATCH 1/4] Fix: Bookmark Toolbar - icon --- userChrome.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/userChrome.css b/userChrome.css index 3ef478e..4cb5337 100644 --- a/userChrome.css +++ b/userChrome.css @@ -334,10 +334,10 @@ /* Remove line at Toolbar's top */ #tabbrowser-tabs { - z-index: 1 !important; + z-index: 1 !important; } #tabbrowser-arrowscrollbox[overflowing] .tabbrowser-tab[pinned]:is([visuallyselected], [multiselected]) { - overflow: hidden; + overflow: hidden; } /** Selected Tab - Color like toolbar ***************************************/ @@ -1610,6 +1610,10 @@ --menuitem-image: url(chrome://browser/skin/bookmark-star-on-tray.svg); } + menupopup[context="placesContext"] > .openintabs-menuitem { + --menuitem-image: url(./icons/movetowindow-16.svg); + } + /*= pageActionContextMenu ==================================================*/ .pageActionContextMenuItem.extensionPinned.extensionUnpinned.manageExtensionItem { --menuitem-image: url(chrome://global/skin/icons/settings.svg); From 67c48922fe866dacc289eff950bda4644afa6654 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Sun, 11 Jul 2021 22:37:14 +0900 Subject: [PATCH 2/4] Add: Removed resources at @mozilla nightly https://github.com/mozilla/gecko-dev/commit/201dd0ca8319e6322fb5861b2de5042a9fb7c643 --- icons/blue-berror.svg | 83 ++++++++++++++++++++++++++++++ icons/error-connection-failure.svg | 49 ++++++++++++++++++ icons/error-server-not-found.svg | 60 +++++++++++++++++++++ icons/error-session-restore.svg | 68 ++++++++++++++++++++++++ icons/identity-icons-brand.svg | 3 ++ icons/quit.svg | 6 +++ icons/restore-session.svg | 6 +++ icons/send-to-device.svg | 7 +++ icons/share.svg | 10 ++-- icons/sign-out.svg | 4 ++ icons/welcome-back.svg | 13 +++++ 11 files changed, 306 insertions(+), 3 deletions(-) create mode 100644 icons/blue-berror.svg create mode 100644 icons/error-connection-failure.svg create mode 100644 icons/error-server-not-found.svg create mode 100644 icons/error-session-restore.svg create mode 100644 icons/identity-icons-brand.svg create mode 100644 icons/quit.svg create mode 100644 icons/restore-session.svg create mode 100644 icons/send-to-device.svg create mode 100644 icons/sign-out.svg create mode 100644 icons/welcome-back.svg diff --git a/icons/blue-berror.svg b/icons/blue-berror.svg new file mode 100644 index 0000000..8c3c8b4 --- /dev/null +++ b/icons/blue-berror.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icons/error-connection-failure.svg b/icons/error-connection-failure.svg new file mode 100644 index 0000000..f4725c6 --- /dev/null +++ b/icons/error-connection-failure.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icons/error-server-not-found.svg b/icons/error-server-not-found.svg new file mode 100644 index 0000000..0f13286 --- /dev/null +++ b/icons/error-server-not-found.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icons/error-session-restore.svg b/icons/error-session-restore.svg new file mode 100644 index 0000000..2cbe12f --- /dev/null +++ b/icons/error-session-restore.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/icons/identity-icons-brand.svg b/icons/identity-icons-brand.svg new file mode 100644 index 0000000..9beb35f --- /dev/null +++ b/icons/identity-icons-brand.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/quit.svg b/icons/quit.svg new file mode 100644 index 0000000..6478b62 --- /dev/null +++ b/icons/quit.svg @@ -0,0 +1,6 @@ + + + + diff --git a/icons/restore-session.svg b/icons/restore-session.svg new file mode 100644 index 0000000..08e2b4e --- /dev/null +++ b/icons/restore-session.svg @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/icons/send-to-device.svg b/icons/send-to-device.svg new file mode 100644 index 0000000..cef1604 --- /dev/null +++ b/icons/send-to-device.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/icons/share.svg b/icons/share.svg index ac26e5d..a143388 100644 --- a/icons/share.svg +++ b/icons/share.svg @@ -1,3 +1,7 @@ - - - + + + + + \ No newline at end of file diff --git a/icons/sign-out.svg b/icons/sign-out.svg new file mode 100644 index 0000000..2e1bcab --- /dev/null +++ b/icons/sign-out.svg @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/icons/welcome-back.svg b/icons/welcome-back.svg new file mode 100644 index 0000000..70f9731 --- /dev/null +++ b/icons/welcome-back.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + From 9450c781e9fe7460541ecdb1d103217f0b8d9a37 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 12 Jul 2021 09:06:33 +0900 Subject: [PATCH 3/4] Fix: Replace icons url --- userChrome.css | 18 +++++++++--------- userContent.css | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/userChrome.css b/userChrome.css index 4cb5337..6cc713a 100644 --- a/userChrome.css +++ b/userChrome.css @@ -843,7 +843,7 @@ } #appMenu-quit-button2 { - list-style-image: url(chrome://browser/skin/quit.svg); + list-style-image: url(./icons/quit.svg); } /*= Panel - Account ========================================================*/ @@ -872,14 +872,14 @@ list-style-image: url(chrome://browser/skin/fxa/add-device.svg); } #PanelUI-fxa-menu-sendtab-button { - list-style-image: url(chrome://browser/skin/send-to-device.svg); + list-style-image: url(./icons/send-to-device.svg); } #PanelUI-fxa-menu-sync-prefs-button, #PanelUI-remotetabs-view-managedevices { list-style-image: url(chrome://global/skin/icons/settings.svg); } #PanelUI-fxa-menu-account-signout-button { - list-style-image: url(chrome://browser/skin/sign-out.svg); + list-style-image: url(./icons/sign-out.svg); } .PanelUI-remotetabs-notabsforclient-label { @@ -902,7 +902,7 @@ display: none; } .pageAction-sendToDevice-device.subviewbutton.sync-menuitem.sendtab-target[clientType=""] { - list-style-image: url(chrome://browser/skin/send-to-device.svg); + list-style-image: url(./icons/send-to-device.svg); } .pageAction-sendToDevice-device.subviewbutton.sync-menuitem.sendtab-target:not([clientType]) { list-style-image: url(chrome://global/skin/icons/settings.svg); @@ -935,7 +935,7 @@ list-style-image: url(chrome://browser/skin/window.svg); } #appMenuRestoreSession { - list-style-image: url(chrome://browser/skin/restore-session.svg); + list-style-image: url(./icons/restore-session.svg); } #appMenuClearRecentHistory { list-style-image: url(chrome://browser/skin/forget.svg); @@ -949,7 +949,7 @@ list-style-image: url(./icons/movetowindow-16.svg); } #appMenu-library-recentlyClosedWindows { - list-style-image: url(chrome://browser/skin/restore-session.svg); + list-style-image: url(./icons/restore-session.svg); } /*= Panel - More tools =====================================================*/ @@ -1184,7 +1184,7 @@ --menuitem-image: url(./icons/arrow-swap.svg); } #context_sendTabToDevice { - --menuitem-image: url(chrome://browser/skin/send-to-device.svg); + --menuitem-image: url(./icons/send-to-device.svg); } #context_shareTabURL { /* At windows */ --menuitem-image: url(./icons/share.svg); @@ -1336,7 +1336,7 @@ --menuitem-image: url(chrome://browser/skin/link.svg); } #context-sendlinktodevice { - --menuitem-image: url(chrome://browser/skin/send-to-device.svg); + --menuitem-image: url(./icons/send-to-device.svg); } #context-media-play { @@ -1431,7 +1431,7 @@ --menuitem-image: url(chrome://browser/skin/pocket-outline.svg); } #context-sendpagetodevice { - --menuitem-image: url(chrome://browser/skin/send-to-device.svg); + --menuitem-image: url(./icons/send-to-device.svg); } #fill-login { --menuitem-image: url(./icons/password.svg); diff --git a/userContent.css b/userContent.css index a759b2c..a3a5e0b 100644 --- a/userContent.css +++ b/userContent.css @@ -57,12 +57,12 @@ url-prefix("about:neterror?e=netOffline"), url("about:restartrequired"), url("chrome://browser/content/aboutRestartRequired.xhtml") { #errorPageContainer { - background-image: url("chrome://browser/skin/illustrations/error-connection-failure.svg"); + background-image: url("./icons/error-connection-failure.svg"); } } @-moz-document url-prefix("about:neterror?e=dnsNotFound") { #errorPageContainer { - background-image: url("chrome://browser/skin/illustrations/error-server-not-found.svg"); + background-image: url("./icons/error-server-not-found.svg"); } } @-moz-document url-prefix("about:neterror?e=malformedURI") { @@ -73,14 +73,14 @@ @-moz-document url-prefix("about:neterror?e=clockSkewError"), url-prefix("about:neterror?e=nssFailure") { #errorPageContainer { - background-image: url("chrome://browser/skin/illustrations/blue-berror.svg"); + background-image: url("./icons/blue-berror.svg"); background-size: 18.5em; } } @-moz-document url("about:sessionrestore"), url(chrome://browser/content/aboutSessionRestore.xhtml) { .description-wrapper { - background-image: url("chrome://browser/skin/illustrations/error-session-restore.svg"); + background-image: url("./icons/error-session-restore.svg"); } } @@ -113,7 +113,7 @@ @-moz-document url("about:welcomeBack"), url("chrome://browser/content/aboutWelcomeBack.xhtml") { @media (min-width: 970px) { .title { - background-image: url("chrome://browser/skin/welcome-back.svg") !important; + background-image: url("./icons/welcome-back.svg") !important; } } } From 67506808d0f34c904b255ac84b115235bf94c507 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 13 Jul 2021 09:56:46 +0900 Subject: [PATCH 4/4] Fix: Unselected Tab - Divide line show at movingtab #121 --- userChrome.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/userChrome.css b/userChrome.css index 6cc713a..c75288d 100644 --- a/userChrome.css +++ b/userChrome.css @@ -452,11 +452,11 @@ position: absolute; } - .tabbrowser-tab:is([visuallyselected], [multiselected], :hover) + .tabbrowser-tab .tab-background::before, - .tabbrowser-tab:is([visuallyselected], [multiselected], :hover) ~ .tabbrowser-tab[afterhovered] .tab-background::before, - .tabbrowser-tab[last-visible-tab]:is([visuallyselected], [multiselected], :hover) ~ #tabs-newtab-button::before, - .tabbrowser-tab[first-visible-unpinned-tab]:is([visuallyselected], [multiselected], :hover) .tab-background::before, - #tabbrowser-arrowscrollbox[overflowing] tab.tabbrowser-tab[first-visible-unpinned-tab] .tab-background::before { + #navigator-toolbox:not([movingtab]) .tabbrowser-tab:is([visuallyselected], [multiselected], :hover) + .tabbrowser-tab .tab-background::before, + #navigator-toolbox:not([movingtab]) .tabbrowser-tab:is([visuallyselected], [multiselected], :hover) ~ .tabbrowser-tab[afterhovered] .tab-background::before, + #navigator-toolbox:not([movingtab]) .tabbrowser-tab[last-visible-tab]:is([visuallyselected], [multiselected], :hover) ~ #tabs-newtab-button::before, + #navigator-toolbox:not([movingtab]) .tabbrowser-tab[first-visible-unpinned-tab]:is([visuallyselected], [multiselected], :hover) .tab-background::before, + #navigator-toolbox:not([movingtab]) #tabbrowser-arrowscrollbox[overflowing] tab.tabbrowser-tab[first-visible-unpinned-tab] .tab-background::before { opacity: 0 !important; }