Xxe/Css/publidoc.css
author Patrick PIERRE <patrick.pierre@prismallia.fr>
jeu., 02 août 2012 17:16:36 +0200
changeset 127 efce69890bfd
parent 125 dd9b04a54839
child 139 053afd50e85d
permissions -rw-r--r--
Ajout de <shorttitle>
patrick@67
     1
@charset "UTF-8";
patrick@67
     2
patrick@59
     3
/* $Id$ */
patrick@59
     4
patrick@71
     5
@import url(xxe-config:common/css/cals_table.imp);
patrick@71
     6
patrick@60
     7
*::comment { display: none; }
patrick@60
     8
patrick@61
     9
publidoc {
patrick@63
    10
  display: block;
patrick@61
    11
  font-family: sans-serif;
patrick@61
    12
  padding: 0;
patrick@61
    13
}
patrick@60
    14
patrick@60
    15
patrick@60
    16
/* Head level ============================================================== */
patrick@60
    17
patrick@61
    18
head {
patrick@63
    19
  display: block;
patrick@61
    20
  margin-bottom: .5em;
patrick@62
    21
  background-color: #fafafa;
patrick@111
    22
  padding: .2em .5em 0 .5em;
patrick@61
    23
  border: 1px solid #bbbbbb;
patrick@61
    24
  border-radius: 0.2em;
patrick@59
    25
}
patrick@59
    26
patrick@60
    27
head > *:before {
patrick@60
    28
 display: marker;
patrick@65
    29
 color:  #7f7f7f;
patrick@70
    30
 content: element-label() " :";
patrick@60
    31
}
patrick@60
    32
head > title:before { display: none; }
patrick@127
    33
head > shorttitle:before { display: none; }
patrick@63
    34
head > subtitle:before { display: none; }
patrick@62
    35
head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
patrick@62
    36
head > identifier[type="ean"]:before { content: insert-before-button() " EAN :"; }
patrick@61
    37
head > copyright:before { content: insert-before-button() " Copyright :"; }
patrick@67
    38
head > contributors:before { content: insert-before-button() " Contributeurs :"; }
patrick@60
    39
head > date:before { content: insert-before-button() " Date :"; }
patrick@60
    40
head > place:before { content: insert-before-button() " Lieu :"; }
patrick@60
    41
head > source:before { content: insert-before-button() " Source :"; }
patrick@60
    42
head > keywordset:before { content: insert-before-button() " Mots clés :"; }
patrick@61
    43
head > subjectset:before { content: insert-before-button() " Thèmes :"; }
patrick@61
    44
head > abstract:before { content: insert-before-button() " Résumé :"; }
patrick@61
    45
head > cover:before { content: insert-before-button() " Couverture :"; }
patrick@61
    46
head > annotation:before { content: insert-before-button() " Annotation :"; }
patrick@111
    47
head > audio:before { content: insert-before-button() " Audio :"; }
patrick@59
    48
patrick@60
    49
head > * {
patrick@60
    50
 display: block;
patrick@67
    51
 margin: 0 0 .8em 7.5em;
patrick@60
    52
}
patrick@67
    53
patrick@67
    54
head > *:after {
patrick@67
    55
  color:  #7f7f7f;
patrick@67
    56
  content: " " insert-after-button();
patrick@67
    57
}
patrick@67
    58
patrick@127
    59
/* title, shortitle & subtitle ~~~~~ */
patrick@127
    60
patrick@127
    61
head > title, head > shorttitle {
patrick@127
    62
  font-weight: bold;
patrick@127
    63
  font-size: 120%;
patrick@127
    64
  margin: 0 0 .2em 0;
patrick@127
    65
}
patrick@67
    66
patrick@60
    67
head > title {
patrick@60
    68
  color: #004080;
patrick@61
    69
}
patrick@127
    70
patrick@63
    71
head > subtitle {
patrick@63
    72
  font-weight: bold;
patrick@63
    73
  color: #004080;
patrick@63
    74
  margin: 0 0 .2em 0;
patrick@60
    75
}
patrick@60
    76
