Xxe/Css/publiquiz.css
changeset 158 4421865b3f33
parent 128 14dc149154f4
child 161 1f9fa4e74cd0
--- a/Xxe/Css/publiquiz.css	lun. janv. 21 22:04:59 2013 +0100
+++ b/Xxe/Css/publiquiz.css	mar. janv. 22 19:58:28 2013 +0100
@@ -25,9 +25,21 @@
            " " add-attribute-button() " Quiz";
 }
 
-quiz[xml|id]:before {
-  content: collapser() " " insert-before-button() insert-after-button() " Quiz"
-           " – ID = " text-field(attribute, "xml:id", columns, 15, color, black);
+quiz[id]:before {
+  content: collapser() " " insert-before-button() insert-after-button()
+           " " add-attribute-button() " Quiz"
+           " – ID = " text-field(attribute, "id", columns, 15, color, black);
+}
+quiz[type]:before {
+  content: collapser() " " insert-before-button() insert-after-button()
+           " " add-attribute-button() " Quiz"
+           " – Type = " text-field(attribute, type, columns, 10, color, black);
+}
+quiz[id][type]:before {
+  content: collapser() " " insert-before-button() insert-after-button()
+           " Quiz"
+           " – ID = " text-field(attribute, "id", columns, 15, color, black)
+           " – Type = " text-field(attribute, type, columns, 10, color, black);
 }
 
 quiz {
@@ -71,10 +83,22 @@
   content: add-attribute-button() " Quiz"
            " – ID = " text-field(attribute, "id", columns, 15, color, white);
 }
+publiquiz > quiz[id][type]:before {
+  content: add-attribute-button() " Quiz"
+           " – ID = " text-field(attribute, "id", columns, 15, color, white)
+           " – Type = " text-field(attribute, type, columns, 10, color, white);
+}
 publiquiz > quiz[id][xml|lang]:before {
+  content: add-attribute-button() " Quiz"
+           " – ID = " text-field(attribute, "id", columns, 15, color, white)
+           " – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
+             values, "en\A fr\A es", color, white);
+}
+publiquiz > quiz[id][type][xml|lang]:before {
   content: "Quiz"
            " – ID = " text-field(attribute, "id", columns, 15, color, white)
-           " – Langue principale  = " combo-box(attribute, "xml:lang", font-size, 75%,
+           " – Type = " text-field(attribute, type, columns, 10, color, white)
+           " – Langue principale = " combo-box(attribute, "xml:lang", font-size, 75%,
              values, "en\A fr\A es", color, white);
 }