isodoc 1.1.3.pre.alpha → 1.1.3.pre.alpha2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff06d7fa3d79d12f742086cd084badbc4bd611f4f90a3a2390d460d52dad8dae
4
- data.tar.gz: 2440875836ae55889619a65c88b339a627431df1ae1b496fba3ce0b7b14c4f33
3
+ metadata.gz: 595f696067ee780226eb9e657df1786a99e805f58516f43c9c0fcfd0feed5579
4
+ data.tar.gz: be599ec59b45ffabff696d03eb331613bd08e759ae645d9734af7bae7691095c
5
5
  SHA512:
6
- metadata.gz: 0b24414340e5924d4e00da4b14949798c3e7e178b270e6bd6b541dee75930f4c9c63b3e2dcb5adfefbe18f950d991b7b6de2223c3c178e5306e663c8d6faed57
7
- data.tar.gz: bb5eaadcbab45962ccadac9f02b20ceb0502e87faa067844acd5d71905e11ba88de4e03af00b38a7bff1a8ccd0728ff32ce65c48b7edddbbececb89292f237ce
6
+ metadata.gz: 319902ca73d2ad35626d5cad95dee5504e0cd4eeedd759fcf1c64e4739ab749597e7397712e868b262628c902a683d060454fe22e0944c46f9e36497643dbf15
7
+ data.tar.gz: f14346e3eb2d380e4228ea1beed7e3e08767abf715e08e14165559c84254376446897c91e8d203bd3a1e7422a548575f2e5f16ed604617581b78fd493c9cf640
@@ -0,0 +1,207 @@
1
+ html, body, div, span, applet, object, iframe,
2
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
+ a, abbr, acronym, address, big, cite, code,
4
+ del, dfn, em, img, ins, kbd, q, s, samp,
5
+ small, strike, strong, sub, sup, tt, var,
6
+ b, u, i, center,
7
+ ol, ul, li,
8
+ fieldset, form, label, legend,
9
+ table, caption, tbody, tfoot, thead, tr, th, td,
10
+ article, aside, canvas, details, embed,
11
+ figure, figcaption, footer, header, hgroup,
12
+ menu, nav, output, ruby, section, summary,
13
+ time, mark, audio, video {
14
+ margin: 0;
15
+ padding: 0; }
16
+
17
+ html, body, div, span, applet, object, iframe,
18
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
19
+ a, abbr, acronym, address, big, cite, code,
20
+ del, dfn, em, img, ins, kbd, q, s, samp,
21
+ small, strike, strong, sub, sup, tt, var,
22
+ b, u, i, center,
23
+ dl, dt, dd, ol, ul, li,
24
+ fieldset, form, label, legend,
25
+ table, caption, tbody, tfoot, thead, tr, th, td,
26
+ article, aside, canvas, details, embed,
27
+ figure, figcaption, footer, header, hgroup,
28
+ menu, nav, output, ruby, section, summary,
29
+ time, mark, audio, video {
30
+ border: 0;
31
+ font-size: 100%; }
32
+
33
+ html, body, div, span, applet, object, iframe,
34
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
35
+ a, abbr, acronym, address, big, cite, code,
36
+ del, dfn, em, img, ins, kbd, q, s, samp,
37
+ small, strike, strong, tt, var,
38
+ b, u, i, center,
39
+ dl, dd, ol, ul, li,
40
+ fieldset, form, label, legend,
41
+ table, caption, tbody, tfoot, thead, tr, th, td,
42
+ article, aside, canvas, details, embed,
43
+ figure, figcaption, footer, header, hgroup,
44
+ menu, nav, output, ruby, section, summary,
45
+ time, mark, audio, video {
46
+ vertical-align: baseline; }
47
+
48
+ html, body, div, span, applet, object, iframe,
49
+ p, blockquote,
50
+ a, abbr, acronym, address, big, cite,
51
+ del, dfn, em, img, ins, q, s,
52
+ small, strike, strong, sub, sup, var,
53
+ b, u, i, center,
54
+ dl, dt, dd, ol, ul, li,
55
+ fieldset, form, label, legend,
56
+ table, caption, tbody, tfoot, thead, tr, th, td,
57
+ article, aside, canvas, details, embed,
58
+ figure, figcaption, footer, header, hgroup,
59
+ menu, nav, output, ruby, section, summary,
60
+ time, mark, audio, video {
61
+ font-family: {{bodyfont}}; }
62
+
63
+ code, pre, tt, kbd, samp {
64
+ font-family: {{monospacefont}};
65
+ font-variant-ligatures: none; }
66
+
67
+ code *, pre *, tt *, kbd *, samp * {
68
+ font-family: {{monospacefont}} !important;
69
+ font-variant-ligatures: none; }
70
+
71
+ article, aside, details, figcaption, figure,
72
+ footer, header, hgroup, menu, nav, section {
73
+ display: block; }
74
+
75
+ table {
76
+ border-collapse: collapse;
77
+ border-spacing: 0; }
78
+
79
+ h1, h2, h3, h4, h5, h6 {
80
+ font-family: {{headerfont}}; }
81
+
82
+ blockquote, q {
83
+ quotes: none; }
84
+ blockquote:before, blockquote:after, q:before, q:after {
85
+ content: '';
86
+ content: none; }
87
+
88
+ .h2Annex {
89
+ font-family: {{headerfont}}; }
90
+
91
+ dl {
92
+ display: grid;
93
+ grid-template-columns: max-content auto; }
94
+ dl dt p, dl dd p {
95
+ margin-top: 0; }
96
+ dl dt {
97
+ grid-column-start: 1; }
98
+ dl dd {
99
+ grid-column-start: 2; }
100
+
101
+ b, strong {
102
+ font-weight: bold; }
103
+
104
+ div.document-stage-band, div.document-type-band {
105
+ background-color: #333333; }
106
+
107
+ #standard-band {
108
+ background-color: #0AC442; }
109
+
110
+ #standard {
111
+ border-bottom: solid 3px #0AC442; }
112
+
113
+ #directive-band {
114
+ background-color: #540D6E; }
115
+
116
+ #directive {
117
+ border-bottom: solid 3px #540D6E; }
118
+
119
+ #guide-band {
120
+ background-color: #D183C9; }
121
+
122
+ #guide {
123
+ border-bottom: solid 3px #D183C9; }
124
+
125
+ #specification-band {
126
+ background-color: #65AFFF; }
127
+
128
+ #specification {
129
+ border-bottom: solid 3px #65AFFF; }
130
+
131
+ #report-band {
132
+ background-color: #3A405A; }
133
+
134
+ #report {
135
+ border-bottom: solid 3px #3A405A; }
136
+
137
+ #amendment-band {
138
+ background-color: #F26430; }
139
+
140
+ #amendment {
141
+ border-bottom: solid 3px #F26430; }
142
+
143
+ #corrigendum-band {
144
+ background-color: #C84630; }
145
+
146
+ #corrigendum {
147
+ border-bottom: solid 3px #C84630; }
148
+
149
+ #administrative-band {
150
+ background-color: #BFAE48; }
151
+
152
+ #administrative {
153
+ border-bottom: solid 3px #BFAE48; }
154
+
155
+ #advisory-band {
156
+ background-color: #BD9391; }
157
+
158
+ #advisory {
159
+ border-bottom: solid 3px #BD9391; }
160
+
161
+ #proposal-band {
162
+ background-color: #39A0ED; }
163
+
164
+ #proposal {
165
+ border-bottom: solid 3px #39A0ED; }
166
+
167
+ #working-draft-band {
168
+ background-color: #2D7393; }
169
+
170
+ #working-draft {
171
+ border-bottom: solid 3px #2D7393; }
172
+
173
+ #committee-draft-band {
174
+ background-color: #2A6B7C; }
175
+
176
+ #committee-draft {
177
+ border-bottom: solid 3px #2A6B7C; }
178
+
179
+ #draft-standard-band {
180
+ background-color: #1C7F7A; }
181
+
182
+ #draft-standard {
183
+ border-bottom: solid 3px #1C7F7A; }
184
+
185
+ #final-draft-band {
186
+ background-color: #53C170; }
187
+
188
+ #final-draft {
189
+ border-bottom: solid 3px #53C170; }
190
+
191
+ #published-band {
192
+ background-color: #069E2D; }
193
+
194
+ #published {
195
+ border-bottom: solid 3px #069E2D; }
196
+
197
+ #withdrawn-band {
198
+ background-color: #004E64; }
199
+
200
+ #withdrawn {
201
+ border-bottom: solid 3px #004E64; }
202
+
203
+ #cancelled-band {
204
+ background-color: #2E382E; }
205
+
206
+ #cancelled {
207
+ border-bottom: solid 3px #2E382E; }
File without changes
File without changes
File without changes
@@ -0,0 +1,34 @@
1
+ div.table_container {
2
+ margin-bottom: 14pt; }
3
+
4
+ ol {
5
+ margin-bottom: 0cm; }
6
+
7
+ ul {
8
+ margin-bottom: 0cm; }
9
+
10
+ table.MsoISOTable tr {
11
+ page-break-inside: avoid; }
12
+
13
+ td {
14
+ page-break-inside: avoid; }
15
+
16
+ tr {
17
+ page-break-after: avoid; }
18
+
19
+ span.stem {
20
+ font-family: "Cambria Math",serif;
21
+ mso-ascii-font-family: "Cambria Math";
22
+ font-style: italic; }
23
+
24
+ dt {
25
+ page-break-inside: avoid;
26
+ page-break-after: avoid; }
27
+
28
+ br.section {
29
+ page-break-before: always;
30
+ mso-break-type: section-break; }
31
+
32
+ br.pagebreak {
33
+ page-break-before: always;
34
+ mso-special-character: line-break; }
File without changes
@@ -0,0 +1,105 @@
1
+ html, body, div, span, applet, object, iframe,
2
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
+ a, abbr, acronym, address, big, cite, code,
4
+ del, dfn, em, img, ins, kbd, q, s, samp,
5
+ small, strike, strong, sub, sup, tt, var,
6
+ b, u, i, center,
7
+ ol, ul, li,
8
+ fieldset, form, label, legend,
9
+ table, caption, tbody, tfoot, thead, tr, th, td,
10
+ article, aside, canvas, details, embed,
11
+ figure, figcaption, footer, header, hgroup,
12
+ menu, nav, output, ruby, section, summary,
13
+ time, mark, audio, video {
14
+ margin: 0;
15
+ padding: 0; }
16
+
17
+ html, body, div, span, applet, object, iframe,
18
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
19
+ a, abbr, acronym, address, big, cite, code,
20
+ del, dfn, em, img, ins, kbd, q, s, samp,
21
+ small, strike, strong, sub, sup, tt, var,
22
+ b, u, i, center,
23
+ dl, dt, dd, ol, ul, li,
24
+ fieldset, form, label, legend,
25
+ table, caption, tbody, tfoot, thead, tr, th, td,
26
+ article, aside, canvas, details, embed,
27
+ figure, figcaption, footer, header, hgroup,
28
+ menu, nav, output, ruby, section, summary,
29
+ time, mark, audio, video {
30
+ border: 0;
31
+ font-size: 100%; }
32
+
33
+ html, body, div, span, applet, object, iframe,
34
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
35
+ a, abbr, acronym, address, big, cite, code,
36
+ del, dfn, em, img, ins, kbd, q, s, samp,
37
+ small, strike, strong, tt, var,
38
+ b, u, i, center,
39
+ dl, dd, ol, ul, li,
40
+ fieldset, form, label, legend,
41
+ table, caption, tbody, tfoot, thead, tr, th, td,
42
+ article, aside, canvas, details, embed,
43
+ figure, figcaption, footer, header, hgroup,
44
+ menu, nav, output, ruby, section, summary,
45
+ time, mark, audio, video {
46
+ vertical-align: baseline; }
47
+
48
+ html, body, div, span, applet, object, iframe,
49
+ p, blockquote,
50
+ a, abbr, acronym, address, big, cite,
51
+ del, dfn, em, img, ins, q, s,
52
+ small, strike, strong, sub, sup, var,
53
+ b, u, i, center,
54
+ dl, dt, dd, ol, ul, li,
55
+ fieldset, form, label, legend,
56
+ table, caption, tbody, tfoot, thead, tr, th, td,
57
+ article, aside, canvas, details, embed,
58
+ figure, figcaption, footer, header, hgroup,
59
+ menu, nav, output, ruby, section, summary,
60
+ time, mark, audio, video {
61
+ font-family: {{bodyfont}}; }
62
+
63
+ code, pre, tt, kbd, samp {
64
+ font-family: {{monospacefont}};
65
+ font-variant-ligatures: none; }
66
+
67
+ code *, pre *, tt *, kbd *, samp * {
68
+ font-family: {{monospacefont}} !important;
69
+ font-variant-ligatures: none; }
70
+
71
+ article, aside, details, figcaption, figure,
72
+ footer, header, hgroup, menu, nav, section {
73
+ display: block; }
74
+
75
+ table {
76
+ border-collapse: collapse;
77
+ border-spacing: 0; }
78
+
79
+ h1, h2, h3, h4, h5, h6 {
80
+ font-family: {{headerfont}}; }
81
+
82
+ blockquote, q {
83
+ quotes: none; }
84
+ blockquote:before, blockquote:after, q:before, q:after {
85
+ content: '';
86
+ content: none; }
87
+
88
+ .h2Annex {
89
+ font-family: {{headerfont}}; }
90
+
91
+ dl {
92
+ display: grid;
93
+ grid-template-columns: max-content auto; }
94
+ dl dt p, dl dd p {
95
+ margin-top: 0; }
96
+ dl dt {
97
+ grid-column-start: 1; }
98
+ dl dd {
99
+ grid-column-start: 2; }
100
+
101
+ b, strong {
102
+ font-weight: bold; }
103
+
104
+ div.document-stage-band, div.document-type-band {
105
+ background-color: #333333; }
File without changes
@@ -16,8 +16,7 @@ module IsoDoc
16
16
  puts(current_task)
17
17
  compile_scss_task(current_task)
18
18
  rescue StandardError => e
19
- puts(e.message)
20
- puts("skiping #{current_task}")
19
+ puts(e.message, "skiping #{current_task}")
21
20
  end
22
21
  end
23
22
 
@@ -34,20 +33,27 @@ module IsoDoc
34
33
  process_css_files(scss_files) do |file_name|
35
34
  uncomment_out_liquid(File.read(file_name, encoding: 'UTF-8'))
36
35
  end
37
- CLEAN.each do |css_file|
38
- sh "git add #{css_file}"
39
- end
40
- puts('Built scss!')
36
+ git_cache_compiled_files && puts('Built scss!')
41
37
  end
42
38
 
43
39
  Rake::Task['build'].enhance [:build_scss] do
44
- CLEAN.each do |css_file|
45
- sh "git rm --cached #{css_file}"
46
- end
40
+ git_rm_compiled_files
47
41
  Rake::Task[:clean].invoke
48
42
  end
49
43
  end
50
44
 
45
+ def git_cache_compiled_files
46
+ CLEAN.each do |css_file|
47
+ sh "git add #{css_file}"
48
+ end
49
+ end
50
+
51
+ def git_rm_compiled_files
52
+ CLEAN.each do |css_file|
53
+ sh "git rm --cached #{css_file}"
54
+ end
55
+ end
56
+
51
57
  def process_css_files(scss_files)
52
58
  scss_files.each do |file_name|
53
59
  result = yield(file_name)
@@ -85,7 +91,8 @@ module IsoDoc
85
91
 
86
92
  def compile_scss(filename)
87
93
  require 'sassc'
88
- [File.join(Gem.loaded_specs['isodoc'].full_gem_path, 'lib', 'isodoc'),
94
+
95
+ [File.join('lib', 'isodoc'),
89
96
  File.dirname(filename)].each do |name|
90
97
  SassC.load_paths << name
91
98
  end
@@ -1,3 +1,3 @@
1
1
  module IsoDoc
2
- VERSION = "1.1.3-alpha".freeze
2
+ VERSION = "1.1.3-alpha2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3.pre.alpha
4
+ version: 1.1.3.pre.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -306,14 +306,22 @@ files:
306
306
  - lib/isodoc-yaml/i18n-fr.yaml
307
307
  - lib/isodoc-yaml/i18n-zh-Hans.yaml
308
308
  - lib/isodoc.rb
309
+ - lib/isodoc/base_style/all.css
309
310
  - lib/isodoc/base_style/all.scss
310
311
  - lib/isodoc/base_style/bands.scss
312
+ - lib/isodoc/base_style/blocks.css
311
313
  - lib/isodoc/base_style/blocks.scss
314
+ - lib/isodoc/base_style/coverpage.css
312
315
  - lib/isodoc/base_style/coverpage.scss
316
+ - lib/isodoc/base_style/defaults.css
313
317
  - lib/isodoc/base_style/defaults.scss
318
+ - lib/isodoc/base_style/metanorma_word.css
314
319
  - lib/isodoc/base_style/metanorma_word.scss
320
+ - lib/isodoc/base_style/nav.css
315
321
  - lib/isodoc/base_style/nav.scss
322
+ - lib/isodoc/base_style/reset.css
316
323
  - lib/isodoc/base_style/reset.scss
324
+ - lib/isodoc/base_style/typography.css
317
325
  - lib/isodoc/base_style/typography.scss
318
326
  - lib/isodoc/class_utils.rb
319
327
  - lib/isodoc/common.rb