patrick@67
    77
/* contributors ~~~~~~~~~~~~~~~~~~~~ */
patrick@67
    78
patrick@67
    79
contributor:before {
patrick@67
    80
  display: marker;
patrick@67
    81
  content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
patrick@67
    82
           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@60
    83
}
patrick@67
    84
contributor {
patrick@67
    85
  display: block;
patrick@67
    86
  margin: 0 0 .2em 24px;
patrick@62
    87
}
patrick@60
    88
patrick@67
    89
firstname:after, secondname:after, lastname:after, label:after,
patrick@67
    90
address:after {
patrick@65
    91
  content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@65
    92
}
patrick@65
    93
patrick@67
    94
contributor > link[uri]:after {
patrick@67
    95
  content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]"
patrick@67
    96
           insert-after-button(icon, icon(right-half-disc));
patrick@67
    97
}
patrick@67
    98
contributor > link[idref]:after {
patrick@67
    99
  content: " ‣ " label(attribute, idref, color, black)
patrick@67
   100
           set-attribute-button(attribute, idref) "]"
patrick@67
   101
           insert-after-button(icon, icon(right-half-disc));
patrick@65
   102
}
patrick@65
   103
patrick@68
   104
contributor role {
patrick@67
   105
  color: #7f7f7f;
patrick@68
   106
  content: " rôle : " combo-box(element, role, font-size, 75%,
patrick@67
   107
             labels, "auteur\A illustrateur\A éditeur"
patrick@68
   108
             values, "author\A illustrator\A publisher", color, black)
patrick@68
   109
           insert-same-after-button(icon, icon(right-half-disc));
patrick@65
   110
}
patrick@65
   111
patrick@67
   112
/* source ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@67
   113
patrick@65
   114
head source[type="book"] {
patrick@65
   115
  display: none;
patrick@65
   116
}
patrick@65
   117
patrick@67
   118
/* keyword & subject ~~~~~~~~~~~~~~~ */
patrick@67
   119
patrick@65
   120
head keyword:after {
patrick@65
   121
  content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc))
patrick@65
   122
           " ";
patrick@65
   123
}
patrick@65
   124
patrick@65
   125
head subject:before {
patrick@65
   126
  color: #7F7f7f;
patrick@65
   127
  content: "ID = " text-field(attribute, id, columns, 10, color, black, font-size, 75%);
patrick@65
   128
}
patrick@65
   129
head subject:after {
patrick@65
   130
  content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@65
   131
}
patrick@65
   132
patrick@67
   133
/* annotation ~~~~~~~~~~~~~~~~~~~~~~ */
patrick@67
   134
patrick@67
   135
head > annotation:after { content: ""; }
patrick@67
   136
patrick@67
   137
patrick@60
   138
/* Division level ========================================================== */
patrick@60
   139
patrick@61
   140
division:before {
patrick@63
   141
  display: block;
patrick@61
   142
  color: #7f7f7f;
patrick@61
   143
  content: collapser() " " insert-before-button() insert-after-button()
patrick@61
   144
           " Division"
patrick@61
   145
}
patrick@61
   146
patrick@61
   147
division {
patrick@61
   148
  display: block;
patrick@61
   149
  border: 1px dotted #7f7f7f;
patrick@61
   150
  padding: 5px;
patrick@61
   151
  margin-bottom: .5em;
patrick@61
   152
  collapsible: yes;
patrick@61
   153
  not-collapsible-head: 1;
patrick@61
   154
}
patrick@61
   155
division:last-child {
patrick@61
   156
  margin-bottom: 0;
patrick@61
   157
}
patrick@61
   158
patrick@61
   159
division > head {
patrick@62
   160
  background-color: #ffffee;
patrick@61
   161
  padding: .3em .5em .3em .5em;
patrick@61
   162
  border-radius: 0.5em;
patrick@61
   163
}
patrick@61
   164
patrick@61
   165
patrick@60
   166
/* Component level ========================================================= */
patrick@60
   167
patrick@61
   168
