diff options
author | Luca Falavigna <dktrkranz@debian.org> | 2014-04-26 15:11:58 +0200 |
---|---|---|
committer | Luca Falavigna <dktrkranz@debian.org> | 2014-04-26 15:11:58 +0200 |
commit | 140d836e9cd54fb67b969fd82ef7ed19ba574d40 (patch) | |
tree | 0df3e32ee39603d43f9b90fd2f2e1f7cce4249d4 /doc/editor_configs/xmlmind/addon/config/scons/css/structure.css | |
parent | cb3425abe0bc2d05caf401ca24b82a25a81f009d (diff) |
Imported Upstream version 2.3.1upstream/2.3.1
Diffstat (limited to 'doc/editor_configs/xmlmind/addon/config/scons/css/structure.css')
-rw-r--r-- | doc/editor_configs/xmlmind/addon/config/scons/css/structure.css | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/structure.css b/doc/editor_configs/xmlmind/addon/config/scons/css/structure.css new file mode 100644 index 0000000..95f4610 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/structure.css @@ -0,0 +1,140 @@ +/* + * Copyright (c) 2005-2008 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Displays the structure (a little more than a TOC) of a DocBook document. + * Titles inside *info (e.g. sectioninfo) elements are not displayed. + */ + +*, +*:comment, +*:processing-instruction { + display: none; +} + +title { + display: block; +} + +title > * { + display: inline; +} + +set, +book, +part, +reference, +refentry, +preface, +chapter, +article, +appendix, +section, +sect1, +sect2, +sect3, +sect4, +sect5 { + display: block; + margin-left: 9ex; +} + +set:before, +book:before, +part:before, +reference:before, +refentry:before, +preface:before, +chapter:before, +article:before, +appendix:before, +section:before, +sect1:before, +sect2:before, +sect3:before, +sect4:before, +sect5:before { + display: marker; + marker-offset: fill; + content: element-name(); + font-size: small; + color: gray; +} + +part > title:before { + content: simple-counter(n-, upper-roman) " "; +} + +chapter > title:before { + content: simple-counter(n-, decimal) " "; +} + +appendix > title:before { + content: simple-counter(n-, upper-alpha) " "; +} + +refentry { + content: xpath("join(.//refname, ', ')"); + color: gray; +} + +section > title:before, +sect1 > title:before { + content: simple-counter(n-) " "; +} + +section section > title:before, +sect2 > title:before { + content: simple-counter(nn-) " "; +} + +section section section > title:before, +sect3 > title:before { + content: simple-counter(nnn-) " "; +} + +section section section section > title:before, +sect4 > title:before { + content: simple-counter(nnnn-) " "; +} + +section section section section section > title:before, +sect5 > title:before { + content: simple-counter(nnnnn-) " "; +} + +section section section section * section > title:before { + content: ""; +} + +setinfo, +setindex, +bookinfo, +dedication, +toc, +lot, +glossary, +bibliography, +index, +colophon, +partinfo, +partintro, +referenceinfo, +prefaceinfo, +chapterinfo, +tocchap, +articleinfo, +appendixinfo, +sectioninfo, +sect1info, +sect2info, +sect3info, +sect4info, +sect5info { + display: block; + content: element-name(); + font-size: small; + color: gray; +} |