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
patrick@59
     1
/* $Id$ */
patrick@59
     2
patrick@59
     3
publidoc:before {
patrick@59
     4
  display: block;
patrick@59
     5
  background-color: #993333;
patrick@59
     6
  padding: 3ex 1ex 3ex 1ex;
patrick@59
     7
  color: silver;
patrick@59
     8
  font-family: sans-serif;
patrick@59
     9
  font-size: 100%;
patrick@59
    10
  font-weight: bold;
patrick@59
    11
  content: " id = " text-field(attribute, id, columns, 10, color, white, font-size, 120%)
patrick@59
    12
           "  " icon(diamond) "  type = " label(attribute, type, color, white, font-size, 120%)
patrick@59
    13
           set-attribute-button(attribute, type, icon, icon(pop-sw))
patrick@59
    14
           "  " icon(diamond) "  media = " label(attribute, media, color, white, font-size, 120%)
patrick@59
    15
           set-attribute-button(attribute, media, icon, icon(pop-sw))
patrick@59
    16
           "  " icon(diamond) "  lang = " label(attribute, "xml:lang", color, white, font-size, 120%)
patrick@59
    17
           set-attribute-button(attribute, "xml:lang", icon, icon(pop-sw));
patrick@59
    18
}
patrick@59
    19
patrick@59
    20
publidoc {
patrick@59
    21
  color: black;
patrick@59
    22
  background-color: white;
patrick@59
    23
  font-family: sans-serif;
patrick@59
    24
  font-size: 120%;
patrick@59
    25
}
patrick@59
    26
patrick@59
    27
/* ======= Head level ======= */
patrick@59
    28
patrick@59
    29
/* head { */
patrick@59
    30
/*   display: block; */
patrick@59
    31
/* } */
patrick@59
    32
patrick@59
    33
/* ====== Section level ===== */
patrick@59
    34
patrick@59
    35
section:before {
patrick@59
    36
  display: block;
patrick@59
    37
  margin: 2ex 10px 0 1ex;
patrick@59
    38
  background-color: silver;
patrick@59
    39
  color: gray;
patrick@59
    40
  font-family: sans-serif;
patrick@59
    41
  font-weight: bold;
patrick@59
    42
  content: row(cell(content(" " insert-before-button() collapser()), width, 90%),
patrick@59
    43
               cell(content(insert-after-button() " "), width, 10%, text-align, right));
patrick@59
    44
}
patrick@59
    45
patrick@59
    46
section {
patrick@59
    47
  display: block;
patrick@59
    48
  collapsible: yes;
patrick@59
    49
  collapsed: no;
patrick@59
    50
}
patrick@59
    51
patrick@59
    52
/* ======= Block level ====== */
patrick@59
    53
patrick@59
    54
p {
patrick@59
    55
  display: block;
patrick@59
    56
}