Xxe/Css/publidoc.css
changeset 139 053afd50e85d
parent 127 efce69890bfd
child 156 29405a66e77b
equal deleted inserted replaced
138:06fb88fe4136 139:053afd50e85d
    23   border: 1px solid #bbbbbb;
    23   border: 1px solid #bbbbbb;
    24   border-radius: 0.2em;
    24   border-radius: 0.2em;
    25 }
    25 }
    26 
    26 
    27 head > *:before {
    27 head > *:before {
    28  display: marker;
    28   display: marker;
    29  color:  #7f7f7f;
    29   color:  #7f7f7f;
    30  content: element-label() " :";
    30   content: element-label() " :";
    31 }
    31 }
    32 head > title:before { display: none; }
    32 head > title:before { display: none; }
    33 head > shorttitle:before { display: none; }
    33 head > shorttitle:before { display: none; }
    34 head > subtitle:before { display: none; }
    34 head > subtitle:before { display: none; }
    35 head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
    35 head > identifier[type="uri"]:before { content: insert-before-button() " URI :"; }
    45 head > cover:before { content: insert-before-button() " Couverture :"; }
    45 head > cover:before { content: insert-before-button() " Couverture :"; }
    46 head > annotation:before { content: insert-before-button() " Annotation :"; }
    46 head > annotation:before { content: insert-before-button() " Annotation :"; }
    47 head > audio:before { content: insert-before-button() " Audio :"; }
    47 head > audio:before { content: insert-before-button() " Audio :"; }
    48 
    48 
    49 head > * {
    49 head > * {
    50  display: block;
    50   display: block;
    51  margin: 0 0 .8em 7.5em;
    51   margin: 0 0 .8em 7.5em;
    52 }
    52 }
    53 
    53 
    54 head > *:after {
    54 head > *:after {
    55   color:  #7f7f7f;
    55   color:  #7f7f7f;
    56   content: " " insert-after-button();
    56   content: " " insert-after-button();
   173   font-weight: bold;
   173   font-weight: bold;
   174   padding: .5em 5px .5em 5px;
   174   padding: .5em 5px .5em 5px;
   175   content: collapser() " " insert-before-button() insert-after-button()
   175   content: collapser() " " insert-before-button() insert-after-button()
   176            " " add-attribute-button() " Topic";
   176            " " add-attribute-button() " Topic";
   177 }
   177 }
   178 topic[xml|id]:before {
   178 topic[id]:before {
   179   content: collapser() " " insert-before-button() insert-after-button()
   179   content: collapser() " " insert-before-button() insert-after-button()
   180            " " add-attribute-button() " Topic"
   180            " " add-attribute-button() " Topic"
   181            " – ID = " text-field(attribute, "xml:id", columns, 15, color, black);
   181            " – ID = " text-field(attribute, "id", columns, 15, color, black);
   182 }
   182 }
   183 topic[type]:before {
   183 topic[type]:before {
   184   content: collapser() " " insert-before-button() insert-after-button()
   184   content: collapser() " " insert-before-button() insert-after-button()
   185            " " add-attribute-button() " Topic"
   185            " " add-attribute-button() " Topic"
   186            " – Type = " text-field(attribute, type, columns, 10, color, black);
   186            " – Type = " text-field(attribute, type, columns, 10, color, black);
   187 }
   187 }
   188 topic[xml|id][type]:before {
   188 topic[id][type]:before {
   189   content: collapser() " " insert-before-button() insert-after-button()
   189   content: collapser() " " insert-before-button() insert-after-button()
   190            " Topic"
   190            " Topic"
   191            " – ID = " text-field(attribute, "xml:id", columns, 15, color, black)
   191            " – ID = " text-field(attribute, "id", columns, 15, color, black)
   192            " – Type = " text-field(attribute, type, columns, 10, color, black);
   192            " – Type = " text-field(attribute, type, columns, 10, color, black);
   193 }
   193 }
   194 
   194 
   195 topic {
   195 topic {
   196   display: block;
   196   display: block;
   231 }
   231 }
   232 publidoc > topic[id]:before {
   232 publidoc > topic[id]:before {
   233   content: add-attribute-button() " Topic"
   233   content: add-attribute-button() " Topic"
   234            " – ID = " text-field(attribute, "id", columns, 15, color, white);
   234            " – ID = " text-field(attribute, "id", columns, 15, color, white);
   235 }
   235 }
   236 publidoc > topic[xml|id][type]:before {
   236 publidoc > topic[id][type]:before {
   237   content: add-attribute-button() " Topic"
   237   content: add-attribute-button() " Topic"
   238            " – ID = " text-field(attribute, "id", columns, 15, color, white)
   238            " – ID = " text-field(attribute, "id", columns, 15, color, white)
   239            " – Type = " text-field(attribute, type, columns, 10, color, white);
   239            " – Type = " text-field(attribute, type, columns, 10, color, white);
   240 }
   240 }
   241 publidoc > topic[id][xml|lang]:before {
   241 publidoc > topic[id][xml|lang]:before {
   297 }
   297 }
   298 section section:before {
   298 section section:before {
   299   margin-left: 1em;
   299   margin-left: 1em;
   300 }
   300 }
   301 
   301 
   302 section {
   302 header, section, footer {
   303   display: block;
   303   display: block;
   304 }
   304 }
   305 section[type="box"] {
   305 section[type="box"] {
   306   margin-bottom: .5em;
   306   margin-bottom: .5em;
   307   padding: 5px;
   307   padding: 5px;
   309   border-radius: 0.2em;
   309   border-radius: 0.2em;
   310 }
   310 }
   311 section[type="ex"] { font-style: italic; }
   311 section[type="ex"] { font-style: italic; }
   312 section[type="sign"] { text-align: right; }
   312 section[type="sign"] { text-align: right; }
   313 
   313 
       
   314 header, footer {
       
   315   background-color: #fafafa;
       
   316 }
       
   317 
   314 section section {
   318 section section {
   315   margin-left: 1em;
   319   margin-left: 1em;
   316 }
   320 }
   317 
   321 
   318 section:after {
   322 section:after {