relaton-cli 3.0.7 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/relaton-cli.rb +4 -16
  3. metadata +11 -123
  4. data/.gitignore +0 -22
  5. data/.hound.yml +0 -3
  6. data/.rspec +0 -1
  7. data/CLAUDE.md +0 -524
  8. data/Gemfile +0 -42
  9. data/Rakefile +0 -21
  10. data/bin/console +0 -11
  11. data/bin/rspec +0 -29
  12. data/bin/setup +0 -8
  13. data/docs/README.adoc +0 -589
  14. data/exe/relaton +0 -20
  15. data/frontend/dist/404.html +0 -18
  16. data/frontend/dist/app.iife.js +0 -1
  17. data/frontend/dist/style.css +0 -3
  18. data/i18n.yaml +0 -1
  19. data/lib/relaton/bibcollection.rb +0 -146
  20. data/lib/relaton/bibdata.rb +0 -92
  21. data/lib/relaton/cli/base_convertor.rb +0 -134
  22. data/lib/relaton/cli/command.rb +0 -390
  23. data/lib/relaton/cli/data_fetcher.rb +0 -20
  24. data/lib/relaton/cli/frontend_assets.rb +0 -58
  25. data/lib/relaton/cli/full_text_search.rb +0 -98
  26. data/lib/relaton/cli/index_item_normalizer.rb +0 -380
  27. data/lib/relaton/cli/index_site_generator.rb +0 -1008
  28. data/lib/relaton/cli/relaton_file.rb +0 -290
  29. data/lib/relaton/cli/subcommand_collection.rb +0 -263
  30. data/lib/relaton/cli/subcommand_db.rb +0 -81
  31. data/lib/relaton/cli/util.rb +0 -8
  32. data/lib/relaton/cli/version.rb +0 -11
  33. data/lib/relaton/cli/xml_convertor.rb +0 -47
  34. data/lib/relaton/cli/xml_to_html_renderer.rb +0 -117
  35. data/lib/relaton/cli/yaml_convertor.rb +0 -102
  36. data/lib/relaton/cli.rb +0 -113
  37. data/lib/relaton/element_finder.rb +0 -29
  38. data/relaton-cli.gemspec +0 -49
  39. data/templates/_document.liquid +0 -111
  40. data/templates/_index.liquid +0 -61
  41. data/templates/index/page.liquid +0 -20
  42. data/templates/index-style.css +0 -1017
@@ -1,1017 +0,0 @@
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: 2em;
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
- }