relaton-cli 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/README.adoc +56 -49
- data/lib/relaton/cli/base_convertor.rb +7 -2
- data/lib/relaton/cli/command.rb +8 -4
- data/lib/relaton/cli/relaton_file.rb +10 -6
- data/lib/relaton/cli/version.rb +1 -1
- data/lib/relaton/cli/xml_to_html_renderer.rb +0 -1
- data/templates/index-style.css +1017 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bd6e317d9d7a6e68ddd69415cb603725984a91b3203f903cb92809e8e34a90a
|
4
|
+
data.tar.gz: 5d6832c5016afe1d0d45371eb94aeea3866fa1d512d0877e9f517b51725a28e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7437bae620dc49e6ab0399af8281adfa41653628b94bf8b6c9926ecf4077195a007ff0432b0e7dfe745eab95101ec3cf2adccdf0e988c30140833b7d1cc8c139
|
7
|
+
data.tar.gz: e11fff9015de3be53557b3fbb420d4b6d48be3d4dba04d864f7aeeeb9bb678e739f2785487a967ee0983684540aed73a0fdccd13b61ca1ac0243f3720b9ecab6
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relaton-cli (0.1.
|
4
|
+
relaton-cli (0.1.6)
|
5
5
|
liquid
|
6
6
|
relaton (~> 0.3)
|
7
7
|
thor
|
@@ -44,7 +44,7 @@ GEM
|
|
44
44
|
liquid (4.0.1)
|
45
45
|
method_source (0.9.2)
|
46
46
|
mini_portile2 (2.3.0)
|
47
|
-
mixlib-shellout (2.4.
|
47
|
+
mixlib-shellout (2.4.4)
|
48
48
|
nokogiri (1.8.5)
|
49
49
|
mini_portile2 (~> 2.3.0)
|
50
50
|
pry (0.12.2)
|
@@ -97,4 +97,4 @@ DEPENDENCIES
|
|
97
97
|
rspec-core (~> 3.4)
|
98
98
|
|
99
99
|
BUNDLED WITH
|
100
|
-
1.17.
|
100
|
+
1.17.2
|
data/README.adoc
CHANGED
@@ -25,7 +25,7 @@ Iterates through all the Relaton XML files in `Source-Directory` (including thos
|
|
25
25
|
and outputs to `Collection-File` a `relaton-collection` document containing all the Relaton XML objects read in.
|
26
26
|
|
27
27
|
For each Relaton XML file, if a document file with the same base name is identified (i.e. an XML, HTML, PDF or DOC
|
28
|
-
file), a link to that file is inserted.
|
28
|
+
file), a link to that file is inserted.
|
29
29
|
|
30
30
|
If the `TITLE` or `ORGANIZATION` options are given, they are added to the `Collection-File` output as the
|
31
31
|
title and author of the `relaton-collection` document.
|
@@ -37,7 +37,7 @@ title and author of the `relaton-collection` document.
|
|
37
37
|
$ relaton fetch CODE -t TYPE -y YEAR
|
38
38
|
----
|
39
39
|
|
40
|
-
Fetch the Relaton XML entry corresponding to the document identifier `CODE`.
|
40
|
+
Fetch the Relaton XML entry corresponding to the document identifier `CODE`.
|
41
41
|
|
42
42
|
* `YEAR` is optional, and specifies the year of publication of the standard.
|
43
43
|
* `TYPE` specifies the standards class library to be used, that the identifier is part of; the recognised
|
@@ -61,69 +61,76 @@ file; otherwise, the original file name is used. The filename is suffixed with `
|
|
61
61
|
|
62
62
|
[source,console]
|
63
63
|
----
|
64
|
-
$ relaton xml2html <relaton-xml> <stylesheet> <html-template-dir>
|
64
|
+
$ relaton xml2html <relaton-xml> [<stylesheet>] [<html-template-dir>]
|
65
65
|
----
|
66
66
|
|
67
67
|
Render a Relaton Collection XML as an HTML file. Used to generate an HTML index of standards.
|
68
68
|
|
69
69
|
* `relaton-xml` is the Relaton Collection XML file.
|
70
70
|
* `stylesheet` is the CSS stylesheet to be used to style the output. For the CSS styling of each bibliographic element, see below.
|
71
|
-
* `html-template-dir` is a directory containing HTML Liquid Template files into which the bibliographic entries are to be inserted.
|
71
|
+
* `html-template-dir` is a directory containing HTML Liquid Template files into which the bibliographic entries are to be inserted.
|
72
|
+
There are two templates necessary:
|
72
73
|
|
73
|
-
|
74
|
+
** Index template (`_index.liquid_`)
|
74
75
|
|
75
|
-
The HTML Template file `_index.liquid` recognises the following parameters:
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
76
|
+
*** The HTML Template file `_index.liquid` recognises the following parameters:
|
77
|
+
*** `css`: where the CSS stylesheet `stylesheet` is injected
|
78
|
+
*** `title`: the Title of the collection, `./relaton-collection/title` in `relaton-xml`
|
79
|
+
*** `author`: the Author of the collection, `./relaton-collection/contributor[role/@type = 'author']/organization/name` in `relaton-xml`
|
80
|
+
*** `content`: the list of resources generated by the script
|
81
|
+
|
82
|
+
** Individual bibliographic entries template (`_document.liquid`)
|
83
|
+
|
84
|
+
*** This template recognises attributes of a bibliographic entry (`document`) which follow the naming convention of <<relaton-yaml,Relaton YAML>>; e.g. `document.html` is the HTML URI for the document.
|
85
|
+
|
86
|
+
The default stylesheet and templates are given (which also demonstrates the structure) in the `templates` directory.
|
80
87
|
|
81
88
|
Sample HTML output for a bibliographic entry:
|
82
89
|
|
83
|
-
[source,
|
84
|
-
----
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
</div>
|
90
|
+
[source,html]
|
91
|
+
----
|
92
|
+
<div class="document">
|
93
|
+
<div class="doc-line">
|
94
|
+
<div class="doc-identifier">
|
95
|
+
<h2>
|
96
|
+
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.html">CC/R 3101</a>
|
97
|
+
</h2>
|
98
|
+
</div>
|
99
|
+
<div class="doc-type-wrap">
|
100
|
+
<div class="doc-type report">report</div>
|
95
101
|
</div>
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
</
|
102
|
+
</div>
|
103
|
+
<div class="doc-title">
|
104
|
+
<h3>
|
105
|
+
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.html">CalConnect XLIII -- Position on the European Union daylight-savings timezone change</a>
|
106
|
+
</h3>
|
107
|
+
</div>
|
108
|
+
<div class="doc-info cancelled">
|
109
|
+
<div class="doc-stage cancelled">cancelled</div>
|
110
|
+
<div class="doc-dates">
|
111
|
+
<div class="doc-updated">2019-10-17</div>
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
<div class="doc-bib">
|
115
|
+
<div class="doc-bib-relaton">
|
116
|
+
<a href="csd/cc-r-3101.xml">Relaton XML</a>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
<div class="doc-access">
|
120
|
+
<div class="doc-access-button-html">
|
121
|
+
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.html">HTML</a>
|
100
122
|
</div>
|
101
|
-
<div class="doc-
|
102
|
-
<
|
103
|
-
<div class="doc-dates">
|
104
|
-
<div class="doc-updated">2019-10-17</div>
|
105
|
-
</div>
|
123
|
+
<div class="doc-access-button-pdf">
|
124
|
+
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.pdf">PDF</a>
|
106
125
|
</div>
|
107
|
-
<div class="doc-
|
108
|
-
<
|
109
|
-
<a href="csd/cc-r-3101.xml">Relaton XML</a>
|
110
|
-
</div>
|
126
|
+
<div class="doc-access-button-doc">
|
127
|
+
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.doc">Word</a>
|
111
128
|
</div>
|
112
|
-
<div class="doc-access">
|
113
|
-
<
|
114
|
-
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.html">HTML</a>
|
115
|
-
</div>
|
116
|
-
<div class="doc-access-button-pdf">
|
117
|
-
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.pdf">PDF</a>
|
118
|
-
</div>
|
119
|
-
<div class="doc-access-button-doc">
|
120
|
-
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.doc">Word</a>
|
121
|
-
</div>
|
122
|
-
<div class="doc-access-button-xml">
|
123
|
-
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.xml">XML</a>
|
124
|
-
</div>
|
129
|
+
<div class="doc-access-button-xml">
|
130
|
+
<a href="http://calconnect.org/pubdocs/CD0507%20CalDAV%20Use%20Cases%20V1.0.xml">XML</a>
|
125
131
|
</div>
|
126
132
|
</div>
|
133
|
+
</div>
|
127
134
|
----
|
128
135
|
|
129
136
|
[[relaton-yaml]]
|
@@ -183,7 +190,7 @@ Convert a Relaton XML file (`filename.xml` or `filename.rxl`) into a Relaton YAM
|
|
183
190
|
|
184
191
|
[source,console]
|
185
192
|
----
|
186
|
-
$ relaton yaml2xml YAML <stylesheet> <liquid-template-dir>
|
193
|
+
$ relaton yaml2xml Relaton-YAML [<stylesheet>] [<liquid-template-dir>]
|
187
194
|
----
|
188
195
|
|
189
196
|
Render a Relaton YAML file as an HTML file. The stylesheet and liquid-template-dir directories are as for <<relaton-xml2html,relaton xml2html>>.
|
@@ -30,8 +30,13 @@ module Relaton
|
|
30
30
|
# @param style [String] Stylesheet file path for styles
|
31
31
|
# @param template [String] The liquid tempalte directory
|
32
32
|
#
|
33
|
-
def self.to_html(file, style, template)
|
34
|
-
new(
|
33
|
+
def self.to_html(file, style = nil, template = nil)
|
34
|
+
new(
|
35
|
+
file,
|
36
|
+
style: style || File.join(File.dirname(__FILE__), "../../../templates/index-style.css"),
|
37
|
+
template: template || File.join(File.dirname(__FILE__), "../../../templates/"),
|
38
|
+
extension: "html"
|
39
|
+
).to_html
|
35
40
|
end
|
36
41
|
|
37
42
|
private
|
data/lib/relaton/cli/command.rb
CHANGED
@@ -51,15 +51,19 @@ module Relaton
|
|
51
51
|
Relaton::Cli::XMLConvertor.to_yaml(filename, options)
|
52
52
|
end
|
53
53
|
|
54
|
-
desc "xml2html RELATON-INDEX-XML
|
54
|
+
desc "xml2html RELATON-INDEX-XML", "Convert Relaton Collection XML into HTML"
|
55
|
+
option :stylesheet, aliases: :s, desc: "Stylesheet file path for rendering HTML index"
|
56
|
+
option :templatedir, aliases: :t, desc: "Liquid template directory for rendering Relaton items and collection"
|
55
57
|
|
56
|
-
def xml2html(file, style, template)
|
58
|
+
def xml2html(file, style = nil, template = nil)
|
57
59
|
Relaton::Cli::XMLConvertor.to_html(file, style, template)
|
58
60
|
end
|
59
61
|
|
60
|
-
desc "yaml2html
|
62
|
+
desc "yaml2html RELATON-INDEX-YAML", "Concatenate Relaton Collection YAML into HTML"
|
63
|
+
option :stylesheet, aliases: :s, desc: "Stylesheet file path for rendering HTML index"
|
64
|
+
option :templatedir, aliases: :t, desc: "Liquid template directory for rendering Relaton items and collection"
|
61
65
|
|
62
|
-
def yaml2html(file, style, template)
|
66
|
+
def yaml2html(file, style = nil, template = nil)
|
63
67
|
Relaton::Cli::YAMLConvertor.to_html(file, style, template)
|
64
68
|
end
|
65
69
|
|
@@ -77,10 +77,16 @@ module Relaton
|
|
77
77
|
xml.remove_namespaces!
|
78
78
|
|
79
79
|
bib = xml.at("//bibdata") || next
|
80
|
-
|
80
|
+
|
81
|
+
bib = nokogiri_document(bib.to_xml)
|
82
|
+
bib.remove_namespaces!
|
83
|
+
bib.root.add_namespace(nil, "xmlns")
|
84
|
+
|
85
|
+
bibdata = Relaton::Bibdata.from_xml(bib.root)
|
86
|
+
build_bibdata_relaton(bibdata, file)
|
81
87
|
|
82
88
|
outfile = [outdir, build_filename(file, bib)].join("/")
|
83
|
-
write_to_file(
|
89
|
+
write_to_file(bibdata.to_xml, outfile)
|
84
90
|
end
|
85
91
|
end
|
86
92
|
|
@@ -142,10 +148,8 @@ module Relaton
|
|
142
148
|
end
|
143
149
|
|
144
150
|
def build_filename(file, document)
|
145
|
-
identifier =
|
146
|
-
|
147
|
-
|
148
|
-
filename = identifier.sub(/^\s+/, "").sub(/\s+$/, "").gsub(/\s+/, "-")
|
151
|
+
identifier = Pathname.new(File.basename(file, ".xml")).to_s
|
152
|
+
filename = identifier.downcase.gsub(/^\s+/, "").gsub(/\s+$/, "").gsub(/\s+/, "-")
|
149
153
|
[filename, options[:extension] || "rxl"].join(".")
|
150
154
|
end
|
151
155
|
end
|
data/lib/relaton/cli/version.rb
CHANGED
@@ -9,7 +9,6 @@ module Relaton::Cli
|
|
9
9
|
@liquid_dir = options[:liquid_dir]
|
10
10
|
@stylesheet = File.read(options[:stylesheet], encoding: "utf-8")
|
11
11
|
|
12
|
-
puts "HTML html_template_dir #{@liquid_dir}"
|
13
12
|
@file_system = Liquid::LocalFileSystem.new(@liquid_dir)
|
14
13
|
@template = File.read(@file_system.full_path("index"), encoding: "utf-8")
|
15
14
|
Liquid::Template.file_system = @file_system
|
@@ -0,0 +1,1017 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/*
|
3
|
+
0 CSS RESET
|
4
|
+
*/
|
5
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
6
|
+
v2.0 | 20110126
|
7
|
+
License: none (public domain)
|
8
|
+
*/
|
9
|
+
html, body, div, span, applet, object, iframe,
|
10
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
11
|
+
a, abbr, acronym, address, big, cite, code,
|
12
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
13
|
+
small, strike, strong, sub, sup, tt, var,
|
14
|
+
b, u, i, center,
|
15
|
+
ol, ul, li,
|
16
|
+
fieldset, form, label, legend,
|
17
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
18
|
+
article, aside, canvas, details, embed,
|
19
|
+
figure, figcaption, footer, header, hgroup,
|
20
|
+
menu, nav, output, ruby, section, summary,
|
21
|
+
time, mark, audio, video {
|
22
|
+
margin: 0;
|
23
|
+
padding: 0; }
|
24
|
+
|
25
|
+
html, body, div, span, applet, object, iframe,
|
26
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
27
|
+
a, abbr, acronym, address, big, cite, code,
|
28
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
29
|
+
small, strike, strong, sub, sup, tt, var,
|
30
|
+
b, u, i, center,
|
31
|
+
dl, dt, dd, ol, ul, li,
|
32
|
+
fieldset, form, label, legend,
|
33
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
34
|
+
article, aside, canvas, details, embed,
|
35
|
+
figure, figcaption, footer, header, hgroup,
|
36
|
+
menu, nav, output, ruby, section, summary,
|
37
|
+
time, mark, audio, video {
|
38
|
+
border: 0;
|
39
|
+
font-size: 100%; }
|
40
|
+
|
41
|
+
html, body, div, span, applet, object, iframe,
|
42
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
43
|
+
a, abbr, acronym, address, big, cite, code,
|
44
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
45
|
+
small, strike, strong, tt, var,
|
46
|
+
b, u, i, center,
|
47
|
+
dl, dd, ol, ul, li,
|
48
|
+
fieldset, form, label, legend,
|
49
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
50
|
+
article, aside, canvas, details, embed,
|
51
|
+
figure, figcaption, footer, header, hgroup,
|
52
|
+
menu, nav, output, ruby, section, summary,
|
53
|
+
time, mark, audio, video {
|
54
|
+
vertical-align: baseline; }
|
55
|
+
|
56
|
+
html, body, div, span, applet, object, iframe,
|
57
|
+
p, blockquote,
|
58
|
+
a, abbr, acronym, address, big, cite,
|
59
|
+
del, dfn, em, img, ins, q, s,
|
60
|
+
small, strike, strong, sub, sup, var,
|
61
|
+
b, u, i, center,
|
62
|
+
dl, dt, dd, ol, ul, li,
|
63
|
+
fieldset, form, label, legend,
|
64
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
65
|
+
article, aside, canvas, details, embed,
|
66
|
+
figure, figcaption, footer, header, hgroup,
|
67
|
+
menu, nav, output, ruby, section, summary,
|
68
|
+
time, mark, audio, video {
|
69
|
+
font-family: "Overpass", sans-serif; }
|
70
|
+
|
71
|
+
code, pre, tt, kbd, samp {
|
72
|
+
font-family: "Space Mono", monospace; }
|
73
|
+
|
74
|
+
h1, h2, h3, h4, h5, h6, .h2Annex {
|
75
|
+
font-family: "Overpass", sans-serif; }
|
76
|
+
|
77
|
+
dl {
|
78
|
+
display: grid;
|
79
|
+
grid-template-columns: max-content auto; }
|
80
|
+
|
81
|
+
dt {
|
82
|
+
grid-column-start: 1; }
|
83
|
+
|
84
|
+
dd {
|
85
|
+
grid-column-start: 2; }
|
86
|
+
|
87
|
+
dd p, dt p {
|
88
|
+
margin-top: 0px; }
|
89
|
+
|
90
|
+
/* HTML5 display-role reset for older browsers */
|
91
|
+
article, aside, details, figcaption, figure,
|
92
|
+
footer, header, hgroup, menu, nav, section {
|
93
|
+
display: block; }
|
94
|
+
|
95
|
+
body {
|
96
|
+
line-height: 1; }
|
97
|
+
|
98
|
+
blockquote, q {
|
99
|
+
quotes: none; }
|
100
|
+
|
101
|
+
blockquote:before, blockquote:after,
|
102
|
+
q:before, q:after {
|
103
|
+
content: '';
|
104
|
+
content: none; }
|
105
|
+
|
106
|
+
table {
|
107
|
+
border-collapse: collapse;
|
108
|
+
border-spacing: 0; }
|
109
|
+
|
110
|
+
/*
|
111
|
+
1. HTML & Body
|
112
|
+
*/
|
113
|
+
body {
|
114
|
+
margin: 0;
|
115
|
+
margin-left: auto;
|
116
|
+
margin-right: auto;
|
117
|
+
max-width: 100%;
|
118
|
+
color: #1d1d1d;
|
119
|
+
font-weight: 300;
|
120
|
+
font-size: 15px;
|
121
|
+
line-height: 1.4em;
|
122
|
+
background-color: #ffffff; }
|
123
|
+
|
124
|
+
main {
|
125
|
+
margin: 0 3em 0 6em; }
|
126
|
+
|
127
|
+
#toc {
|
128
|
+
font-family: "Overpass", sans-serif;
|
129
|
+
font-weight: 400; }
|
130
|
+
|
131
|
+
/*
|
132
|
+
2. Responsive navigation layout
|
133
|
+
*/
|
134
|
+
@media screen and (min-width: 768px) {
|
135
|
+
nav {
|
136
|
+
position: fixed;
|
137
|
+
top: 0;
|
138
|
+
bottom: 0;
|
139
|
+
left: 0;
|
140
|
+
width: 323px;
|
141
|
+
font-size: 0.9em;
|
142
|
+
overflow: auto;
|
143
|
+
padding: 0 0 0 45px;
|
144
|
+
margin-right: 30px;
|
145
|
+
background-color: #f7f7f7; }
|
146
|
+
#toggle {
|
147
|
+
position: fixed;
|
148
|
+
height: 100%;
|
149
|
+
width: 30px;
|
150
|
+
background-color: #1d1d1d;
|
151
|
+
color: white !important;
|
152
|
+
cursor: pointer;
|
153
|
+
z-index: 100; }
|
154
|
+
#toggle span {
|
155
|
+
text-align: center;
|
156
|
+
width: 100%;
|
157
|
+
position: absolute;
|
158
|
+
top: 50%;
|
159
|
+
transform: translate(0, -50%); }
|
160
|
+
.container {
|
161
|
+
padding-left: 360px; }
|
162
|
+
.rule.toc {
|
163
|
+
display: none; }
|
164
|
+
h1.toc-contents {
|
165
|
+
margin-top: 1em; }
|
166
|
+
ul#toc-list {
|
167
|
+
padding: 0;
|
168
|
+
margin: 0; } }
|
169
|
+
|
170
|
+
@media screen and (max-width: 768px) {
|
171
|
+
#toc {
|
172
|
+
padding: 0 1.5em 0 1.5em;
|
173
|
+
overflow: visible; } }
|
174
|
+
|
175
|
+
#toc ul {
|
176
|
+
margin: 0;
|
177
|
+
padding: 0;
|
178
|
+
list-style: none; }
|
179
|
+
|
180
|
+
#toc li {
|
181
|
+
padding: 5px 10px; }
|
182
|
+
|
183
|
+
#toc a {
|
184
|
+
color: #485094;
|
185
|
+
text-decoration: none;
|
186
|
+
display: block; }
|
187
|
+
|
188
|
+
#toc a:hover {
|
189
|
+
color: white; }
|
190
|
+
|
191
|
+
#toc .h2 {
|
192
|
+
padding-left: 30px; }
|
193
|
+
|
194
|
+
#toc .h3 {
|
195
|
+
padding-left: 50px; }
|
196
|
+
|
197
|
+
#toc .toc-active a {
|
198
|
+
color: white; }
|
199
|
+
|
200
|
+
#toc .toc-active, #toc li:hover {
|
201
|
+
background: #1d1d1d;
|
202
|
+
box-shadow: inset -5px 0px 10px -5px #1d1d1d !important; }
|
203
|
+
|
204
|
+
#toc li:hover a {
|
205
|
+
color: white; }
|
206
|
+
|
207
|
+
/*
|
208
|
+
Document types + stages
|
209
|
+
*/
|
210
|
+
.document-type-band {
|
211
|
+
left: 0;
|
212
|
+
top: 180px;
|
213
|
+
height: 100%;
|
214
|
+
position: fixed;
|
215
|
+
display: block;
|
216
|
+
z-index: 99;
|
217
|
+
/*box-shadow: -5px 0px 10px #1d1d1d*/ }
|
218
|
+
|
219
|
+
.document-stage-band {
|
220
|
+
left: 0;
|
221
|
+
top: 0;
|
222
|
+
height: 100%;
|
223
|
+
position: fixed;
|
224
|
+
display: block;
|
225
|
+
z-index: 98;
|
226
|
+
box-shadow: -5px 0px 10px #1d1d1d; }
|
227
|
+
|
228
|
+
.document-type {
|
229
|
+
position: relative;
|
230
|
+
width: 25px; }
|
231
|
+
|
232
|
+
.document-stage {
|
233
|
+
position: relative;
|
234
|
+
width: 25px; }
|
235
|
+
|
236
|
+
p.document-type, p.document-stage {
|
237
|
+
color: white;
|
238
|
+
text-transform: uppercase;
|
239
|
+
font-size: 0.9em;
|
240
|
+
font-weight: 400;
|
241
|
+
letter-spacing: 0.05em;
|
242
|
+
margin: 0;
|
243
|
+
margin-left: 6px;
|
244
|
+
writing-mode: tb-rl;
|
245
|
+
-webkit-transform: rotate(180deg);
|
246
|
+
-moz-transform: rotate(180deg);
|
247
|
+
-o-transform: rotate(180deg);
|
248
|
+
white-space: nowrap;
|
249
|
+
display: block;
|
250
|
+
bottom: 0; }
|
251
|
+
|
252
|
+
p.document-type {
|
253
|
+
font-weight: 400;
|
254
|
+
height: 210px; }
|
255
|
+
|
256
|
+
#governance-band p.document-type {
|
257
|
+
font-weight: 400;
|
258
|
+
height: 230px !important; }
|
259
|
+
|
260
|
+
p.document-stage {
|
261
|
+
font-weight: 300;
|
262
|
+
height: 160px; }
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
.coverpage-maturity {
|
267
|
+
font-family: "Overpass", sans-serif;
|
268
|
+
font-weight: 400;
|
269
|
+
font-size: 1em;
|
270
|
+
margin: 0 0 2em 0;
|
271
|
+
text-transform: uppercase; }
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
/*
|
276
|
+
3. TYPOGRAPHY
|
277
|
+
*/
|
278
|
+
/*
|
279
|
+
3.1 Titles
|
280
|
+
*/
|
281
|
+
h1, h2, h3, h4, h5, h6 {
|
282
|
+
font-family: "Overpass", sans-serif;
|
283
|
+
color: #0e1a85;
|
284
|
+
font-weight: 600;
|
285
|
+
margin-top: 2em;
|
286
|
+
margin-bottom: 0.3em; }
|
287
|
+
|
288
|
+
h1 {
|
289
|
+
font-size: 1.4em;
|
290
|
+
text-transform: uppercase;
|
291
|
+
margin-top: 2em; }
|
292
|
+
|
293
|
+
h1#content {
|
294
|
+
margin-top: 2em; }
|
295
|
+
|
296
|
+
h2 {
|
297
|
+
font-size: 1.3em;
|
298
|
+
font-weight: 400;
|
299
|
+
margin-top: 0.2em;
|
300
|
+
}
|
301
|
+
|
302
|
+
h3 {
|
303
|
+
font-size: 1.1em;
|
304
|
+
font-weight: 400;
|
305
|
+
margin-top: 0.2em;
|
306
|
+
}
|
307
|
+
|
308
|
+
/*
|
309
|
+
span[id^="toc"]:after {
|
310
|
+
float: left;
|
311
|
+
padding-right: 4px;
|
312
|
+
margin-left: -20px;
|
313
|
+
font-family: "Font Awesome 5 Free";
|
314
|
+
font-weight: 900;
|
315
|
+
font-size: 0.8em;
|
316
|
+
color: #cfcfcf;
|
317
|
+
content: "\f0c1";
|
318
|
+
}
|
319
|
+
*/
|
320
|
+
.TermNum, .Terms, .AltTerms {
|
321
|
+
color: #485094;
|
322
|
+
font-weight: 400; }
|
323
|
+
|
324
|
+
p.TermNum {
|
325
|
+
font-size: 0.9em;
|
326
|
+
line-height: 1em;
|
327
|
+
margin: 0;
|
328
|
+
margin-top: 2em; }
|
329
|
+
|
330
|
+
p.Terms {
|
331
|
+
font-size: 1.1em;
|
332
|
+
line-height: 1.7em;
|
333
|
+
margin: 0; }
|
334
|
+
|
335
|
+
/*
|
336
|
+
p.AltTerms {
|
337
|
+
font-style: italic;
|
338
|
+
margin: 0;
|
339
|
+
}
|
340
|
+
*/
|
341
|
+
span.obligation {
|
342
|
+
font-weight: 400; }
|
343
|
+
|
344
|
+
/*
|
345
|
+
3.2 Links
|
346
|
+
*/
|
347
|
+
a, a:visited {
|
348
|
+
text-decoration: none;
|
349
|
+
color: #485094; }
|
350
|
+
|
351
|
+
a:hover {
|
352
|
+
color: white;
|
353
|
+
background: #1d1d1d;
|
354
|
+
box-shadow: 3px 0 0 #1d1d1d, -3px 0 0 #1d1d1d;
|
355
|
+
/* padding: 2px 0 2px 0; */
|
356
|
+
}
|
357
|
+
|
358
|
+
::selection {
|
359
|
+
background: #1d1d1d;
|
360
|
+
/* WebKit/Blink Browsers */
|
361
|
+
color: white; }
|
362
|
+
|
363
|
+
::-moz-selection {
|
364
|
+
background: #1d1d1d;
|
365
|
+
/* Gecko Browsers */
|
366
|
+
color: white; }
|
367
|
+
|
368
|
+
.contact-info a:hover {
|
369
|
+
color: #485094;
|
370
|
+
text-decoration: underline;
|
371
|
+
background: none;
|
372
|
+
box-shadow: 0 0 0 0; }
|
373
|
+
|
374
|
+
/*
|
375
|
+
3.3 Lists
|
376
|
+
*/
|
377
|
+
ul {
|
378
|
+
margin-left: 1.2em; }
|
379
|
+
|
380
|
+
ol {
|
381
|
+
margin-left: 1.2em; }
|
382
|
+
|
383
|
+
ul > li {
|
384
|
+
list-style: none; }
|
385
|
+
|
386
|
+
ul > li:before {
|
387
|
+
content: "—";
|
388
|
+
display: inline-block;
|
389
|
+
width: 1em;
|
390
|
+
margin-left: -1.2em; }
|
391
|
+
|
392
|
+
li p {
|
393
|
+
display: inline; }
|
394
|
+
|
395
|
+
li:first-child {
|
396
|
+
margin-top: 1em; }
|
397
|
+
|
398
|
+
#toc ul {
|
399
|
+
margin-bottom: 0.25em; }
|
400
|
+
|
401
|
+
#toc li {
|
402
|
+
list-style-type: none; }
|
403
|
+
|
404
|
+
#toc li:before {
|
405
|
+
content: " ";
|
406
|
+
display: none; }
|
407
|
+
|
408
|
+
/*
|
409
|
+
3.4 Rules
|
410
|
+
*/
|
411
|
+
.rule {
|
412
|
+
width: 100%;
|
413
|
+
height: 1px;
|
414
|
+
background-color: #0e1a85;
|
415
|
+
margin: 2em 0; }
|
416
|
+
|
417
|
+
h2 p {
|
418
|
+
display: inline; }
|
419
|
+
|
420
|
+
/*
|
421
|
+
3.5 Bibliograhy
|
422
|
+
*/
|
423
|
+
p.Biblio, p.NormRef {
|
424
|
+
margin-top: 1em;
|
425
|
+
margin-left: 2em;
|
426
|
+
text-indent: -2em; }
|
427
|
+
|
428
|
+
/*
|
429
|
+
3.6 Source Code + figures
|
430
|
+
*/
|
431
|
+
.figure, .Sourcecode {
|
432
|
+
font-family: "Space Mono", monospace;
|
433
|
+
background-color: #f7f7f7;
|
434
|
+
font-size: 0.8em;
|
435
|
+
line-height: 1.6em;
|
436
|
+
padding: 1.5em;
|
437
|
+
margin: 2em 0 1em 0;
|
438
|
+
overflow: auto; }
|
439
|
+
|
440
|
+
.FigureTitle {
|
441
|
+
font-weight: 700;
|
442
|
+
font-size: 1em;
|
443
|
+
text-align: center; }
|
444
|
+
|
445
|
+
/*
|
446
|
+
3.7 Notes
|
447
|
+
*/
|
448
|
+
.Note {
|
449
|
+
background-color: #fff495;
|
450
|
+
color: #47430c;
|
451
|
+
padding: 1.2em;
|
452
|
+
margin: 2em 0 1em 0; }
|
453
|
+
|
454
|
+
/*
|
455
|
+
3.8 Examples
|
456
|
+
*/
|
457
|
+
table.example {
|
458
|
+
background-color: #e1eef1; }
|
459
|
+
|
460
|
+
td.example {
|
461
|
+
padding: 0 1em 0 1em;
|
462
|
+
margin: 2em 0 1em 0; }
|
463
|
+
|
464
|
+
.example .example-title {
|
465
|
+
font-weight: 700;
|
466
|
+
text-transform: uppercase;
|
467
|
+
text-align: center;
|
468
|
+
margin-top: 0; }
|
469
|
+
|
470
|
+
/*
|
471
|
+
3.9 Tables
|
472
|
+
*/
|
473
|
+
table {
|
474
|
+
border-collapse: collapse;
|
475
|
+
width: 100%;
|
476
|
+
font-weight: 300;
|
477
|
+
margin: 1em 0 2em 0;
|
478
|
+
margin-left: auto;
|
479
|
+
margin-right: auto;
|
480
|
+
padding-right: 2em; }
|
481
|
+
|
482
|
+
table, th, td {
|
483
|
+
border: 1px solid black;
|
484
|
+
font-size: 0.95em; }
|
485
|
+
|
486
|
+
td, th {
|
487
|
+
padding: 1em; }
|
488
|
+
|
489
|
+
td.header {
|
490
|
+
font-weight: 400; }
|
491
|
+
|
492
|
+
p.TableTitle {
|
493
|
+
text-align: center;
|
494
|
+
margin-top: 2.5em;
|
495
|
+
font-weight: 400; }
|
496
|
+
|
497
|
+
/*
|
498
|
+
3.10 Footnotes
|
499
|
+
*/
|
500
|
+
a.footnote-number {
|
501
|
+
vertical-align: super;
|
502
|
+
font-size: 0.8em; }
|
503
|
+
|
504
|
+
.footnote {
|
505
|
+
font-size: 0.9em; }
|
506
|
+
|
507
|
+
/*
|
508
|
+
3.11 Blockquotes
|
509
|
+
*/
|
510
|
+
.Quote {
|
511
|
+
background-color: #f7f7f7;
|
512
|
+
font-style: italic;
|
513
|
+
width: 80%;
|
514
|
+
padding: 1.5em;
|
515
|
+
margin-top: 2em;
|
516
|
+
margin-left: auto;
|
517
|
+
margin-right: auto; }
|
518
|
+
|
519
|
+
.QuoteAttribution {
|
520
|
+
text-align: right; }
|
521
|
+
|
522
|
+
/*
|
523
|
+
3.12 Formulas
|
524
|
+
*/
|
525
|
+
.formula, .Formula {
|
526
|
+
background-color: #f7f7f7;
|
527
|
+
padding: 1.5em;
|
528
|
+
margin-top: 2em;
|
529
|
+
text-align: center; }
|
530
|
+
|
531
|
+
/*
|
532
|
+
3.13 Contact Info
|
533
|
+
*/
|
534
|
+
.contact-info {
|
535
|
+
background-color: #f7f7f7;
|
536
|
+
padding: 2em;
|
537
|
+
margin-top: 5em;
|
538
|
+
width: auto;
|
539
|
+
margin-left: auto;
|
540
|
+
margin-right: auto;
|
541
|
+
text-align: left; }
|
542
|
+
|
543
|
+
.contact-info p, .contact-info a {
|
544
|
+
font-family: "Space Mono", monospace;
|
545
|
+
font-weight: 400; }
|
546
|
+
|
547
|
+
.contact-info .name {
|
548
|
+
font-weight: 700;
|
549
|
+
font-size: 1.2em;
|
550
|
+
margin-bottom: 0; }
|
551
|
+
|
552
|
+
.contact-info .address {
|
553
|
+
font-size: 1em;
|
554
|
+
line-height: 1.3em;
|
555
|
+
margin-top: 0; }
|
556
|
+
|
557
|
+
/*
|
558
|
+
Keywords
|
559
|
+
*/
|
560
|
+
span.keyword {
|
561
|
+
font-weight: 600; }
|
562
|
+
|
563
|
+
/*
|
564
|
+
Paragraphs
|
565
|
+
*/
|
566
|
+
p {
|
567
|
+
margin-top: 1em;
|
568
|
+
margin-bottom: 1em; }
|
569
|
+
|
570
|
+
/* Admonitions */
|
571
|
+
.Admonition, .admonition {
|
572
|
+
background-color: #ffb3b3;
|
573
|
+
/* color: #47430c;*/
|
574
|
+
padding: 0.5em;
|
575
|
+
margin: 1.5em 0 1.5em 0;
|
576
|
+
text-align: left; }
|
577
|
+
|
578
|
+
.Admonition p, .admonition p {
|
579
|
+
margin: 0; }
|
580
|
+
|
581
|
+
/*
|
582
|
+
4.0 Page header
|
583
|
+
*/
|
584
|
+
/*
|
585
|
+
4.1 Top Logo
|
586
|
+
*/
|
587
|
+
.wrapper-top {
|
588
|
+
background-color: #0e1a85;
|
589
|
+
/* background-image: url("img/dots@2x.png"); */
|
590
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAABYlAAAWJQFJUiTwAAADwUlEQVR4nO3YgQ2AMAwDwcAiWZ1NizrH30lIeIEq9nPOGSDqPgC7+93v/suy3Mmvhx+6VAAIcwFAmc4nyzYAIMgGAGEuACirdyBZtgEASTYACHMBQFm9A8myDQBIsgFAmAsAyuodSJZtAECSDQDCXABQVu9AsmwDAJJsABDmAoCyegeSZRsAkGQDgDAXAJTVO5As2wCAJBsAhLkAoKzegWTZBgAk2QAgzAUAZfUOJMs2ACDJBgBhLgAoq3cgWbYBAEk2AAhzAUBZvQPJsg0ASLIBQJgLAMrqHUiWbQBAkg0AwlwAUFbvQLJsAwCSbAAQ5gKAsnoHkmUbAJBkA4AwFwCU1TuQLNsAgCQbAIS5AKCs3oFk2QYAJNkAIMwFAGX1DiTLNgAgyQYAYS4AKKt3IFm2AQBJNgAIcwFAWb0DybINAEiyAUCYCwDK6h1Ilm0AQJINAMJcAFBW70CybAMAkmwAEOYCgLJ6B5JlGwCQZAOAMBcAlNU7kCzbAIAkGwCEuQCgrN6BZNkGACTZACDMBQBl9Q4kyzYAIMkGAGEuACirdyBZtgEASTYACHMBQFm9A8myDQBIsgFAmAsAyuodSJZtAECSDQDCXABQVu9AsmwDAJJsABDmAoCyegeSZRsAkGQDgDAXAJTVO5As2wCAJBsAhLkAoKzegWTZBgAk2QAgzAUAZfUOJMs2ACDJBgBhLgAoq3cgWbYBAEk2AAhzAUBZvQPJsg0ASLIBQJgLAMrqHUiWbQBAkg0AwlwAUFbvQLJsAwCSbAAQ5gKAsnoHkmUbAJBkA4AwFwCU1TuQLNsAgCQbAIS5AKCs3oFk2QYAJNkAIMwFAGX1DiTLNgAgyQYAYS4AKKt3IFm2AQBJNgAIcwFAWb0DybINAEiyAUCYCwDK6h1Ilm0AQJINAMJcAFBW70CybAMAkmwAEOYCgLJ6B5JlGwCQZAOAMBcAlNU7kCzbAIAkGwCEuQCgrN6BZNkGACTZACDMBQBl9Q4kyzYAIMkGAGEuACirdyBZtgEASTYACHMBQFm9A8myDQBIsgFAmAsAyuodSJZtAECSDQDCXABQVu9AsmwDAJJsABDmAoCyegeSZRsAkGQDgDAXAJTVO5As2wCAJBsAhLkAoKzegWTZBgAk2QAgzAUAZfUOJMs2ACDJBgBhLgAoq3cgWbYBAEk2AAhzAUBZvQPJsg0ASLIBQJgLAMrqHUiWbQBAkg0AwlwAUFbvQLJsAwCSbAAQ5gKAsnoHkmUbAJBkA4AwFwCU1TuQLNsAgCQbAFTNzA9ggAr9aahO8QAAAABJRU5ErkJggg==");
|
591
|
+
color: #ffffff;
|
592
|
+
padding: 2em 0; }
|
593
|
+
|
594
|
+
.doc-number {
|
595
|
+
font-size: 0.5em;
|
596
|
+
font-family: "Overpass", sans-serif; }
|
597
|
+
|
598
|
+
.coverpage-title {
|
599
|
+
padding: 0.5em 1em;
|
600
|
+
font-family: "Overpass", sans-serif;
|
601
|
+
font-size: 1.2em;
|
602
|
+
line-height: 1.2em;
|
603
|
+
font-weight: 500;
|
604
|
+
}
|
605
|
+
|
606
|
+
.title-section1 {
|
607
|
+
padding: 0 2em 0 3em; }
|
608
|
+
|
609
|
+
.prefatory-section {
|
610
|
+
padding: 0 3em 0 6em; }
|
611
|
+
|
612
|
+
.zzSTDTitle1, .MsoCommentText {
|
613
|
+
display: none; }
|
614
|
+
|
615
|
+
.coverpage {
|
616
|
+
text-align: center;
|
617
|
+
padding-left: 1.5em; }
|
618
|
+
|
619
|
+
.coverpage-logo span, .coverpage-tc-name span {
|
620
|
+
font-family: "Overpass", sans-serif;
|
621
|
+
text-transform: uppercase;
|
622
|
+
font-weight: 600; }
|
623
|
+
|
624
|
+
.coverpage-tc-name {
|
625
|
+
font-size: 1.2em;
|
626
|
+
line-height: 1.2em;
|
627
|
+
margin: 0.25em 0; }
|
628
|
+
|
629
|
+
/*
|
630
|
+
4.2 Document Identity
|
631
|
+
*/
|
632
|
+
.coverpage-doc-identity {
|
633
|
+
font-size: 2em;
|
634
|
+
line-height: 2em; }
|
635
|
+
|
636
|
+
.coverpage-title .title-second {
|
637
|
+
display: none; }
|
638
|
+
|
639
|
+
.coverpage-stage-block {
|
640
|
+
font-family: "Overpass", sans-serif;
|
641
|
+
font-weight: 700;
|
642
|
+
font-size: 1.25em;
|
643
|
+
margin: 2em 0em 2em 0em;
|
644
|
+
text-transform: uppercase; }
|
645
|
+
|
646
|
+
/*
|
647
|
+
4.3 Draft Warning
|
648
|
+
*/
|
649
|
+
.coverpage-warning {
|
650
|
+
border-top: solid 1px #f36f36;
|
651
|
+
border-bottom: solid 1px #f36f36;
|
652
|
+
margin: 1em 2em;
|
653
|
+
color: #485094;
|
654
|
+
padding: 1em; }
|
655
|
+
|
656
|
+
.coverpage-warning .title {
|
657
|
+
color: #f36f36;
|
658
|
+
font-family: "Overpass", sans-serif;
|
659
|
+
font-weight: 700;
|
660
|
+
text-transform: uppercase;
|
661
|
+
font-size: 1.2em; }
|
662
|
+
|
663
|
+
/*
|
664
|
+
4.4 Copyright
|
665
|
+
*/
|
666
|
+
.copyright {
|
667
|
+
/*font-size: 0.8em;*/
|
668
|
+
text-align: left;
|
669
|
+
margin: 0 3em 0 6em;
|
670
|
+
}
|
671
|
+
|
672
|
+
.copyright .name, .copyright .address {
|
673
|
+
color: #485094;
|
674
|
+
}
|
675
|
+
|
676
|
+
/*
|
677
|
+
5.0 Other styles
|
678
|
+
*/
|
679
|
+
/*
|
680
|
+
To top button
|
681
|
+
*/
|
682
|
+
#myBtn {
|
683
|
+
font-family: "Space Mono", monospace;
|
684
|
+
display: none;
|
685
|
+
position: fixed;
|
686
|
+
bottom: 20px;
|
687
|
+
right: 30px;
|
688
|
+
z-index: 99;
|
689
|
+
font-size: 12px;
|
690
|
+
border: none;
|
691
|
+
outline: none;
|
692
|
+
background-color: #1d1d1d;
|
693
|
+
opacity: 0.15;
|
694
|
+
color: white;
|
695
|
+
cursor: pointer;
|
696
|
+
padding: 10px 15px 10px 15px;
|
697
|
+
border-radius: 4px; }
|
698
|
+
|
699
|
+
#myBtn:hover {
|
700
|
+
opacity: 1; }
|
701
|
+
|
702
|
+
a.anchorjs-link:hover {
|
703
|
+
background: none;
|
704
|
+
color: #485094;
|
705
|
+
box-shadow: none; }
|
706
|
+
|
707
|
+
@page {
|
708
|
+
margin: 2cm 1cm 2cm 1cm; }
|
709
|
+
|
710
|
+
@media print {
|
711
|
+
h1, .title-section1 {
|
712
|
+
page-break-before: always; }
|
713
|
+
#toggle, .document-stage-band,
|
714
|
+
.document-type-band, #myBtn {
|
715
|
+
display: none; }
|
716
|
+
.container {
|
717
|
+
padding-left: 0; }
|
718
|
+
nav {
|
719
|
+
position: relative;
|
720
|
+
width: auto;
|
721
|
+
font-size: 0.9em;
|
722
|
+
overflow: auto;
|
723
|
+
padding: 0;
|
724
|
+
margin-right: 0;
|
725
|
+
background-color: white; }
|
726
|
+
#toc .toc-active a {
|
727
|
+
color: #485094; }
|
728
|
+
#toc .toc-active, #toc li:hover {
|
729
|
+
background: white;
|
730
|
+
box-shadow: none !important; }
|
731
|
+
#toc li:hover a {
|
732
|
+
color: black; }
|
733
|
+
h1.toc-contents {
|
734
|
+
margin-top: 2em; } }
|
735
|
+
|
736
|
+
/* NEW CSS */
|
737
|
+
|
738
|
+
nav, #toggle, #standard-band, .coverpage-warning,
|
739
|
+
.contact-info, .prefatory-section, .coverpage-stage-block, .doc-number,
|
740
|
+
.coverpage-logo, .coverpage-tc-name {
|
741
|
+
display: none;
|
742
|
+
}
|
743
|
+
|
744
|
+
body.container {
|
745
|
+
padding-left: 0;
|
746
|
+
}
|
747
|
+
|
748
|
+
.document {
|
749
|
+
padding-top: 5px;
|
750
|
+
border-bottom: 1px solid #0e1a85;
|
751
|
+
}
|
752
|
+
|
753
|
+
.document:after {
|
754
|
+
content: "";
|
755
|
+
display: table;
|
756
|
+
clear: both;
|
757
|
+
}
|
758
|
+
|
759
|
+
.doc-line {
|
760
|
+
padding-top: 1em;
|
761
|
+
}
|
762
|
+
|
763
|
+
.doc-line:after {
|
764
|
+
content: "";
|
765
|
+
display: table;
|
766
|
+
clear: both;
|
767
|
+
}
|
768
|
+
|
769
|
+
.doc-line .doc-identifier, .doc-line .doc-type-wrap {
|
770
|
+
float: left;
|
771
|
+
}
|
772
|
+
|
773
|
+
.doc-published, .doc-updated, .doc-identifier,
|
774
|
+
.doc-stage, .doc-type, h2, h3 {
|
775
|
+
display: inline-block;
|
776
|
+
}
|
777
|
+
|
778
|
+
.doc-type-wrap {
|
779
|
+
padding-top: 3px;
|
780
|
+
margin-left: 1em;
|
781
|
+
}
|
782
|
+
|
783
|
+
.doc-type {
|
784
|
+
padding: 4px 8px;
|
785
|
+
border-radius: 5px;
|
786
|
+
font-size: 0.85em;
|
787
|
+
line-height: 1em;
|
788
|
+
margin-right: 10px;
|
789
|
+
color: white;
|
790
|
+
text-transform: uppercase;
|
791
|
+
}
|
792
|
+
|
793
|
+
|
794
|
+
/* TODO: Convert this file to SCSS and use the following code */
|
795
|
+
|
796
|
+
|
797
|
+
/*
|
798
|
+
$doctype-colors-list:(
|
799
|
+
standard: #0AC442,
|
800
|
+
governance: #540D6E,
|
801
|
+
guide: #D183C9,
|
802
|
+
specification: #65AFFF,
|
803
|
+
report: #3A405A,
|
804
|
+
amendment: #F26430,
|
805
|
+
corrigendum: #C84630,
|
806
|
+
administrative: #BFAE48,
|
807
|
+
advisory: #33658A
|
808
|
+
);
|
809
|
+
|
810
|
+
@each $key,$val in $doctype-colors-list{
|
811
|
+
.doc-type.#{$key} {
|
812
|
+
background-color: #{$val};
|
813
|
+
}
|
814
|
+
}
|
815
|
+
|
816
|
+
$docstage-colors-list:(
|
817
|
+
proposal: #39A0ED,
|
818
|
+
working-draft: #1BB5A5,
|
819
|
+
committee-draft: #0DAB76,
|
820
|
+
published: #139A43,
|
821
|
+
withdrawn: #004E64,
|
822
|
+
cancelled: #2E382E,
|
823
|
+
);
|
824
|
+
|
825
|
+
@each $key,$val in $docstage-colors-list{
|
826
|
+
.doc-info.#{$key} {
|
827
|
+
color: #{$val};
|
828
|
+
}
|
829
|
+
}
|
830
|
+
*/
|
831
|
+
|
832
|
+
.doc-type.standard {
|
833
|
+
background-color: #0AC442;
|
834
|
+
}
|
835
|
+
|
836
|
+
.doc-type.governance {
|
837
|
+
background-color: #540D6E;
|
838
|
+
}
|
839
|
+
|
840
|
+
.doc-type.guide {
|
841
|
+
background-color: #D183C9;
|
842
|
+
}
|
843
|
+
|
844
|
+
.doc-type.specification {
|
845
|
+
background-color: #65AFFF;
|
846
|
+
}
|
847
|
+
|
848
|
+
.doc-type.report {
|
849
|
+
background-color: #3A405A;
|
850
|
+
}
|
851
|
+
|
852
|
+
.doc-type.amendment {
|
853
|
+
background-color: #F26430;
|
854
|
+
}
|
855
|
+
|
856
|
+
.doc-type.corrigendum {
|
857
|
+
background-color: #C84630;
|
858
|
+
}
|
859
|
+
|
860
|
+
.doc-type.administrative {
|
861
|
+
background-color: #BFAE48;
|
862
|
+
}
|
863
|
+
|
864
|
+
.doc-type.advisory {
|
865
|
+
background-color: #33658A;
|
866
|
+
}
|
867
|
+
|
868
|
+
.doc-stage {
|
869
|
+
text-transform: uppercase;
|
870
|
+
font-size: 1em;
|
871
|
+
line-height: 1em;
|
872
|
+
|
873
|
+
}
|
874
|
+
|
875
|
+
.doc-info.proposal {
|
876
|
+
color: #39A0ED;
|
877
|
+
}
|
878
|
+
|
879
|
+
.doc-info.working-draft {
|
880
|
+
color: #2D7393;
|
881
|
+
}
|
882
|
+
|
883
|
+
.doc-info.committee-draft {
|
884
|
+
color: #2A6B7C;
|
885
|
+
}
|
886
|
+
|
887
|
+
.doc-info.draft-standard {
|
888
|
+
color: #1C7F7A;
|
889
|
+
}
|
890
|
+
|
891
|
+
.doc-info.final-draft {
|
892
|
+
color: #53C170;
|
893
|
+
}
|
894
|
+
|
895
|
+
.doc-info.published {
|
896
|
+
color: #069E2D;
|
897
|
+
}
|
898
|
+
|
899
|
+
.doc-info.withdrawn {
|
900
|
+
color: #004E64;
|
901
|
+
}
|
902
|
+
|
903
|
+
.doc-info.cancelled {
|
904
|
+
color: #2E382E;
|
905
|
+
}
|
906
|
+
|
907
|
+
.doc-info {
|
908
|
+
padding-top: 0;
|
909
|
+
padding-bottom: 10px;
|
910
|
+
font-size: 0.9em;
|
911
|
+
line-height: 1em;
|
912
|
+
float: left;
|
913
|
+
}
|
914
|
+
|
915
|
+
.doc-dates {
|
916
|
+
padding-top: 5px;
|
917
|
+
display: inline-block;
|
918
|
+
margin-left: 0.5em;
|
919
|
+
}
|
920
|
+
|
921
|
+
.doc-abstract {
|
922
|
+
float: left;
|
923
|
+
}
|
924
|
+
|
925
|
+
.doc-access, .doc-bib {
|
926
|
+
display: block;
|
927
|
+
float: right;
|
928
|
+
}
|
929
|
+
|
930
|
+
.doc-access > div {
|
931
|
+
float: left;
|
932
|
+
margin: 5px 10px;
|
933
|
+
}
|
934
|
+
|
935
|
+
.doc-bib > div {
|
936
|
+
float: left;
|
937
|
+
margin: 5px 10px;
|
938
|
+
}
|
939
|
+
|
940
|
+
/*
|
941
|
+
.doc-updated:before {
|
942
|
+
content: "(revised: "
|
943
|
+
}
|
944
|
+
|
945
|
+
.doc-updated:after {
|
946
|
+
content: ")";
|
947
|
+
}*/
|
948
|
+
|
949
|
+
main {
|
950
|
+
padding-top: 25px;
|
951
|
+
padding-bottom: 50px;
|
952
|
+
}
|
953
|
+
|
954
|
+
.coverpage {
|
955
|
+
padding-left: 0;
|
956
|
+
}
|
957
|
+
|
958
|
+
.title-section1 .rule {
|
959
|
+
display: none;
|
960
|
+
}
|
961
|
+
|
962
|
+
|
963
|
+
#topbar-inner {
|
964
|
+
background-color:#424242;
|
965
|
+
font-size:0.8em;
|
966
|
+
height: 30px;
|
967
|
+
line-height:30px;
|
968
|
+
}
|
969
|
+
|
970
|
+
#title-bar, #title-bar > a {
|
971
|
+
color: #fff;
|
972
|
+
display: block;
|
973
|
+
font-family:'Ek Mukta',Arial,Helvetica,sans-serif;
|
974
|
+
font-weight: 200;
|
975
|
+
letter-spacing: 2px;
|
976
|
+
font-variant-caps:small-caps;
|
977
|
+
font-size: 18px;
|
978
|
+
margin: 0 2em;
|
979
|
+
}
|
980
|
+
|
981
|
+
#title-bar > a:hover {
|
982
|
+
background: transparent;
|
983
|
+
box-shadow: none;
|
984
|
+
}
|
985
|
+
|
986
|
+
@media only screen and (min-width: 320px) {
|
987
|
+
#title-bar {
|
988
|
+
text-align: center;
|
989
|
+
}
|
990
|
+
}
|
991
|
+
|
992
|
+
@media only screen and (min-width: 768px) {
|
993
|
+
#title-bar {
|
994
|
+
font-size: 16px;
|
995
|
+
text-align: left;
|
996
|
+
}
|
997
|
+
}
|
998
|
+
|
999
|
+
.doc-stage:before {
|
1000
|
+
content: "STAGE: "
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
|
1004
|
+
@media only screen and (max-width: 900px) {
|
1005
|
+
.doc-dates, .doc-type, .doc-stage {
|
1006
|
+
margin-bottom: 5px;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
main {
|
1010
|
+
margin: 0 10px;
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
.document {
|
1014
|
+
overflow: hidden;
|
1015
|
+
padding-bottom: 10px;
|
1016
|
+
}
|
1017
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -201,6 +201,7 @@ files:
|
|
201
201
|
- relaton-cli.gemspec
|
202
202
|
- templates/_document.liquid
|
203
203
|
- templates/_index.liquid
|
204
|
+
- templates/index-style.css
|
204
205
|
homepage: https://github.com/riboseinc/relaton-cli
|
205
206
|
licenses:
|
206
207
|
- BSD-2-Clause
|