metanorma-iso 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/html/style-human.css +16 -15
- data/lib/isodoc/iso/html/style-human.scss +3 -2
- data/lib/isodoc/iso/html/style-iso.css +18 -17
- data/lib/isodoc/iso/html/style-iso.scss +3 -2
- data/lib/isodoc/iso/iso.amendment.xsl +258 -82
- data/lib/isodoc/iso/iso.international-standard.xsl +258 -82
- data/lib/metanorma/iso/biblio.rng +2 -2
- data/lib/metanorma/iso/isodoc.rng +69 -1
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/metanorma/base_spec.rb +138 -127
- data/spec/vcr_cassettes/docrels.yml +21 -216
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef810ff6a80b7f991baeea2dd6f59f0f775ae33fd61e118d8658ea2c3c8d3179
|
4
|
+
data.tar.gz: b7b137372e0a4d74373f83a5c902d595061d2421a86863b3c934459a4f88de51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff07cad24919df83b2a7f827056eacb722b2e63b02164d28adef6ab6b43a64e9c5df0f828518b31eea5e2dbf741f89b16289b0660d116ed9cf9ff74be808390b
|
7
|
+
data.tar.gz: 553648a7a66607ea74d515ff3442161e6897ac5e38f75e0cb69ce54ae8fcc6fefd94e71ac4963c2caa6d1778b5c6e04ac63294312d5a2471387f5e8352f729ba
|
@@ -443,47 +443,48 @@ p.Terms {
|
|
443
443
|
margin-top: 0em; }
|
444
444
|
|
445
445
|
/* Navigation*/
|
446
|
-
#toc, #toc > ul
|
446
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
447
447
|
font-family: {{bodyfont}};
|
448
448
|
font-weight: 400; }
|
449
|
-
#toc ul, #toc > ul
|
449
|
+
#toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
450
450
|
margin: 0;
|
451
451
|
padding: 0;
|
452
452
|
list-style: none; }
|
453
|
-
#toc ul li a, #toc > ul
|
453
|
+
#toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
454
454
|
padding: 5px 10px; }
|
455
|
-
#toc ul a, #toc > ul
|
455
|
+
#toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
456
456
|
text-decoration: none;
|
457
457
|
display: block; }
|
458
|
-
#toc ul a:hover, #toc > ul
|
458
|
+
#toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
459
459
|
box-shadow: none;
|
460
460
|
color: white; }
|
461
|
-
#toc .h2, #toc > ul
|
461
|
+
#toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
462
462
|
padding-left: 30px; }
|
463
|
-
#toc .h3, #toc > ul
|
463
|
+
#toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
464
464
|
padding-left: 50px; }
|
465
|
-
#toc .toc-active, #toc li:hover, #toc > ul
|
465
|
+
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
466
466
|
background: #1d1d1d;
|
467
467
|
box-shadow: inset -5px 0px 10px -5px #1d1d1d !important; }
|
468
|
-
#toc .toc-active a, #toc li:hover a, #toc > ul
|
468
|
+
#toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
469
469
|
color: white; }
|
470
470
|
@media print {
|
471
|
-
#toc .toc-active, #toc li:hover, #toc > ul
|
471
|
+
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
472
472
|
background: white;
|
473
473
|
box-shadow: none !important; }
|
474
|
-
#toc li:hover a, #toc > ul
|
474
|
+
#toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
475
475
|
color: black; } }
|
476
476
|
@media screen and (max-width: 768px) {
|
477
|
-
#toc, #toc > ul
|
477
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
478
478
|
padding: 0 1.5em;
|
479
479
|
overflow: visible; } }
|
480
|
-
#toc li:before, #toc > ul
|
480
|
+
#toc li:before, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
|
481
481
|
content: " ";
|
482
482
|
display: none; }
|
483
483
|
|
484
|
-
#toc > ul
|
484
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
485
485
|
margin-top: 0;
|
486
|
-
margin-bottom: 0;
|
486
|
+
margin-bottom: 0;
|
487
|
+
font-size: 100%; }
|
487
488
|
|
488
489
|
nav {
|
489
490
|
line-height: 1.2em; }
|
@@ -259,7 +259,7 @@ p.Terms {
|
|
259
259
|
|
260
260
|
/* Navigation*/
|
261
261
|
|
262
|
-
#toc, #toc > ul
|
262
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
263
263
|
@include toc(null, #1d1d1d, white);
|
264
264
|
@include sidebarToc();
|
265
265
|
|
@@ -275,9 +275,10 @@ p.Terms {
|
|
275
275
|
}
|
276
276
|
}
|
277
277
|
|
278
|
-
#toc > ul
|
278
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
279
279
|
margin-top: 0;
|
280
280
|
margin-bottom: 0;
|
281
|
+
font-size: 100%;
|
281
282
|
}
|
282
283
|
|
283
284
|
nav {
|
@@ -390,52 +390,53 @@ p.Terms {
|
|
390
390
|
margin-top: 0em; }
|
391
391
|
|
392
392
|
/* Navigation*/
|
393
|
-
#toc, #toc > ul
|
393
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
394
394
|
font-family: {{bodyfont}};
|
395
395
|
font-weight: 400; }
|
396
|
-
#toc ul, #toc > ul
|
396
|
+
#toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
397
397
|
margin: 0;
|
398
398
|
padding: 0;
|
399
399
|
list-style: none; }
|
400
|
-
#toc ul li a, #toc > ul
|
400
|
+
#toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
401
401
|
padding: 5px 10px; }
|
402
|
-
#toc ul a, #toc > ul
|
402
|
+
#toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
403
403
|
text-decoration: none;
|
404
404
|
display: block; }
|
405
|
-
#toc ul a:hover, #toc > ul
|
405
|
+
#toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
406
406
|
box-shadow: none;
|
407
407
|
color: black; }
|
408
|
-
#toc .h2, #toc > ul
|
408
|
+
#toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
409
409
|
padding-left: 30px; }
|
410
|
-
#toc .h3, #toc > ul
|
410
|
+
#toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
411
411
|
padding-left: 50px; }
|
412
|
-
#toc .toc-active, #toc li:hover, #toc > ul
|
412
|
+
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
413
413
|
background: #f7f7f7;
|
414
414
|
box-shadow: inset -5px 0px 10px -5px #f7f7f7 !important; }
|
415
|
-
#toc .toc-active a, #toc li:hover a, #toc > ul
|
415
|
+
#toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
416
416
|
color: black; }
|
417
417
|
@media print {
|
418
|
-
#toc .toc-active, #toc li:hover, #toc > ul
|
418
|
+
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
419
419
|
background: white;
|
420
420
|
box-shadow: none !important; }
|
421
|
-
#toc li:hover a, #toc > ul
|
421
|
+
#toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
422
422
|
color: black; } }
|
423
423
|
@media screen and (max-width: 768px) {
|
424
|
-
#toc, #toc > ul
|
424
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
425
425
|
padding: 0 1.5em;
|
426
426
|
overflow: visible; } }
|
427
427
|
#toc .toc-active,
|
428
|
-
#toc li:hover, #toc > ul
|
429
|
-
#toc > ul
|
428
|
+
#toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
|
429
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
430
430
|
box-shadow: 0px 1px 0px 0px black !important;
|
431
431
|
background: none; }
|
432
|
-
#toc li:before, #toc > ul
|
432
|
+
#toc li:before, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:before {
|
433
433
|
content: " ";
|
434
434
|
display: none; }
|
435
435
|
|
436
|
-
#toc > ul
|
436
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
437
437
|
margin-top: 0;
|
438
|
-
margin-bottom: 0;
|
438
|
+
margin-bottom: 0;
|
439
|
+
font-size: 100%; }
|
439
440
|
|
440
441
|
nav {
|
441
442
|
line-height: 1.2em; }
|
@@ -198,7 +198,7 @@ p.Terms {
|
|
198
198
|
|
199
199
|
/* Navigation*/
|
200
200
|
|
201
|
-
#toc, #toc > ul
|
201
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
202
202
|
@include toc(null, #f7f7f7, black);
|
203
203
|
@include sidebarToc();
|
204
204
|
|
@@ -214,9 +214,10 @@ p.Terms {
|
|
214
214
|
}
|
215
215
|
}
|
216
216
|
|
217
|
-
#toc > ul
|
217
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
218
218
|
margin-top: 0;
|
219
219
|
margin-bottom: 0;
|
220
|
+
font-size: 100%;
|
220
221
|
}
|
221
222
|
|
222
223
|
|