From feea3b1a69a7563f4036b9b979364835a9154f09 Mon Sep 17 00:00:00 2001 From: Martin de la Iglesia <iglesia@hab.de> Date: Thu, 29 Aug 2024 11:19:24 +0000 Subject: [PATCH] Upload New File --- personenregister.css | 838 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 838 insertions(+) create mode 100644 personenregister.css diff --git a/personenregister.css b/personenregister.css new file mode 100644 index 0000000..1ffb5f7 --- /dev/null +++ b/personenregister.css @@ -0,0 +1,838 @@ +/* Diese CSS-Datei ist Teil von + +Philipp Hainhofer: Das Große Stammbuch. Kommentierte digitale Edition eines bedeutenden Album Amicorum aus der Zeit um 1600 [Wolfenbütteler Digitale Editionen, Nr. 6], herausgegeben, transkribiert, übersetzt und kommentiert von Sabine Jagodzinski, Wolfenbüttel: Herzog August Bibliothek 2024, https://stammbuch.hab.de/stammbuch + +und wurde erstellt von Martin de la Iglesia (iglesia@hab.de). + +Sie dient der Bearbeitung des Personenregisters im <oXygen/> XML Editor. */ + +@namespace oxy url('http://www.oxygenxml.com/extensions/author'); +@namespace xml url('http://www.w3.org/XML/1998/namespace'); + +oxy|comment{ + display:none !important +} + +teiHeader{ + display:none; +} + +text{ + color:black; +} + +person { + display:block; + background-color:#fff1e5; + border-style:solid; + margin:10px; +} + +person:before { + content: + oxy_label( + text, "ID: ", + width, 1em) + oxy_textfield( + edit, "@xml:id", + columns, 32) + " Funktion: " + oxy_combobox( + edit, '@role', + editable, false, + values, 'Inskribent, Künstler, Sonstige', + labels, 'Inskribent, Künstler, Sonstige' +); +} + +person occupation:first-of-type:before{ + content: + "\A" +oxy_button( + action, oxy_action( + name, '[+geboren/gestorben]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<birth xmlns="http://www.tei-c.org/ns/1.0"/><death xmlns="http://www.tei-c.org/ns/1.0"/>', + arg-insertLocation, '(ancestor-or-self::person)/occupation', + arg-insertPosition, 'Before'), + showIcon, false +) +oxy_button( + action, oxy_action( + name, '[+Wirkungsdaten]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<floruit xmlns="http://www.tei-c.org/ns/1.0"/>', + arg-insertLocation, '(ancestor-or-self::person)/occupation', + arg-insertPosition, 'Before'), + showIcon, false +) + "\A Kategorie: " oxy_buttonGroup( + label,'Auswahl', + actions, + oxy_action_list( + oxy_action( + name, 'regierende Fürsten', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">regierende Fürsten</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Adlige', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Adlige</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Geistliche', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Geistliche</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Militär', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Militär</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Gesandte', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Gesandte</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Patrizier', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Patrizier</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Gelehrte', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Gelehrte</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Hofbeamte', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Hofbeamte</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Künstler', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Künstler</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Sonstige', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Sonstige</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ) + ) + ) +} + +person occupation:not(occupation:first-of-type):before{ + content: + "\A Kategorie: " oxy_buttonGroup( + label,'Auswahl', + actions, + oxy_action_list( + oxy_action( + name, 'regierende Fürsten', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">regierende Fürsten</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Adlige', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Adlige</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Geistliche', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Geistliche</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Militär', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Militär</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Gesandte', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Gesandte</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Patrizier', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Patrizier</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Gelehrte', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Gelehrte</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Hofbeamte', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Hofbeamte</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Künstler', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Künstler</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'Sonstige', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0">Sonstige</occupation>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ) + ) + ) +} + +person occupation:after { + content: + oxy_button( + action, oxy_action( + name, '[+Kategorie]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<occupation xmlns="http://www.tei-c.org/ns/1.0"></occupation>', + arg-insertLocation, 'self::occupation', + arg-insertPosition, 'After'), + showIcon, false +) +oxy_button( + action, oxy_action( + name, '[-Kategorie]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::occupation'), + showIcon, false +) +} + +person faith:before{ + content:"\A Konfession: " oxy_buttonGroup( + label,'Auswahl', + actions, + oxy_action_list( + oxy_action( + name, 'katholisch', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0">katholisch</faith>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'lutherisch', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0">lutherisch</faith>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'reformiert', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0">reformiert</faith>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ), + oxy_action( + name, 'unbekannt', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertOrReplaceFragmentOperation', + arg-fragment, '<faith xmlns="http://www.tei-c.org/ns/1.0">unbekannt</faith>', + arg-insertLocation, '.', + arg-insertPosition, 'Replace' + ) + ) + ) +} + +persName term,birth,death,floruit { + display:block; + visibility:-oxy-collapse-text; +} + +persName[type='preferred']:after{ +content: + oxy_button( + action, oxy_action( + name, '[+Variante]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<persName xmlns="http://www.tei-c.org/ns/1.0" type="variant"><term sortKey=""><name/></term></persName>', + arg-insertLocation, 'self::persName', + arg-insertPosition, 'After'), + showIcon, false +) +} + +persName forename:after{ + content: + oxy_button( + action, oxy_action( + name, 'Mononym', + operation, + 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation', + arg-actionIDs,'mono1\A mono2'), + showIcon, false +) +} + +persName name:after{ + content: + oxy_button( + action, oxy_action( + name, 'Vor- und Nachname', + operation, + 'ro.sync.ecss.extensions.commons.operations.ExecuteMultipleActionsOperation', + arg-actionIDs,'poly1\A poly2'), + showIcon, false +) +} + +persName[type='preferred'] name:before{ + content: + oxy_label( + text, "Name:", + width, 8em) + oxy_textfield( + edit, "#text", + columns, 32); +} + +persName term:before{ + content: + oxy_label( + text, "Sortierschlüssel:", + width, 8em) + oxy_textfield( + edit, "@sortKey", + columns, 32); +} + +persName[type='variant'] name:before{ + content: + oxy_label( + text, "Namensvariante:", + width, 8em) + oxy_textfield( + edit, "#text", + columns, 32); +} + +persName[type='variant']:after{ +content:" " +oxy_button( + action, oxy_action( + name, '[+Variante]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<persName xmlns="http://www.tei-c.org/ns/1.0" type="variant"><term sortKey=""><name/></term></persName>', + arg-insertLocation, 'self::persName', + arg-insertPosition, 'After'), + showIcon, false +) +oxy_button( + action, oxy_action( + name, '[-Variante]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::persName'), + showIcon, false +) +} + +persName forename:before{ + content:"\A" + oxy_label( + text, "Vorname:", + width, 8em) + oxy_textfield( + edit, "#text", + columns, 32); +} + +persName surname:before{ + content:"\A" + oxy_label( + text, "Nachname:", + width, 8em) + oxy_textfield( + edit, "#text", + columns, 32); +} + +noteGrp:before { + content:"Personenverhältnis" + oxy_button( + action, oxy_action( + name, '[löschen]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::noteGrp'), + showIcon, false +); +} + +note:before{ + background-color:#fff1e5 +} + +note[type=Hainhofer]:before{ + content:"Inskribent - Hainhofer: " +} + +note[type=Künstler]:before{ + content:"Inskribent - Künstler: " +} + +note[type=andere_Inskribenten]:before{ + content:"Inskribent - andere Inskribenten: " +} +note[type=weitere_Angaben]:before{ + content:"Weitere Angaben: " +} + +note[type=weitere_Angaben]:last-child:after{ + content:"\A" +oxy_button( + action, oxy_action( + name, '[+Literaturangabe]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<listBibl xmlns="http://www.tei-c.org/ns/1.0"><bibl><ptr target="lit:"/><citedRange/></bibl></listBibl>', + arg-insertLocation, 'ancestor-or-self::note', + arg-insertPosition, 'After'), + showIcon, false +) +} + +note { + display:block; + background-color:white +} + +noteGrp:after{ + content:oxy_button( + action, oxy_action( + name, 'GND', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<ptr xmlns="http://www.tei-c.org/ns/1.0" type="gnd" target=""/>', + arg-insertLocation, '.', + arg-insertPosition, 'After'), + showIcon, false +) + oxy_button( + action, oxy_action( + name, 'Link zu Reiseberichte-Edition', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<ptr xmlns="http://www.tei-c.org/ns/1.0" type="ph-reisen" target=""/>', + arg-insertLocation, '.', + arg-insertPosition, 'After'), + showIcon, false +) +} +ptr[type=ph-reisen]:before{ + content: + oxy_label( + text, "Link zum Personenregistereintrag in der Reiseberichteedition:", + width, 16em) + oxy_textfield( + edit, "@target", + columns, 64) +} +ptr[type=gnd]:before{ + content: + oxy_label( + text, "Link zum Datensatz in der Gemeinsamen Normdatei:", + width, 16em) + oxy_textfield( + edit, "@target", + columns, 64) +} + +person>ptr:after{ + content: oxy_button( + action, oxy_action( + name, '[-]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::ptr'), + showIcon, false +) +} + +person:after { + content: +"\A" + oxy_button( + action, oxy_action( + name, '[+Person]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<person xmlns="http://www.tei-c.org/ns/1.0" xml:id="" role=""><persName type="preferred"><term sortKey=""><name/></term></persName><birth/><death/><occupation></occupation><faith></faith><noteGrp type="Personenverhältnis"><note type="Hainhofer"></note><note type="Künstler"></note><note type="andere_Inskribenten"></note></noteGrp><note type="weitere_Angaben"/></person>', + arg-insertLocation, '.', + arg-insertPosition, 'After'), + showIcon, false +) + oxy_buttonGroup( + label, 'DATENSATZ LÖSCHEN', + + actions, + oxy_action_list( + oxy_action( + name, 'OK', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementOperation', + arg-elementLocation, 'self::person' + ), + oxy_action( + name, 'Abbrechen', + operation,'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '', + arg-insertLocation, '.', + arg-insertPosition, 'After' + ) + ) +) +} + +note rs{ + color:maroon; +} + +note rs:before { + position:absolute; + background-color: maroon; + color: #ffffff; + height: 20px; + line-height: 20px; + padding: 0 15px; + content: attr(ref); + display: none; +} + +note rs:hover:before{ + display:inline-block; +} + +note rs:hover{ + visibility:visible; +} + +birth:before{ + content: + oxy_label( + text, "geboren:", + width, 8em) + oxy_checkbox( + edit, '@precision', + values, 'low', + uncheckedValues, 'high', + labels, 'ca.') + oxy_textfield( + edit, "@when-iso", + columns, 8) + oxy_label( + text, " ODER zwischen ") + oxy_textfield( + edit, "@notBefore-iso", + columns, 8) + oxy_label( + text, " und ") + oxy_textfield( + edit, "@notAfter-iso", + columns, 8); +} + +birth:after{ + content: oxy_button( + action, oxy_action( + name, '[-geboren]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::birth'), + showIcon, false +) +} + +death:before{ + content: + oxy_label( + text, "gestorben:", + width, 8em) + oxy_checkbox( + edit, '@precision', + values, 'low', + uncheckedValues, 'high', + labels, 'ca.') + oxy_textfield( + edit, "@when-iso", + columns, 8) + oxy_label( + text, " ODER zwischen ") + oxy_textfield( + edit, "@notBefore-iso", + columns, 8) + oxy_label( + text, " und ") + oxy_textfield( + edit, "@notAfter-iso", + columns, 8); +} + +death:after{ + content: + oxy_button( + action, oxy_action( + name, '[-gestorben]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::death'), + showIcon, false +) +} + +floruit:before{ + content: + oxy_label( + text, "Wirkungsdaten verbal:", + width, 8em) + oxy_textfield( + edit, "#text", + columns, 32) + "\A Wirkungsdaten numerisch:" + oxy_checkbox( + edit, '@precision', + values, 'low', + uncheckedValues, 'high', + labels, 'ca.') + oxy_textfield( + edit, "@when-iso", + columns, 8) + oxy_label( + text, " ODER zwischen ") + oxy_textfield( + edit, "@notBefore-iso", + columns, 8) + oxy_label( + text, " und ") + oxy_textfield( + edit, "@notAfter-iso", + columns, 8); +} + +floruit:after{ + content: oxy_button( + action, oxy_action( + name, '[-Wirkungsdaten]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'self::floruit'), + showIcon, false +) +} + +listBibl,listBibl citedRange{ + display:block; +} + +listBibl:before{ + content:"Literatur:" +} + +listBibl citedRange{ + visibility:-oxy-collapse-text; +} + +listBibl ptr{ + display:block; +} + +listBibl ptr:before{ + content: + oxy_label( + text, " ID: ", + width, 8em) + oxy_textfield( + edit, "@target", + columns, 32); +} + +listBibl ptr:after{ + content:oxy_button( + actionID, 'lit', + showIcon, false +) +} + +listBibl citedRange:before{ + content: + oxy_label( + text, " Seiten/Stichwort: ", + width, 8em) + oxy_textfield( + edit, "#text", + columns, 32); +} + +listBibl citedRange:after{ +content:oxy_button( + action, oxy_action( + name, '[-]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'ancestor-or-self::citedRange'), + showIcon, false +) + oxy_label( + text, " Link zur Stelle: ", + width, 8em) + oxy_textfield( + edit, "@target", + columns, 32) +} + +listBibl bibl:not(bibl:only-child):not(bibl:last-child):after{ +content:"\A" +oxy_button( + action, oxy_action( + name, '[-]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'./ancestor-or-self::bibl'), + showIcon, false +) +} + +listBibl bibl:not(bibl:only-child):last-child:after { + content: + "\A" +oxy_button( + action, oxy_action( + name, '[-]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'./ancestor-or-self::bibl'), + showIcon, false +) + oxy_button( + action, oxy_action( + name, '[+Literaturangabe]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<bibl xmlns="http://www.tei-c.org/ns/1.0"><ptr target="lit:"/><citedRange/></bibl>', + arg-insertLocation, 'ancestor-or-self::bibl', + arg-insertPosition, 'After'), + showIcon, false +) +} + +listBibl bibl:only-child:after{ +content:"\A" +oxy_button( + action, oxy_action( + name, '[-]', + operation, + 'ro.sync.ecss.extensions.commons.operations.DeleteElementsOperation', + arg-elementLocations,'./ancestor-or-self::listBibl'), + showIcon, false +) + oxy_button( + action, oxy_action( + name, '[+Literaturangabe]', + operation, + 'ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation', + arg-fragment, '<bibl xmlns="http://www.tei-c.org/ns/1.0"><ptr target="lit:"/><citedRange/></bibl>', + arg-insertLocation, 'ancestor-or-self::bibl', + arg-insertPosition, 'After'), + showIcon, false +) +} + +ref{ + color:blue; +} + +ref:before { + position:absolute; + background-color: blue; + color: #ffffff; + height: 20px; + line-height: 20px; + padding: 0 15px; + content: attr(target); + display: none; +} + +ref:hover:before { + display:inline-block +} + +ref:hover { + visibility:visible; +} -- GitLab