topic:before {
patrick@61
   169
  display: block;
patrick@61
   170
  color: #7f7f7f;
patrick@61
   171
  background-color: #ddddcc;
patrick@63
   172
  border: 1px solid #aeaea0;
patrick@61
   173
  font-weight: bold;
patrick@61
   174
  padding: .5em 5px .5em 5px;
patrick@61
   175
  content: collapser() " " insert-before-button() insert-after-button()
patrick@61
   176
           " " add-attribute-button() " Topic";
patrick@61
   177
}
patrick@61
   178
topic[xml|id]:before {
patrick@61
   179
  content: collapser() " " insert-before-button() insert-after-button()
patrick@62
   180
           " " add-attribute-button() " Topic"
patrick@62
   181
           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black);
patrick@61
   182
}
patrick@61
   183
topic[type]:before {
patrick@61
   184
  content: collapser() " " insert-before-button() insert-after-button()
patrick@62
   185
           " " add-attribute-button() " Topic"
patrick@62
   186
           " – Type = " text-field(attribute, type, columns, 10, color, black);
patrick@61
   187
}
patrick@61
   188
topic[xml|id][type]:before {
patrick@61
   189
  content: collapser() " " insert-before-button() insert-after-button()
patrick@62
   190
           " Topic"
patrick@62
   191
           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black)
patrick@62
   192
           " – Type = " text-field(attribute, type, columns, 10, color, black);
patrick@61
   193
}
patrick@61
   194
patrick@61
   195
topic {
patrick@63
   196
  display: block;
patrick@63
   197
  border: 1px solid #aeaea0;
patrick@61
   198
  margin-bottom: .5em;
patrick@61
   199
  padding: 5px;
patrick@61
   200
  collapsible: yes;
patrick@61
   201
}
patrick@61
   202
topic:last-child {
patrick@61
   203
  margin-bottom: 0;
patrick@61
   204
}
patrick@61
   205
patrick@61
   206
topic > head {
patrick@62
   207
  background-color: #ffffee;
patrick@61
   208
  padding: .3em .5em .3em .5em;
patrick@61
   209
  border-radius: 0.5em;
patrick@61
   210
}
patrick@61
   211
patrick@61
   212
patrick@61
   213
/* Top level =============================================================== */
patrick@61
   214
patrick@61
   215
publidoc > *:before {
patrick@61
   216
  display: block;
patrick@61
   217
  color: #bbbbbb;
patrick@62
   218
  background: #993333 url('top.png') repeat-x top left;
patrick@61
   219
  font-weight: bold;
patrick@62
   220
  padding: 1.2em 5px 1em 5px;
patrick@61
   221
}
patrick@61
   222
publidoc > document:before {
patrick@67
   223
  content: add-attribute-button() " Document"
patrick@117
   224
           " – ID = " text-field(attribute, "id", columns, 15, color, white);
patrick@67
   225
}
patrick@117
   226
publidoc > document[id][xml|lang]:before {
patrick@67
   227
  content: "Document"
patrick@117
   228
           " – ID = " text-field(attribute, "id", columns, 15, color, white)
patrick@67
   229
           " – Langue principale  = " combo-box(attribute, "xml:lang", font-size, 75%,
patrick@125
   230
             values, "en\A fr\A es", color, white);
patrick@61
   231
}
patrick@117
   232
publidoc > topic[id]:before {
patrick@67
   233
  content: add-attribute-button() " Topic"
patrick@117
   234
           " – ID = " text-field(attribute, "id", columns, 15, color, white);
patrick@61
   235
}
patrick@61
   236
publidoc > topic[xml|id][type]:before {
patrick@67
   237
  content: add-attribute-button() " Topic"
patrick@117
   238
           " – ID = " text-field(attribute, "id", columns, 15, color, white)
patrick@62
   239
           " – Type = " text-field(attribute, type, columns, 10, color, white);
patrick@61
   240
}
patrick@117
   241
publidoc > topic[id][xml|lang]:before {
patrick@67
   242
  content: add-attribute-button() " Topic"
patrick@117
   243
           " – ID = " text-field(attribute, "id", columns, 15, color, white)
patrick@70
   244
           " – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
patrick@125
   245
             values, "en\A fr\A es", color, white);
