asciidoctor-rsd 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -1
- data/Gemfile +0 -4
- data/README.adoc +1 -0
- data/asciidoctor-rsd.gemspec +3 -11
- data/lib/asciidoctor-rsd.rb +3 -2
- data/lib/asciidoctor/rsd.rb +3 -1
- data/lib/asciidoctor/rsd/converter.rb +14 -4
- data/lib/asciidoctor/rsd/isodoc.rng +8 -2
- data/lib/asciidoctor/rsd/rsd.rng +101 -23
- data/lib/asciidoctor/rsd/version.rb +1 -1
- data/lib/isodoc/rsd/html/html_rsd_titlepage.html +10 -5
- data/lib/isodoc/rsd/html/htmlstyle.scss +226 -80
- data/lib/isodoc/rsd/html/rsd.scss +41 -18
- data/lib/isodoc/rsd/html/word_rsd_titlepage.html +13 -1
- data/lib/isodoc/rsd/html/wordstyle.scss +172 -20
- data/lib/isodoc/rsd/html_convert.rb +198 -0
- data/lib/isodoc/rsd/metadata.rb +7 -4
- data/lib/isodoc/rsd/{rsdhtmlconvert.rb → pdf_convert.rb} +69 -4
- data/lib/isodoc/rsd/{rsdwordconvert.rb → word_convert.rb} +71 -5
- data/lib/metanorma/rsd/processor.rb +3 -0
- metadata +16 -119
- data/Gemfile.lock +0 -273
- data/lib/asciidoctor/rsd/m3d.rng +0 -154
- data/lib/isodoc/rsd/html/dots-w@2x.png +0 -0
- data/lib/isodoc/rsd/html/dots@2x.png +0 -0
- data/lib/isodoc/rsd/rsdhtmlrender.rb +0 -68
- data/lib/isodoc/rsd/rsdwordrender.rb +0 -68
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 813292bdbf2b3942ccc79cfab2231536c9cd31e7c8e7acfaf9dabff9865ba77c
|
4
|
+
data.tar.gz: e5ed7ed7882a84ed528f1caf63f59626ebe77463b724a04685e4298c8fbfc558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb87419fa4def14b4c59f3edc986ab066489de2ffb060c380ee9378981c9e4ed985046eea758d5ece33c4593fcf77590e0346d3217dedc65c14af49c8ad728dd
|
7
|
+
data.tar.gz: 500bd710427ff1668042f964af2cdfcce2fa0bd867d800a16c0dc63020455505b022fec23e0beeb1202c68de7ae3df84a3e64e608d92e66215963feb3a3014aa
|
data/.travis.yml
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
+
dist: trusty
|
1
2
|
sudo: false
|
2
3
|
language: ruby
|
3
4
|
rvm:
|
4
|
-
- 2.
|
5
|
+
- 2.5
|
6
|
+
- 2.4
|
7
|
+
- ruby-head
|
5
8
|
before_install:
|
6
9
|
- gem install bundler -v 1.16.1
|
10
|
+
- npm install -g puppeteer
|
11
|
+
- npm install
|
7
12
|
- unset _JAVA_OPTIONS
|
13
|
+
matrix:
|
14
|
+
allow_failures:
|
15
|
+
- rvm: ruby-head
|
16
|
+
|
data/Gemfile
CHANGED
data/README.adoc
CHANGED
@@ -148,6 +148,7 @@ or `provisional`.
|
|
148
148
|
|
149
149
|
`:language:` :: The language of the document (only `en` for now) (mandatory)
|
150
150
|
|
151
|
+
`:security:` :: Security level classification, e.g., "confidential", "client confidential"
|
151
152
|
|
152
153
|
The attribute `:draft:`, if present, includes review notes in the XML output;
|
153
154
|
these are otherwise suppressed.
|
data/asciidoctor-rsd.gemspec
CHANGED
@@ -26,18 +26,10 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = ["lib"]
|
27
27
|
|
28
28
|
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
29
|
-
spec.add_dependency "asciimath"
|
30
29
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
31
|
-
spec.add_dependency "image_size"
|
32
|
-
spec.add_dependency "mime-types"
|
33
30
|
spec.add_dependency "nokogiri"
|
34
|
-
spec.add_dependency "
|
35
|
-
spec.add_dependency "
|
36
|
-
spec.add_dependency "thread_safe"
|
37
|
-
spec.add_dependency "uuidtools"
|
38
|
-
|
39
|
-
spec.add_dependency "asciidoctor-iso", ">= 0.8.0"
|
40
|
-
spec.add_dependency "isodoc", ">= 0.7.0"
|
31
|
+
spec.add_dependency "asciidoctor-iso", "~> 0.9.6"
|
32
|
+
spec.add_dependency "isodoc", ">= 0.8.4"
|
41
33
|
|
42
34
|
spec.add_development_dependency "bundler", "~> 1.15"
|
43
35
|
spec.add_development_dependency "byebug", "~> 9.1"
|
@@ -49,5 +41,5 @@ Gem::Specification.new do |spec|
|
|
49
41
|
spec.add_development_dependency "rubocop", "~> 0.50"
|
50
42
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
51
43
|
spec.add_development_dependency "timecop", "~> 0.9"
|
52
|
-
spec.add_development_dependency "metanorma"
|
44
|
+
spec.add_development_dependency "metanorma", "~> 0.2.6"
|
53
45
|
end
|
data/lib/asciidoctor-rsd.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
require "asciidoctor" unless defined? Asciidoctor::Converter
|
2
2
|
require_relative "asciidoctor/rsd/converter"
|
3
|
-
require_relative "isodoc/rsd/
|
4
|
-
require_relative "isodoc/rsd/
|
3
|
+
require_relative "isodoc/rsd/html_convert"
|
4
|
+
require_relative "isodoc/rsd/word_convert"
|
5
|
+
require_relative "isodoc/rsd/pdf_convert"
|
5
6
|
require_relative "asciidoctor/rsd/version"
|
6
7
|
|
7
8
|
if defined? Metanorma
|
data/lib/asciidoctor/rsd.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
require "asciidoctor"
|
2
|
-
require "asciidoctor/rsd
|
3
|
-
require "isodoc/rsd/rsdhtmlconvert"
|
4
|
-
require "isodoc/rsd/rsdwordconvert"
|
2
|
+
require "asciidoctor/rsd"
|
5
3
|
require "asciidoctor/iso/converter"
|
4
|
+
require "isodoc/rsd/html_convert"
|
5
|
+
require "isodoc/rsd/word_convert"
|
6
6
|
|
7
7
|
module Asciidoctor
|
8
8
|
module Rsd
|
9
|
-
RSD_NAMESPACE = "https://open.ribose.com/standards/rsd"
|
10
9
|
|
11
10
|
# A {Converter} implementation that generates RSD output, and a document
|
12
11
|
# schema encapsulation of the document for validation
|
12
|
+
#
|
13
13
|
class Converter < ISO::Converter
|
14
14
|
|
15
15
|
register_for "rsd"
|
@@ -67,6 +67,16 @@ module Asciidoctor
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
def metadata_security(node, xml)
|
71
|
+
security = node.attr("security") || return
|
72
|
+
xml.security security
|
73
|
+
end
|
74
|
+
|
75
|
+
def metadata(node, xml)
|
76
|
+
super
|
77
|
+
metadata_security(node, xml)
|
78
|
+
end
|
79
|
+
|
70
80
|
def title_validate(root)
|
71
81
|
nil
|
72
82
|
end
|
@@ -888,12 +888,18 @@
|
|
888
888
|
</attribute>
|
889
889
|
<optional>
|
890
890
|
<attribute name="width">
|
891
|
-
<
|
891
|
+
<choice>
|
892
|
+
<data type="int"/>
|
893
|
+
<value>auto</value>
|
894
|
+
</choice>
|
892
895
|
</attribute>
|
893
896
|
</optional>
|
894
897
|
<optional>
|
895
898
|
<attribute name="height">
|
896
|
-
<
|
899
|
+
<choice>
|
900
|
+
<data type="int"/>
|
901
|
+
<value>auto</value>
|
902
|
+
</choice>
|
897
903
|
</attribute>
|
898
904
|
</optional>
|
899
905
|
</element>
|
data/lib/asciidoctor/rsd/rsd.rng
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
3
3
|
<!--
|
4
|
-
default namespace = "http://riboseinc.com/rsd"
|
5
4
|
Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
|
6
5
|
we cannot have a new default namespace: we will end up with a grammar with two different
|
7
|
-
namespaces, one for isostandard and one for
|
6
|
+
namespaces, one for isostandard and one for csand additions. And we do not want that.
|
8
7
|
-->
|
9
8
|
<include href="isostandard.rng">
|
10
9
|
<start>
|
@@ -25,19 +24,6 @@
|
|
25
24
|
<ref name="FormattedString"/>
|
26
25
|
</element>
|
27
26
|
</define>
|
28
|
-
<define name="status">
|
29
|
-
<element name="status">
|
30
|
-
<choice>
|
31
|
-
<value>proposal</value>
|
32
|
-
<value>working-draft</value>
|
33
|
-
<value>committee-draft</value>
|
34
|
-
<value>draft-standard</value>
|
35
|
-
<value>final-draft</value>
|
36
|
-
<value>published</value>
|
37
|
-
<value>withdrawn</value>
|
38
|
-
</choice>
|
39
|
-
</element>
|
40
|
-
</define>
|
41
27
|
<define name="figure">
|
42
28
|
<element name="figure">
|
43
29
|
<attribute name="id">
|
@@ -70,6 +56,20 @@
|
|
70
56
|
</choice>
|
71
57
|
</element>
|
72
58
|
</define>
|
59
|
+
<define name="status">
|
60
|
+
<element name="status">
|
61
|
+
<choice>
|
62
|
+
<value>proposal</value>
|
63
|
+
<value>working-draft</value>
|
64
|
+
<value>committee-draft</value>
|
65
|
+
<value>draft-standard</value>
|
66
|
+
<value>final-draft</value>
|
67
|
+
<value>published</value>
|
68
|
+
<value>withdrawn</value>
|
69
|
+
<ref name="LocalizedString"/>
|
70
|
+
</choice>
|
71
|
+
</element>
|
72
|
+
</define>
|
73
73
|
<!-- TextElement |= keyword -->
|
74
74
|
<define name="TextElement">
|
75
75
|
<choice>
|
@@ -92,15 +92,88 @@
|
|
92
92
|
<ref name="keyword"/>
|
93
93
|
</choice>
|
94
94
|
</define>
|
95
|
+
<define name="BibItemType" combine="choice">
|
96
|
+
<choice>
|
97
|
+
<value>policy-and-procedures</value>
|
98
|
+
<value>best-practices</value>
|
99
|
+
<value>supporting-document</value>
|
100
|
+
<value>report</value>
|
101
|
+
<value>legal</value>
|
102
|
+
<value>directives</value>
|
103
|
+
<value>proposal</value>
|
104
|
+
<value>standard</value>
|
105
|
+
</choice>
|
106
|
+
</define>
|
107
|
+
<define name="editorialgroup">
|
108
|
+
<element name="editorialgroup">
|
109
|
+
<ref name="committee"/>
|
110
|
+
</element>
|
111
|
+
</define>
|
112
|
+
<define name="BibData">
|
113
|
+
<optional>
|
114
|
+
<attribute name="type">
|
115
|
+
<ref name="BibItemType"/>
|
116
|
+
</attribute>
|
117
|
+
</optional>
|
118
|
+
<oneOrMore>
|
119
|
+
<ref name="btitle"/>
|
120
|
+
</oneOrMore>
|
121
|
+
<optional>
|
122
|
+
<ref name="formattedref"/>
|
123
|
+
</optional>
|
124
|
+
<zeroOrMore>
|
125
|
+
<ref name="bsource"/>
|
126
|
+
</zeroOrMore>
|
127
|
+
<zeroOrMore>
|
128
|
+
<ref name="docidentifier"/>
|
129
|
+
</zeroOrMore>
|
130
|
+
<zeroOrMore>
|
131
|
+
<ref name="bdate"/>
|
132
|
+
</zeroOrMore>
|
133
|
+
<zeroOrMore>
|
134
|
+
<ref name="contributor"/>
|
135
|
+
</zeroOrMore>
|
136
|
+
<optional>
|
137
|
+
<ref name="edition"/>
|
138
|
+
</optional>
|
139
|
+
<zeroOrMore>
|
140
|
+
<ref name="biblionote"/>
|
141
|
+
</zeroOrMore>
|
142
|
+
<zeroOrMore>
|
143
|
+
<ref name="language"/>
|
144
|
+
</zeroOrMore>
|
145
|
+
<zeroOrMore>
|
146
|
+
<ref name="script"/>
|
147
|
+
</zeroOrMore>
|
148
|
+
<zeroOrMore>
|
149
|
+
<ref name="abstract"/>
|
150
|
+
</zeroOrMore>
|
151
|
+
<optional>
|
152
|
+
<ref name="status"/>
|
153
|
+
</optional>
|
154
|
+
<ref name="copyright"/>
|
155
|
+
<zeroOrMore>
|
156
|
+
<ref name="docrelation"/>
|
157
|
+
</zeroOrMore>
|
158
|
+
<ref name="editorialgroup"/>
|
159
|
+
<zeroOrMore>
|
160
|
+
<ref name="ics"/>
|
161
|
+
</zeroOrMore>
|
162
|
+
<optional>
|
163
|
+
<ref name="security"/>
|
164
|
+
</optional>
|
165
|
+
</define>
|
95
166
|
</include>
|
96
|
-
<define name="
|
97
|
-
<
|
98
|
-
<
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
167
|
+
<define name="committee">
|
168
|
+
<element name="committee">
|
169
|
+
<attribute name="type">
|
170
|
+
<choice>
|
171
|
+
<value>technical</value>
|
172
|
+
<value>provisional</value>
|
173
|
+
</choice>
|
174
|
+
</attribute>
|
175
|
+
<text/>
|
176
|
+
</element>
|
104
177
|
</define>
|
105
178
|
<define name="pre">
|
106
179
|
<element name="pre">
|
@@ -112,6 +185,11 @@
|
|
112
185
|
<text/>
|
113
186
|
</element>
|
114
187
|
</define>
|
188
|
+
<define name="security">
|
189
|
+
<element name="security">
|
190
|
+
<text/>
|
191
|
+
</element>
|
192
|
+
</define>
|
115
193
|
<define name="rsd-standard">
|
116
194
|
<element name="rsd-standard">
|
117
195
|
<ref name="bibdata"/>
|
@@ -1,14 +1,14 @@
|
|
1
|
-
<div class="document-stage-band" id="
|
1
|
+
<div class="document-stage-band" id='{{ status | downcase | replace: " ", "-" }}-band'>
|
2
2
|
<p class="document-stage">{{ status }}</p>
|
3
3
|
</div>
|
4
4
|
|
5
|
-
<div class="document-type-band" id="
|
5
|
+
<div class="document-type-band" id='{{ doctype | downcase | replace: " ", "-" }}-band'>
|
6
6
|
<p class="document-type">Ribose {{ doctype }}</p>
|
7
7
|
</div>
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
<div id='toggle'> <span
|
11
|
+
<div id='toggle'> <span>•</span> </div>
|
12
12
|
|
13
13
|
<header>
|
14
14
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
</div>
|
31
31
|
|
32
32
|
<div class="coverpage-logo">
|
33
|
-
<span>Ribose Group Inc
|
33
|
+
<span>Ribose Group Inc. {{ docyear }}</span>
|
34
34
|
</div>
|
35
35
|
|
36
36
|
<div class="coverpage-tc-name">
|
@@ -46,7 +46,10 @@
|
|
46
46
|
</div>
|
47
47
|
|
48
48
|
<div class="coverpage-stage-block" >
|
49
|
-
<span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{{ status }}</span>
|
49
|
+
<p><span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{{ status }}</span></p>
|
50
|
+
{% if security %}
|
51
|
+
<p><span class="coverpage-maturity">Classification: {{ security }}</span></p>
|
52
|
+
{% endif %}
|
50
53
|
</div>
|
51
54
|
|
52
55
|
{% if doctype == "Policy And Procedures" or doctype == "Proposal" %}
|
@@ -67,6 +70,7 @@
|
|
67
70
|
</div>
|
68
71
|
{% endif %}
|
69
72
|
|
73
|
+
<div class="info-section">
|
70
74
|
<div class="copyright">
|
71
75
|
<p class="year">
|
72
76
|
© {{ docyear }} Ribose Group Inc.
|
@@ -96,6 +100,7 @@
|
|
96
100
|
|
97
101
|
<div class="rule"></div>
|
98
102
|
</div>
|
103
|
+
</div>
|
99
104
|
|
100
105
|
|
101
106
|
</header>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
0 CSS RESET
|
3
3
|
*/
|
4
4
|
|
5
|
-
/* http://meyerweb.com/eric/tools/css/reset/
|
5
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
6
6
|
v2.0 | 20110126
|
7
7
|
License: none (public domain)
|
8
8
|
*/
|
@@ -18,12 +18,12 @@ fieldset, form, label, legend,
|
|
18
18
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
19
19
|
article, aside, canvas, details, embed,
|
20
20
|
figure, figcaption, footer, header, hgroup,
|
21
|
-
menu, nav, output, ruby, section, summary,
|
21
|
+
menu, nav, output, ruby, section, summary,
|
22
22
|
time, mark, audio, video {
|
23
23
|
margin: 0;
|
24
24
|
padding: 0;
|
25
25
|
}
|
26
|
-
|
26
|
+
|
27
27
|
html, body, div, span, applet, object, iframe,
|
28
28
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
29
29
|
a, abbr, acronym, address, big, cite, code,
|
@@ -39,8 +39,8 @@ menu, nav, output, ruby, section, summary,
|
|
39
39
|
time, mark, audio, video {
|
40
40
|
border: 0;
|
41
41
|
font-size: 100%;
|
42
|
-
}
|
43
|
-
|
42
|
+
}
|
43
|
+
|
44
44
|
html, body, div, span, applet, object, iframe,
|
45
45
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
46
46
|
a, abbr, acronym, address, big, cite, code,
|
@@ -55,9 +55,9 @@ figure, figcaption, footer, header, hgroup,
|
|
55
55
|
menu, nav, output, ruby, section, summary,
|
56
56
|
time, mark, audio, video {
|
57
57
|
vertical-align: baseline;
|
58
|
-
}
|
59
|
-
|
60
|
-
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
61
|
html, body, div, span, applet, object, iframe,
|
62
62
|
p, blockquote, pre,
|
63
63
|
a, abbr, acronym, address, big, cite, code,
|
@@ -71,12 +71,12 @@ article, aside, canvas, details, embed,
|
|
71
71
|
figure, figcaption, footer, header, hgroup,
|
72
72
|
menu, nav, output, ruby, section, summary,
|
73
73
|
time, mark, audio, video {
|
74
|
-
font-family: $bodyfont;
|
75
|
-
}
|
74
|
+
font-family: $bodyfont;
|
75
|
+
}
|
76
76
|
|
77
77
|
h1, h2, h3, h4, h5, h6, .h2Annex {
|
78
78
|
font-family: $headerfont;
|
79
|
-
}
|
79
|
+
}
|
80
80
|
|
81
81
|
dl {
|
82
82
|
display: grid;
|
@@ -96,7 +96,7 @@ dd p, dt p {
|
|
96
96
|
}
|
97
97
|
|
98
98
|
/* HTML5 display-role reset for older browsers */
|
99
|
-
article, aside, details, figcaption, figure,
|
99
|
+
article, aside, details, figcaption, figure,
|
100
100
|
footer, header, hgroup, menu, nav, section {
|
101
101
|
display: block;
|
102
102
|
}
|
@@ -117,12 +117,12 @@ table {
|
|
117
117
|
border-spacing: 0;
|
118
118
|
}
|
119
119
|
|
120
|
-
|
120
|
+
|
121
121
|
/*
|
122
122
|
1. HTML & Body
|
123
123
|
*/
|
124
124
|
|
125
|
-
body {
|
125
|
+
body {
|
126
126
|
margin: 0;
|
127
127
|
margin-left: auto;
|
128
128
|
margin-right: auto;
|
@@ -157,7 +157,7 @@ table {
|
|
157
157
|
overflow: auto;
|
158
158
|
padding: 0 0 0 45px;
|
159
159
|
margin-right: 30px;
|
160
|
-
background-color:#f7f7f7;
|
160
|
+
background-color:#f7f7f7;
|
161
161
|
}
|
162
162
|
|
163
163
|
#toggle {
|
@@ -173,10 +173,10 @@ table {
|
|
173
173
|
#toggle span {
|
174
174
|
text-align: center;
|
175
175
|
width: 100%;
|
176
|
-
position: absolute;
|
176
|
+
position: absolute;
|
177
177
|
top: 50%;
|
178
178
|
transform: translate(0, -50%);
|
179
|
-
|
179
|
+
|
180
180
|
}
|
181
181
|
|
182
182
|
.container {
|
@@ -203,7 +203,7 @@ table {
|
|
203
203
|
overflow: visible;
|
204
204
|
}
|
205
205
|
}
|
206
|
-
|
206
|
+
|
207
207
|
|
208
208
|
|
209
209
|
#toc ul {
|
@@ -250,6 +250,10 @@ table {
|
|
250
250
|
box-shadow: none;
|
251
251
|
}
|
252
252
|
|
253
|
+
#toc li a {
|
254
|
+
text-transform: uppercase;
|
255
|
+
}
|
256
|
+
|
253
257
|
/*
|
254
258
|
Document types + stages
|
255
259
|
*/
|
@@ -317,19 +321,28 @@ p.document-stage {
|
|
317
321
|
height:160px;
|
318
322
|
}
|
319
323
|
|
320
|
-
#standard-band {
|
324
|
+
#standard-band p{
|
325
|
+
height: 270px;
|
326
|
+
}
|
327
|
+
|
328
|
+
#proposal-band p {
|
329
|
+
height: 150px;
|
330
|
+
}
|
331
|
+
|
332
|
+
|
333
|
+
#standard-band, #published-band {
|
321
334
|
background-color: #9ABD48;
|
322
335
|
}
|
323
336
|
|
324
|
-
#standard {
|
337
|
+
#standard, #published {
|
325
338
|
border-bottom: solid 3px #9ABD48;
|
326
339
|
}
|
327
340
|
|
328
|
-
#governance {
|
341
|
+
#governance, #policy-and-procedures {
|
329
342
|
border-bottom: solid 3px #750697;
|
330
343
|
}
|
331
344
|
|
332
|
-
#governance-band {
|
345
|
+
#governance-band, #policy-and-procedures-band {
|
333
346
|
background-color: #750697;
|
334
347
|
}
|
335
348
|
|
@@ -349,11 +362,11 @@ p.document-stage {
|
|
349
362
|
text-transform: uppercase;
|
350
363
|
}
|
351
364
|
|
352
|
-
#working-draft {
|
365
|
+
#working-draft, #proposal {
|
353
366
|
border-bottom: solid 3px #F7803C;
|
354
367
|
}
|
355
368
|
|
356
|
-
#working-draft-band {
|
369
|
+
#working-draft-band, #proposal-band {
|
357
370
|
background-color: #F7803C;
|
358
371
|
}
|
359
372
|
|
@@ -396,17 +409,17 @@ p.document-stage {
|
|
396
409
|
/*
|
397
410
|
3.1 Titles
|
398
411
|
*/
|
399
|
-
|
412
|
+
|
400
413
|
h1,h2,h3,h4,h5,h6 {
|
401
414
|
font-family: $headerfont;
|
402
415
|
color: #1661AD;
|
403
416
|
font-weight: 300;
|
404
|
-
margin-top:
|
417
|
+
margin-top: 1.6em;
|
405
418
|
margin-bottom: 0.3em;
|
406
419
|
}
|
407
420
|
|
408
421
|
h1 {
|
409
|
-
font-size: 1.6em;
|
422
|
+
font-size: 1.6em;
|
410
423
|
text-transform: uppercase;
|
411
424
|
margin-top: 2em;
|
412
425
|
}
|
@@ -414,47 +427,51 @@ p.document-stage {
|
|
414
427
|
h1#content {
|
415
428
|
margin-top: 2em;
|
416
429
|
}
|
417
|
-
|
418
|
-
h2 {
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
430
|
+
|
431
|
+
h2 {
|
432
|
+
margin-top: 1.3em;
|
433
|
+
font-size: 1.3em;
|
434
|
+
font-weight: 400;
|
435
|
+
}
|
436
|
+
|
437
|
+
h3 {
|
438
|
+
margin-top: 1.1em;
|
439
|
+
font-size: 1.1em;
|
440
|
+
font-weight: 100;
|
441
|
+
}
|
423
442
|
|
424
443
|
.TermNum, .Terms, .AltTerms {
|
425
444
|
color: #1661AD;
|
426
445
|
font-weight: 100;
|
427
446
|
}
|
428
447
|
|
429
|
-
|
430
|
-
|
431
|
-
line-height: 1em;
|
432
|
-
margin: 0;
|
433
|
-
margin-top: 2em;
|
448
|
+
h2.TermNum {
|
449
|
+
margin-bottom: 0;
|
434
450
|
}
|
435
451
|
|
436
452
|
p.Terms {
|
437
453
|
font-size: 1.1em;
|
438
|
-
line-height: 1.
|
454
|
+
line-height: 1.5em;
|
439
455
|
margin: 0;
|
440
456
|
}
|
441
|
-
|
442
|
-
/*
|
457
|
+
|
443
458
|
p.AltTerms {
|
459
|
+
/*
|
444
460
|
font-style: italic;
|
461
|
+
*/
|
462
|
+
font-size: 1.1em;
|
445
463
|
margin: 0;
|
446
464
|
}
|
447
|
-
*/
|
448
465
|
|
449
466
|
/*
|
450
467
|
3.2 Links
|
451
468
|
*/
|
452
|
-
|
469
|
+
|
453
470
|
a, a:visited{
|
454
471
|
text-decoration: none;
|
455
472
|
color: #485094;
|
456
473
|
}
|
457
|
-
|
474
|
+
|
458
475
|
a:hover {
|
459
476
|
color: white;
|
460
477
|
background: #1661AD;
|
@@ -479,11 +496,11 @@ p.document-stage {
|
|
479
496
|
}
|
480
497
|
|
481
498
|
|
482
|
-
|
499
|
+
|
483
500
|
/*
|
484
501
|
3.3 Lists
|
485
502
|
*/
|
486
|
-
|
503
|
+
|
487
504
|
ul, ol {margin-left: 1.2em;}
|
488
505
|
|
489
506
|
ul li {
|
@@ -503,9 +520,9 @@ p.document-stage {
|
|
503
520
|
ul li:first-child {
|
504
521
|
margin-top: 1em;
|
505
522
|
}
|
506
|
-
|
523
|
+
|
507
524
|
#toc-list ul {margin-bottom: 0.25em;}
|
508
|
-
|
525
|
+
|
509
526
|
#toc-list li {list-style-type: none;}
|
510
527
|
|
511
528
|
#toc li:before {
|
@@ -562,7 +579,11 @@ p.Biblio, p.NormRef {
|
|
562
579
|
background-color: #fff495;
|
563
580
|
color: #47430c;
|
564
581
|
padding: 1.2em;
|
565
|
-
margin:
|
582
|
+
margin: 1em 0 1em 0;
|
583
|
+
|
584
|
+
p {
|
585
|
+
margin: 0;
|
586
|
+
}
|
566
587
|
}
|
567
588
|
|
568
589
|
/*
|
@@ -571,7 +592,7 @@ p.Biblio, p.NormRef {
|
|
571
592
|
|
572
593
|
.example {
|
573
594
|
background-color: #e1eef1;
|
574
|
-
padding:
|
595
|
+
padding: 1.2em;
|
575
596
|
margin: 2em 0 1em 0;
|
576
597
|
}
|
577
598
|
|
@@ -660,19 +681,20 @@ a.footnote-number {
|
|
660
681
|
*/
|
661
682
|
|
662
683
|
.contact-info {
|
663
|
-
background-color: #1661AD;
|
664
|
-
color: white;
|
665
684
|
padding: 2em;
|
666
685
|
margin-top: 5em;
|
667
|
-
width:
|
668
|
-
|
669
|
-
|
670
|
-
|
686
|
+
width: 250px;
|
687
|
+
|
688
|
+
text-align: left;
|
689
|
+
border: #1661AD solid 2px;
|
690
|
+
color: #1661AD!important;
|
691
|
+
border-radius: 25px;
|
692
|
+
|
671
693
|
}
|
672
694
|
|
673
695
|
.contact-info a,
|
674
696
|
.contact-info a:hover {
|
675
|
-
color:
|
697
|
+
color: #1661AD;
|
676
698
|
}
|
677
699
|
|
678
700
|
.contact-info p, .contact-info a {
|
@@ -722,11 +744,16 @@ h2 p {
|
|
722
744
|
4.1 Top Logo
|
723
745
|
*/
|
724
746
|
|
747
|
+
.icon-svg {
|
748
|
+
width: 100%;
|
749
|
+
color: #5ecf86;
|
750
|
+
}
|
751
|
+
|
725
752
|
.wrapper-top {
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
753
|
+
background: linear-gradient(200deg, #0f365e, #1661AD);
|
754
|
+
color: #ffffff;
|
755
|
+
padding: 2em 0;
|
756
|
+
width: 100%;
|
730
757
|
}
|
731
758
|
|
732
759
|
.wrapper-top-bottom {
|
@@ -745,23 +772,26 @@ h2 p {
|
|
745
772
|
.coverpage-title {
|
746
773
|
padding-bottom: 0.5em;
|
747
774
|
font-family: $headerfont;
|
748
|
-
font-size: 1.
|
749
|
-
line-height: 1.
|
775
|
+
font-size: 1.2em;
|
776
|
+
line-height: 1.5em;
|
750
777
|
font-weight: 100;
|
751
778
|
padding-left: 1em;
|
752
779
|
padding-right: 1em;
|
753
780
|
text-transform: uppercase;
|
754
781
|
}
|
755
|
-
|
782
|
+
|
756
783
|
.WordSection11 {
|
757
784
|
padding: 0 2em 0 3em;
|
758
785
|
}
|
759
786
|
|
787
|
+
.info-section {
|
788
|
+
padding: 0 2em 0 5em; }
|
789
|
+
|
760
790
|
.prefatory-section {
|
761
791
|
padding: 0 3em 0 6em;
|
762
792
|
}
|
763
|
-
|
764
|
-
|
793
|
+
|
794
|
+
|
765
795
|
.zzSTDTitle1, .MsoCommentText {
|
766
796
|
display: none;
|
767
797
|
}
|
@@ -777,13 +807,13 @@ h2 p {
|
|
777
807
|
text-transform: none;
|
778
808
|
font-weight: 300;
|
779
809
|
}
|
780
|
-
|
810
|
+
|
781
811
|
.coverpage-tc-name {
|
782
812
|
font-size: 1.2em;
|
783
813
|
line-height: 1.2em;
|
784
814
|
margin: 0.25em 0;
|
785
815
|
}
|
786
|
-
|
816
|
+
|
787
817
|
/*
|
788
818
|
4.2 Document Identity
|
789
819
|
*/
|
@@ -792,14 +822,14 @@ h2 p {
|
|
792
822
|
font-size: 2em;
|
793
823
|
line-height: 2em;
|
794
824
|
}
|
795
|
-
|
825
|
+
|
796
826
|
.coverpage-title .title-second {
|
797
827
|
display: none;
|
798
828
|
}
|
799
829
|
|
800
830
|
.coverpage-stage-block {
|
801
831
|
font-family: $bodyfont;
|
802
|
-
font-weight:
|
832
|
+
font-weight: 600;
|
803
833
|
font-size: 1.25em;
|
804
834
|
margin: 2em 0em 2em 0em;
|
805
835
|
text-transform: uppercase;
|
@@ -810,14 +840,14 @@ h2 p {
|
|
810
840
|
*/
|
811
841
|
|
812
842
|
.coverpage-warning {
|
813
|
-
|
814
|
-
color:
|
843
|
+
border: #f36f36 solid 2px;
|
844
|
+
color: #f36f36!important;
|
815
845
|
margin: 1em 2em;
|
816
846
|
color: #485094;
|
817
847
|
padding: 2em 1em 1em 1em;
|
818
848
|
border-radius: 25px;
|
819
849
|
}
|
820
|
-
|
850
|
+
|
821
851
|
.coverpage-warning .title {
|
822
852
|
font-family: $headerfont;
|
823
853
|
font-weight: 300;
|
@@ -825,20 +855,20 @@ h2 p {
|
|
825
855
|
font-size: 1.2em;
|
826
856
|
}
|
827
857
|
|
828
|
-
|
858
|
+
|
829
859
|
/*
|
830
860
|
4.4 Copyright
|
831
|
-
*/
|
861
|
+
*/
|
832
862
|
|
833
863
|
.copyright {
|
834
864
|
padding: 1em;
|
835
|
-
font-size: 0.
|
865
|
+
font-size: 0.9em;
|
836
866
|
text-align: left;
|
837
867
|
}
|
838
|
-
|
839
|
-
|
868
|
+
|
869
|
+
|
840
870
|
/* .copyright .name, .copyright .address {color: #485094;} */
|
841
|
-
|
871
|
+
|
842
872
|
|
843
873
|
|
844
874
|
/*
|
@@ -869,7 +899,7 @@ To top button
|
|
869
899
|
border-radius: 4px;
|
870
900
|
text-transform: uppercase;
|
871
901
|
}
|
872
|
-
|
902
|
+
|
873
903
|
#myBtn:hover {
|
874
904
|
opacity: 1;
|
875
905
|
}
|
@@ -880,3 +910,119 @@ To top button
|
|
880
910
|
box-shadow: none;
|
881
911
|
}
|
882
912
|
|
913
|
+
@page {
|
914
|
+
margin: 2cm 1cm;
|
915
|
+
}
|
916
|
+
|
917
|
+
@media print {
|
918
|
+
|
919
|
+
|
920
|
+
.document-info, nav, .copyright {
|
921
|
+
page-break-before: always;
|
922
|
+
}
|
923
|
+
|
924
|
+
nav {
|
925
|
+
page-break-after: always;
|
926
|
+
}
|
927
|
+
|
928
|
+
h1, h2, h3, h4 {
|
929
|
+
page-break-after: avoid;
|
930
|
+
margin-top: 1.2em;
|
931
|
+
}
|
932
|
+
|
933
|
+
.note, .figure, .Sourcecode, table {
|
934
|
+
page-break-inside: avoid;
|
935
|
+
}
|
936
|
+
|
937
|
+
.info-section {
|
938
|
+
display: none;
|
939
|
+
}
|
940
|
+
|
941
|
+
.coverpage {
|
942
|
+
height: 23cm;
|
943
|
+
}
|
944
|
+
|
945
|
+
.wrapper-top {
|
946
|
+
top: 0;
|
947
|
+
padding-top: 4cm;
|
948
|
+
padding-bottom: 4cm;
|
949
|
+
}
|
950
|
+
|
951
|
+
.wrapper-top-bottom {
|
952
|
+
margin-top: -5px;
|
953
|
+
}
|
954
|
+
|
955
|
+
|
956
|
+
#toggle, .document-stage-band,
|
957
|
+
.document-type-band, button#myBtn {
|
958
|
+
display: none;
|
959
|
+
}
|
960
|
+
|
961
|
+
button#myBtn {
|
962
|
+
background-color: white;
|
963
|
+
}
|
964
|
+
|
965
|
+
.container {
|
966
|
+
padding-left: 0;
|
967
|
+
}
|
968
|
+
|
969
|
+
nav {
|
970
|
+
position: relative;
|
971
|
+
width: auto;
|
972
|
+
font-size: 0.9em;
|
973
|
+
overflow: auto;
|
974
|
+
padding: 0;
|
975
|
+
margin-right: 0;
|
976
|
+
background-color: white;
|
977
|
+
}
|
978
|
+
|
979
|
+
#toc .toc-active a {
|
980
|
+
color: #4D7EA5;
|
981
|
+
}
|
982
|
+
|
983
|
+
#toc .toc-active, #toc li:hover {
|
984
|
+
background: white;
|
985
|
+
box-shadow: none !important; }
|
986
|
+
|
987
|
+
#toc li:hover a {
|
988
|
+
color: black; }
|
989
|
+
|
990
|
+
|
991
|
+
h1.content {
|
992
|
+
margin-top: 2em;
|
993
|
+
line-height: 2.5em;
|
994
|
+
}
|
995
|
+
|
996
|
+
h1 {
|
997
|
+
font-size: 1.5em;
|
998
|
+
line-height: 1.5;
|
999
|
+
}
|
1000
|
+
|
1001
|
+
h2 {
|
1002
|
+
font-size: 1.2em
|
1003
|
+
}
|
1004
|
+
|
1005
|
+
h3 {
|
1006
|
+
font-size: 1em;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
.Note {
|
1010
|
+
background-color: #fff495;
|
1011
|
+
color: #47430c;
|
1012
|
+
padding: 5px;
|
1013
|
+
margin: 2em 0 1em 0; }
|
1014
|
+
|
1015
|
+
.Note p {
|
1016
|
+
padding: 0 5px 0 5px;
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
nav {
|
1020
|
+
line-height: 1;
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
.wrapper-top-bottom {
|
1024
|
+
display: none;
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
}
|
1028
|
+
|