Replies: 2 comments 7 replies
-
In Camp Firefox some code has recently been posted, unfortunately without source. Let me link to my version which is just compressed from the others in the thread, posting from 16 August 2024, 00:21: This does three things:
See my remarks in my posting: The colours are not optimized yet. I want to suggest using the part for colouring the original padlock icon as another option for the I think I post the style rules as I use them right now (the colours are adjusted, though, to the style in Adressleiste per CSS entsprechend Sicherheitsstatus einfärben, see also Firefox Color): #identity-box[pageproxystate="valid"] #identity-icon {
fill-opacity: 1 !important;
transition: 100ms linear !important;
}
/* Blue */
#identity-box[pageproxystate="valid"]:is(.chromeUI, .localResource) #identity-icon { fill: #0A84FF !important }
#identity-box[pageproxystate="valid"].extensionPage #identity-icon { fill: #45A1FF !important }
/* Green */
#identity-box[pageproxystate="valid"].verifiedIdentity #identity-icon { fill: #058B00 !important }
#identity-box[pageproxystate="valid"].verifiedDomain #identity-icon { fill: #12BC00 !important }
/* Orange */
#identity-box[pageproxystate="valid"]:is(
.weakCipher,
.mixedActiveBlocked,
.mixedDisplayContent,
.mixedDisplayContentLoadedActiveBlocked,
.certUserOverridden
) #identity-icon { fill: #ff9400 !important }
/* Red */
#identity-box[pageproxystate="valid"]:is(
.notSecure,
.mixedActiveContent,
.insecureLoginForms,
.certErrorPage,
.httpsOnlyErrorPage
) #identity-icon { fill: #d70022 !important } Honestly, the different blue and green shades are more a matter of believing, the rules certainly could be merged. After looking in If you think of adding a style for part two, I use this in the moment: /* Blue */
#identity-popup:is([connection="chrome"], [connection="file"]) .identity-popup-security-connection { background-color: #C0F0FF !important }
/* Green */
#identity-popup[connection="secure"] .identity-popup-security-connection { background-color: lightgreen !important }
/* Orange/Yellow */
#identity-popup:is(
[mixedcontent="active-blocked"],
[mixedcontent~="passive-loaded"],
[isbroken]
) .identity-popup-security-connection { background-color: khaki !important }
/* Red */
.identity-popup-security-connection { background-color: lightsalmon !important } |
Beta Was this translation helpful? Give feedback.
-
How about adding color for the firefox-view symbol and the searchmode switcher, the latter apparently will be introduced in Fx 134 (and I not using a test version do not know, how this actually looks). |
Beta Was this translation helpful? Give feedback.
-
I’ve from time to time made some suggestions about coloring of icons or about an update of these. Maybe it’s a good idea to discuss this on a dedicated place.
Beta Was this translation helpful? Give feedback.
All reactions