Xxe/Css/publidoc.css
changeset 67 e38ad0e8e9d4
parent 65 2aad27159a33
child 68 b47c497e1f0f
equal deleted inserted replaced
66:29c53c3d676e 67:e38ad0e8e9d4
       
     1 @charset "UTF-8";
       
     2 
     1 /* $Id$ */
     3 /* $Id$ */
     2 
     4 
     3 *::comment { display: none; }
     5 *::comment { display: none; }
     4 
     6 
     5 publidoc {
     7 publidoc {
    27 }
    29 }
    28 head > title:before { display: none; }
    30 head > title:before { display: none; }
    29 head > subtitle:before { display: none; }
    31 head > subtitle:before { display: none; }
    30 head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
    32 head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
    31 head > identifier[type="ean"]:before { content: insert-before-button() " EAN :"; }
    33 head > identifier[type="ean"]:before { content: insert-before-button() " EAN :"; }
    32 head > language:before { content: insert-before-button() " Langue :"; }
       
    33 head > copyright:before { content: insert-before-button() " Copyright :"; }
    34 head > copyright:before { content: insert-before-button() " Copyright :"; }
    34 head > author:before { content: insert-before-button() " Auteur :"; }
    35 head > contributors:before { content: insert-before-button() " Contributeurs :"; }
    35 head > publisher:before { content: insert-before-button() " Éditeur :"; }
       
    36 head > date:before { content: insert-before-button() " Date :"; }
    36 head > date:before { content: insert-before-button() " Date :"; }
    37 head > place:before { content: insert-before-button() " Lieu :"; }
    37 head > place:before { content: insert-before-button() " Lieu :"; }
    38 head > source:before { content: insert-before-button() " Source :"; }
    38 head > source:before { content: insert-before-button() " Source :"; }
    39 head > keywordset:before { content: insert-before-button() " Mots clés :"; }
    39 head > keywordset:before { content: insert-before-button() " Mots clés :"; }
    40 head > subjectset:before { content: insert-before-button() " Thèmes :"; }
    40 head > subjectset:before { content: insert-before-button() " Thèmes :"; }
    42 head > cover:before { content: insert-before-button() " Couverture :"; }
    42 head > cover:before { content: insert-before-button() " Couverture :"; }
    43 head > annotation:before { content: insert-before-button() " Annotation :"; }
    43 head > annotation:before { content: insert-before-button() " Annotation :"; }
    44 
    44 
    45 head > * {
    45 head > * {
    46  display: block;
    46  display: block;
    47  margin: 0 0 .5em 7em;
    47  margin: 0 0 .8em 7.5em;
    48 }
       
    49 head > title {
       
    50   font-size: 120%;
       
    51   font-weight: bold;
       
    52   color: #004080;
       
    53   margin: .2em 0 .2em 0;
       
    54 }
       
    55 head > subtitle {
       
    56   font-weight: bold;
       
    57   color: #004080;
       
    58   margin: 0 0 .2em 0;
       
    59 }
    48 }
    60 
    49 
    61 head > *:after {
    50 head > *:after {
    62   color:  #7f7f7f;
    51   color:  #7f7f7f;
    63   content: " " insert-after-button();
    52   content: " " insert-after-button();
    64 }
    53 }
    65 head > annotation:after { content: ""; }
    54 
    66 
    55 /* title & subtitle ~~~~~~~~~~~~~~~~ */
    67 language {
    56 
    68   content: combo-box(attribute, "xml:lang", font-size, 75%,
    57 head > title {
    69              labels, "Anglais\A Français\A Français (France)\A Espagnol",
    58   font-size: 120%;
    70              values, "en\A fr\A fr-FR\A, es");
    59   font-weight: bold;
    71 }
    60   color: #004080;
    72 
    61   margin: .2em 0 .2em 0;
    73 head lastname:before {
    62 }
    74   content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc));
    63 head > subtitle {
    75 }
    64   font-weight: bold;
    76 lastname:after {
    65   color: #004080;
       
    66   margin: 0 0 .2em 0;
       
    67 }
       
    68 
       
    69 /* contributors ~~~~~~~~~~~~~~~~~~~~ */
       
    70 
       
    71 contributor:before {
       
    72   display: marker;
       
    73   content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
       
    74            insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
       
    75 }
       
    76 contributor {
       
    77   display: block;
       
    78   margin: 0 0 .2em 24px;
       
    79 }
       
    80 
       
    81 firstname:after, secondname:after, lastname:after, label:after,
       
    82 address:after {
    77   content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
    83   content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
    78 }
    84 }
    79 
    85 
    80 head role:before {
    86 contributor > link[uri]:after {
    81   color: #7f7f7f;
    87   content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]"
    82   content: " role : " label(attribute, of, color, black)
    88            insert-after-button(icon, icon(right-half-disc));
    83            set-attribute-button(attribute, of);
    89 }
    84 }
    90 contributor > link[idref]:after {
    85 
    91   content: " ‣ " label(attribute, idref, color, black)
    86 head > publisher > label:after {
    92            set-attribute-button(attribute, idref) "]"
    87   content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
    93            insert-after-button(icon, icon(right-half-disc));
    88 }
    94 }
       
    95 
       
    96 head role {
       
    97   color: #7f7f7f;
       
    98   content: " role : " combo-box(element, "role", font-size, 75%,
       
    99              labels, "auteur\A illustrateur\A éditeur"
       
   100              values, "author\A illustrator\A publisher", color, black);;
       
   101 }
       
   102 
       
   103 /* source ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
    89 
   104 
    90 head source[type="book"] {
   105 head source[type="book"] {
    91   display: none;
   106   display: none;
    92 }
   107 }
       
   108 
       
   109 /* keyword & subject ~~~~~~~~~~~~~~~ */
    93 
   110 
    94 head keyword:after {
   111 head keyword:after {
    95   content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc))
   112   content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc))
    96            " ";
   113            " ";
    97 }
   114 }
   101   content: "ID = " text-field(attribute, id, columns, 10, color, black, font-size, 75%);
   118   content: "ID = " text-field(attribute, id, columns, 10, color, black, font-size, 75%);
   102 }
   119 }
   103 head subject:after {
   120 head subject:after {
   104   content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
   121   content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
   105 }
   122 }
       
   123 
       
   124 /* annotation ~~~~~~~~~~~~~~~~~~~~~~ */
       
   125 
       
   126 head > annotation:after { content: ""; }
       
   127 
   106 
   128 
   107 /* Division level ========================================================== */
   129 /* Division level ========================================================== */
   108 
   130 
   109 division:before {
   131 division:before {
   110   display: block;
   132   display: block;
   187   background: #993333 url('top.png') repeat-x top left;
   209   background: #993333 url('top.png') repeat-x top left;
   188   font-weight: bold;
   210   font-weight: bold;
   189   padding: 1.2em 5px 1em 5px;
   211   padding: 1.2em 5px 1em 5px;
   190 }
   212 }
   191 publidoc > document:before {
   213 publidoc > document:before {
   192   content: "Document – "
   214   content: add-attribute-button() " Document"
   193            "ID = " text-field(attribute, "xml:id", columns, 15, color, white);
   215            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white);
       
   216 }
       
   217 publidoc > document[xml|id][xml|lang]:before {
       
   218   content: "Document"
       
   219            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
       
   220            " – Langue principale  = " combo-box(attribute, "xml:lang", font-size, 75%,
       
   221              values, "en\A fr\A fr-FR\A es", color, white);
   194 }
   222 }
   195 publidoc > topic[xml|id]:before {
   223 publidoc > topic[xml|id]:before {
   196   content: add-attribute-button() " Topic – "
   224   content: add-attribute-button() " Topic"
   197            "ID = " text-field(attribute, "xml:id", columns, 15, color, white);
   225            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white);
   198 }
   226 }
   199 publidoc > topic[xml|id][type]:before {
   227 publidoc > topic[xml|id][type]:before {
       
   228   content: add-attribute-button() " Topic"
       
   229            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
       
   230            " – Type = " text-field(attribute, type, columns, 10, color, white);
       
   231 }
       
   232 publidoc > topic[xml|id][xml|lang]:before {
       
   233   content: add-attribute-button() " Topic"
       
   234            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
       
   235            " – Langue principale  = " combo-box(attribute, "xml:lang", font-size, 75%,
       
   236              values, "en\A fr\A fr-FR\A es", color, white);
       
   237 }
       
   238 publidoc > topic[xml|id][type][xml|lang]:before {
   200   content: "Topic"
   239   content: "Topic"
   201            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
   240            " – ID = " text-field(attribute, "xml:id", columns, 15, color, white)
   202            " – Type = " text-field(attribute, type, columns, 10, color, white);
   241            " – Type = " text-field(attribute, type, columns, 10, color, white)
   203 }
   242            " – Langue principale  = " combo-box(attribute, "xml:lang", font-size, 75%,
   204 
   243              values, "en\A fr\A fr-FR\A es", color, white);
       
   244 }
   205 
   245 
   206 publidoc > * {
   246 publidoc > * {
   207   display: block;
   247   display: block;
   208   margin: 5px;
   248   margin: 5px;
   209   padding: 0;
   249   padding: 0;
   288   margin-left: 24px;
   328   margin-left: 24px;
   289   font-size: 115%;
   329   font-size: 115%;
   290   font-family: serif;
   330   font-family: serif;
   291 }
   331 }
   292 
   332 
   293 /* seepch ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
   333 /* speech ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
   294 
   334 
   295 speaker {
   335 speaker {
   296   font-weight: bold;
   336   font-weight: bold;
   297 }
   337 }
   298 
   338