mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
Bug 335113 More obvious secure site indication p=zug_treno@yahoo.com r=db48x,jag sr=me
This commit is contained in:
parent
2c39937d84
commit
de277db377
@ -195,6 +195,12 @@
|
||||
-moz-border-left-colors: transparent ThreeDShadow ThreeDDarkShadow;
|
||||
}
|
||||
|
||||
#urlbar[level="high"] > .autocomplete-textbox-container,
|
||||
#urlbar[level="low"] > .autocomplete-textbox-container {
|
||||
background-color: InfoBackground;
|
||||
color: InfoText;
|
||||
}
|
||||
|
||||
/* ::::: page proxy icon ::::: */
|
||||
|
||||
#page-proxy-deck,
|
||||
|
@ -418,6 +418,11 @@ toolbox {
|
||||
background: url("chrome://navigator/skin/toolbar/urlbar-mid.gif") #EDF5F7 bottom repeat-x;
|
||||
}
|
||||
|
||||
#urlbar[level="high"] ,
|
||||
#urlbar[level="low"] {
|
||||
background: #E8DB99;
|
||||
}
|
||||
|
||||
/* ::::: page proxy icon ::::: */
|
||||
|
||||
#page-proxy-deck,
|
||||
|
@ -393,16 +393,20 @@ nsBrowserStatusHandler.prototype =
|
||||
switch (aState) {
|
||||
case wpl.STATE_IS_SECURE | wpl.STATE_SECURE_HIGH:
|
||||
this.securityButton.setAttribute("level", "high");
|
||||
this.urlBar.setAttribute("level", "high");
|
||||
break;
|
||||
case wpl.STATE_IS_SECURE | wpl.STATE_SECURE_LOW:
|
||||
this.securityButton.setAttribute("level", "low");
|
||||
this.urlBar.setAttribute("level", "low");
|
||||
break;
|
||||
case wpl.STATE_IS_BROKEN:
|
||||
this.securityButton.setAttribute("level", "broken");
|
||||
this.urlBar.setAttribute("level", "broken");
|
||||
break;
|
||||
case wpl.STATE_IS_INSECURE:
|
||||
default:
|
||||
this.securityButton.removeAttribute("level");
|
||||
this.urlBar.removeAttribute("level");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user