forked from usnistgov/OSCAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetaschema-author.css
100 lines (63 loc) · 2.08 KB
/
metaschema-author.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
* { display: block }
pre { color: darkgrey }
tag { color: black; font-family: monospace; font-size: 80%; font-weight: bold }
METASCHEMA { }
title { }
define-assembly,
define-field,
define-flag { margin-top: 1ex; margin-bottom: 1ex; border: thin inset black; padding: 0.5em }
define-assembly:before,
define-field:before,
define-flag:before
{ content:
oxy_name()
oxy_textfield(edit, '@name', columns, 12)
}
define-assembly[group-as]:before,
define-field[group-as]:before,
define-flag[group-as]:before
{ content:
oxy_name()
oxy_textfield(edit, '@name', columns, 12) }
define-assembly *,
define-field *,
define-flag * { margin: 0em }
define-assembly > * { margin-top: 1em }
pre { padding: 0.5em; background-color: gainsboro }
define-assembly { }
define-field { }
define-flag { }
flag { }
formal-name { font-size: 120%; font-weight: bold; font-family: sans-serif; margin: 0.5em 0em }
description { font-size: 90%; font-family: sans-serif; margin: 0.5em 0em }
remarks { font-size: 80%; max-width: 60em }
remarks p { margin-top: 1em }
example { }
prose { }
p { }
code { display: inline; font-family: monospace }
q { display: inline; background-color: lemonchiffon }
em { display: inline; font-style: italic }
example { background-color: lavender; white-space: pre; }
example *:before { content: '<' oxy_name() '>'; font-family: monospace; font-size: 80% }
example *:after { content: '</' oxy_name() '>'; font-family: monospace; font-size: 80% }
model { padding-left: 0.5em; border-left: medium solid blue; font-size: 80%; padding-right: 2em }
flag:before { content:
oxy_name()
' name: ' oxy_textfield(edit, '@name', columns, 12)
' ref: ' oxy_textfield(edit, '@name', columns, 12)
}
assembly:before, field:before {
content:
oxy_name() ' named '
oxy_textfield(edit, '@ref', columns, 12) }
group-as { margin-left: 2em }
group-as:before { content: 'group as '
oxy_textfield(edit, '@name', columns, 12) }
choice:before { content:
'a choice between'
}
prose:before { font-weight: bold; content:
'prose'
}
choice > * { margin-left: 2em }