patrick@67
   246
}
patrick@117
   247
publidoc > topic[id][type][xml|lang]:before {
patrick@67
   248
  content: "Topic"
patrick@117
   249
           " – ID = " text-field(attribute, "id", columns, 15, color, white)
patrick@67
   250
           " – Type = " text-field(attribute, type, columns, 10, color, white)
patrick@70
   251
           " – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
patrick@125
   252
             values, "en\A fr\A es", color, white);
patrick@67
   253
}
patrick@61
   254
patrick@61
   255
publidoc > * {
patrick@63
   256
  display: block;
patrick@61
   257
  margin: 5px;
patrick@62
   258
  padding: 0;
patrick@61
   259
  border: 0;
patrick@61
   260
}
patrick@61
   261
patrick@61
   262
publidoc > * > head {
patrick@62
   263
  background-color: #ffffee;
patrick@61
   264
  padding: .3em .5em .3em .5em;
patrick@61
   265
  border-radius: 0.5em;
patrick@61
   266
}
patrick@61
   267
patrick@63
   268
publidoc > * > head > title {
patrick@63
   269
  font-size: 140%;
patrick@111
   270
  margin: .1em 0 .1em 0;
patrick@63
   271
}
patrick@63
   272
patrick@61
   273
patrick@60
   274
/* Section level =========================================================== */
patrick@60
   275
patrick@62
   276
section:before {
patrick@63
   277
  display: block;
patrick@62
   278
  color: #7f7f7f;
patrick@64
   279
  text-align: left;
patrick@64
   280
  font-style: normal;
patrick@64
   281
  font-size: 75%;
patrick@63
   282
  padding-bottom: 3px;
patrick@63
   283
  content: insert-before-button() add-attribute-button(icon, icon(plus-box));
patrick@62
   284
}
patrick@62
   285
section[type]:before {
patrick@64
   286
  content: insert-before-button() add-attribute-button(icon, icon(plus-box))
patrick@64
   287
           " Type = " text-field(attribute, type, columns, 5, color, black);
patrick@64
   288
}
patrick@64
   289
section[xml|lang]:before {
patrick@64
   290
  content: insert-before-button() add-attribute-button(icon, icon(plus-box))
patrick@64
   291
           " Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
patrick@64
   292
}
patrick@64
   293
section[type][xml|lang]:before {
patrick@63
   294
  content: insert-before-button()
patrick@64
   295
           " Type = " text-field(attribute, type, columns, 5, color, black)
patrick@64
   296
           " – Langue = " text-field(attribute, "xml:lang", columns, 2, color, black);
patrick@62
   297
}
patrick@63
   298
section section:before {
patrick@63
   299
  margin-left: 1em;
patrick@63
   300
}
patrick@62
   301
patrick@61
   302
section {
patrick@61
   303
  display: block;
patrick@61
   304
}
patrick@62
   305
section[type="box"] {
patrick@63
   306
  margin-bottom: .5em;
patrick@62
   307
  padding: 5px;
patrick@62
   308
  background-color: #e8f0f7;
patrick@62
   309
  border-radius: 0.2em;
patrick@62
   310
}
patrick@63
   311
section[type="ex"] { font-style: italic; }
patrick@62
   312
section[type="sign"] { text-align: right; }
patrick@62
   313
patrick@62
   314
section section {
patrick@63
   315
  margin-left: 1em;
patrick@62
   316
}
patrick@62
   317
patrick@62
   318
section:after {
patrick@62
   319
  color: #7f7f7f;
patrick@62
   320
  content: insert-after-button();
patrick@61
   321
}
patrick@64
   322
section section:after {
patrick@64
   323
  margin-left: 1em;
patrick@64
   324
}
patrick@61
   325
patrick@59
   326
patrick@60
   327
/* Block level ============================================================= */
patrick@59
   328
patrick@62
   329
p:before, speech:before, list:before,
patrick@62
   330
