diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-26 16:31:31 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-07-26 16:31:31 +0200 |
commit | df608fa858819f84924451b6a97559671303e8b0 (patch) | |
tree | 931f0ae1302ff7d45e41a1aa4b6dbc96be174744 /doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp | |
parent | 9d8eae9f5bf53a4a80e29d7a3a1d2c7d7197688a (diff) | |
parent | 78989ebb445af2c6462ae2bf05ffd588d76610e4 (diff) |
Merge tag 'upstream/2.3.2'
Upstream version 2.3.2
Diffstat (limited to 'doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp')
-rw-r--r-- | doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp b/doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp new file mode 100644 index 0000000..0b444bb --- /dev/null +++ b/doc/editor_configs/xmlmind5/addon/config/scons/css/table.imp @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2005-2009 Pixware. + * + * This file is part of the XMLmind XML Editor project. + * For conditions of distribution and use, see the accompanying legal.txt file. + * + * Partial styles for DocBook tables. Requires an @extension. + * DO NOT IMPORT THIS FILE: INSTEAD @import cals_table.imp OR + * @import html_cals_table.imp. + */ + +table, +informaltable { + display: block; + margin: 1.33ex 0; +} + +table > title { + display: block; + font-style: italic; + font-weight: normal; + text-align: center; + /* keep margin because tgroup has no margin */ +} + +colspec, +spanspec { + display: table-column; + collapsed: yes; +} + +tgroup { + display: table; + border-style: solid; + border-width: 1; +} + +thead, +tfoot { + display: table-row-group; + font-weight: bold; +} + +thead { + background-color: #F0F0F0; +} + +tfoot { + background-color: #E0E0E0; +} + +tbody { + display: table-row-group; + background-color: inherit; /*e.g. from read-only tgroup*/ +} + +row { + display: table-row; + background-color: inherit; /*e.g. from read-only tbody*/ +} + +entry { + display: table-cell; + background-color: inherit; /*e.g. from read-only row*/ + border-style: solid; + border-width: 1; + padding: 2; +} + +entry > *:first-child { + margin-top: 0; + margin-bottom: 0; +} + +entrytbl { + display: subtable; + background-color: inherit; /*e.g. from read-only row*/ + border-style: solid; + border-width: 1; +} + +@media print { + colspec, + spanspec { + display: none; + } +} |