Gestion des blocs principaux
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
mar., 20 déc. 2011 23:20:41 +0100
changeset 60 14211f9b064a
parent 59 49750b96058f
child 61 0a73f3369312
Gestion des blocs principaux
Xxe/publidoc.css
Xxe/publidoc.xxe
Xxe/publidoc.xxe_addon
--- a/Xxe/publidoc.css	mar. déc. 20 19:20:03 2011 +0100
+++ b/Xxe/publidoc.css	mar. déc. 20 23:20:41 2011 +0100
@@ -1,56 +1,74 @@
 /* $Id$ */
 
-publidoc:before {
-  display: block;
-  background-color: #993333;
-  padding: 3ex 1ex 3ex 1ex;
-  color: silver;
+publidoc {
   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%;
+*::comment { display: none; }
+
+/* Top level =============================================================== */
+
+
+
+/* Head level ============================================================== */
+
+head  {
+  display: block; 
+  margin: .5em 0;
+  background-color: #ffffe0;
+  border: thin solid #dcdcdc;
+  padding: .5em;
+  border-radius: 0.5em;
+  width: 100%;
 }
 
-/* ======= Head level ======= */
+head > *:before {
+ display: marker;
+ content: element-label();
+ color: gray;
+}
+head > title:before { display: none; }
+head > subtitle:before { content: "Sous-titre :"; }
+head > language:before { content: insert-before-button() " Langue :"; }
+head > date:before { content: insert-before-button() " Date :"; }
+head > place:before { content: insert-before-button() " Lieu :"; }
+head > source:before { content: insert-before-button() " Source :"; }
+head > keywordset:before { content: insert-before-button() " Mots clés :"; }
 
-/* head { */
+head > * {
+ display: block;
+ margin: 0 0 .5em 6em;
+}
+head > title {
+  font-size: 150%;
+  font-weight: bold;
+  color: #004080;
+  margin: 0 0 .4em 0;
+}
+
+head > *:after {
+  color:  gray;
+  content: " " insert-after-button();
+}
+head > title:after { content: ""; }
+
+/* Division level ========================================================== */
+
+/* Component level ========================================================= */
+
+/* Section level =========================================================== */
+
+/* section { */
 /*   display: block; */
 /* } */
 
-/* ====== Section level ===== */
+/* Block 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));
-}
+/* p { */
+/*   display: block; */
+/* } */
 
-section {
-  display: block;
-  collapsible: yes;
-  collapsed: no;
-}
+/* Inline level ============================================================ */
 
-/* ======= Block level ====== */
-
-p {
-  display: block;
-}
+sup { vertical-align: super; font-size: 75%; }
+sub { vertical-align: sub;   font-size: 75%; }
--- a/Xxe/publidoc.xxe	mar. déc. 20 19:20:03 2011 +0100
+++ b/Xxe/publidoc.xxe	mar. déc. 20 23:20:41 2011 +0100
@@ -11,7 +11,7 @@
   <relaxng compactSyntax="true" encoding="UTF-8"
            location="../RelaxNG/publidoc.rnc"/>
 
-  <css location="publidoc.css" name="Style sheet"/>
+  <css location="publidoc.css" name="Publidoc"/>
 
   <template location="publidoc_topic.xml" name="Topic"/>
   <template location="publidoc_document.xml" name="Document"/>
--- a/Xxe/publidoc.xxe_addon	mar. déc. 20 19:20:03 2011 +0100
+++ b/Xxe/publidoc.xxe_addon	mar. déc. 20 23:20:41 2011 +0100
@@ -13,6 +13,6 @@
 
   <a:author><a href="http://www.prismallia.fr">Prismallia</a></a:author>
 
-  <a:xxeVersion>5.0.0+</a:xxeVersion>
+  <a:xxeVersion>5.0.0</a:xxeVersion>
 
 </a:addon>