From be7da15a494b988fcefe0d6c6110214f4978c72c Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Sun, 5 Dec 1999 08:17:15 +0000 Subject: [PATCH] Related links master skin file compliance. --- suite/common/related/related-panel.xul | 19 ++---- xpfe/components/related/resources/Makefile.in | 2 +- .../components/related/resources/makefile.win | 2 +- .../related/resources/related-panel.css | 0 .../related/resources/related-panel.xul | 19 ++---- xpfe/components/related/resources/related.css | 58 +++++++++++++++++++ 6 files changed, 68 insertions(+), 32 deletions(-) delete mode 100644 xpfe/components/related/resources/related-panel.css diff --git a/suite/common/related/related-panel.xul b/suite/common/related/related-panel.xul index 999ae1e8084..6fc2d9fac1d 100644 --- a/suite/common/related/related-panel.xul +++ b/suite/common/related/related-panel.xul @@ -65,12 +65,7 @@ loading="rdf:http://home.netscape.com/NC-rdf#loading" type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> - - - - + @@ -82,25 +77,19 @@ - - - + - - - + - - - + diff --git a/xpfe/components/related/resources/Makefile.in b/xpfe/components/related/resources/Makefile.in index 9a5ddb6c4fb..834b89f5f8e 100644 --- a/xpfe/components/related/resources/Makefile.in +++ b/xpfe/components/related/resources/Makefile.in @@ -37,7 +37,7 @@ CHROME_CONTENT = \ $(NULL) CHROME_SKIN = \ - related-panel.css \ + related.css \ sitemap.gif \ $(NULL) diff --git a/xpfe/components/related/resources/makefile.win b/xpfe/components/related/resources/makefile.win index 1cf71409d3b..6899f0036f8 100644 --- a/xpfe/components/related/resources/makefile.win +++ b/xpfe/components/related/resources/makefile.win @@ -33,7 +33,7 @@ CHROME_CONTENT = \ $(NULL) CHROME_SKIN = \ - .\related-panel.css \ + .\related.css \ .\sitemap.gif \ $(NULL) diff --git a/xpfe/components/related/resources/related-panel.css b/xpfe/components/related/resources/related-panel.css deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/xpfe/components/related/resources/related-panel.xul b/xpfe/components/related/resources/related-panel.xul index 999ae1e8084..6fc2d9fac1d 100644 --- a/xpfe/components/related/resources/related-panel.xul +++ b/xpfe/components/related/resources/related-panel.xul @@ -65,12 +65,7 @@ loading="rdf:http://home.netscape.com/NC-rdf#loading" type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"> - - - - + @@ -82,25 +77,19 @@ - - - + - - - + - - - + diff --git a/xpfe/components/related/resources/related.css b/xpfe/components/related/resources/related.css index 13d577eefaf..34384af0afb 100644 --- a/xpfe/components/related/resources/related.css +++ b/xpfe/components/related/resources/related.css @@ -1 +1,59 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * The contents of this file are subject to the Netscape Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is Netscape + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): + */ + +/* + + Style rules specific to the related links panel + +*/ + @import url(chrome://global/skin/); + +treeitem[container="true"][open="true"][loading="true"] > treerow > treecell > titledbutton +{ + list-style-image: url("resource:/res/rdf/loading.gif") ! important ; +} + +treeitem[container="true"][open="true"] > treerow > treecell > titledbutton { + list-style-image: url("resource:/res/rdf/folder-open.gif"); +} + +treeitem[container="true"] > treerow > treecell > titledbutton { + list-style-image: url("resource:/res/rdf/folder-closed.gif"); +} + +treeitem[container="true"][id="NC:SiteMapRoot"] > treerow > treecell > titledbutton { + list-style-image: url("chrome://related/skin/sitemap.gif"); +} + +treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow > treecell > titledbutton { + list-style-image: url("chrome://related/skin/sitemap.gif"); +} + +treeitem > treerow > treecell > titledbutton { + list-style-image: url("chrome://bookmarks/skin/bookmark-item.gif"); +} + +treeitem > treerow > treecell > titledbutton > .twisty{ + display: none; +} +