From 48ff22dedb8125331f5378291a1ecff67bef423c Mon Sep 17 00:00:00 2001 From: "putterman%netscape.com" Date: Thu, 15 Jul 1999 03:08:07 +0000 Subject: [PATCH] Added twisty images and style rules. --- xpfe/global/resources/skin/MANIFEST | 4 +++- xpfe/global/resources/skin/Makefile.in | 2 ++ xpfe/global/resources/skin/makefile.win | 2 ++ xpfe/global/resources/skin/xul.css | 21 +++++++++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) diff --git a/xpfe/global/resources/skin/MANIFEST b/xpfe/global/resources/skin/MANIFEST index 1635d56c8ce5..2e5a7242b5ac 100644 --- a/xpfe/global/resources/skin/MANIFEST +++ b/xpfe/global/resources/skin/MANIFEST @@ -14,4 +14,6 @@ scrollDown_mo.gif scrollDown_dis.gif scrollThumb.gif scrollThumb_mo.gif -scrollThumb_dis.gif \ No newline at end of file +scrollThumb_dis.gif +opentwisty.gif +closedtwisty.gif diff --git a/xpfe/global/resources/skin/Makefile.in b/xpfe/global/resources/skin/Makefile.in index b8e0f2c3243b..15135b7b63c9 100644 --- a/xpfe/global/resources/skin/Makefile.in +++ b/xpfe/global/resources/skin/Makefile.in @@ -42,6 +42,8 @@ EXPORT_RESOURCE_CONTENT = \ $(srcdir)/scrollThumb.gif \ $(srcdir)/scrollThumb_mo.gif \ $(srcdir)/scrollThumb_dis.gif \ + $(srcdir)/opentwisty.gif \ + $(srcdir)/closedtwisty.gif \ $(NULL) install:: diff --git a/xpfe/global/resources/skin/makefile.win b/xpfe/global/resources/skin/makefile.win index a2894f733d1c..0ed6a6911bee 100644 --- a/xpfe/global/resources/skin/makefile.win +++ b/xpfe/global/resources/skin/makefile.win @@ -40,6 +40,8 @@ install:: $(MAKE_INSTALL) scrollThumb.gif $(DISTBROWSER) $(MAKE_INSTALL) scrollThumb_mo.gif $(DISTBROWSER) $(MAKE_INSTALL) scrollThumb_dis.gif $(DISTBROWSER) + $(MAKE_INSTALL) opentwisty.gif $(DISTBROWSER) + $(MAKE_INSTALL) closedtwisty.gif $(DISTBROWSER) clobber:: rm -f $(DIST)\bin\chrome\global\skin\default\*.* diff --git a/xpfe/global/resources/skin/xul.css b/xpfe/global/resources/skin/xul.css index 3fd192e4d43d..f736ab013577 100644 --- a/xpfe/global/resources/skin/xul.css +++ b/xpfe/global/resources/skin/xul.css @@ -955,3 +955,24 @@ box splitter[collapse="after"] grippy { list-style-image: url(resource:/res/toolbar/grippy-horizontal-after.gif); } +titledbutton.twisty +{ + visibility: hidden; +} + +treeitem [open="true"][container="true"]> treerow > treecell > titledbutton.twisty { + vertical-align: bottom; + height: 16px; + width: 16px; + list-style-image: url("chrome:/global/skin/opentwisty.gif"); + visibility: visible; +} + +treeitem [container="true"] > treerow > treecell > titledbutton.twisty { + vertical-align: bottom; + height: 16px; + width: 16px; + list-style-image: url("chrome:/global/skin/closedtwisty.gif"); + visibility: visible; +} +