Bug 1569872 - Simplify the implementation of the tracking protection icon separator. r=ntim

Differential Revision: https://phabricator.services.mozilla.com/D41119

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nihanth Subramanya 2019-08-08 10:34:12 +00:00
parent bb3b1c600b
commit 308d12bacb

View File

@ -218,22 +218,10 @@
padding-inline-end: 6px;
fill-opacity: .3;
fill: currentColor;
position: relative;
}
/* Separator */
#tracking-protection-icon-container::after {
content: "";
border-right: 1px solid var(--urlbar-separator-color);
position: absolute;
right: 0;
top: 4px;
height: 21px;
}
#tracking-protection-icon-container:-moz-locale-dir(rtl)::after {
right: unset;
left: 0;
/* Separator */
border-inline-end: 1px solid var(--urlbar-separator-color);
border-image: linear-gradient(transparent 15%, var(--urlbar-separator-color) 15%, var(--urlbar-separator-color) 85%, transparent 85%);
border-image-slice: 1;
}
#urlbar[pageproxystate="valid"] > #tracking-protection-icon-container.chromeUI {