From c6dfec18eca9d2adecec90699fe487b8a3f79335 Mon Sep 17 00:00:00 2001 From: Kasun Gajasinghe Date: Sat, 1 Oct 2011 06:01:59 +0000 Subject: [PATCH] webhelp xsl customization - logo --- xsl/webhelp/build.properties | 2 + xsl/webhelp/build.xml | 2 + .../template/common/css/positioning.css | 2 +- xsl/webhelp/xsl/webhelp.xsl | 48 +++++++++++++++++-- 4 files changed, 49 insertions(+), 5 deletions(-) diff --git a/xsl/webhelp/build.properties b/xsl/webhelp/build.properties index a664a723d..855494ca0 100644 --- a/xsl/webhelp/build.properties +++ b/xsl/webhelp/build.properties @@ -51,3 +51,5 @@ enable.stemming=true #Set the table of contents file. This file will not be indexed. #toc.file=dummy.html +branding=docbook +brandname=DocBook diff --git a/xsl/webhelp/build.xml b/xsl/webhelp/build.xml index c42cf7c85..502af2173 100644 --- a/xsl/webhelp/build.xml +++ b/xsl/webhelp/build.xml @@ -37,6 +37,8 @@ + + diff --git a/xsl/webhelp/template/common/css/positioning.css b/xsl/webhelp/template/common/css/positioning.css index 6495c9b95..f0f0538ae 100644 --- a/xsl/webhelp/template/common/css/positioning.css +++ b/xsl/webhelp/template/common/css/positioning.css @@ -163,7 +163,7 @@ p.breadcrumbs { } .searchresult li { color: #0050A0; } .shortdesclink { color: gray; font-size: 9pt; } -.searchText { width: 12em } +.searchText { width: 11em } .searchButton { margin-left: 3px; background: #F4F4F4; diff --git a/xsl/webhelp/xsl/webhelp.xsl b/xsl/webhelp/xsl/webhelp.xsl index c699cd593..3ed09adff 100644 --- a/xsl/webhelp/xsl/webhelp.xsl +++ b/xsl/webhelp/xsl/webhelp.xsl @@ -47,12 +47,45 @@ - + + + not set + + + - + + + + + + + + + 1 + +appendix toc,title +article/appendix nop +article toc,title +book title,figure,table,example,equation +chapter toc,title +part toc,title +preface toc,title +qandadiv toc +qandaset toc +reference toc,title +sect1 toc +sect2 toc +sect3 toc +sect4 toc +sect5 toc +section toc +set toc,title + + @@ -543,9 +576,16 @@ border: none; background: none; font-weight: none; color: none; }