metanorma-m3d 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module IsoDoc
11
11
  end
12
12
 
13
13
  def title(isoxml, _out)
14
- main = isoxml&.at(ns("//title[@language='en']"))&.text
14
+ main = isoxml&.at(ns("//bibdata/title[@language='en']"))&.text
15
15
  set(:doctitle, main)
16
16
  end
17
17
 
@@ -20,8 +20,8 @@ module IsoDoc
20
20
  end
21
21
 
22
22
  def author(isoxml, _out)
23
- set(:tc, "XXXX")
24
- tc = isoxml.at(ns("//editorialgroup/technical-committee"))
23
+ set(:tc, nil)
24
+ tc = isoxml.at(ns("//bibdata/editorialgroup/committee"))
25
25
  set(:tc, tc.text) if tc
26
26
  end
27
27
 
data/lib/metanorma-m3d.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require "asciidoctor" unless defined? Asciidoctor::Converter
2
2
  require_relative "asciidoctor/m3d/converter"
3
3
  require_relative "isodoc/m3d/m3dhtmlconvert"
4
+ require_relative "isodoc/m3d/m3dpdfconvert"
4
5
  require_relative "isodoc/m3d/m3dwordconvert"
5
6
  require_relative "asciidoctor/m3d/version"
6
7
 
@@ -13,7 +13,8 @@ module Metanorma
13
13
  def output_formats
14
14
  super.merge(
15
15
  html: "html",
16
- doc: "doc"
16
+ doc: "doc",
17
+ pdf: "pdf"
17
18
  )
18
19
  end
19
20
 
@@ -29,6 +30,8 @@ module Metanorma
29
30
  case format
30
31
  when :html
31
32
  IsoDoc::M3d::HtmlConvert.new(options).convert(outname, isodoc_node)
33
+ when :pdf
34
+ IsoDoc::M3d::PdfConvert.new(options).convert(outname, isodoc_node)
32
35
  when :doc
33
36
  IsoDoc::M3d::WordConvert.new(options).convert(outname, isodoc_node)
34
37
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-m3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
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-08-30 00:00:00.000000000 Z
11
+ date: 2018-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -358,14 +358,6 @@ files:
358
358
  - lib/asciidoctor/m3d.rb
359
359
  - lib/asciidoctor/m3d/biblio.rng
360
360
  - lib/asciidoctor/m3d/converter.rb
361
- - lib/asciidoctor/m3d/html/dots-w@2x.png
362
- - lib/asciidoctor/m3d/html/dots@2x.png
363
- - lib/asciidoctor/m3d/html/header.html
364
- - lib/asciidoctor/m3d/html/html_m3d_intro.html
365
- - lib/asciidoctor/m3d/html/html_m3d_titlepage.html
366
- - lib/asciidoctor/m3d/html/htmlstyle.scss
367
- - lib/asciidoctor/m3d/html/m3d.scss
368
- - lib/asciidoctor/m3d/html/scripts.html
369
361
  - lib/asciidoctor/m3d/isodoc.rng
370
362
  - lib/asciidoctor/m3d/isostandard.rng
371
363
  - lib/asciidoctor/m3d/m3d.rng
@@ -380,11 +372,14 @@ files:
380
372
  - lib/isodoc/m3d/html/m3-logo.png
381
373
  - lib/isodoc/m3d/html/m3d.scss
382
374
  - lib/isodoc/m3d/html/scripts.html
375
+ - lib/isodoc/m3d/html/scripts.pdf.html
383
376
  - lib/isodoc/m3d/html/word_m3d_intro.html
384
377
  - lib/isodoc/m3d/html/word_m3d_titlepage.html
385
378
  - lib/isodoc/m3d/html/wordstyle.scss
386
379
  - lib/isodoc/m3d/m3dhtmlconvert.rb
387
380
  - lib/isodoc/m3d/m3dhtmlrender.rb
381
+ - lib/isodoc/m3d/m3dpdfconvert.rb
382
+ - lib/isodoc/m3d/m3dpdfrender.rb
388
383
  - lib/isodoc/m3d/m3dwordconvert.rb
389
384
  - lib/isodoc/m3d/m3wordrender.rb
390
385
  - lib/isodoc/m3d/metadata.rb
