@manuscripts/body-editor 1.5.1 → 1.5.2

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@manuscripts/body-editor",
3
3
  "description": "Prosemirror components for editing and viewing manuscripts",
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "repository": "github:Atypon-OpenSource/manuscripts-body-editor",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs",
@@ -26,18 +26,21 @@ Next levels are shifted 'up' by 1
26
26
  counter-reset: level_2;
27
27
  }
28
28
  .ProseMirror > section > section > .block-section_title > h1 {
29
- font-size: 16pt !important;
29
+ font-size: 15.75pt !important;
30
30
  font-style: normal !important;
31
31
  font-weight: bold !important;
32
- color: #000 !important;
32
+ color: #353535 !important;
33
33
  text-align: left;
34
34
  margin-top: 8pt !important;
35
35
  margin-bottom: 5pt !important;
36
- line-height: 1.5;
36
+ line-height: 24pt;
37
37
  text-indent: 0pt;
38
38
  display: inline;
39
39
  }
40
- .ProseMirror > section > section:not(.toc) > .block-section_title > h1::before {
40
+ .ProseMirror > section[data-category="MPSectionCategory:body"] {
41
+ counter-reset: level_1;
42
+ }
43
+ .ProseMirror > section[data-category="MPSectionCategory:body"] > section:not(.toc) > .block-section_title > h1::before {
41
44
  content: counter(level_1, decimal) '. ';
42
45
  }
43
46
 
@@ -54,14 +57,14 @@ Next levels are shifted 'up' by 1
54
57
  counter-reset: level_3;
55
58
  }
56
59
  .ProseMirror > section > section > section > .block-section_title > h1 {
57
- font-size: 14pt !important;
60
+ font-size: 13.5pt !important;
58
61
  font-style: normal !important;
59
- font-weight: bold !important;
60
- color: #000 !important;
62
+ font-weight: 700 !important;
63
+ color: #353535 !important;
61
64
  text-align: left;
62
65
  margin-top: 8pt !important;
63
66
  margin-bottom: 5pt !important;
64
- line-height: 1.5;
67
+ line-height: 24pt;
65
68
  text-indent: 0pt;
66
69
  display: inline;
67
70
  }
@@ -292,12 +295,24 @@ Next levels are shifted 'up' by 1
292
295
  counter(level_5, decimal) '.' counter(level_6, decimal) '. '
293
296
  attr(data-placeholder);
294
297
  }
298
+ [data-category="MPSectionCategory:backmatter"]::before {
299
+ content: '';
300
+ border-bottom: 1px dashed #C9C9C9;
301
+ display: block;
302
+ margin: 11pt 49pt;
303
+
304
+ }
305
+ .ProseMirror section[data-category="MPSectionCategory:backmatter"] .block-section_title > h1 {
306
+ font-size: 13.5pt !important;
307
+ color: #6E6E6E !important;
308
+ }
309
+
295
310
 
296
311
  .ProseMirror p.block {
297
312
  font-size: 12pt !important;
298
313
  font-style: normal !important;
299
314
  font-weight: normal !important;
300
- color: #000 !important;
315
+ color: #353535 !important;
301
316
  text-align: left !important;
302
317
  margin-top: 10pt !important;
303
318
  margin-bottom: 10pt !important;