Bug 406321 - "Identity portion of urlbar doesn't turn green with EV Certificates under win32 and Linux" [p=dao@mozilla.com (Dão Gottwald) r=mconnor a=blocking-firefox3+]

This commit is contained in:
reed@reedloden.com 2007-12-11 02:27:55 -08:00
parent b074b18de4
commit f6d302181c
4 changed files with 31 additions and 25 deletions

View File

@ -268,21 +268,23 @@
ontextreverted="return handleURLBarRevert();">
<!-- Use onclick instead of normal popup= syntax since the popup
code fires onmousedown, and hence eats our favicon drag events -->
<box id="identity-box" align="center"
<box id="identity-box"
onclick="getIdentityHandler().handleIdentityClick(event);">
<deck id="page-proxy-deck" onclick="PageProxyClickHandler(event);">
<image id="page-proxy-button"
ondraggesture="PageProxyDragGesture(event);"
tooltiptext="&proxyIcon.tooltip;"/>
<image id="page-proxy-favicon" validate="never"
ondraggesture="PageProxyDragGesture(event);"
onload="this.parentNode.selectedIndex = 1;
event.stopPropagation();"
onerror="this.removeAttribute('src');
this.parentNode.selectedIndex = 0;"
tooltiptext="&proxyIcon.tooltip;"/>
</deck>
<label id="identity-icon-label"/>
<hbox align="center">
<deck id="page-proxy-deck" onclick="PageProxyClickHandler(event);">
<image id="page-proxy-button"
ondraggesture="PageProxyDragGesture(event);"
tooltiptext="&proxyIcon.tooltip;"/>
<image id="page-proxy-favicon" validate="never"
ondraggesture="PageProxyDragGesture(event);"
onload="this.parentNode.selectedIndex = 1;
event.stopPropagation();"
onerror="this.removeAttribute('src');
this.parentNode.selectedIndex = 0;"
tooltiptext="&proxyIcon.tooltip;"/>
</deck>
<label id="identity-icon-label"/>
</hbox>
</box>
<hbox id="urlbar-icons">
<button type="menu"

View File

@ -801,7 +801,11 @@ toolbar[iconsize="small"] #paste-button[disabled="true"] {
margin: 0;
}
.unknownIdentity > #identity-icon-label {
#identity-box.verifiedIdentity > hbox {
background-color: rgba(0, 255, 0, 0.25);
}
#identity-box.unknownIdentity > hbox > #identity-icon-label {
display: none;
}

View File

@ -1634,10 +1634,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
opacity: 1.0;
}
#identity-box.verifiedIdentity {
background-color: #BFA;
}
#urlbar[level="high"] > #identity-box,
#urlbar[level="low"] > #identity-box {
/* urlbar adds padding when security level is set, which we need to
@ -1653,7 +1649,11 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
vertical-align: middle;
}
.unknownIdentity > #identity-icon-label {
#identity-box.verifiedIdentity {
background-color: #BFA;
}
#identity-box.unknownIdentity > hbox > #identity-icon-label {
display: none;
}

View File

@ -1668,10 +1668,6 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
-moz-outline-radius-bottomleft: 2px;
}
#identity-box.verifiedIdentity {
outline-color: highlight;
}
#identity-box:hover {
outline-color: ThreeDDarkShadow;
}
@ -1681,7 +1677,11 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
margin: 0;
}
.unknownIdentity > #identity-icon-label {
#identity-box.verifiedIdentity > hbox {
background-color: rgba(0, 255, 0, 0.25);
}
#identity-box.unknownIdentity > hbox > #identity-icon-label {
display: none;
}