Only show security icon when the page is secure; get rid of cruft at right of Classic statusbar;

This commit is contained in:
blakeross%telocity.com 2002-08-14 00:22:12 +00:00
Родитель 08bb9cab14
Коммит 5d74ba01a0
4 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -897,11 +897,11 @@ Contributor(s):
<statusbar class="chromeclass-status" id="status-bar"
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
<statusbarpanel id="security-button" class="statusbarpanel-iconic"
onclick="displayPageInfo()"/>
<statusbarpanel id="statusbar-display" label="&statusText.label;" flex="1"/>
<statusbarpanel class="statusbarpanel-progress">
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
</statusbarpanel>
<statusbarpanel id="security-button" class="statusbarpanel-iconic"
onclick="displayPageInfo()"/>
</statusbar>
</window>

Просмотреть файл

@ -69,6 +69,7 @@ function buildDialog()
var newToolbar = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"toolbar");
newToolbar.id = "cloneToolbar";
if (useSmallIcons.checked)
newToolbar.setAttribute("iconsize", "small");
newToolbar.setAttribute("mode", modeList.value);

Просмотреть файл

@ -611,19 +611,22 @@ toolbar[iconsize="small"] #print-button[disabled="true"] {
}
#security-button {
list-style-image: url("chrome://browser/skin/lock-insecure.gif");
display: none;
}
#security-button[level="high"] {
list-style-image: url("chrome://browser/skin/lock-secure.gif");
display: -moz-box;
}
#security-button[level="low"] {
list-style-image: url("chrome://browser/skin/lock-secure.gif");
display: -moz-box;
}
#security-button[level="broken"] {
list-style-image: url("chrome://browser/skin/lock-broken.gif");
display: -moz-box;
}
/* ::::: tabs ::::: */

Просмотреть файл

@ -130,6 +130,7 @@ statusbarpanel {
-moz-box-pack: end;
-moz-appearance: resizerpanel;
padding: 0px;
border: none;
}
.statusbarpanel-iconic {