metanorma-itu 1.0.0 → 1.0.5

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.
@@ -1,440 +1,179 @@
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
- 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
- }
26
-
27
- html, body, div, span, applet, object, iframe,
28
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
29
- a, abbr, acronym, address, big, cite, code,
30
- del, dfn, em, img, ins, kbd, q, s, samp,
31
- small, strike, strong, sub, sup, tt, var,
32
- b, u, i, center,
33
- dl, dt, dd, ol, ul, li,
34
- fieldset, form, label, legend,
35
- table, caption, tbody, tfoot, thead, tr, th, td,
36
- article, aside, canvas, details, embed,
37
- figure, figcaption, footer, header, hgroup,
38
- menu, nav, output, ruby, section, summary,
39
- time, mark, audio, video {
40
- border: 0;
41
- font-size: 100%;
42
- }
43
-
44
- html, body, div, span, applet, object, iframe,
45
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
46
- a, abbr, acronym, address, big, cite, code,
47
- del, dfn, em, img, ins, kbd, q, s, samp,
48
- small, strike, strong, tt, var,
49
- b, u, i, center,
50
- dl, dd, ol, ul, li,
51
- fieldset, form, label, legend,
52
- table, caption, tbody, tfoot, thead, tr, th, td,
53
- article, aside, canvas, details, embed,
54
- figure, figcaption, footer, header, hgroup,
55
- menu, nav, output, ruby, section, summary,
56
- time, mark, audio, video {
57
- vertical-align: baseline;
58
- }
59
-
60
- html, body, div, span, applet, object, iframe,
61
- p, blockquote,
62
- a, abbr, acronym, address, big, cite,
63
- del, dfn, em, img, ins, q, s,
64
- small, strike, strong, sub, sup, var,
65
- b, u, i, center,
66
- dl, dt, dd, ol, ul, li,
67
- fieldset, form, label, legend,
68
- table, caption, tbody, tfoot, thead, tr, th, td,
69
- article, aside, canvas, details, embed,
70
- figure, figcaption, footer, header, hgroup,
71
- menu, nav, output, ruby, section, summary,
72
- time, mark, audio, video {
73
- font-family: $bodyfont;
74
- }
75
-
76
- code, pre, tt, kbd, samp {
77
- font-family: $monospacefont;
78
- font-variant-ligatures: none;
79
- }
1
+ $recBandColor: #a3d88f;
2
+ $tecPaperColor: #53dd6c;
3
+ $doctype-colors-list: (
4
+ recommendation: $recBandColor,
5
+ recommendation-amendment: $recBandColor,
6
+ recommendation-supplement: $recBandColor,
7
+ recommendation-corrigendum: $recBandColor,
8
+ recommendation-errata: $recBandColor,
9
+ recommendation-annex: $recBandColor,
10
+ technical-paper: $tecPaperColor,
11
+ technical-report: $tecPaperColor,
12
+ focus-group: #750697,
13
+ implementers-guide: #750697,
14
+ joint-itu-iso-iec: #48a0e7,
15
+ );
16
+
17
+
18
+ $docstage-colors-list: (
19
+ in-force: #d9f39d,
20
+ in-force-prepublished: #fdf906,
21
+ superseded: #fd06fd,
22
+ superseded-draft: #fd06fd,
23
+ withdrawn: #7e0d13,
24
+ );
25
+
26
+
27
+ @import 'base_style/all';
80
28
 
81
- code *, pre *, tt *, kbd *, samp * {
82
- font-family: $monospacefont !important;
83
- font-variant-ligatures: none;
84
- }
85
-
86
- h1, h2, h3, h4, h5, h6, .h2Annex {
87
- font-family: $headerfont;
88
- }
89
-
90
- dl {
91
- display: grid;
92
- grid-template-columns: max-content auto;
93
- }
94
-
95
- dt {
96
- grid-column-start: 1;
97
- }
98
-
99
- dd {
100
- grid-column-start: 2;
101
- }
102
-
103
- dd p, dt p {
104
- margin-top: 0px;
105
- }
106
29
 
107
30
  dl.glossary dt {
108
31
  font-weight: bold;
109
32
  }
110
33
 
