Further updates to about dialog!

This commit is contained in:
ben%bengoodger.com 2003-07-30 06:04:58 +00:00
Родитель d6b83a6362
Коммит 24fe41e562
4 изменённых файлов: 45 добавлений и 9 удалений

Двоичные данные
browser/base/content/about.png

Двоичный файл не отображается.

До

Ширина:  |  Высота:  |  Размер: 67 KiB

После

Ширина:  |  Высота:  |  Размер: 70 KiB

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

@ -37,6 +37,7 @@
# ***** END LICENSE BLOCK ***** --> # ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/aboutDialog.css" type="text/css"?>
<!DOCTYPE window [ <!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" > <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
@ -47,11 +48,11 @@
<dialog xmlns:html="http://www.w3.org/1999/xhtml" <dialog xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="aboutDialog"
buttons="accept" buttons="accept"
onload="onLoad();" onload="onLoad();"
title="&aboutDialog.title;" title="&aboutDialog.title;"
width="306" height="381" width="306" height="385">
style="padding: 0px;">
<script type="application/x-javascript"> <script type="application/x-javascript">
<![CDATA[ <![CDATA[
@ -62,12 +63,12 @@
]]> ]]>
</script> </script>
<vbox flex="1"> <vbox flex="1" id="clientBox">
<image src="chrome://browser/content/about.png"/> <image src="chrome://browser/content/about.png"/>
<vbox style="padding: 8px 10px 10px 8px;" align="center" flex="1"> <vbox id="detailsBox" align="center" flex="1">
<separator class="thin"/> <separator class="thin"/>
<hbox> <hbox align="center">
<label value="&brandShortName;" style="font-weight: bold;"/> <label value="&brandShortName;" id="brandName"/>
<label value="&version;"/> <label value="&version;"/>
</hbox> </hbox>
<spacer flex="1"/> <spacer flex="1"/>
@ -77,10 +78,11 @@
About as a modal dialog, a new browser window opens when I click the link About as a modal dialog, a new browser window opens when I click the link
but the page doesn't load in it. */ but the page doesn't load in it. */
<html:a onclick="window.openDialog('chrome://browser/content', 'Mozilla Firebird', 'chrome,all,dialog=no', '&copyrightLink;');" <html:a onclick="window.openDialog('chrome://browser/content', 'Mozilla Firebird', 'chrome,all,dialog=no', '&copyrightLink;');"
href="" href="" id="copyright"
style="display: block; color: blue; text-decoration: underline;">&copyright;</html:a> style="display: block;">&copyright;</html:a>
<spacer flex="1"/> <spacer flex="1"/>
</vbox> </vbox>
</vbox> </vbox>
<separator class="groove"/>
<separator class="groove" id="groove"/>
</dialog> </dialog>

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

@ -19,6 +19,7 @@ browser.jar:
content/browser/pageInfo.css (content/pageInfo.css) content/browser/pageInfo.css (content/pageInfo.css)
classic.jar: classic.jar:
skin/classic/browser/aboutDialog.css (skin/aboutDialog.css)
skin/classic/browser/browser.css (skin/browser.css) skin/classic/browser/browser.css (skin/browser.css)
skin/classic/browser/browser.xml (skin/browser.xml) skin/classic/browser/browser.xml (skin/browser.xml)
skin/classic/browser/contents.rdf (skin/contents.rdf) skin/classic/browser/contents.rdf (skin/contents.rdf)

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

@ -0,0 +1,33 @@
#aboutDialog {
padding: 0px 0px 10px 0px;
}
#clientBox {
background-color: #FFFFFF;
}
#brandName {
font-weight: bold; font-size: larger;
}
#detailsBox {
padding: 8px 10px 10px 8px;
}
#userAgent {
margin: 3px 5px;
background-color: #FFFFFF;
padding: 1px 0px 1px 2px;
-moz-appearance: none;
border: none;
}
#copyright {
color: blue;
text-decoration: underline;
}
#groove {
margin-top: 0px;
}