mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +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("indent", "true");*/
|
||||||
treeCell.setAttribute("value", file.leafName);
|
treeCell.setAttribute("value", file.leafName);
|
||||||
if (isDirectory)
|
if (isDirectory)
|
||||||
treeCell.setAttribute("class", "directory");
|
treeCell.setAttribute("class", "directory treecell-iconic");
|
||||||
else if (isFile)
|
else if (isFile)
|
||||||
treeCell.setAttribute("class", "file");
|
treeCell.setAttribute("class", "file treecell-iconic");
|
||||||
treeRow.appendChild(treeCell);
|
treeRow.appendChild(treeCell);
|
||||||
|
|
||||||
/* treeCell -- size */
|
/* treeCell -- size */
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
<treecol/>
|
<treecol/>
|
||||||
<treehead>
|
<treehead>
|
||||||
<treerow>
|
<treerow>
|
||||||
<treecell value="Name"/>
|
<treecell class="treecell-header" value="Name"/>
|
||||||
<treecell value="Size"/>
|
<treecell class="treecell-header" value="Size"/>
|
||||||
<treecell value="Permissions"/>
|
<treecell class="treecell-header" value="Permissions"/>
|
||||||
</treerow>
|
</treerow>
|
||||||
</treehead>
|
</treehead>
|
||||||
</tree>
|
</tree>
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
@import url(chrome://global/skin/global.css);
|
@import url(chrome://global/skin/global.css);
|
||||||
|
|
||||||
treecell.directory > .tree-button {
|
treecell.directory {
|
||||||
list-style-image: url("chrome://global/skin/dir-closed.gif");
|
list-style-image: url("chrome://global/skin/dir-closed.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
treecell.directory[open="true"] > .tree-button {
|
treecell.file {
|
||||||
list-style-image: url("chrome://global/skin/dir-open.gif");
|
|
||||||
}
|
|
||||||
|
|
||||||
treecell.file > .tree-button {
|
|
||||||
list-style-image: url("chrome://global/skin/blank.gif");
|
list-style-image: url("chrome://global/skin/blank.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
treeitem.hidden > treerow > treecell > .tree-button {
|
treeitem.hidden > treerow > treecell > .tree-button {
|
||||||
color: #CCCCCC;
|
color: #CCCCCC;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user