From 5073d0272823ae9bc91bb3aa815f7570de7a791b Mon Sep 17 00:00:00 2001 From: MS_Y Date: Mon, 10 May 2021 06:30:41 +0000 Subject: [PATCH 1/7] Doc: update screenshot --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 22890de..58ce0ac 100644 --- a/README.org +++ b/README.org @@ -5,7 +5,7 @@ | *Wiki* | | | [[https://github.com/black7375/Firefox-UI-Fix/wiki/Screenshots][Screenshots]] | [[https://github.com/black7375/Firefox-UI-Fix/wiki/Compatibility-Issues-Solution][Compatibility Issues Solution]] | - [[https://user-images.githubusercontent.com/25581533/117531080-49bb4480-afd0-11eb-8b6a-f04559ed2ab7.png]] + [[https://user-images.githubusercontent.com/25581533/117615662-8d8d8580-b159-11eb-8b92-7d249e31d8f3.png]] (Fixed proton design) From 7594b6f0845d460fbec9e873fde114cad61aaee0 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 10 May 2021 16:07:34 +0900 Subject: [PATCH 2/7] Fix: make to important --- userChrome.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/userChrome.css b/userChrome.css index 4a300b8..61f6023 100644 --- a/userChrome.css +++ b/userChrome.css @@ -38,10 +38,10 @@ /** Tab Bar - Reduce Width, Show more tabs **********************************/ .titlebar-spacer[type="pre-tabs"] { - width: 30px; /* Original: 40px */ + width: 30px !important; /* Original: 40px */ } .titlebar-spacer[type="post-tabs"] { - width: 25px; /* Original: 40px */ + width: 25px !important; /* Original: 40px */ } :root { @@ -52,11 +52,11 @@ #new-tab-button > .toolbarbutton-icon, #alltabs-button > .toolbarbutton-badge-stack { /* Original: calc(2 * var(--toolbarbutton-inner-padding) + 16px) */ - width: calc(2 * var(--newtab-button-width-padding) + 16px); + width: calc(2 * var(--newtab-button-width-padding) + 16px) !important; /* Original: --toolbarbutton-inner-padding */ - padding-left: var(--newtab-button-width-padding); - padding-right: var(--newtab-button-width-padding); + padding-left: var(--newtab-button-width-padding) !important; + padding-right: var(--newtab-button-width-padding) !important; } :root[uidensity=compact] #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs]) > #tabbrowser-arrowscrollbox > .tabbrowser-tab[first-visible-unpinned-tab] { @@ -66,8 +66,8 @@ :root:not([uidensity=touch]) #tabbrowser-arrowscrollbox::part(scrollbutton-up ), :root:not([uidensity=touch]) #tabbrowser-arrowscrollbox::part(scrollbutton-down) { /* Original: 4px */ - padding-left: 1px; - padding-right: 1px; + padding-left: 1px !important; + padding-right: 1px !important; } :root:not([uidensity=touch]) #new-tab-button, #alltabs-button { From 4793aaf7429d5dd34b724118a5bd124097209774 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 11 May 2021 09:14:41 +0900 Subject: [PATCH 3/7] Fix: Default new tab button size to original --- userChrome.css | 1 - 1 file changed, 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index 61f6023..a0a7c83 100644 --- a/userChrome.css +++ b/userChrome.css @@ -48,7 +48,6 @@ --newtab-button-minus-width-padding: 2px; --newtab-button-width-padding: calc(var(--toolbarbutton-inner-padding) - var(--newtab-button-minus-width-padding)); } - #tabs-newtab-button > .toolbarbutton-icon, #new-tab-button > .toolbarbutton-icon, #alltabs-button > .toolbarbutton-badge-stack { /* Original: calc(2 * var(--toolbarbutton-inner-padding) + 16px) */ From dac560e9265257b3a39bab42290d08e1bae95ca3 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 12 May 2021 10:09:57 +0900 Subject: [PATCH 4/7] Fix: Send icon replace from https://www.svgrepo.com/svg/90183/send --- icons/send.svg | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/icons/send.svg b/icons/send.svg index a7720fb..ac388eb 100644 --- a/icons/send.svg +++ b/icons/send.svg @@ -1,20 +1,15 @@ - - - - - - + + + + + + From 251cb9d82cae5ea18da4665787df242cb6072440 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 12 May 2021 10:10:54 +0900 Subject: [PATCH 5/7] Add: Icons from @mozilla 's gecko-dev --- icons/command-responsivemode.svg | 8 ++++++++ icons/performance.svg | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 icons/command-responsivemode.svg create mode 100644 icons/performance.svg diff --git a/icons/command-responsivemode.svg b/icons/command-responsivemode.svg new file mode 100644 index 0000000..012e79c --- /dev/null +++ b/icons/command-responsivemode.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/icons/performance.svg b/icons/performance.svg new file mode 100644 index 0000000..00e4cb1 --- /dev/null +++ b/icons/performance.svg @@ -0,0 +1,7 @@ + + + + + From 7e1fff73dfac7c20c2e75bab6f3163f7250392e5 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 12 May 2021 10:19:17 +0900 Subject: [PATCH 6/7] Fix: Icons to show --- icons/command-frames.svg | 3 +-- icons/command-responsivemode.svg | 5 ++--- icons/performance.svg | 6 +++--- icons/send.svg | 6 +++--- userChrome.css | 6 +++--- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/icons/command-frames.svg b/icons/command-frames.svg index f075691..ceae757 100644 --- a/icons/command-frames.svg +++ b/icons/command-frames.svg @@ -2,6 +2,5 @@ - 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/. --> - - + diff --git a/icons/command-responsivemode.svg b/icons/command-responsivemode.svg index 012e79c..66a4818 100644 --- a/icons/command-responsivemode.svg +++ b/icons/command-responsivemode.svg @@ -2,7 +2,6 @@ - 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/. --> - - - + + diff --git a/icons/performance.svg b/icons/performance.svg index 00e4cb1..b5b4a79 100644 --- a/icons/performance.svg +++ b/icons/performance.svg @@ -1,7 +1,7 @@ - - - + + + diff --git a/icons/send.svg b/icons/send.svg index ac388eb..573ed55 100644 --- a/icons/send.svg +++ b/icons/send.svg @@ -2,11 +2,11 @@ + width="16" height="16" viewBox="0 0 495.003 495.003" style="enable-background:new 0 0 495.003 495.003;" xml:space="preserve"> - - diff --git a/userChrome.css b/userChrome.css index a0a7c83..c567ab0 100644 --- a/userChrome.css +++ b/userChrome.css @@ -400,7 +400,7 @@ list-style-image: url(chrome://browser/skin/developer.svg); } #appmenu-developer-tools-view .subviewbutton:nth-child(2) { /* Task Manager */ - list-style-image: url(chrome://global/skin/icons/performance.svg); + list-style-image: url(./icons/performance.svg); } #appmenu-developer-tools-view .subviewbutton:nth-child(3) { /* Remote Debugging - Edge bug.svg */ list-style-image: url(./icons/bug.svg); @@ -409,13 +409,13 @@ list-style-image: url(./icons/webdeveloper.svg); } #appmenu-developer-tools-view .subviewbutton:nth-child(5) { /* Browser Content Toolbaox - */ - list-style-image: url(chrome://devtools/skin/images/command-frames.svg); + list-style-image: url(./icons/command-frames.svg); } #appmenu-developer-tools-view .subviewbutton:nth-child(6) { /* Browser Console */ list-style-image: url(chrome://devtools/skin/images/command-console.svg); } #appmenu-developer-tools-view .subviewbutton:nth-child(7) { /* Responsive Design Mode */ - list-style-image: url(chrome://devtools/skin/images/command-responsivemode.svg); + list-style-image: url(./icons/command-responsivemode.svg); } #appmenu-developer-tools-view .subviewbutton:nth-child(8) { /* Eyedropper */ list-style-image: url(chrome://devtools/skin/images/command-eyedropper.svg); From e23f0d75932219535bf34e5ee6877f871f0165b3 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 12 May 2021 10:37:35 +0900 Subject: [PATCH 7/7] Fix: Unsigned fxa icon --- userChrome.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index c567ab0..f94b88a 100644 --- a/userChrome.css +++ b/userChrome.css @@ -275,6 +275,9 @@ padding-top: var(--arowpanel-menuitemblank-padding) !important; padding-bottom: var(--arowpanel-menuitemblank-padding) !important; } + #appMenu-fxa-status2::before { + margin-top: var(--arowpanel-menuitemblank-padding); + } /* Icons Color */ #appMenu-multiView .subviewbutton::before, @@ -295,7 +298,7 @@ #appMenu-fxa-status2[fxastatus=signedin]::before { /* Don't exist img tag */ display: none; } - #appMenu-fxa-label2::before { + #appMenu-fxa-status2[fxastatus=signedin] #appMenu-fxa-label2::before { /* url("https://profile.accounts.firefox.com/v1/avatar/a") */ content: ''; background-image: var(--avatar-image-url) !important;