waterson%netscape.com d3408c3229 Fix for fancy new treewidget syntax.
git-svn-id: svn://10.0.0.236/trunk@45444 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 05:05:02 +00:00

137 lines
2.7 KiB
CSS

/* -*- Mode: C; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
Style rules specific to the Sidebar.
*/
window
{
overflow: auto;
}
iframe
{
height: 125px;
border: 0px;
}
/*
treecell
{
font-family: Verdana, Sans-Serif;
font-size: 8pt;
}
*/
treecell[sortActive="true"][sortDirection="ascending"]
{
background-color: green;
}
treecell[sortActive="true"][sortDirection="descending"]
{
background-color: red;
}
treecol[sortActive="true"]
{
background-color: lightgreen;
}
treehead > treerow > treecell
{
background-color: #c0c0c0;
border: outset 1px;
border-color: white #707070 #707070 white;
vertical-align: middle;
}
treeitem[container="true"][open="true"][loading="true"] > treerow > treecell > .tree-icon
{
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
}
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > treecell > .tree-icon
{
list-style-image: url("resource:/res/rdf/folder-open.gif");
}
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > treecell > .tree-icon
{
list-style-image: url("resource:/resrdf/folder-closed.gif");
}
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > treecell > .tree-icon
{
list-style-image: url("resource:/res/rdf/article.gif");
}
treeitem[container="true"][open="true"] > treerow > treecell > .tree-icon
{
list-style-image: url("resource:/res/rdf/folder-open.gif");
}
treeitem[container="true"] > treerow > treecell > .tree-icon
{
list-style-image: url("resource:/res/rdf/folder-closed.gif");
}
/*
* Sidebar and Panel title buttons
*/
box#sidebox
{
width: 100%;
height: 100%;
}
box.sidebartitle
{
background-color: #666699;
border-top: 1px solid #9999CC;
}
box.panelbar
{
background-color: #339999;
font-weight: bold;
border-top: 1px solid #99CCCC;
}
div.sidebartitlelabel
{
color: white;
padding: 5px;
}
titledbutton.paneltitle
{
color: white;
}
treecell titledbutton
{
color: inherit;
list-style-image: inherit;
}