Skip to content

Commit

Permalink
author mode: display keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
olvidalo committed Aug 30, 2022
1 parent d10da50 commit b5c47a9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions css/epidoc_c.less
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,37 @@ fileDesc titleStmt title {
-oxy-placeholder-content: "Titel des Textträgers (optional)";
}

/************************* profileDesc (keywords) **************************/

textClass {
-oxy-editable: false;
}

profileDesc {
display: block;
-oxy-foldable: true;
-oxy-folded: true;

term {
display: block;
}
term[ref]:after {
content: oxy_htmlContent(content, oxy_concat('&nbsp; (GND: <a href="', attr('ref'), '">', attr('key') ,'</a>)'));
}
}

profileDesc:before {
display: block;
background-color: @accentBackgroundColor;
color: #FFFFFF;
content: "Schlagwörter für Text "
oxy_xpath(oxy_concat("//msItemStruct[@xml:id = substring-after('", attr("corresp"), "', '#')]/string-join((@xml:id, tei:title), ' ')"))
;
vertical-align: middle;
font-weight: bold;
font-size: 0.8em;
padding: 0.2em 0em 0.2em 0.5em;
}

/************************* RESP **************************/

Expand Down Expand Up @@ -547,6 +578,8 @@ msItemStruct {
-oxy-foldable: true;
-oxy-folded: true;
}


msItemStruct:before {
display: block;
content: "Text Nr." counter(itemStruct) "" attr('xml:id')
Expand Down

0 comments on commit b5c47a9

Please sign in to comment.