blockquote:before, table:before, media:before {
patrick@63
   331
  display: marker;
patrick@72
   332
  color: #7f7f7f;
patrick@72
   333
  content: insert-before-button(icon, icon(left-half-disc))
patrick@72
   334
           insert-after-button(icon, icon(right-half-disc));
patrick@62
   335
}
patrick@62
   336
patrick@62
   337
p, speech, list, blockquote, table, media {
patrick@61
   338
  display: block;
patrick@62
   339
  margin-left: 24px;
patrick@63
   340
  font-size: 115%;
patrick@62
   341
  font-family: serif;
patrick@61
   342
}
patrick@61
   343
patrick@67
   344
/* speech ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@65
   345
patrick@65
   346
speaker {
patrick@65
   347
  font-weight: bold;
patrick@65
   348
}
patrick@65
   349
patrick@65
   350
stage:before, stage:after {
patrick@65
   351
  color: #7f7f7f;
patrick@65
   352
  content: "(";
patrick@65
   353
}
patrick@65
   354
stage:before {
patrick@65
   355
  content: " (";
patrick@65
   356
}
patrick@65
   357
stage {
patrick@65
   358
  font-style: italic;  
patrick@65
   359
}
patrick@65
   360
stage:after {
patrick@65
   361
  content: ")";
patrick@65
   362
}
patrick@65
   363
patrick@63
   364
/* list ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@61
   365
patrick@72
   366
list:before {
patrick@72
   367
  content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
patrick@72
   368
           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
patrick@72
   369
           command-button(command, "putAttribute", parameter, "type ordered", icon, icon(convert));
patrick@72
   370
}
patrick@72
   371
list[type="ordered"]:before {
patrick@72
   372
  content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
patrick@72
   373
           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc))
patrick@72
   374
           command-button(command, "removeAttribute", parameter, "type", icon, icon(convert));
patrick@72
   375
}
patrick@72
   376
list[type="glossary"]:before {
patrick@72
   377
  content: insert-before-button(color, #7f7f7f, icon, icon(left-half-disc))
patrick@72
   378
           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@72
   379
}
patrick@72
   380
patrick@61
   381
list {
patrick@72
   382
  margin: .3em 0 .3em 36px;
patrick@72
   383
}
patrick@72
   384
list[type="glossary"] {
patrick@62
   385
  margin: .3em 0 .3em 24px;
patrick@61
   386
}
patrick@61
   387
patrick@63
   388
list > head {
patrick@63
   389
  font-size: 75%;
patrick@63
   390
}
patrick@63
   391
patrick@61
   392
item {
patrick@61
   393
  display: list-item;
patrick@61
   394
}
patrick@61
   395
list[type="ordered"] > item {
patrick@61
   396
  list-style-type: decimal;
patrick@72
   397
  list-style-position: inside;
patrick@61
   398
}
patrick@61
   399
patrick@63
   400
item:after {
patrick@63
   401
  content: insert-same-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@63
   402
}
patrick@63
   403
patrick@72
   404
list:not([type="glossary"]) > item > p:before {
patrick@72
   405
  color: #7f7f7f;
patrick@72
   406
  content: insert-same-before-button(icon, icon(left-half-disc))
patrick@72
   407
           insert-same-after-button(icon, icon(right-half-disc));
patrick@72
   408
}
patrick@72
   409
list:not([type="glossary"]) > item > p {
patrick@72
   410
  display: inline;
patrick@72
   411
}
patrick@72
   412
list:not([type="glossary"]) > item > p:after {
patrick@72
   413
  color: #7f7f7f;  
patrick@72
   414
  content: "\A";
patrick@72
   415
}
patrick@72
   416
patrick@61
   417
list[type="glossary"] > item > label {
patrick@61
   418
  font-weight: bold;
patrick@61
   419
}
patrick@61
   420
patrick@63
   421
/* blockquote ~~~~~~~~~~~~~~~~~~~~~~ */
patrick@62
   422
patrick@72
   423
