mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-09 04:05:29 +02:00
Add option to hide tracking protection icon in URL bar
This commit is contained in:
parent
6d458d3b16
commit
110d4e10bb
2 changed files with 17 additions and 0 deletions
|
@ -16,6 +16,10 @@
|
|||
--urlbarView-highlight-background: var(--toolbarbutton-hover-background);
|
||||
border-radius: var(--toolbarbutton-border-radius);
|
||||
padding: 1px;
|
||||
|
||||
:root:not([zen-single-toolbar='true']) &[zen-floating-urlbar='true'] {
|
||||
--urlbar-container-padding: 2px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.urlbar-input::placeholder {
|
||||
|
@ -90,6 +94,12 @@
|
|||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
margin: 0;
|
||||
|
||||
:root[zen-single-toolbar='true'] & {
|
||||
padding: 6px !important;
|
||||
width: unset !important;
|
||||
height: unset !important;
|
||||
}
|
||||
}
|
||||
|
||||
#tracking-protection-icon-container {
|
||||
|
@ -454,6 +464,12 @@ button.popup-notification-dropmarker {
|
|||
}
|
||||
}
|
||||
|
||||
@media not (-moz-bool-pref: 'zen.urlbar.show-protections-icon') {
|
||||
#tracking-protection-icon-container {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code ~~stolen~~ taken inspiration from https://github.com/greeeen-dev/zen-arc-cmd-bar
|
||||
*
|
||||
* MIT License
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue