better handling for sync button and the zoom item top separator
This commit is contained in:
parent
945a25afd7
commit
de2721e158
1 changed files with 20 additions and 2 deletions
|
@ -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; }
|
||||
/* 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;
|
||||
}
|
Loading…
Reference in a new issue