From de2721e158f3e1765d3a624d7e4095a06ce7f134 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Thu, 13 May 2021 11:12:48 +0300 Subject: [PATCH] better handling for sync button and the zoom item top separator --- chrome/iconized_main_menu.css | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/chrome/iconized_main_menu.css b/chrome/iconized_main_menu.css index 71e3fee..1c64e64 100644 --- a/chrome/iconized_main_menu.css +++ b/chrome/iconized_main_menu.css @@ -2,7 +2,7 @@ See the above repository for updates as well as full license text. */ /* Adds icons to main menu items which were removed in Proton */ - +#appMenu-fxa-status2[fxastatus] > toolbarbutton::before, #appMenu-protonMainView > .panel-subview-body > toolbarbutton > image{ fill: currentColor; -moz-context-properties: fill; @@ -24,4 +24,22 @@ See the above repository for updates as well as full license text. */ #appMenu-help-button2{ list-style-image: url(chrome://global/skin/icons/info.svg) } #appMenu-quit-button2{ list-style-image: url(chrome://browser/skin/quit.svg) } -#appMenu-zoom-controls2{ border-top: 1px solid var(--panel-separator-color) !important; } \ No newline at end of file +/* Use account-button icon for signed in sync item */ +#appMenu-fxa-status2[fxastatus] > toolbarbutton::before{ + display: -moz-box; + content: ""; + width: 16px; + height: 16px; + background-image: var(--avatar-image-url) +} +/* Add somewhat hacky separator to zoom controls so it looks consistent */ +#appMenu-protonMainView > .panel-subview-body::after{ + content: ""; + display: -moz-box; + border-bottom: 1px solid var(--panel-separator-color); + margin: var(--panel-separator-margin); +} + +#appMenu-find-button2 ~ *{ + -moz-box-ordinal-group: 2; +} \ No newline at end of file