[Pale-Moon] Issue #1717 - Add distinct mixed-mode indicator and logic for display.

This commit is contained in:
Moonchild 2020-09-10 21:29:39 +00:00 • committed by roytam1
commit 08809c7f12
10 changed files with 91 additions and 15 deletions

View file

@ -1055,6 +1055,15 @@ toolbar[iconsize="small"] #webrtc-status-button {
background-repeat: no-repeat;
}
#urlbar[pageproxystate="valid"] > #identity-box.mixedContent {
color: rgb(79,79,0);
margin-inline-end: 4px;
background-image: linear-gradient(rgba(245,245,220,1),
rgba(242,242,207,1));
background-position: right;
background-repeat: no-repeat;
}
#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
background-position: left;
}

View file

@ -1073,6 +1073,17 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
background-repeat: no-repeat;
}
#urlbar[pageproxystate="valid"] > #identity-box.mixedContent {
color: rgb(79,79,0);
margin-inline-end: 4px;
background-image: -moz-linear-gradient(rgba(79,79,0,0),
rgba(79,79,0,.08) 25%,
rgba(79,79,0,.08) 75%,
rgba(79,79,0,0));
background-position: right;
background-repeat: no-repeat;
}
#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
background-position: left;
}

View file

@ -1486,6 +1486,18 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
border-right: 1px solid rgba(0,79,168,0.5);
}
#urlbar[pageproxystate="valid"] > #identity-box.mixedContent {
color: rgb(79,79,0);
margin-inline-end: 4px;
background-image: -moz-linear-gradient(rgba(79,79,0,0),
rgba(79,79,0,.08) 25%,
rgba(79,79,0,.08) 75%,
rgba(79,79,0,0));
background-position: right;
background-repeat: no-repeat;
border-right: 1px solid rgba(79,79,0,0.5);
}
#identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
background-position: left;
border-right: none;
@ -1498,6 +1510,12 @@ html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
border-left: 1px solid rgba(0,79,168,0.5);
}
#identity-box.mixedContent:-moz-locale-dir(rtl) {
background-position: left;
border-right: none;
border-left: 1px solid rgba(79,79,0,0.5);
}
#identity-box:-moz-focusring {
outline: 1px dotted #000;
outline-offset: -3px;