blockquote { color: #004080; }
patrick@72
   424
patrick@62
   425
attribution { font-style: italic; }
patrick@62
   426
patrick@64
   427
/* media ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@64
   428
patrick@68
   429
media {
patrick@108
   430
  margin-top: .5em;
patrick@108
   431
  margin-bottom: 1em;
patrick@108
   432
  padding: 10px;
patrick@108
   433
  border: 1px dashed #7f7f7f;
patrick@108
   434
}
patrick@108
   435
patrick@124
   436
media image, media audio, media video {
patrick@108
   437
  display: block;
patrick@108
   438
  font-family: sans-serif;
patrick@108
   439
}
patrick@111
   440
patrick@111
   441
media caption {
patrick@111
   442
  display: block;
patrick@111
   443
}
patrick@111
   444
media caption:after {
patrick@111
   445
  content: insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@68
   446
}
patrick@68
   447
patrick@111
   448
/* image ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@111
   449
patrick@111
   450
cover image {
patrick@111
   451
  content: concatenate("image('Images/", attr(id), ".png', -480, -360, smooth)");
patrick@111
   452
}
patrick@111
   453
patrick@111
   454
p image {
patrick@111
   455
  content: concatenate("image('Images/", attr(id), ".png', -64, -48, smooth)");
patrick@108
   456
  vertical-align: middle;
patrick@108
   457
}
patrick@111
   458
patrick@111
   459
media image:before {
patrick@111
   460
  display: block;
patrick@111
   461
  text-align: left;
patrick@111
   462
  content: concatenate("image('Images/", attr(id), ".png', -480, -360, smooth)")
patrick@111
   463
           insert-button(color, #7f7f7f, icon, icon(pop-down))
patrick@111
   464
           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@111
   465
}
patrick@111
   466
media image[type="thumbnail"]:before {
patrick@111
   467
  content: concatenate("image('Images/", attr(id), ".png', -128, -96, smooth)")
patrick@111
   468
           insert-button(color, #7f7f7f, icon, icon(pop-down))
patrick@111
   469
           insert-after-button(color, #7f7f7f, icon, icon(right-half-disc));
patrick@108
   470
}
patrick@108
   471
patrick@111
   472
media image {
patrick@111
   473
  margin-bottom: .8em;
patrick@111
   474
}
patrick@111
   475
patrick@111
   476
image > copyright {
patrick@111
   477
  display: block;
patrick@111
   478
  font-size: 75%;
patrick@68
   479
  font-style: italic;
patrick@68
   480
}
patrick@111
   481
patrick@122
   482
/* Hotspot */
patrick@122
   483
patrick@122
   484
hotspot {
patrick@122
   485
  display: block;
patrick@122
   486
  padding: .5em;
patrick@122
   487
  background-color: #ffefd8;
patrick@122
   488
  border-radius: 1.5em;
patrick@122
   489
}
patrick@122
   490
patrick@122
   491
/* Tooltip */
patrick@122
   492
patrick@122
   493
tooltip image:before {
patrick@122
   494
  content: "";
patrick@122
   495
}
patrick@122
   496
tooltip > image {
patrick@122
   497
  content: concatenate("image('Images/", attr(id), ".png', -128, -96, smooth)");
patrick@122
   498
}
patrick@122
   499
patrick@111
   500
tooltip {
patrick@111
   501
  display: block;
patrick@111
   502
  padding: .5em;
patrick@111
   503
  background-color: #eaffe9;
patrick@111
   504
  border-radius: 1.5em;
patrick@111
   505
}
patrick@111
   506
tooltip > p {
patrick@111
   507
  font-family: sans-serif;
patrick@111
   508
  font-size: 85%;
patrick@111
   509
}
patrick@111
   510
patrick@111
   511
/* audio ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@111
   512
patrick@111
   513
audio {
patrick@111
   514
  content: text-field(attribute, id, color, black, font-size, 75%)
patrick@111
   515
           " type : " label(attribute, type, color, black) " "
patrick@111
   516
           set-attribute-button(attribute, type, icon, icon(pop-sw), color, black);
patrick@111
   517
}
patrick@111
   518
media audio {
patrick@111
   519
  content: "Audio : " text-field(attribute, id, color, black)
patrick@111
   520
           " type : " label(attribute, type, color, black) " "
patrick@111
   521
           set-attribute-button(attribute, type, icon, icon(pop-sw), color, black);
patrick@108
   522
}
patrick@68
   523
patrick@64
   524
patrick@124
   525
/* video ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@124
   526
patrick@124
   527
video {
patrick@124
   528
  content: text-field(attribute, id, color, black, font-size, 75%);
patrick@124
   529
}
patrick@124
   530
media video {
patrick@124
   531
  content: "Video : " text-field(attribute, id, color, black);
patrick@124
   532
}
patrick@124
   533
patrick@124
   534
patrick@60
   535
/* Inline level ============================================================ */
patrick@59
   536
patrick@63
   537
/* sup, sub, var ~~~~~~~~~~~~~~~~~~~ */
patrick@62
   538
patrick@63
   539
sup { font-family: sans-serif; vertical-align: super; font-size: 75%; }
patrick@63
   540
sub { font-family: sans-serif; vertical-align: sub;   font-size: 75%; }
patrick@63
   541
var { font-family: sans-serif; font-style: italic; }
patrick@63
   542
patrick@65
   543
/* date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@65
   544
patrick@65
   545
date[value]:after {
patrick@65
   546
  color: #7f7f7f;
patrick@65
   547
  content: " (" date-picker(attribute, value, columns, 7, color, black, font-size, 75%) ")";
patrick@65
   548
}
patrick@65
   549
head > date[value]:after {
patrick@65
   550
  color: #7f7f7f;
patrick@65
   551
  content: " (" date-picker(attribute, value, columns, 7, color, black, font-size, 75%)
patrick@65
   552
           ") " insert-after-button();
patrick@65
   553
}
patrick@65
   554
patrick@70
   555
/* name ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@70
   556
patrick@70
   557
name { font-family: sans-serif; color: #004080; }
patrick@70
   558
patrick@63
   559
/* note ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@63
   560
patrick@63
   561
note:before { font-size: 75%; content: "(Note : "; }
patrick@63
   562
note { font-family: sans-serif; color: #004080; font-size: 75%; }
patrick@63
   563
note:after { font-size: 75%; content: ")"; }
patrick@62
   564
note p { display:inline; }
patrick@62
   565
patrick@90
   566
/* foreign ~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@90
   567
patrick@90
   568
foreign { font-family: sans-serif; font-style: italic; }
patrick@90
   569
patrick@63
   570
/* highlight ~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@63
   571
patrick@62
   572
highlight { font-weight: bold; }
patrick@63
   573
patrick@89
   574
/* mentioned ~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@89
   575
patrick@89
   576
mentioned { font-style: italic; }
patrick@89
   577
patrick@68
   578
/* term ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@68
   579
patrick@89
   580
term { font-family: sans-serif; }
patrick@68
   581
patrick@63
   582
/* link ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@63
   583
patrick@63
   584
link:before {
patrick@63
   585
  color: #7f7f7f;
patrick@63
   586
  font-family: sans-serif;
patrick@63
   587
  content: "["
patrick@63
   588
}
patrick@63
   589
patrick@63
   590
media link {
patrick@63
   591
  display: block;
patrick@63
   592
}
patrick@63
   593
patrick@63
   594
link:after {
patrick@63
   595
  color: #7f7f7f;
patrick@63
   596
  font-family: sans-serif;
patrick@63
   597
}
patrick@63
   598
link[uri]:after {
patrick@63
   599
  content: " ‣ " text-field(attribute, uri, color, black, font-size, 80%) "]";
patrick@63
   600
}
patrick@63
   601
link[idref]:after {
patrick@63
   602
  content: " ‣ " label(attribute, idref, color, black)
patrick@63
   603
           set-attribute-button(attribute, idref) "]";
patrick@63
   604
}
patrick@63
   605
patrick@106
   606
/* smil ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
patrick@106
   607
patrick@106
   608
smil {
patrick@106
   609
  background-color: #ffffc0;
patrick@111
   610
  
patrick@106
   611
}