111
-
112
- /* HTML5 display-role reset for older browsers */
113
- article, aside, details, figcaption, figure,
114
- footer, header, hgroup, menu, nav, section {
115
- display: block;
116
- }
117
34
  body {
118
- line-height: 1;
35
+ @include bodyStyle1(14px, 1.6em, #141115, #fff);
119
36
  }
120
37
 
121
- blockquote, q {
122
- quotes: none;
123
- }
124
- blockquote:before, blockquote:after,
125
- q:before, q:after {
126
- content: '';
127
- content: none;
128
- }
129
- table {
130
- border-collapse: collapse;
131
- border-spacing: 0;
132
- }
38
+ nav {
39
+ @include sidebarNav(
40
+ $offsetLeft: 45px,
41
+ $colorBg: #fff,
42
+ $width: 323px);
133
43
 
134
-
135
- /*
136
- 1. HTML & Body
137
- */
138
-
139
- body {
140
- margin: 0;
141
- margin-left: auto;
142
- margin-right: auto;
143
- max-width: 100%;
144
- color: #141115;
145
- font-weight: 400;
146
- font-size: 14px;
147
- line-height: 1.6em;
148
- background-color: #fff;
44
+ #toc {
45
+ @include sidebarToc();
149
46
  }
47
+ }
150
48
 
151
- main {margin: 0 3em 0 6em;}
152
-
153
- #toc{
154
- font-family: $bodyfont;
155
- font-weight: 400;
156
- }
157
-
158
- /*
159
- 2. Responsive navigation layout
160
- */
161
-
162
-
163
- @media screen and (min-width: 768px) {
164
- nav {
165
- position: fixed;
166
- top: 0;
167
- bottom: 0;
168
- left: 0;
169
- width: 323px;
170
- font-size: 0.9em;
171
- overflow: auto;
172
- padding: 0 0 0 45px;
173
- margin-right: 30px;
174
- background-color:#ffffff;
175
- }
49
+ #toc {
50
+ font-family: $bodyfont;
51
+ font-weight: 400;
176
52
 
177
- #toggle {
178
- position: fixed;
179
- height: 100%;
180
- width: 30px;
181
- background-color:#DA1D52;
182
- color: white!important;
183
- cursor: pointer;
184
- z-index: 100;
185
- }
53
+ @include toc($colorLink: #141115, $colorLinkActiveBg: #da1d52, $colorLinkActiveFg: white);
186
54
 
187
- #toggle span {
188
- text-align: center;
189
- width: 100%;
190
- position: absolute;
191
- top: 50%;
192
- transform: translate(0, -50%);
55
+ .h1 {
56
+ text-transform: uppercase;
57
+ }
193
58
 
59
+ li {
60
+ a {
61
+ font-size: 14px;
194
62
  }
195
-
196
- .container {
197
- padding-left: 360px;
63
+ &:hover a {
64
+ background: none;
65
+ box-shadow: none;
198
66
  }
199
-
200
- .rule.toc {
201
- display: none;
67
+ &:before {
68
+ content: " ";
69
+ display: none;
202
70
  }
71
+ }
203
72
 
204
- h1.toc-contents {
205
- margin-top: 1em;
73
+ @media print {
74
+ .toc-active a {
75
+ color: #4D7EA5;
206
76
  }
207
77
 
208
- ul#toc-list {
209
- padding:0;
210
- margin:0;
78
+ .toc-active, li:hover {
79
+ background: white;
80
+ box-shadow: none !important;
211
81
  }
212
- }
213
82
 
214
- @media screen and (max-width: 768px) {
215
- #toc {
216
- padding: 0 1.5em 0 1.5em;
217
- overflow: visible;
83
+ li:hover a {
84
+ color: black;
218
85
  }
219
- }
220
-
221
- div.figure > img {
222
- margin-left: auto;
223
- margin-right: auto;
224
- display: block;
225
- max-width: 100%;
226
- height: auto;
227
86
  }
228
-
229
-
230
-
231
- #toc ul {
232
- margin: 0;
233
- padding: 0;
234
- list-style: none;
235
- }
236
-
237
- #toc li a {
238
- padding: 5px 10px;
239
- font-size: 14px;
240
- }
241
-
242
- #toc a {
243
- color: #141115;
244
- text-decoration: none;
245
- display: block;
246
- }
247
-
248
- #toc a:hover {
249
- box-shadow: none;
250
- color: white;
251
87
  }
252
88
 
253
- #toc .h1 {
254
- text-transform: uppercase;
89
+ #toc-list {
90
+ ul {
91
+ margin-bottom: 0.25em;
92
+ }
93
+ li {
94
+ list-style-type: none;
95
+ }
255
96
  }
256
97
 
257
- #toc .h2 {
258
- padding-left: 30px;
98
+ #toggle {
99
+ @include sidebarNavToggle(
100
+ $colorBg: #da1d52,
101
+ $colorFg: white);
259
102
  }
260
103
 
261
- #toc .h3 {
262
- padding-left: 50px;
104
+ .container {
105
+ @include sidebarNavContainer(360px);
263
106
  }
264
107
 
265
- #toc .toc-active a {
266
- color: white;
267
- }
268
108
 
