Add platform-specific css files for windows and mac, bug 390881. A joint production of zach and ben.

This commit is contained in:
zach@zachlipton.com 2007-08-03 16:50:34 -07:00
Родитель 2cd7495178
Коммит 4b0dbf1016
13 изменённых файлов: 31 добавлений и 46 удалений

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

@ -19,6 +19,7 @@ build.xml adapted from Shawn Wilsher's rtse
<zipfileset dir="" includes="jar-chrome.manifest" fullpath="chrome.manifest"/>
<zipfileset dir="" includes="README" />
<zipfileset dir="" includes="defaults/**" excludes="**CVS"/>
<zipfileset dir="" includes="platform/**" excludes="**CVS"/>
<zipfileset dir="" includes="components/chatzilla-service.js" />
</zip>
</target>

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

@ -37,6 +37,7 @@
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://qa/skin/platform.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
@ -58,10 +59,6 @@
xmlns:html="http://www.w3.org/1999/xhtml"
onload="qaMain.onToolOpen();">
<style xmlns="http://www.w3.org/1999/xhtml">
@import url(chrome://qa/skin/);
</style>
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_qa" src="chrome://qa/locale/qa.properties" />
<stringbundle id="bundle_urls" src="chrome://qa/locale/urls.properties" />
@ -74,7 +71,6 @@
<script type="application/x-javascript" src="chrome://qa/content/litmus.js" />
<script type="application/x-javascript" src="chrome://qa/content/qa.js" />
<tabbox id="qa_tabbox">
<tabs id="qa_tabrow">
<tab image="chrome://qa/skin/qmo.png" />

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

@ -35,8 +35,6 @@
#
# ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
]>

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

@ -35,8 +35,6 @@
#
# ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
]>

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

@ -35,8 +35,6 @@
#
# ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
]>

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

@ -35,8 +35,6 @@
#
# ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
]>

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

@ -35,8 +35,6 @@
#
# ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://qa/skin/" type="text/css"?>
<!DOCTYPE overlay [
<!ENTITY % qaDTD SYSTEM "chrome://qa/locale/qa.dtd"> %qaDTD;
]>

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

@ -58,13 +58,12 @@ tabpanel {
}
groupbox {
border-color: #e0e0e0;
background-color: #fff;
padding: 6px 8px;
}
caption {
font: bold 12px helvetica, arial, sans-serif;
color: #ec891d;
background: white none repeat-x left 6px;
background: transparent none repeat-x left 6px;
padding: 0;
}
@ -106,9 +105,12 @@ caption {
.list {
padding-left: 10px;
}
}
#qa-tab-qmo > html|li {
list-style-type: none;
}
/* @group test overview */
#qa-litmus-testoverview {
text-decoration: underline;
font-size: x-small;

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

@ -1,28 +1,20 @@
<?xml version="1.0"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>{667e9f3d-0096-4d2b-b171-9a96afbabe20}</em:id>
<em:version>0.0.3</em:version>
<em:type>2</em:type>
<!-- Target Application this extension can install into,
with minimum and maximum supported versions. -->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>2.0</em:minVersion>
<em:maxVersion>3.0a8</em:maxVersion>
</Description>
</em:targetApplication>
<!-- Front End MetaData -->
<em:name>Mozilla Quality Extension</em:name>
<em:description>The QA tool</em:description>
<em:creator>Mozilla Quality Assurance</em:creator>
<em:homepageURL>http://quality.mozilla.org/</em:homepageURL>
<em:updateURL>https://landfill.bugzilla.org/mozillaQA/update.rdf</em:updateURL>
</Description>
</RDF>
<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description RDF:about="rdf:#$QJqvE"
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
em:minVersion="2.0"
em:maxVersion="3.0a9" />
<RDF:Description RDF:about="urn:mozilla:install-manifest"
em:id="{667e9f3d-0096-4d2b-b171-9a96afbabe20}"
em:version="0.1.0"
em:type="2"
em:name="Mozilla Quality Extension"
em:description="The QA tool"
em:creator="Mozilla Quality Assurance"
em:homepageURL="http://quality.mozilla.org/"
em:updateURL="https://landfill.bugzilla.org/mozillaQA/update.rdf">
<em:targetApplication RDF:resource="rdf:#$QJqvE"/>
</RDF:Description>
</RDF:RDF>

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

@ -0,0 +1,2 @@
skin qa-mac classic/1.0 chrome/skin/
override chrome://qa/skin/platform.css chrome/skin/platform.css

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

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

@ -0,0 +1,2 @@
skin qa-win classic/1.0 chrome/skin/
override chrome://qa/skin/platform.css chrome/skin/platform.css

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