Binary file
Binary file
@@ -1,184 +0,0 @@
1
- <html xmlns:v="urn:schemas-microsoft-com:vml"
2
- xmlns:o="urn:schemas-microsoft-com:office:office"
3
- xmlns:w="urn:schemas-microsoft-com:office:word"
4
- xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
5
- xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
6
-
7
- <head>
8
- <meta name=Title content="">
9
- <meta name=Keywords content="">
10
- <meta http-equiv=Content-Type content="text/html; charset=utf-8">
11
- <meta name=ProgId content=Word.Document>
12
- <meta name=Generator content="Microsoft Word 15">
13
- <meta name=Originator content="Microsoft Word 15">
14
- <link id=Main-File rel=Main-File href="../{{ filename }}.html">
15
- <!--[if gte mso 9]><xml>
16
- <o:shapedefaults v:ext="edit" spidmax="2049"/>
17
- </xml><![endif]-->
18
- </head>
19
-
20
- <body lang=EN link=blue vlink="#954F72">
21
-
22
- <div style='mso-element:footnote-separator' id=fs>
23
-
24
- <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
25
- normal'><span lang=EN-GB><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
26
-
27
- <hr align=left size=1 width="33%">
28
-
29
- <![endif]></span></span></p>
30
-
31
- </div>
32
-
33
- <div style='mso-element:footnote-continuation-separator' id=fcs>
34
-
35
- <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
36
- normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
37
-
38
- <hr align=left size=1>
39
-
40
- <![endif]></span></span></p>
41
-
42
- </div>
43
-
44
- <div style='mso-element:endnote-separator' id=es>
45
-
46
- <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
47
- normal'><span lang=EN-GB><span style='mso-special-character:footnote-separator'><![if !supportFootnotes]>
48
-
49
- <hr align=left size=1 width="33%">
50
-
51
- <![endif]></span></span></p>
52
-
53
- </div>
54
-
55
- <div style='mso-element:endnote-continuation-separator' id=ecs>
56
-
57
- <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height:
58
- normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuation-separator'><![if !supportFootnotes]>
59
-
60
- <hr align=left size=1>
61
-
62
- <![endif]></span></span></p>
63
-
64
- </div>
65
-
66
- <div style='mso-element:header' id=eh1>
67
-
68
- <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
69
- mso-line-height-rule:exactly'><span lang=EN-GB>CS&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
70
-
71
- </div>
72
-
73
- <div style='mso-element:header' id=h1>
74
-
75
- <p class=MsoHeader style='margin-bottom:18.0pt'><span lang=EN-GB
76
- style='font-size:10.0pt;mso-bidi-font-size:11.0pt;font-weight:normal'>©
77
- The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved</span><span lang=EN-GB
78
- style='font-weight:normal'><o:p></o:p></span></p>
79
-
80
- </div>
81
-
82
- <div style='mso-element:footer' id=ef1>
83
-
84
- <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
85
- exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
86
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
87
- style='mso-element:field-begin'></span><span
88
- style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
89
- </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
90
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
91
- mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
92
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
93
- mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
94
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
95
- style='mso-tab-count:1'>                                                                                                                                                                           </span>©
96
- The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
97
-
98
- </div>
99
-
100
- <div style='mso-element:header' id=eh2>
101
-
102
- <p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
103
- mso-line-height-rule:exactly'><span lang=EN-GB>The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
104
-
105
- </div>
106
-
107
- <div style='mso-element:header' id=h2>
108
-
109
- <p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
110
- mso-line-height-rule:exactly'><span lang=EN-GB>The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docnumber }}:{{ docyear }}</span></p>
111
-
112
- </div>
113
-
114
- <div style='mso-element:footer' id=ef2>
115
-
116
- <p class=MsoFooter style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
117
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
118
- style='mso-element:field-begin'></span><span
119
- style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
120
- </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
121
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
122
- style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
123
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
124
- style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
125
- style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
126
- 1'>                                                                                                                                                                           </span>©
127
- The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
128
-
129
- </div>
130
-
131
- <div style='mso-element:footer' id=f2>
132
-
133
- <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
134
- style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All
135
- rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                          </span></span><!--[if supportFields]><span
136
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
137
- style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>  
138
- </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
139
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
140
- style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
141
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
142
- style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
143
- style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
144
-
145
- </div>
146
-
147
- <div style='mso-element:footer' id=ef3>
148
-
149
- <p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
150
- exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
151
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
152
- style='mso-element:field-begin'></span><span
153
- style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>  
154
- </span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
155
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
156
- mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
157
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
158
- mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
159
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
160
- style='mso-tab-count:1'>                                                                                                                                                                           </span>©
161
- The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All rights reserved<o:p></o:p></span></p>
162
-
163
- </div>
164
-
165
- <div style='mso-element:footer' id=f3>
166
-
167
- <p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
168
- style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© The Calendaring and Scheduling Consortium, Inc.&nbsp;{{ docyear }}&nbsp;– All
169
- rights reserved<span style='mso-tab-count:1'>                                                                                                                                                                           </span></span><!--[if supportFields]><b
170
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
171
- mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
172
- PAGE<span style='mso-spacerun:yes'>   </span>\* MERGEFORMAT <span
173
- style='mso-element:field-separator'></span></span></b><![endif]--><b
174
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
175
- mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
176
- style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
177
- mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
178
- lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
179
-
180
- </div>
181
-
182
- </body>
183
-
184
- </html>
@@ -1,8 +0,0 @@
1
- <nav>
2
- <h1 id="content">Contents</h1>
3
- <div id="toc"></div>
4
-
5
- </nav>
6
-
7
-
8
- <div class="rule toc"></div>
@@ -1,95 +0,0 @@
1
- <div class="document-stage-band" id="working-draft-band">
2
- <p class="document-stage">{{ status }}</p>
3
- </div>
4
-
5
- <div class="document-type-band" id="standard-band">
6
- <p class="document-type">Ribose {{ doctype }}</p>
7
- </div>
8
-
9
-
10
-
11
- <div id='toggle'> <span>•</span> </div>
12
-
13
- <header>
14
-
15
- <!--<div class="WordSection1">-->
16
- <div class="coverpage">
17
- <div class="wrapper-top">
18
-
19
- <div class="coverpage-doc-identity">
20
- <div class="doc-number">
21
- <span class="docnumber">{{ docnumber }}</span>
22
- <span class="docnumber-separator">:</span>
23
- <span class="docyear">{{ docyear }}</span>
24
- </div>
25
-
26
- <div class="coverpage-title">
27
- <span class="title-first">{{ doctitle }}</span>
28
- <!--<span class="title-second">{{ docsubtitle }}</span>-->
29
- </div>
30
- </div>
31
-
32
- <div class="coverpage-logo">
33
- <span>The Calendaring and Scheduling Consortium</span>
34
- </div>
35
-
36
- <div class="coverpage-tc-name">
37
- <span>TC {{ tc }}</span>
38
- </div>
39
- </div>
40
-
41
- <div class="WordSection11">
42
- <div class="coverpage-stage-block" >
43
- <span class="coverpage-stage" id="{{ doctype | replace: ' ', '-' | downcase }}">Ribose {{ doctype }}</span>
44
- </div>
45
-
46
- <div class="coverpage-stage-block" >
47
- <span class="coverpage-maturity" id="{{ status | replace: ' ', '-' | downcase }}">{{ status }}</span>
48
- </div>
49
-
50
- {% if status != "Published" and status != "Withdrawn" %}
51
- <div class="coverpage-warning">
52
- <span class="title">Warning for Drafts</span>
53
-
54
- <p class="content">
55
- This document is not a Ribose Standard. It is distributed for review and
56
- comment, and is subject to change without notice and may not be referred to as
57
- a Standard. Recipients of this draft are invited to submit, with their
58
- comments, notification of any relevant patent rights of which they are aware
59
- and to provide supporting documentation.
60
- </p>
61
- </div>
62
- {% endif %}
63
-
64
- <div class="copyright">
65
- <p class="year">
66
- &copy; {{ docyear }} The Calendaring and Scheduling Consortium, Inc.
67
- </p>
68
-
69
- <p class="message">
70
- All rights reserved. Unless otherwise specified, no part of this
71
- publication may be reproduced or utilized otherwise in any form or by any
72
- means, electronic or mechanical, including photocopying, or posting on the
73
- internet or an intranet, without prior written permission. Permission can
74
- be requested from the address below.
75
- </p>
76
-
77
- <div class="contact-info">
78
- <p class="name">The Calendaring and Scheduling Consortium, Inc.</p>
79
- <p class="address">
80
- 4390 Chaffin Lane<br />
81
- McKinleyville<br />
82
- California 95519<br />
83
- United States of America<br />
84
- <br />
85
- <a href="mailto:copyright@ribose.com">copyright@ribose.com</a><br />
86
- <a href="open.ribose.com">open.ribose.com</a>
87
- </p>
88
- </div>
89
- </div>
90
-
91
- <div class="rule"></div>
92
- </div>
93
-
94
-
95
- </header>
@@ -1,797 +0,0 @@
1
- /*
2
- 0 CSS RESET
3
- */
4
-
5
- /* http://meyerweb.com/eric/tools/css/reset/
6
- v2.0 | 20110126
7
- License: none (public domain)
8
- */
9
-
10
- html, body, div, span, applet, object, iframe,
11
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
12
- a, abbr, acronym, address, big, cite, code,
13
- del, dfn, em, img, ins, kbd, q, s, samp,
14
- small, strike, strong, sub, sup, tt, var,
15
- b, u, i, center,
16
- dl, dt, dd, ol, ul, li,
17
- fieldset, form, label, legend,
18
- table, caption, tbody, tfoot, thead, tr, th, td,
19
- article, aside, canvas, details, embed,
20
- figure, figcaption, footer, header, hgroup,
21
- menu, nav, output, ruby, section, summary,
22
- time, mark, audio, video {
23
- margin: 0;
24
- padding: 0;
25
- border: 0;
26
- font-size: 100%;
27
- font-family: $bodyfont;
28
- vertical-align: baseline;
29
- }
30
- /* HTML5 display-role reset for older browsers */
31
- article, aside, details, figcaption, figure,
32
- footer, header, hgroup, menu, nav, section {
33
- display: block;
34
- }
35
- body {
36
- line-height: 1;
37
- }
38
- /*
39
- ol, ul {
40
- list-style: none;
41
- }
42
- */
43
- blockquote, q {
44
- quotes: none;
45
- }
46
- blockquote:before, blockquote:after,
47
- q:before, q:after {
48
- content: '';
49
- content: none;
50
- }
51
- table {
52
- border-collapse: collapse;
53
- border-spacing: 0;
54
- }
55
-
56
-
57
- /*
58
- 1. HTML & Body
59
- */
60
-
61
- body {
62
- margin: 0;
63
- margin-left: auto;
64
- margin-right: auto;
65
- max-width: 100%;
66
- color: #1d1d1d;
67
- font-weight: 300;
68
- font-size: 15px;
69
- line-height: 1.4em;
70
- background-color: #ffffff;
71
- }
72
-
73
- main {margin: 0 3em 0 6em;}
74
-
75
- #toc{
76
- font-family: $bodyfont;
77
- font-weight: 400;
78
- }
79
-
80
- /*
81
- 2. Responsive navigation layout
82
- */
83
-
84
-
85
- @media (min-width: 768px) {
86
- nav {
87
- position: fixed;
88
- top: 0;
89
- bottom: 0;
90
- left: 0;
91
- width: 323px;
92
- font-size: 0.9em;
93
- overflow: auto;
94
- padding: 0 0 0 45px;
95
- margin-right: 30px;
96
- background-color:#f7f7f7;
97
- }
98
-
99
- #toggle {
100
- position: fixed;
101
- height: 100%;
102
- width: 30px;
103
- background-color:#1d1d1d;
104
- color: white!important;
105
- cursor: pointer;
106
- z-index: 100;
107
- }
108
-
109
- #toggle span {
110
- text-align: center;
111
- width: 100%;
112
- position: absolute;
113
- top: 50%;
114
- transform: translate(0, -50%);
115
-
116
- }
117
-
118
-
119
- .container {
120
- padding-left: 360px;
121
- }
122
-
123
- .rule.toc {
124
- display: none;
125
- }
126
-
127
- h1.toc-contents {
128
- margin-top: 1em;
129
- }
130
-
131
- ul#toc-list {
132
- padding:0;
133
- margin:0;
134
- }
135
- }
136
-
137
- @media (max-width: 768px) {
138
- #toc {
139
- padding: 0 1.5em 0 1.5em;
140
- overflow: visible;
141
- }
142
- }
143
-
144
-
145
-
146
- #toc ul {
147
- margin: 0;
148
- padding: 0;
149
- list-style: none;
150
- }
151
-
152
- #toc li {
153
- padding: 5px 10px;
154
- }
155
-
156
- #toc a {
157
- color: #485094;
158
- text-decoration: none;
159
- display: block;
160
- }
161
-
162
- #toc a:hover {
163
- color: white;
164
- }
165
-
166
- #toc .h2 {
167
- padding-left: 30px;
168
- }
169
-
170
- #toc .h3 {
171
- padding-left: 50px;
172
- }
173
-
174
- #toc .toc-active a {
175
- color: white;
176
- }
177
-
178
- #toc .toc-active, #toc li:hover {
179
- background: #1d1d1d;
180
- box-shadow: inset -5px 0px 10px -5px #1d1d1d!important;
181
-
182
- }
183
-
184
- #toc li:hover a {
185
- color: white;
186
- }
187
-
188
- /*
189
- Document types + stages
190
- */
191
-
192
- .document-type-band {
193
- left:0;
194
- top:180px;
195
- height: 100%;
196
- position: fixed;
197
- display: block;
198
- z-index: 99;
199
- /*box-shadow: -5px 0px 10px #1d1d1d*/
200
-
201
- }
202
-
203
- .document-stage-band {
204
- left:0;
205
- top:0;
206
- height: 100%;
207
- position: fixed;
208
- display: block;
209
- z-index: 98;
210
- box-shadow: -5px 0px 10px #1d1d1d
211
- }
212
-
213
- .document-type {
214
- position: relative;
215
- width: 25px;
216
- }
217
-
218
- .document-stage {
219
- position: relative;
220
- width: 25px;
221
- }
222
-
223
- p.document-type, p.document-stage {
224
- color: white;
225
- text-transform: uppercase;
226
- font-size: 0.9em;
227
- font-weight: 400;
228
- letter-spacing: 0.05em;
229
- margin:0;
230
- margin-left: 6px;
231
- writing-mode:tb-rl;
232
- -webkit-transform:rotate(180deg);
233
- -moz-transform:rotate(180deg);
234
- -o-transform: rotate(180deg);
235
- white-space:nowrap;
236
- display:block;
237
- bottom:0;
238
- }
239
-
240
- p.document-type {
241
- font-weight: 400;
242
- height: 210px;
243
- }
244
-
245
- #governance-band p.document-type {
246
- font-weight: 400;
247
- height: 230px!important;
248
- }
249
-
250
- p.document-stage {
251
- font-weight: 300;
252
- height:160px;
253
- }
254
-
255
- #standard-band {
256
- background-color: #0ac442;
257
- }
258
-
259
- #standard {
260
- border-bottom: solid 3px #0ac442;
261
- }
262
-
263
- #governance {
264
- border-bottom: solid 3px #750697;
265
- }
266
-
267
- #governance-band {
268
- background-color: #750697;
269
- }
270
-
271
- #guide {
272
- border-bottom: solid 3px #48a0e7;
273
- }
274
-
275
- #guide-band {
276
- background-color: #48a0e7;
277
- }
278
-
279
- .coverpage-maturity {
280
- font-family: $bodyfont;
281
- font-weight: 400;
282
- font-size: 1em;
283
- margin: 0 0 2em 0;
284
- text-transform: uppercase;
285
- }
286
-
287
- #proposal {
288
- border-bottom: solid 3px #00BFFF;
289
- }
290
-
291
- #proposal-band {
292
- background-color: #00BFFF;
293
- }
294
-
295
- #working-draft {
296
- border-bottom: solid 3px #fda706;
297
- }
298
-
299
- #working-draft-band {
300
- background-color: #fda706;
301
- }
302
-
303
- #committee-draft {
304
- border-bottom: solid 3px #fd06fd;
305
- }
306
-
307
- #committee-draft-band {
308
- background-color: #fd06fd;
309
- }
310
-
311
- #draft-standard {
312
- border-bottom: solid 3px #fdf906;
313
- }
314
-
315
- #draft-standard-band {
316
- background-color: #fdf906;
317
- }
318
-
319
- #final-draft {
320
- border-bottom: solid 3px #7e0d13;
321
- }
322
-
323
- #final-draft-band {
324
- background-color: #7e0d13;
325
- }
326
-
327
- #published {
328
- border-bottom: solid 3px #0ac442;
329
- }
330
-
331
- #published-band {
332
- background-color: #0ac442;
333
- }
334
-
335
- #withdrawn {
336
- border-bottom: solid 3px #a0a0a0;
337
- }
338
-
339
- #withdrawn-band {
340
- background-color: #a0a0a0;
341
- }
342
-
343
- /*
344
- 3. TYPOGRAPHY
345
- */
346
-
347
- /*
348
- 3.1 Titles
349
- */
350
-
351
- h1,h2,h3,h4,h5,h6 {
352
- font-family: $headerfont;
353
- color: #0e1a85;
354
- font-weight: 600;
355
- margin-top: 2em;
356
- margin-bottom: 0.3em;
357
- }
358
-
359
- h1 {
360
- font-size: 1.4em;
361
- text-transform: uppercase;
362
- margin-top: 2em;
363
- }
364
-
365
- h1#content {
366
- margin-top: 2em;
367
- }
368
-
369
- h2 {font-size: 1.3em; }
370
-
371
- h3 {font-size: 1.1em;}
372
-
373
- span[id^="toc"]:after {
374
- float: left;
375
- padding-right: 4px;
376
- margin-left: -20px;
377
- font-family: "Font Awesome 5 Free";
378
- font-weight: 900;
379
- font-size: 0.8em;
380
- color: #cfcfcf;
381
- content: "\f0c1";
382
- }
383
-
384
-
385
-
386
- p.TermNum, p.Terms, p.AltTerms {
387
- color: #485094;
388
- font-weight: 400;
389
- }
390
-
391
- p.TermNum {
392
- font-size: 0.9em;
393
- line-height: 1em;
394
- margin: 0;
395
- margin-top: 2em;
396
- }
397
-
398
- p.Terms {
399
- font-size: 1.1em;
400
- line-height: 1.7em;
401
- margin: 0;
402
- }
403
-
404
- p.AltTerms {
405
- font-style: italic;
406
- margin: 0;
407
- }
408
-
409
- /*
410
- 3.2 Links
411
- */
412
-
413
- a, a:visited{
414
- text-decoration: none;
415
- color: #485094;
416
- }
417
-
418
- a:hover {
419
- color: white;
420
- background: #1d1d1d;
421
- box-shadow: 3px 0 0 #1d1d1d, -3px 0 0 #1d1d1d;
422
- /* padding: 2px 0 2px 0; */
423
- }
424
-
425
- ::selection {
426
- background: #1d1d1d; /* WebKit/Blink Browsers */
427
- color: white;
428
- }
429
- ::-moz-selection {
430
- background: #1d1d1d; /* Gecko Browsers */
431
- color: white;
432
- }
433
-
434
- .contact-info a:hover {
435
- color: #485094;
436
- text-decoration: underline;
437
- background: none;
438
- box-shadow: 0 0 0 0;
439
- }
440
-
441
-
442
-
443
- /*
444
- 3.3 Lists
445
- */
446
-
447
- ul {margin-left: 0.5em;}
448
-
449
- #toc-list ul {margin-bottom: 0.25em;}
450
-
451
- #toc-list li {list-style-type: none;}
452
-
453
- dd p, dt p {
454
- margin-top: 0em;
455
- }
456
-
457
- /*
458
- 3.4 Rules
459
- */
460
-
461
- .rule {
462
- width: 100%;
463
- height: 1px;
464
- background-color: #0e1a85;
465
- margin: 2em 0;
466
- }
467
-
468
- /*
469
- 3.5 Bibliograhy
470
- */
471
-
472
- p.Biblio {
473
- margin-top: 1em;
474
- margin-left: 2em;
475
- }
476
-
477
- /*
478
- 3.6 Source Code + figures
479
- */
480
-
481
- .figure, .Sourcecode {
482
- font-family: $monospacefont;
483
- background-color: #f7f7f7;
484
- font-size: 0.8em;
485
- line-height: 1.6em;
486
- padding: 1.5em;
487
- margin: 2em 0 1em 0;
488
- overflow: auto;
489
- }
490
-
491
- .FigureTitle {
492
- font-weight: 700;
493
- font-size: 1em;
494
- text-align: center;
495
- }
496
-
497
- /*
498
- 3.7 Notes
499
- */
500
-
501
- .Note {
502
- background-color: #fff495;
503
- color: #47430c;
504
- padding: 1.2em;
505
- margin: 2em 0 1em 0;
506
- }
507
-
508
- /*
509
- 3.8 Examples
510
- */
511
-
512
- .example {
513
- background-color: #e1eef1;
514
- padding: 1.2em;
515
- margin: 2em 0 1em 0;
516
- }
517
-
518
- .example .example-title {
519
- font-weight: 700;
520
- text-transform: uppercase;
521
- text-align: center;
522
- margin-top:0;
523
- }
524
-
525
- /*
526
- 3.9 Tables
527
- */
528
-
529
- table {
530
- border-collapse: collapse;
531
- width: 100%;
532
- font-weight: 300;
533
- margin: 1em 0 2em 0;
534
- margin-left: auto;
535
- margin-right: auto;
536
- padding-right: 2em;
537
- }
538
-
539
- table, th, td {
540
- border: 1px solid black;
541
- font-size: 0.95em;
542
- }
543
-
544
- td, th {
545
- padding: 1em;
546
- }
547
-
548
- td.header {
549
- font-weight: 400;
550
- }
551
-
552
- p.TableTitle {
553
- text-align: center;
554
- margin-top: 2.5em;
555
- font-weight: 400;
556
- }
557
-
558
- /*
559
- 3.10 Footnotes
560
- */
561
-
562
- a.footnote-number {
563
- vertical-align: super;
564
- font-size: 0.8em;
565
- }
566
-
567
- .footnote {
568
- font-size: 0.9em;
569
- }
570
-
571
-
572
- /*
573
- 3.11 Blockquotes
574
- */
575
-
576
- .Quote {
577
- background-color: #f7f7f7;
578
- font-style: italic;
579
- width: 80%;
580
- padding: 1.5em;
581
- margin-top: 2em;
582
- margin-left: auto;
583
- margin-right: auto;
584
- }
585
-
586
-
587
- /*
588
- 3.12 Formulas
589
- */
590
-
591
- .formula {
592
- background-color: #f7f7f7;
593
- padding: 1.5em;
594
- margin-top: 2em;
595
- text-align: center;
596
- }
597
-
598
- /*
599
- 3.13 Contact Info
600
- */
601
-
602
- .contact-info {
603
- background-color: #f7f7f7;
604
- padding: 2em;
605
- margin-top: 5em;
606
- width: auto;
607
- margin-left: auto;
608
- margin-right: auto;
609
- text-align: left;
610
- }
611
-
612
- .contact-info p, .contact-info a {
613
- font-family: $monospacefont;
614
- font-weight: 400;
615
- }
616
-
617
- .contact-info .name {
618
- font-weight: 700;
619
- font-size: 1.2em;
620
- margin-bottom:0;
621
- }
622
-
623
- .contact-info .address {
624
- font-size: 1em;
625
- line-height: 1.3em;
626
- margin-top:0;
627
- }
628
-
629
- /*
630
- Keywords
631
- */
632
-
633
- span.keyword {
634
- font-weight: 600;
635
- }
636
-
637
- /*
638
- Paragraphs
639
- */
640
-
641
- p {
642
- margin-top: 1em;
643
- margin-bottom: 1em;
644
- }
645
-
646
- /*
647
- 4.0 Page header
648
- */
649
-
650
- /*
651
- 4.1 Top Logo
652
- */
653
-
654
- .wrapper-top {
655
- background-color:#0e1a85;
656
- /* background-image: url("img/dots@2x.png"); */
657
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAACXBIWXMAABYlAAAWJQFJUiTwAAADwUlEQVR4nO3YgQ2AMAwDwcAiWZ1NizrH30lIeIEq9nPOGSDqPgC7+93v/suy3Mmvhx+6VAAIcwFAmc4nyzYAIMgGAGEuACirdyBZtgEASTYACHMBQFm9A8myDQBIsgFAmAsAyuodSJZtAEM3DQDCXABQVu9AsmwDAJJsABDmAoCyegeSZRsAkGQDgDAXAJTVO5As2wCAJBsAhLkAoKzegWTZBgAk2QAgzAUAZfUOJMs2ACDJBgBhLgAoq3cgWbYBAEk2AAhzAUBZvQPJsg0ASLIBQJgLAMrqHUiWbQBAkg0AwlwAUFbvQLJsAwCSbAAQ5gKAsnoHkmUbAJBkA4AwFwCU1TuQLNsAgCQbAIS5AKCs3oFk2QYAJNkAIMwFAGX1DiTLNgAgyQYAYS4AKKt3IFm2AQBJNgAIcwFAWb0DybINAEiyAUCYCwDK6h1Ilm0AQJINAMJcAFBW70CybAMAkmwAEOYCgLJ6B5JlGwCQZAOAMBcAlNU7kCzbAIAkGwCEuQCgrN6BZNkGACTZACDMBQBl9Q4kyzYAIMkGAGEuACirdyBZtgEASTYACHMBQFm9A8myDQBIsgFAmAsAyuodSJZtAEM3DQDCXABQVu9AsmwDAJJsABDmAoCyegeSZRsAkGQDgDAXAJTVO5As2wCAJBsAhLkAoKzegWTZBgAk2QAgzAUAZfUOJMs2ACDJBgBhLgAoq3cgWbYBAEk2AAhzAUBZvQPJsg0ASLIBQJgLAMrqHUiWbQBAkg0AwlwAUFbvQLJsAwCSbAAQ5gKAsnoHkmUbAJBkA4AwFwCU1TuQLNsAgCQbAIS5AKCs3oFk2QYAJNkAIMwFAGX1DiTLNgAgyQYAYS4AKKt3IFm2AQBJNgAIcwFAWb0DybINAEiyAUCYCwDK6h1Ilm0AQJINAMJcAFBW70CybAMAkmwAEOYCgLJ6B5JlGwCQZAOAMBcAlNU7kCzbAIAkGwCEuQCgrN6BZNkGACTZACDMBQBl9Q4kyzYAIMkGAGEuACirdyBZtgEASTYACHMBQFm9A8myDQBIsgFAmAsAyuodSJZtAEM3DQDCXABQVu9AsmwDAJJsABDmAoCyegeSZRsAkGQDgDAXAJTVO5As2wCAJBsAhLkAoKzegWTZBgAk2QAgzAUAZfUOJMs2ACDJBgBhLgAoq3cgWbYBAEk2AAhzAUBZvQPJsg0ASLIBQJgLAMrqHUiWbQBAkg0AwlwAUFbvQLJsAwCSbAAQ5gKAsnoHkmUbAJBkA4AwFwCU1TuQLNsAgCQbAFTNzA9ggAr9aahO8QAAAABJRU5ErkJggg==');
658
- color: #ffffff;
659
- padding: 2em 0;
660
- }
661
-
662
- .doc-number {
663
- font-size: 0.5em;
664
- font-family: $bodyfont;
665
- }
666
-
667
- .coverpage-title {
668
- padding-bottom: 0.5em;
669
- font-family: $headerfont;
670
- font-size: 1.5em;
671
- font-weight: 900;
672
- }
673
-
674
- .WordSection11 {
675
- padding: 0 2em 0 3em;
676
- }
677
-
678
- .WordSection2 {
679
- padding: 0 3em 0 6em;
680
- }
681
-
682
-
683
- .zzSTDTitle1, .MsoCommentText {
684
- display: none;
685
- }
686
-
687
-
688
- .coverpage {
689
- text-align: center;
690
- }
691
-
692
- .coverpage-logo span, .coverpage-tc-name span {
693
- font-family: $bodyfont;
694
- text-transform: uppercase;
695
- font-weight: 600;
696
- }
697
-
698
- .coverpage-tc-name {
699
- font-size: 1.2em;
700
- line-height: 1.2em;
701
- margin: 0.25em 0;
702
- }
703
-
704
- /*
705
- 4.2 Document Identity
706
- */
707
-
708
- .coverpage-doc-identity {
709
- font-size: 2em;
710
- line-height: 2em;
711
- }
712
-
713
-
714
- .coverpage-title .title-second {
715
- display: none;
716
- }
717
-
718
- .coverpage-stage-block {
719
- font-family: $bodyfont;
720
- font-weight: 700;
721
- font-size: 1.25em;
722
- margin: 2em 0em 2em 0em;
723
- text-transform: uppercase;
724
- }
725
-
726
-
727
-
728
-
729
- /*
730
- 4.3 Draft Warning
731
- */
732
-
733
-
734
- .coverpage-warning {
735
- border-top: solid 1px #f36f36;
736
- border-bottom: solid 1px #f36f36;
737
- margin: 1em 2em;
738
- color: #485094;
739
- padding: 1em;
740
- }
741
-
742
- .coverpage-warning .title {
743
- color: #f36f36;
744
- font-family: $headerfont;
745
- font-weight: 700;
746
- text-transform: uppercase;
747
- font-size: 1.2em;
748
- }
749
-
750
-
751
-
752
- /*
753
- 4.4 Copyright
754
- */
755
-
756
- .copyright {
757
- padding: 1em;
758
- font-size: 0.8em;
759
- text-align: left;
760
- }
761
-
762
-
763
- .copyright .name, .copyright .address {color: #485094;}
764
-
765
-
766
-
767
- /*
768
- 5.0 Other styles
769
- */
770
-
771
-
772
-
773
- /*
774
- To top button
775
- */
776
-
777
- #myBtn {
778
- font-family: $monospacefont;
779
- display: none;
780
- position: fixed;
781
- bottom: 20px;
782
- right: 30px;
783
- z-index: 99;
784
- font-size: 12px;
785
- border: none;
786
- outline: none;
787
- background-color: #1d1d1d;
788
- opacity: 0.15;
789
- color: white;
790
- cursor: pointer;
791
- padding: 10px 15px 10px 15px;
792
- border-radius: 4px;
793
- }
794
-
795
- #myBtn:hover {
796
- opacity: 1;
797
- }