269
- #toc .toc-active, #toc li:hover {
270
- background: #DA1D52;
271
- box-shadow: inset -5px 0px 10px -5px #DA1D52!important;
272
- }
109
+ .rule {
110
+ @include rule(1px, #00539F, 2em 0);
273
111
 
274
- #toc li:hover a {
275
- color: white;
276
- background: none;
277
- box-shadow: none;
112
+ &.toc {
113
+ @include tocSeparator();
114
+ }
278
115
  }
279
-
280
- #toc li a {
281
- text-transform: nonce;
116
+ .rule-2 {
117
+ width: 100%;
118
+ height: 1px;
119
+ background-color: #00539F;
282
120
  }
283
-
284
- /*
285
- Document types + stages
286
- */
287
-
288
- .document-type-band {
289
- left:0;
290
- top:180px;
291
- height: 100%;
292
- position: fixed;
293
- display: block;
294
- z-index: 99;
295
- /*box-shadow: -5px 0px 10px #1d1d1d*/
296
-
121
+ .rule-thick {
122
+ width: 100%;
123
+ height: 3px;
124
+ background-color: #00539F;
125
+ margin-top: 3em;
297
126
  }
298
127
 
299
- .document-stage-band {
300
- font-family: $bodyfont;
301
- left:0;
302
- top:0;
303
- height: 100%;
304
- position: fixed;
305
- display: block;
306
- z-index: 98;
307
- box-shadow: -5px 0px 10px #1d1d1d;
308
- }
128
+ @media screen and (min-width: 768px) {
129
+ h1.toc-contents {
130
+ margin-top: 1em;
131
+ }
309
132
 
310
- .document-type {
311
- font-family: $bodyfont;
312
- position: relative;
313
- width: 25px;
133
+ ul#toc-list {
134
+ padding: 0;
135
+ margin: 0;
136
+ }
314
137
  }
315
138
 
316
- .document-stage {
317
- font-family: $bodyfont;
318
- position: relative;
319
- width: 25px;
320
- }
321
139
 
322
- p.document-type, p.document-stage {
323
- text-transform: uppercase;
324
- font-size: 0.9em;
325
- font-weight: 400;
326
- letter-spacing: 0.05em;
327
- margin:0;
328
- margin-left: 6px;
329
- writing-mode:tb-rl;
330
- -webkit-transform:rotate(180deg);
331
- -moz-transform:rotate(180deg);
332
- -o-transform: rotate(180deg);
333
- white-space:nowrap;
334
- display:block;
335
- bottom:0;
336
- }
140
+ .figure {
141
+ @include figureBlock();
142
+ @include monospaceBlockStyle();
337
143
 
338
- p.document-type {
339
- font-weight: 400;
340
- height: 150;
144
+ background-color: #f6f6f6;
145
+ font-size: 0.8em;
341
146
  }
342
147
 
343
- p.document-stage {
344
- font-weight: 300;
345
- height:160px;
346
- }
347
148
 
348
- #focus-group-band p.document-type,
349
- #implementers-guide-band p.document-type {
350
- font-weight: 400;
351
- height: 230px!important;
149
+ .Sourcecode {
150
+ @include sourceBlock(#f6f6f6);
151
+ font-size: 0.8em;
352
152
  }
353
153
 
354
- #recommendation-band p, #recommendation-supplement p,
355
- #recommendation-amendment p, #recommendation-corrigendum p,
356
- #recommendation-errata p, #recommendation-annex p {
357
- height: 270px;
154
+ .example .Sourcecode, .example .pseudocode {
155
+ background: none;
156
+ margin: 0;
157
+ padding: 0 0 0 2em;
358
158
  }
359
159
 
360
- #technical-paper-band p, #technical-report-band {
361
- height: 150px;
160
+ .document-stage-band {
161
+ @include docBand($order: 1, $textLength: 160px, $color: black, $fontWeight: 300);
362
162
  }
363
-
364
-
365
- #recommendation-band, #recommendation-supplement-band,
366
- #recommendation-amendment-band, #recommendation-corrigendum-band,
367
- #recommendation-errata-band, #recommendation-annex-band {
368
- color: #2A2D34;
369
- background-color: #a3d88f; }
370
-
371
- #recommendation, #recommendation-supplement,
372
- #recommendation-amendment, #recommendation-corrigendum,
373
- #recommendation-errata, #recommendation-annex {
374
- color: #2A2D34;
375
- border-bottom: solid 3px #a3d88f;
163
+ .document-type-band {
164
+ @include docBand($order: 2, $textLength: 210px, $color: black, $offset: 180px);
376
165
  }
377
166
 
378
- #technical-paper, #technical-report {
379
- border-bottom: solid 3px #53DD6C; }
380
-
381
- #technical-paper-band, #technical-report-band {
382
- background-color: #53DD6C; }
383
-
384
-
385
- #focus-group, #implementers-guide {
386
- border-bottom: solid 3px #750697; }
387
-
388
- #focus-group-band, #implementers-guide-band {
389
- background-color: #750697; }
390
-
391
- #joint-itu-iso-iec {
392
- border-bottom: solid 3px #48a0e7; }
393
-
394
- #joint-itu-iso-iec-band {
395
- background-color: #48a0e7; }
396
-
397
- .coverpage-maturity, .coverpage-stage {
398
- font-family: $bodyfont;
399
- font-weight: 400;
400
- font-size: 1em;
401
- margin: 0 0 2em 0;
402
- text-transform: uppercase; }
403
-
404
- #superseded-draft {
405
- border-bottom: solid 3px #fd06fd; }
406
-
407
- #superseded-band {
408
- background-color: #fd06fd; }
409
-
410
- #in-force-prepublished {
411
- border-bottom: solid 3px #fdf906; }
412
-
413
- #in-force-prepublished-band {
414
- background-color: #fdf906; }
415
-
416
- #in-force {
417
- border-bottom: solid 3px #9ABD48; }
418
-
419
- #in-force-band {
420
- background-color: #d9f39d; }
421
-
422
- #withdrawn {
423
- border-bottom: solid 3px #7e0d13; }
424
-
425
- #withdrawn-band {
426
- background-color: #7e0d13; }
427
-
428
167
  .logo-wrapper {
429
168
  width: 100%;
430
169
  display: block;
431
170
  height: 100px;
432
171
  padding-top: 75px;
433
- }
434
172
 
435
- .logo-wrapper img {
436
- float: right;
437
- padding-right: 42px;
173
+ img {
174
+ float: right;
175
+ padding-right: 42px;
176
+ }
438
177
  }
439
178
 
440
179
  #ITU-logo {
@@ -450,292 +189,234 @@ color: #2A2D34;
450
189
  font-style: italic;
451
190
  }
452
191
 
453
- /*
454
- 3. TYPOGRAPHY
455
- */
456
192
 
457
- /*
458
- 3.1 Titles
459
- */
193
+ /* Headings */
460
194
 
461
- h1,h2,h3,h4,h5,h6 {
462
- font-family: $headerfont;
463
- font-weight: 400;
464
- margin-top: 1.6em;
465
- margin-bottom: 0.3em;
466
- }
195
+ h1, h2, h3, h4, h5, h6 {
196
+ font-weight: 400;
197
+ margin-top: 1.6em;
198
+ margin-bottom: 0.3em;
199
+ }
467
200
 
468
- h1 {
469
- font-size: 1.4em;
470
- text-transform: uppercase;
471
- margin-top: 2em;
201
+ h1, h2, h3, h4 {
202
+ @media print {
203
+ page-break-after: avoid;
204
+ margin-top: 1.2em;
472
205
  }
206
+ }
473
207
 
474
- h1#content {
475
- margin-top: 2em;
208
+ h1 {
209
+ font-size: 1.4em;
210
+ text-transform: uppercase;
211
+ margin-top: 2em;
212
+
213
+ &#content {
214
+ margin-top: 2em;
476
215
  }
477
216
 
478
- h2 {
479
- margin-top: 1.7em;
217
+ @media print {
480
218
  font-size: 1.5em;
481
- }
219
+ line-height: 1.5;
482
220
 
483
- h3 {
484
- margin-top: 1.5em;
485
- font-size: 1.4em;
221
+ &.content {
222
+ margin-top: 2em;
223
+ line-height: 2.5em;
224
+ }
486
225
  }
226
+ }
487
227
 
488
- h4 {
489
- font-size: 1.2em;
490
- }
228
+ h2 {
229
+ margin-top: 1.7em;
230
+ font-size: 1.5em;
491
231
 
492
- .TermNum, .Terms, .AltTerms {
493
- font-weight: 400;
232
+ p {
233
+ display: inline;
494
234
  }
495
235
 
496
- h2.TermNum {
497
- margin-bottom: 0;
498
- }
499
- /*
500
- p.Terms {
501
- font-size: 1.1em;
502
- line-height: 1.5em;
503
- margin: 0;
504
- }
505
- */
506
- p.AltTerms {
507
- /*
508
- font-style: italic;
509
- */
510
- font-size: 20px;
511
- margin-top: 1em;
236
+ @media print {
237
+ font-size: 1.2em;
512
238
  }
239
+ }
513
240
 
514
- /*
515
- 3.2 Links
516
- */
241
+ h3 {
242
+ margin-top: 1.5em;
243
+ font-size: 1.4em;
517
244
 
518
- a, a:visited{
519
- text-decoration: none;
520
- color: #00539F;
521
- }
245
+ @media print {
246
+ font-size: 1em;
247
+ }
248
+ }
522
249
 
523
- a:hover {
524
- color: white;
525
- background: #00539F;
526
- box-shadow: 3px 0 0 #00539F, -3px 0 0 #00539F;
527
- /* padding: 2px 0 2px 0; */
528
- }
250
+ h4 {
251
+ font-size: 1.2em;
252
+ }
529
253
 
530
- ::selection {
531
- background: #00539F; /* WebKit/Blink Browsers */
532
- color: white;
533
- }
534
- ::-moz-selection {
535
- background: #00539F; /* Gecko Browsers */
536
- color: white;
537
- }
538
254
 
539
- .contact-info a:hover {
540
- color: #00539F;
541
- text-decoration: underline;
542
- background: none;
543
- box-shadow: 0 0 0 0;
544
- }
255
+ /* Terms */
545
256
 
257
+ .TermNum, .Terms, .AltTerms {
258
+ font-weight: 400;
259
+ }
546
260
 
261
+ h2.TermNum {
262
+ margin-bottom: 0;
263
+ }
547
264
 
548
- /*
549
- 3.3 Lists
550
- */
265
+ p.AltTerms {
266
+ font-size: 20px;
267
+ margin-top: 1em;
268
+ }
551
269
 
552
- ul, ol {margin-left: 1.2em;}
553
270
 
554
- ul > li {
555
- list-style: none;
556
- }
271
+ /* Links, selection */
557
272
 
558
- ul > li:before {
559
- content: "\2014";
560
- display: inline-block;
561
- width: 1em;
562
- margin-left: -1.2em;
563
- }
273
+ a, a:visited {
274
+ text-decoration: none;
275
+ color: #00539F;
276
+ }
564
277
 
565
- ul > li p:first-child {
566
- display: inline;
567
- }
278
+ a:hover {
279
+ color: white;
280
+ background: #00539F;
281
+ box-shadow: 3px 0 0 #00539F, -3px 0 0 #00539F;
282
+ }
568
283
 
569
- ul > li:first-child {
570
- margin-top: 1em;
284
+ ::selection {
285
+ background: #00539F; /* WebKit/Blink Browsers */
286
+ color: white;
287
+ }
288
+ ::-moz-selection {
289
+ background: #00539F; /* Gecko Browsers */
290
+ color: white;
571
291
  }
572
292
 
573
- #toc-list ul {margin-bottom: 0.25em;}
574
293
 
575
- #toc-list li {list-style-type: none;}
294
+ /* Lists */
576
295
 
577
- #toc li:before {
578
- content: " ";
579
- display: none;
296
+ ul, ol {
297
+ margin-left: 1.2em;
580
298
  }
581
299
 
300
+ ul {
301
+ > li {
302
+ list-style: none;
582
303
 
583
- /*
584
- 3.4 Rules
585
- */
586
-
587
- .rule {
588
- width: 100%;
589
- height: 1px;
590
- background-color: #00539F;
591
- margin: 2em 0;
592
- }
304
+ &:before {
305
+ content: "\2014";
306
+ display: inline-block;
307
+ width: 1em;
308
+ margin-left: -1.2em;
309
+ }
593
310
 
594
- .rule-2 {
595
- width: 100%;
596
- height: 1px;
597
- background-color: #00539F;
598
- }
311
+ p:first-child {
312
+ display: inline;
313
+ }
599
314
 
600
- .rule-thick {
601
- width: 100%;
602
- height: 3px;
603
- background-color: #00539F;
604
- margin-top: 3em;
315
+ &:first-child {
316
+ margin-top: 1em;
317
+ }
318
+ }
605
319
  }
606
320
 
607
321
 
608
- /*
609
- 3.5 Bibliograhy
610
- */
322
+ /* Bibliograhy */
611
323
 
612
324
  p.Biblio, p.NormRef {
613
- margin-top: 1em;
614
- margin-left: 2em;
615
- }
616
-
617
- /*
618
- 3.6 Source Code + figures
619
- */
620
-
621
- .figure, .Sourcecode {
622
- font-family: $monospacefont;
623
- font-variant-ligatures: none;
624
- background-color: #f6f6f6;
625
- font-size: 0.8em;
626
- line-height: 1.6em;
627
- padding: 1.5em;
628
- margin: 2em 0 1em 0;
629
- overflow: auto;
325
+ margin-top: 1em;
326
+ margin-left: 2em;
630
327
  }
631
328
 
632
- .FigureTitle, .SourceTitle, .AdmonitionTitle {
633
- font-weight: 700;
634
- font-size: 1em;
635
- text-align: center;
636
- }
637
329
 
638
- /*
639
- 3.7 Notes
640
- */
330
+ /* Blocks */
641
331
 
642
332
  .Note {
643
- background-color: #ffca3a;
644
- color: #141115;
645
- padding: 1.2em;
646
- margin: 1em 0 1em 0;
333
+ background-color: #ffca3a;
334
+ color: #141115;
335
+ padding: 1.2em;
336
+ margin: 1em 0 1em 0;
647
337
 
648
- p {
649
- margin: 0;
650
- }
338
+ p {
339
+ margin: 0;
340
+ }
651
341
  }
652
342
 
653
343
  .Admonition {
654
- background-color: #ffcccc;
655
- color: #47430c;
656
- padding: 1.2em;
657
- margin: 1em 0 1em 0;
344
+ background-color: #ffcccc;
345
+ color: #47430c;
346
+ padding: 1.2em;
347
+ margin: 1em 0 1em 0;
658
348
 
659
- p {
660
- margin: 0;
661
- }
349
+ p {
350
+ margin: 0;
351
+ }
662
352
  }
663
353
 
664
-
665
- /*
666
- 3.8 Examples
667
- */
668
-
669
354
  .example {
670
- background-color: #e1eef1;
671
- padding: 1.2em;
672
- margin: 2em 0 1em 0;
673
- padding-left: 2em;
674
- }
355
+ @include exampleBlock(#e1eef1, null, 1.2em, 2em);
675
356
 
676
- .example .example-title {
677
- font-weight: 700;
678
- text-transform: uppercase;
679
- margin-top:0;
680
- margin-left:-1.5em;
681
- }
357
+ .example-title {
358
+ margin-top: 0;
359
+ margin-left: -1.5em;
360
+ }
682
361
 
683
- .example .Sourcecode, .example .pseudocode {
684
- background: none;
685
- margin: 0;
686
- padding: 0 0 0 2em;
362
+ .Sourcecode, .pseudocode {
363
+ background: none;
364
+ margin: 0;
365
+ padding: 0 0 0 2em;
366
+ }
687
367
  }
688
368
 
689
369
  .pseudocode {
690
- background-color: #f6f6f6;
691
- padding: 1.2em;
692
- margin: 2em 0 1em 0;
693
- padding-left: 2em;
694
- }
370
+ background-color: #f6f6f6;
371
+ padding: 1.2em;
372
+ margin: 2em 0 1em 0;
373
+ padding-left: 2em;
695
374
 
696
- .pseudocode .example-title {
375
+ .example-title {
697
376
  font-weight: 700;
698
377
  text-transform: uppercase;
699
378
  text-align: center;
700
379
  margin-top:0;
701
380
  margin-left:-1.5em;
381
+ }
702
382
  }
703
383
 
704
384
  .recommend {
705
- background-color: #ccffcc;
706
- padding: 1.2em;
707
- margin: 2em 0 1em 0;
385
+ background-color: #ccffcc;
386
+ padding: 1.2em;
387
+ margin: 2em 0 1em 0;
708
388
  }
709
389
 
710
- /*
711
- 3.9 Tables
712
- */
390
+ .recommend {
391
+ @include recommendationBlock();
392
+ }
713
393
 
714
- table {
715
- border-collapse: collapse;
716
- width: 100%;
717
- color: #141115;
718
- font-weight: 300;
719
- margin: 1em 0 2em 0;
720
- margin-left: auto;
721
- margin-right: auto;
722
- padding-right: 2em;
394
+ .require {
395
+ @include recommendationBlock();
723
396
  }
724
397
 
725
- table, th, td {
726
- border: none!important;
727
- font-size: 0.95em;
398
+ .permission {
399
+ @include recommendationBlock();
728
400
  }
729
401
 
730
- tr:nth-child(even) {background: #f1f8ff}
731
- tr:nth-child(odd) {background: #f6f8fa}
732
402
 
733
- td, th {
734
- padding: 1em;
735
- }
403
+ /* Tables */
736
404
 
737
- td.header {
738
- font-weight: 400;
405
+ table {
406
+ @include table($border: none);
407
+
408
+ &, th, td {
409
+ border: none !important;
410
+ }
411
+
412
+ color: #141115;
413
+
414
+ tr:nth-child(even) {
415
+ background: #f1f8ff;
416
+ }
417
+ tr:nth-child(odd) {
418
+ background: #f6f8fa;
419
+ }
739
420
  }
740
421
 
741
422
  p.TableTitle {
@@ -744,103 +425,80 @@ p.TableTitle {
744
425
  font-weight: 400;
745
426
  }
746
427
 
747
- /*
748
- 3.10 Footnotes
749
- */
428
+
429
+ /* Footnotes */
750
430
 
751
431
  a.footnote-number {
752
- vertical-align: super;
753
- font-size: 0.8em;
432
+ vertical-align: super;
433
+ font-size: 0.8em;
754
434
  }
755
435
 
756
436
  .footnote {
757
- font-size: 0.9em;
437
+ font-size: 0.9em;
758
438
  }
759
439
 
760
-
761
- /*
762
- 3.11 Blockquotes
763
- */
764
-
765
440
  .Quote {
766
- background-color: #f6f6f6;
767
- font-style: italic;
768
- width: 80%;
769
- padding: 1.5em;
770
- margin-top: 2em;
771
- margin-left: auto;
772
- margin-right: auto;
441
+ background-color: #f6f6f6;
442
+ font-style: italic;
443
+ width: 80%;
444
+ padding: 1.5em;
445
+ margin-top: 2em;
446
+ margin-left: auto;
447
+ margin-right: auto;
773
448
  }
774
449
 
775
450
 
776
- /*
777
- 3.12 Formulas
778
- */
779
-
780
451
  .formula {
781
- background-color: #f6f6f6;
782
- padding: 1.5em;
783
- margin-top: 2em;
784
- text-align: center;
452
+ @include formulaBlock(#f6f6f6);
785
453
  }
786
454
 
787
- /*
788
- 3.13 Contact Info
789
- */
790
455
 
791
456
  .contact-info {
792
- padding: 2em;
793
- margin-top: 5em;
794
- width: 280px;
457
+ padding: 2em;
458
+ margin-top: 5em;
459
+ width: 280px;
795
460
  text-align: left;
796
461
  color: #00539F!important;
797
462
  background-color: #f1f8ff;
798
463
  border-radius: 25px;
799
464
 
800
- }
801
-
802
- .contact-info a,
803
- .contact-info a:hover {
804
- color: #00539F;
805
- }
465
+ a, a:hover {
466
+ color: #00539F;
467
+ }
468
+ a:hover {
469
+ text-decoration: underline;
470
+ background: none;
471
+ box-shadow: 0 0 0 0;
472
+ }
806
473
 
807
- .contact-info p, .contact-info a {
474
+ p, a {
808
475
  font-family: $monospacefont;
809
476
  font-variant-ligatures: none;
810
477
  font-weight: 400;
811
- }
478
+ }
812
479
 
813
- .contact-info .name {
480
+ .name {
814
481
  font-weight: 700;
815
482
  font-size: 14px;
816
483
  margin-bottom: 5px;
817
- }
484
+ }
818
485
 
819
- .contact-info .address {
486
+ .address {
820
487
  font-size: 12px;
821
488
  line-height: 1.3em;
822
489
  margin-top:0;
490
+ }
823
491
  }
824
492
 
825
- /*
826
- Keywords
827
- */
828
493
 
829
494
  span.keyword {
830
- font-weight: 600;
495
+ font-weight: 600;
831
496
  }
832
497
 
833
- /*
834
- Paragraphs
835
- */
836
498
 
837
499
  p {
838
- margin-top: 1em;
839
- margin-bottom: 1em;
840
- }
841
-
842
- h2 p {
843
- display: inline;
500
+ margin-top: 1em;
501
+ margin-bottom: 1em;
844
502
  }
845
503
 
846
504
  .addition {
@@ -852,215 +510,19 @@ h2 p {
852
510
  text-decoration: line-through;
853
511
  }
854
512
 
513
+ @import 'coverpage';
855
514
 
856
- /*
857
- 4.0 Page header
858
- */
859
-
860
- /*
861
- 4.1 Top Logo
862
- */
863
-
864
- .icon-svg {
865
- width: 100%;
866
- color: #5ecf86;
867
- }
868
-
869
- .wrapper-top {
870
- background: #fff;
871
- color: #141115;
872
- padding: 3em 0 6em 10em;
873
- margin-left: 0em;
874
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAosAAAGmCA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ODoqcmO1JryGKwpT5o4k5HHsaWp97FRPT17PdMdVVd57VQ9Ru7Ue3XZ1s74nk5U0yS9qLkO0/Tib5eXjy7+q3tQrR5gDva7b65/MGgVAG+8+1l58eoP534egKfc9RgaAICQsAgAQEhYBAAgJCwCABASFgEACAmLAACEhEUAAELCIgAAIWERAICQsAgAQEhYBAAgtDA1ACS3V0rZ1SRoYldYBCC726Uf9nUJ2vAYGoDMdgRFaEtYBCCrZSllQ3egLWERgKy2Sj8c6Q60JSwCkNHyJCwCzQmLAGS0aVcRchAWAcjmoPSDXUVIQlgEIJtNHYE8hEUAMvmi9MO2jkAewiIAmfhXOZCMsAhAFnulHxzrB8kIiwBk4V1FSEhYBCCDe3YVISdhEYAMvKsISQmLALS2U/phXxcgJ2ERgJaW3lWE3IRFAFrasqsIuS2uXH/4daMKu4Qzk6emLtv8DJnqsXZO0aVbO5nqSbWOn8izdi78fr+Uclj5to71g+S64U65tVLiui+uMV9s2cbUqilTLVnHrKu75u9U+361xviMzqOWjGO8Owg8w2NoAABCwiIAACFhEQCAkLAIAEBocXJw+5/jLy1j/tJyHD2LmZvTmZ/YFPX8568qDpipUsr/A7DyYzjXcbY2AAAAAElFTkSuQmCC);
875
- background-repeat: repeat-y;
876
- background-size: 100px;
877
- }
878
-
879
- .doc-type {
880
- font-size: 18px;
881
- letter-spacing: 4px;
882
- color: #797979;
883
- margin-bottom: 42px;
884
- }
885
-
886
- .ITU-sector, .doc-identifier {
887
- font-size: 42px;
888
- font-weight: 800;
889
- display: inline;}
890
-
891
- .doc-info-left {
892
- float: right;
893
- padding-right: 42px;
894
- }
895
-
896
- .doc-identifier, .publication-month {
897
- display: block;
898
- text-align: right;
899
- }
900
-
901
- .publication-month {
902
- font-size: 18px;
903
- padding-top: 10px;
904
- line-height: 1;
905
- }
906
-
907
- .doc-category {
908
- text-transform: uppercase;
909
- font-size: 16px;
910
- line-height: 1.2;
911
- }
912
-
913
- .coverpage-title {
914
- margin-top: 42px;
915
- }
916
-
917
- .coverpage-title span {
918
- display: block;
919
- font-size: 20px;
920
- line-height: 1.5;
921
- }
922
-
923
- span.doc-title {
924
- font-size: 26px;
925
- font-weight: 800;
926
- margin-top: 20px;
927
- border-top: 2px solid #DA1D52;
928
- margin-right: 42px;
929
- }
930
-
931
- .doc-footer {
932
- margin-top: 100px;
933
- }
934
-
935
- .doc-footer .keywords {
936
- display: block;
937
- }
938
-
939
- .doc-footer div {
940
- clear: both;
941
- }
942
-
943
- .doc-footer span, .doc-footer .keywords {
944
- font-size: 18px;
945
- font-weight: 400;
946
- letter-spacing: 0;
947
- color: black;
948
- float: left;
949
- padding-right: 10px;
950
- }
951
-
952
- .WordSection11 {
953
- padding: 0 2em 0 3em; }
954
-
955
- .info-section {
956
- padding: 0 }
957
-
958
- .prefatory-section {
959
- padding: 0 3em 0 6em; }
960
-
961
- .zzSTDTitle1, .zzSTDTitle2, .MsoCommentText {
962
- display: none; }
963
-
964
- .coverpage {
965
- text-align: left;
966
- padding-left: 1.5em; }
967
-
968
-
969
- /*
970
- 4.2 Document Identity
971
- */
972
-
973
- .coverpage-doc-identity {
974
- font-size: 2em;
975
- line-height: 2em;
976
- }
977
-
978
- .coverpage-title .title-second {
979
- display: none;
980
- }
981
-
982
- .coverpage-stage-block {
983
- font-family: $bodyfont;
984
- font-weight: 600;
985
- font-size: 1.25em;
986
- margin: 2em 0em 2em 0em;
987
- text-transform: uppercase;
988
- }
989
-
990
- /*
991
- 4.3 Draft Warning
992
- */
993
-
994
- .coverpage-warning {
995
- border: #f36f36 solid 2px;
996
- color: #f36f36!important;
997
- margin: 1em 2em;
998
- color: #2e81c2;
999
- padding: 2em 1em 1em 1em;
1000
- border-radius: 25px;
1001
- }
1002
-
1003
- .coverpage-warning .title {
1004
- font-family: $bodyfont;
1005
- font-weight: 300;
1006
- text-transform: uppercase;
1007
- font-size: 1.2em;
1008
- }
1009
-
1010
-
1011
- /*
1012
- 4.4 Copyright
1013
- */
1014
-
1015
- .copyright {
1016
- padding: 1em;
1017
- font-size: 0.9em;
1018
- text-align: left;
1019
- }
1020
-
1021
-
1022
- /* .copyright .name, .copyright .address {color: #2e81c2;} */
1023
-
1024
-
1025
-
1026
- /*
1027
- 5.0 Other styles
1028
- */
1029
-
1030
-
1031
-
1032
- /*
1033
- To top button
1034
- */
1035
515
 
1036
516
  #myBtn {
1037
- font-family: $monospacefont;
1038
- font-variant-ligatures: none;
1039
- display: none;
1040
- position: fixed;
1041
- bottom: 20px;
1042
- right: 30px;
1043
- z-index: 99;
1044
- font-size: 12px;
1045
- border: none;
1046
- outline: none;
1047
- background-color: #00539F;
1048
- opacity: 0.15;
1049
- color: white;
1050
- cursor: pointer;
1051
- padding: 10px 15px 10px 15px;
1052
- border-radius: 4px;
1053
- text-transform: uppercase;
1054
- }
517
+ @include toTopBtn($color: white, $colorBg: #00539F);
1055
518
 
1056
- #myBtn:hover {
1057
- opacity: 1;
519
+ @media print {
520
+ background-color: white;
1058
521
  }
522
+ }
1059
523
 
1060
- a.anchorjs-link:hover {
1061
- background: none;
1062
- color: #2e81c2;
1063
- box-shadow: none;
524
+ a.anchorjs-link {
525
+ @include anchorLink(#2e81c2);
1064
526
  }
1065
527
 
1066
528
  @page {
@@ -1068,33 +530,26 @@ To top button
1068
530
  }
1069
531
 
1070
532
  @media print {
1071
-
1072
-
1073
- .document-info, nav, .copyright {
1074
- page-break-before: always;
533
+ .document-info, nav {
534
+ page-break-before: always;
1075
535
  }
1076
536
 
1077
537
  nav {
1078
538
  page-break-after: always;
1079
- }
1080
-
1081
- h1, h2, h3, h4 {
1082
- page-break-after: avoid;
1083
- margin-top: 1.2em;
539
+ line-height: 1;
540
+ position: relative;
541
+ width: auto;
542
+ font-size: 0.9em;
543
+ overflow: auto;
544
+ padding: 0;
545
+ margin-right: 0;
546
+ background-color: white;
1084
547
  }
1085
548
 
1086
549
  .note, .figure, .Sourcecode, table {
1087
550
  page-break-inside: avoid;
1088
551
  }
1089
552
 
1090
- .info-section {
1091
- display: none;
1092
- }
1093
-
1094
- .coverpage {
1095
- height: 23cm;
1096
- }
1097
-
1098
553
  .wrapper-top {
1099
554
  top: 0;
1100
555
  padding-top: 4cm;
@@ -1103,79 +558,17 @@ To top button
1103
558
 
1104
559
  .wrapper-top-bottom {
1105
560
  margin-top: -5px;
561
+ display: none;
1106
562
  }
1107
563
 
564
+ .Note {
565
+ background-color: #fff495;
566
+ color: #47430c;
567
+ padding: 5px;
568
+ margin: 2em 0 1em 0;
1108
569
 
1109
- #toggle, .document-stage-band,
1110
- .document-type-band, button#myBtn {
1111
- display: none;
1112
- }
1113
-
1114
- button#myBtn {
1115
- background-color: white;
1116
- }
1117
-
1118
- .container {
1119
- padding-left: 0;
1120
- }
1121
-
1122
- nav {
1123
- position: relative;
1124
- width: auto;
1125
- font-size: 0.9em;
1126
- overflow: auto;
1127
- padding: 0;
1128
- margin-right: 0;
1129
- background-color: white;
1130
- }
1131
-
1132
- #toc .toc-active a {
1133
- color: #4D7EA5;
1134
- }
1135
-
1136
- #toc .toc-active, #toc li:hover {
1137
- background: white;
1138
- box-shadow: none !important; }
1139
-
1140
- #toc li:hover a {
1141
- color: black; }
1142
-
1143
-
1144
- h1.content {
1145
- margin-top: 2em;
1146
- line-height: 2.5em;
1147
- }
1148
-
1149
- h1 {
1150
- font-size: 1.5em;
1151
- line-height: 1.5;
1152
- }
1153
-
1154
- h2 {
1155
- font-size: 1.2em
1156
- }
1157
-
1158
- h3 {
1159
- font-size: 1em;
1160
- }
1161
-
1162
- .Note {
1163
- background-color: #fff495;
1164
- color: #47430c;
1165
- padding: 5px;
1166
- margin: 2em 0 1em 0; }
1167
-
1168
- .Note p {
570
+ p {
1169
571
  padding: 0 5px 0 5px;
1170
572
  }
1171
-
1172
- nav {
1173
- line-height: 1;
1174
- }
1175
-
1176
- .wrapper-top-bottom {
1177
- display: none;
1178
- }
1179
-
573
+ }
1180
574
  }
1181
-