Bug 700243 - Rename csshtmltree.xul's 'header' class. r=msucan

This commit is contained in:
Dão Gottwald 2011-11-07 13:52:06 +01:00
parent c9cf1b65d0
commit 474c7c40db
4 changed files with 18 additions and 11 deletions

View File

@ -19,9 +19,10 @@
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Joe Walker (jwalker@mozilla.com) (original author)
- Joe Walker <jwalker@mozilla.com> (original author)
- Mihai Șucan <mihai.sucan@gmail.com>
- Michael Ratcliffe <mratcliffe@mozilla.com>
- Dão Gottwald <dao@mozilla.com>
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
@ -36,8 +37,10 @@
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://global/skin/global.css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/csshtmltree.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/styleinspector.dtd">
%inspectorDTD;
@ -53,6 +56,7 @@
<!ATTLIST loop if CDATA #IMPLIED>
<!ATTLIST tr if CDATA #IMPLIED>
]>
<xul:window xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
@ -88,15 +92,15 @@ To visually debug the templates without running firefox, alter the display:none
styles" checkbox. For data it needs an instance of CssHtmlTree.
-->
<div id="templateRoot">
<xul:hbox class="header" flex="1">
<xul:hbox class="headerControls" flex="1">
<label class="userStylesLabel">
<input class="onlyuserstyles" save="${onlyUserStylesCheckbox}"
type="checkbox" onchange="${onlyUserStylesChanged}" checked=""/>
&userStylesLabel;
</label>
<xul:textbox class="searchfield" type="search" save="${searchField}"
placeholder="&userStylesSearch;"
oncommand="${filterChanged}"/>
placeholder="&userStylesSearch;"
oncommand="${filterChanged}"/>
</xul:hbox>
</div>
@ -161,7 +165,7 @@ To visually debug the templates without running firefox, alter the display:none
</td>
<td class="rule-link">
<a target="_blank" href="view-source:${selector.selectorInfo.href}" class="link"
title="${selector.selectorInfo.href}">${selector.selectorInfo.source}</a>
title="${selector.selectorInfo.href}">${selector.selectorInfo.source}</a>
</td>
</tr>
</loop>

View File

@ -22,6 +22,7 @@
* Joe Walker <jwalker@mozilla.com> (original author)
* Mihai Șucan <mihai.sucan@gmail.com>
* Michael Ratcliffe <mratcliffe@mozilla.com>
* Dão Gottwald <dao@mozilla.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -217,10 +218,10 @@
text-align: center;
}
.header {
.headerControls {
color: -moz-dialogtext;
background-color: -moz-dialog;
padding: 5px 0 0;
padding-top: 5px;
}
.onlyuserstyles,

View File

@ -22,6 +22,7 @@
* Joe Walker <jwalker@mozilla.com> (original author)
* Mihai Șucan <mihai.sucan@gmail.com>
* Michael Ratcliffe <mratcliffe@mozilla.com>
* Dão Gottwald <dao@mozilla.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -219,10 +220,10 @@
text-align: center;
}
.header {
.headerControls {
color: -moz-dialogtext;
background-color: -moz-dialog;
padding: 5px 0 0;
padding-top: 5px;
}
.onlyuserstyles,

View File

@ -22,6 +22,7 @@
* Joe Walker <jwalker@mozilla.com> (original author)
* Mihai Șucan <mihai.sucan@gmail.com>
* Michael Ratcliffe <mratcliffe@mozilla.com>
* Dão Gottwald <dao@mozilla.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@ -219,10 +220,10 @@
text-align: center;
}
.header {
.headerControls {
color: -moz-dialogtext;
background-color: -moz-dialog;
padding: 5px 0 0;
padding-top: 5px;
}
.onlyuserstyles,