-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #190 from REGnosys/fpml-coding-scheme-2-20
Update FpML coding scheme to version 2.20
- Loading branch information
Showing
257 changed files
with
5,153 additions
and
66,566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 150 additions & 0 deletions
150
src/main/resources/coding-schemes/fpml/FpML.CodeList.genericode.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
/* FpML.CodeList.genericode.css | ||
Stylesheet for presenting FpML coding schemes from genericode xml. | ||
Draft 2023-12-01 | ||
Please submit comments and requests via | ||
https://www.fpml.org/submit-issue/ | ||
*/ | ||
|
||
@namespace doc "http://www.fpml.org/coding-scheme/documentation"; | ||
|
||
doc|publicationDate::before { | ||
content: "Published "; | ||
} | ||
|
||
doc|status::before { | ||
content: "Status "; | ||
} | ||
|
||
CodeList { | ||
padding: 1rem; | ||
} | ||
|
||
Annotation, Identification, SimpleCodeList { | ||
display: block; | ||
} | ||
|
||
Annotation { | ||
padding: 1rem 0; | ||
font-weight: bold; | ||
} | ||
|
||
Annotation > Description { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
||
Identification { | ||
font-family: monospace; | ||
display: table; | ||
border-collapse: collapse; | ||
/* | ||
width: 600px; | ||
*/ | ||
border: 1px solid #000; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
Identification ShortName, | ||
Identification Version, | ||
Identification CanonicalUri, | ||
Identification CanonicalVersionUri, | ||
Identification LocationUri { | ||
display: table-row; | ||
border-bottom: 1px solid #000; | ||
} | ||
|
||
Identification ShortName { | ||
font-weight: bold; | ||
background-color: #fafafa; | ||
} | ||
|
||
Identification ::before { | ||
display: table-cell; | ||
padding: .5rem; | ||
} | ||
|
||
Identification ShortName::before { | ||
content: "ShortName"; | ||
} | ||
|
||
Identification Version::before { | ||
content: "Version"; | ||
} | ||
|
||
Identification CanonicalUri::before { | ||
content: "CanonicalUri"; | ||
} | ||
|
||
Identification CanonicalVersionUri::before { | ||
content: "CanonicalVersionUri"; | ||
} | ||
|
||
Identification LocationUri::before { | ||
content: "LocationUri"; | ||
} | ||
|
||
ColumnSet, SimpleCodeList { | ||
width: 100%; | ||
border: 1px solid #000; | ||
} | ||
|
||
ColumnSet { | ||
display: flex; | ||
border-bottom: none; | ||
background: #f8f9fa; | ||
} | ||
|
||
ColumnSet Column { | ||
padding: 1rem; | ||
} | ||
|
||
ColumnSet Column:first-child, | ||
SimpleCodeList Row Value:nth-of-type(1) { | ||
width: 15%; | ||
} | ||
|
||
|
||
ColumnSet Column:nth-child(3), | ||
SimpleCodeList Row Value:nth-of-type(3){ | ||
width: 75%; | ||
} | ||
|
||
|
||
|
||
Column ShortName { | ||
font-weight: bold; | ||
} | ||
|
||
|
||
Data[Type=token] Parameter, | ||
ColumnSet Key, | ||
ColumnSet Column:nth-child(2), | ||
ColumnSet Column:nth-child(4), | ||
SimpleCodeList Row Value:nth-of-type(2), | ||
SimpleCodeList Row Value:nth-of-type(4) | ||
{ | ||
display: none; | ||
} | ||
|
||
SimpleCodeList Row { | ||
display: block; | ||
position: relative; | ||
border-top: 1px solid #000; | ||
} | ||
SimpleCodeList Row:first-child { | ||
border-top: none; | ||
} | ||
|
||
SimpleCodeList Row Value { | ||
padding: 1rem; | ||
display: inline-block; | ||
vertical-align: top; | ||
text-align: left; | ||
} | ||
|
||
SimpleCodeList Row Annotation { | ||
padding: 0 1rem; | ||
} |
127 changes: 127 additions & 0 deletions
127
src/main/resources/coding-schemes/fpml/FpML.CodeListSet.genericode.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
/* FpML.CodeListSet.genericode.css | ||
Stylesheet for presenting FpML set of schemes from genericode xml. | ||
Draft 2023-12-01 | ||
Please comments and requests via | ||
https://www.fpml.org/submit-issue/ | ||
*/ | ||
|
||
@namespace doc "http://www.fpml.org/coding-scheme/documentation"; | ||
|
||
doc|publicationDate::before { | ||
content: "Published "; | ||
} | ||
|
||
doc|status::before { | ||
content: "Status "; | ||
} | ||
|
||
CodeListSet { | ||
padding: 1rem; | ||
} | ||
|
||
CodeListSet > Annotation, Identification, SimpleCodeList { | ||
display: block; | ||
} | ||
|
||
Annotation { | ||
padding: 1rem; | ||
font-weight: bold; | ||
} | ||
|
||
/* Using this "hack" as an alternative to being unable to target child elements so we can clean up a bit */ | ||
CodeListSet > Annotation > Description { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
align-items: flex-start; | ||
flex-wrap: wrap; | ||
} | ||
|
||
ul[class=bulleted] { | ||
font-weight: normal; | ||
} | ||
|
||
li { | ||
display: list-item; | ||
list-style: disc inside; | ||
margin-left: 40px; | ||
padding: 5px 0; | ||
} | ||
|
||
ul ul ul { | ||
font-weight: normal; | ||
} | ||
|
||
Identification, CodeListRef { | ||
font-family: monospace; | ||
display: table; | ||
border-collapse: collapse; | ||
/* | ||
width: 800px; | ||
*/ | ||
border: 1px solid #000; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
Identification ShortName, | ||
Identification Version, | ||
Identification CanonicalUri, | ||
Identification CanonicalVersionUri, | ||
Identification LocationUri, | ||
CodeListRef CanonicalUri, | ||
CodeListRef CanonicalVersionUri, | ||
CodeListRef LocationUri { | ||
display: table-row; | ||
border-bottom: 1px solid #000; | ||
} | ||
|
||
CodeListRef Annotation { | ||
display: table-caption; | ||
border: 1px solid #000; | ||
border-bottom: none; | ||
} | ||
|
||
/*Identification {*/ | ||
/* border-bottom: 1px solid #000;*/ | ||
/* padding-bottom: 1rem;*/ | ||
/* width: 95%;*/ | ||
/*}*/ | ||
|
||
Identification ::before, | ||
CodeListRef ::before { | ||
display: table-cell; | ||
padding: .5rem; | ||
} | ||
|
||
Identification ShortName, | ||
CodeListRef ShortName { | ||
font-weight: bold; | ||
background-color: #fafafa; | ||
} | ||
|
||
Identification ShortName::before { | ||
content: "ShortName"; | ||
} | ||
|
||
Identification Version::before { | ||
content: "Version"; | ||
} | ||
|
||
Identification CanonicalUri::before, | ||
CodeListRef CanonicalUri::before { | ||
content: "CanonicalUri"; | ||
} | ||
|
||
Identification CanonicalVersionUri::before, | ||
CodeListRef CanonicalVersionUri::before { | ||
content: "CanonicalVersionUri"; | ||
} | ||
|
||
Identification LocationUri::before, | ||
CodeListRef LocationUri::before { | ||
content: "LocationUri"; | ||
} | ||
|
||
CodeListRef > Annotation { | ||
background-color: #fafafa; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.