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/collapsible.imp | |
parent | cb3425abe0bc2d05caf401ca24b82a25a81f009d (diff) |
Imported Upstream version 2.3.1upstream/2.3.1
Diffstat (limited to 'doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp')
-rw-r--r-- | doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp b/doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp new file mode 100644 index 0000000..443f990 --- /dev/null +++ b/doc/editor_configs/xmlmind/addon/config/scons/css/collapsible.imp @@ -0,0 +1,135 @@ +/* + * Copyright (c) 2003-2007 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Styles for making sections and blocks with titles collapsible. + */ + +set, +book, +part, +reference, +chapter, +preface, +article, +sect1, +sect2, +sect3, +sect4, +section, +appendix, +figure, +example, +table { + collapsible: yes; + not-collapsible-head: 1; /* title or metainfo */ +} + +figure { + collapsed-content: url(icons/figure.png); + collapsed-content-align: center; +} + +example { + collapsed-content: url(icons/para.png); + collapsed-content-align: center; +} + +table { + collapsed-content: url(icons/table.png); + collapsed-content-align: center; +} + +set > title:first-child:before, +book > title:first-child:before, +reference > title:first-child:before, +preface > title:first-child:before, +article > title:first-child:before, +figure > title:before, +example > title:before, +table > title:before { + content: collapser() " "; +} + +part > title:first-child:before { + content: collapser() " Part " simple-counter(n-, upper-roman) ": "; +} + +chapter > title:first-child:before { + content: collapser() " Chapter " simple-counter(n-, decimal) ": "; +} + +sect1 > title:first-child:before { + content: collapser() " " simple-counter(n-) " "; +} + +sect2 > title:first-child:before { + content: collapser() " " simple-counter(nn-) " "; +} + +sect3 > title:first-child:before { + content: collapser() " " simple-counter(nnn-) " "; +} + +sect4 > title:first-child:before { + content: collapser() " " simple-counter(nnnn-) " "; +} + +section > title:first-child:before { + content: collapser() " " simple-counter(n-) " "; +} + +section section > title:first-child:before { + content: collapser() " " simple-counter(nn-) " "; +} + +section section section > title:first-child:before { + content: collapser() " " simple-counter(nnn-) " "; +} + +section section section section > title:first-child:before { + content: collapser() " " simple-counter(nnnn-) " "; +} + +section section section * section > title:first-child:before { + content: ""; +} + +appendix > title:first-child:before { + content: collapser() " Appendix " simple-counter(n-, upper-alpha) ": "; +} + +appendixinfo:first-child, +articleinfo:first-child, +bookinfo:first-child, +chapterinfo:first-child, +partinfo:first-child, +prefaceinfo:first-child, +referenceinfo:first-child, +sect1info:first-child, +sect2info:first-child, +sect3info:first-child, +sect4info:first-child, +sectioninfo:first-child, +setinfo:first-child { + margin-left: 20px; +} + +appendixinfo:first-child:before, +articleinfo:first-child:before, +bookinfo:first-child:before, +chapterinfo:first-child:before, +partinfo:first-child:before, +prefaceinfo:first-child:before, +referenceinfo:first-child:before, +sect1info:first-child:before, +sect2info:first-child:before, +sect3info:first-child:before, +sect4info:first-child:before, +sectioninfo:first-child:before, +setinfo:first-child:before { + content: collapser(); + display: marker; +} |