metanorma-un 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/un/html/htmlstyle.css +24 -18
- data/lib/isodoc/un/html/htmlstyle.scss +7 -2
- data/lib/isodoc/un/un.plenary-attachment.xsl +1040 -945
- data/lib/isodoc/un/un.plenary.xsl +1040 -945
- data/lib/isodoc/un/un.recommendation.xsl +1054 -946
- data/lib/metanorma/un/version.rb +1 -1
- 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: 022c8bfa77e956809a62e1b8f76bd9aec9fdc5b67351e71ca36e614fc547d1d7
|
4
|
+
data.tar.gz: 4aa29619a182c4c7dde75fab499fe698c33daaf22da434413e5d2a642f20b764
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac81c6a10b3d4b03fe0e1a43fee00a7cabf96e85bf8024108b45734c756335147c4a9a96233639535190b1e66f2004d69052c179e11e23c2e3d994bc11818b9
|
7
|
+
data.tar.gz: f23dc0eff7c0f43330c97411bdc95ef5f38741610a7b5eb5c65cefc27f4e2ced19a7cf176f427726a62c46f5b03258905500dce0262c5e26d7291c6d7653aaac
|
@@ -264,58 +264,64 @@ p {
|
|
264
264
|
/*
|
265
265
|
2. Responsive navigation layout
|
266
266
|
*/
|
267
|
-
#toc {
|
267
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
268
268
|
font-family: {{bodyfont}};
|
269
269
|
font-weight: 400; }
|
270
|
-
#toc ul {
|
270
|
+
#toc ul, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
271
271
|
margin: 0;
|
272
272
|
padding: 0;
|
273
273
|
list-style: none; }
|
274
|
-
#toc ul li a {
|
274
|
+
#toc ul li a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
275
275
|
padding: 5px 10px; }
|
276
|
-
#toc ul a {
|
276
|
+
#toc ul a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
277
277
|
color: #333;
|
278
278
|
text-decoration: none;
|
279
279
|
display: block; }
|
280
|
-
#toc ul a:hover {
|
280
|
+
#toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
281
281
|
box-shadow: none;
|
282
282
|
color: #333; }
|
283
|
-
#toc .h2 {
|
283
|
+
#toc .h2, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
284
284
|
padding-left: 30px; }
|
285
|
-
#toc .h3 {
|
285
|
+
#toc .h3, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
286
286
|
padding-left: 50px; }
|
287
|
-
#toc .toc-active, #toc li:hover {
|
287
|
+
#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 {
|
288
288
|
background: #1661ad;
|
289
289
|
box-shadow: inset -5px 0px 10px -5px #1661ad !important; }
|
290
|
-
#toc .toc-active a, #toc li:hover a {
|
290
|
+
#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 {
|
291
291
|
color: #333; }
|
292
292
|
@media print {
|
293
|
-
#toc .toc-active, #toc li:hover {
|
293
|
+
#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 {
|
294
294
|
background: white;
|
295
295
|
box-shadow: none !important; }
|
296
|
-
#toc .toc-active a {
|
296
|
+
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
297
297
|
color: #333; }
|
298
|
-
#toc li:hover a {
|
298
|
+
#toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
299
299
|
color: black; } }
|
300
300
|
@media screen and (max-width: 768px) {
|
301
|
-
#toc {
|
301
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
302
302
|
padding: 0 1.5em;
|
303
303
|
overflow: visible; } }
|
304
|
-
#toc .toc-active a {
|
304
|
+
#toc .toc-active a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
305
305
|
color: white; }
|
306
306
|
#toc .toc-active,
|
307
|
-
#toc li:hover
|
307
|
+
#toc li:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
|
308
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
308
309
|
background: linear-gradient(280deg, #00ADEF, #5b92e5);
|
309
310
|
box-shadow: inset -5px 0px 10px -5px #00ADEF !important; }
|
310
311
|
#toc .toc-active a,
|
311
|
-
#toc li:hover a
|
312
|
+
#toc li:hover a, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a,
|
313
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
312
314
|
color: white;
|
313
315
|
background: none;
|
314
316
|
box-shadow: none; }
|
315
|
-
#toc ul a:hover {
|
317
|
+
#toc ul a:hover, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
316
318
|
box-shadow: none;
|
317
319
|
color: white; }
|
318
320
|
|
321
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
322
|
+
margin-top: 0;
|
323
|
+
margin-bottom: 0; }
|
324
|
+
|
319
325
|
@media screen and (min-width: 768px) {
|
320
326
|
nav {
|
321
327
|
position: fixed;
|
@@ -369,7 +375,7 @@ p {
|
|
369
375
|
display: none; }
|
370
376
|
h1.toc-contents {
|
371
377
|
margin-top: 1em; }
|
372
|
-
ul#toc-list {
|
378
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
373
379
|
margin: 0;
|
374
380
|
padding: 0; } }
|
375
381
|
|
@@ -74,7 +74,7 @@ p {
|
|
74
74
|
2. Responsive navigation layout
|
75
75
|
*/
|
76
76
|
|
77
|
-
#toc {
|
77
|
+
#toc, #toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
78
78
|
@include toc($un-text, $un-toc, $un-text);
|
79
79
|
@include sidebarToc();
|
80
80
|
|
@@ -102,6 +102,11 @@ p {
|
|
102
102
|
}
|
103
103
|
}
|
104
104
|
|
105
|
+
#toc > ul > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
106
|
+
margin-top: 0;
|
107
|
+
margin-bottom: 0;
|
108
|
+
}
|
109
|
+
|
105
110
|
nav {
|
106
111
|
@include sidebarNav(#f2f2f2, 323px, 45px);
|
107
112
|
}
|
@@ -123,7 +128,7 @@ nav {
|
|
123
128
|
margin-top: 1em;
|
124
129
|
}
|
125
130
|
|
126
|
-
ul#toc-list {
|
131
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
127
132
|
margin: 0;
|
128
133
|
padding: 0;
|
129
134
|
}
|