mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 00:24:14 +00:00
fix to use new tree rules
This commit is contained in:
parent
4acf7f91f6
commit
6ef65037c4
@ -225,9 +225,9 @@ function createTree(parentElement, dirArray)
|
||||
/* treeCell.setAttribute("indent", "true");*/
|
||||
treeCell.setAttribute("value", file.leafName);
|
||||
if (isDirectory)
|
||||
treeCell.setAttribute("class", "directory");
|
||||
treeCell.setAttribute("class", "directory treecell-iconic");
|
||||
else if (isFile)
|
||||
treeCell.setAttribute("class", "file");
|
||||
treeCell.setAttribute("class", "file treecell-iconic");
|
||||
treeRow.appendChild(treeCell);
|
||||
|
||||
/* treeCell -- size */
|
||||
|
@ -30,9 +30,9 @@
|
||||
<treecol/>
|
||||
<treehead>
|
||||
<treerow>
|
||||
<treecell value="Name"/>
|
||||
<treecell value="Size"/>
|
||||
<treecell value="Permissions"/>
|
||||
<treecell class="treecell-header" value="Name"/>
|
||||
<treecell class="treecell-header" value="Size"/>
|
||||
<treecell class="treecell-header" value="Permissions"/>
|
||||
</treerow>
|
||||
</treehead>
|
||||
</tree>
|
||||
|
@ -1,16 +1,13 @@
|
||||
@import url(chrome://global/skin/global.css);
|
||||
|
||||
treecell.directory > .tree-button {
|
||||
treecell.directory {
|
||||
list-style-image: url("chrome://global/skin/dir-closed.gif");
|
||||
}
|
||||
|
||||
treecell.directory[open="true"] > .tree-button {
|
||||
list-style-image: url("chrome://global/skin/dir-open.gif");
|
||||
}
|
||||
|
||||
treecell.file > .tree-button {
|
||||
treecell.file {
|
||||
list-style-image: url("chrome://global/skin/blank.gif");
|
||||
}
|
||||
|
||||
/*
|
||||
treeitem.hidden > treerow > treecell > .tree-button {
|
||||
color: #CCCCCC;
|
||||
|
Loading…
Reference in New Issue
Block a user