add private browsing indicator
This commit is contained in:
parent
ff55bdc516
commit
ad9fc2f697
1 changed files with 29 additions and 1 deletions
|
@ -48,14 +48,42 @@ panel .toolbarbutton-badge
|
|||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox #fxa-toolbar-menu-button {
|
||||
margin-inline: 5px !important;
|
||||
border-radius: 99px !important;
|
||||
margin-block: -2px !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox #fxa-toolbar-menu-button > :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack)
|
||||
{
|
||||
width: 30px !important;
|
||||
height: 30px !important;
|
||||
}
|
||||
|
||||
#navigator-toolbox #fxa-toolbar-menu-button > :-moz-any(.toolbarbutton-icon, .toolbarbutton-badge-stack)
|
||||
{
|
||||
padding: 3px !important;
|
||||
background: 0 !important;
|
||||
}
|
||||
|
||||
#fxa-avatar-image {
|
||||
width: 24px !important;
|
||||
height: 24px !important;
|
||||
}
|
||||
|
||||
/* show "Private" label for en languages only */
|
||||
:root[titlemodifier="(Private Browsing)"] #fxa-toolbar-menu-button::before
|
||||
:root[privatebrowsingmode] #fxa-toolbar-menu-button::before
|
||||
{
|
||||
content: "Private" !important;
|
||||
display: -moz-box !important;
|
||||
margin-inline-start: 12px !important;
|
||||
margin-inline-end: 6px !important;
|
||||
}
|
||||
:root[privatebrowsingmode] #navigator-toolbox #fxa-toolbar-menu-button {
|
||||
background-color: var(--private-browinging-indicator) !important;
|
||||
color: white !important;
|
||||
margin-inline: 0 !important;
|
||||
}
|
||||
|
||||
#nav-bar-customization-target
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue