Xxe/publidoc.css
author Patrick PIERRE <patrick.pierre@prismallia.fr>
mar., 20 déc. 2011 19:20:03 +0100
changeset 59 49750b96058f
child 60 14211f9b064a
permissions -rw-r--r--
Début de la configuration Xxe
/* $Id$ */

publidoc:before {
  display: block;
  background-color: #993333;
  padding: 3ex 1ex 3ex 1ex;
  color: silver;
  font-family: sans-serif;
  font-size: 100%;
  font-weight: bold;
  content: " id = " text-field(attribute, id, columns, 10, color, white, font-size, 120%)
           "  " icon(diamond) "  type = " label(attribute, type, color, white, font-size, 120%)
           set-attribute-button(attribute, type, icon, icon(pop-sw))
           "  " icon(diamond) "  media = " label(attribute, media, color, white, font-size, 120%)
           set-attribute-button(attribute, media, icon, icon(pop-sw))
           "  " icon(diamond) "  lang = " label(attribute, "xml:lang", color, white, font-size, 120%)
           set-attribute-button(attribute, "xml:lang", icon, icon(pop-sw));
}

publidoc {
  color: black;
  background-color: white;
  font-family: sans-serif;
  font-size: 120%;
}

/* ======= Head level ======= */

/* head { */
/*   display: block; */
/* } */

/* ====== Section level ===== */

section:before {
  display: block;
  margin: 2ex 10px 0 1ex;
  background-color: silver;
  color: gray;
  font-family: sans-serif;
  font-weight: bold;
  content: row(cell(content(" " insert-before-button() collapser()), width, 90%),
               cell(content(insert-after-button() " "), width, 10%, text-align, right));
}

section {
  display: block;
  collapsible: yes;
  collapsed: no;
}

/* ======= Block level ====== */

p {
  display: block;
}