@fiduswriter/editor 0.1.52 → 0.1.54
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/css/access_rights_dialog.css +75 -0
- package/css/carets.css +17 -0
- package/css/chat.css +70 -0
- package/css/citation_dialog.css +71 -0
- package/css/colors.css +97 -0
- package/css/contributors.css +13 -0
- package/css/document.css +286 -0
- package/css/dot_menu.css +42 -0
- package/css/e2ee.css +331 -0
- package/css/editor.css +1484 -0
- package/css/footnotes.css +81 -0
- package/css/margin_boxes.css +514 -0
- package/css/merge.css +197 -0
- package/css/review.css +7 -0
- package/css/table.css +13 -0
- package/css/tags.css +36 -0
- package/css/tracking.css +63 -0
- package/locale/ar/messages.json +558 -0
- package/locale/bg/messages.json +558 -0
- package/locale/cs/messages.json +558 -0
- package/locale/da/messages.json +558 -0
- package/locale/de/messages.json +558 -0
- package/locale/en/messages.json +558 -0
- package/locale/en_US/messages.json +558 -0
- package/locale/es/messages.json +558 -0
- package/locale/fr/messages.json +558 -0
- package/locale/it/messages.json +558 -0
- package/locale/ja/messages.json +558 -0
- package/locale/ko/messages.json +558 -0
- package/locale/nb/messages.json +558 -0
- package/locale/nl/messages.json +558 -0
- package/locale/pl/messages.json +558 -0
- package/locale/pt_BR/messages.json +558 -0
- package/locale/pt_PT/messages.json +558 -0
- package/locale/ru/messages.json +558 -0
- package/locale/sv/messages.json +558 -0
- package/locale/tr/messages.json +558 -0
- package/locale/zh_Hans/messages.json +558 -0
- package/package.json +57 -10
- package/static/fonts/document/Cardo-Bold.woff +0 -0
- package/static/fonts/document/Cardo-Italic.woff +0 -0
- package/static/fonts/document/Cardo-Regular.woff +0 -0
- package/static/fonts/document/CrimsonText-Bold.woff +0 -0
- package/static/fonts/document/CrimsonText-BoldItalic.woff +0 -0
- package/static/fonts/document/CrimsonText-Italic.woff +0 -0
- package/static/fonts/document/CrimsonText-Roman.woff +0 -0
- package/static/fonts/document/Lobster-1.4.woff +0 -0
- package/static/fonts/document/NoticiaText-Bold.woff +0 -0
- package/static/fonts/document/NoticiaText-BoldItalic.woff +0 -0
- package/static/fonts/document/NoticiaText-Italic.woff +0 -0
- package/static/fonts/document/NoticiaText-Regular.woff +0 -0
- package/static/fonts/document/OpenSans-Bold.woff +0 -0
- package/static/fonts/document/OpenSans-Regular.woff +0 -0
- package/static/fonts/document/SourceSansPro-Bold.woff +0 -0
- package/static/img/accept_change.avif +0 -0
- package/static/img/fidus_face.avif +0 -0
- package/static/ogg/chat_notification.ogg +0 -0
package/css/merge.css
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/* Styles for showing diff changes */
|
|
2
|
+
span[data-diff="offline-inserted"],
|
|
3
|
+
span[data-diff="online-inserted"] {
|
|
4
|
+
background-color: lightgreen;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.selected-dec {
|
|
8
|
+
background: yellow !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.offline-inserted,
|
|
12
|
+
.online-inserted {
|
|
13
|
+
background: #e1f5e1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
span.offline-deleted,
|
|
17
|
+
span.online-deleted {
|
|
18
|
+
text-decoration: line-through;
|
|
19
|
+
text-decoration-color: red;
|
|
20
|
+
background: #efc8c8;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.offline-deleted,
|
|
24
|
+
.online-deleted {
|
|
25
|
+
background: #efc8c8;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
hr.online-inserted,
|
|
29
|
+
hr.offline-inserted {
|
|
30
|
+
border: 3px solid lightgreen;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
hr.online-deleted,
|
|
34
|
+
hr.offline-deleted {
|
|
35
|
+
border: 3px solid lightcoral;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
hr.selected-dec {
|
|
39
|
+
background: yellow !important;
|
|
40
|
+
border: 3px solid yellow;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Styles for the dialog box */
|
|
44
|
+
.offline-heading,
|
|
45
|
+
.merged-heading,
|
|
46
|
+
.online-heading {
|
|
47
|
+
width: 33%;
|
|
48
|
+
padding: 15px;
|
|
49
|
+
text-align: center;
|
|
50
|
+
font-weight: bold;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.merged-view {
|
|
54
|
+
border: 2px solid black;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#editor-diff-offline,
|
|
58
|
+
#editor-diff-common,
|
|
59
|
+
#editor-diff-online {
|
|
60
|
+
width: 33%;
|
|
61
|
+
counter-reset: prosemirror-footnote cat-figure cat-equation cat-photo
|
|
62
|
+
cat-table;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#editor-merge-view figure figcaption span.label::after,
|
|
66
|
+
#editor-merge-view table[data-category="table"] caption span.label::after {
|
|
67
|
+
content: none !important;
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Footnote Node View Related CSS */
|
|
72
|
+
span.footnote-change {
|
|
73
|
+
background: rgb(140 191 250);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
div.footnote-view {
|
|
77
|
+
display: inline-block;
|
|
78
|
+
position: relative;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
div.footnote-view::after {
|
|
83
|
+
content: counter(prosemirror-footnote);
|
|
84
|
+
vertical-align: super;
|
|
85
|
+
font-size: 75%;
|
|
86
|
+
counter-increment: prosemirror-footnote;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ProseMirror-hideselection .footnote-tooltip *::selection {
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.footnote-tooltip {
|
|
94
|
+
cursor: auto;
|
|
95
|
+
position: absolute;
|
|
96
|
+
left: -30px;
|
|
97
|
+
top: calc(100% + 10px);
|
|
98
|
+
background: rgb(140 191 250);
|
|
99
|
+
padding: 3px;
|
|
100
|
+
border-radius: 2px;
|
|
101
|
+
width: auto;
|
|
102
|
+
min-width: 250px;
|
|
103
|
+
z-index: 100;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.footnote-tooltip.render-arrow::before {
|
|
107
|
+
border: 5px solid silver;
|
|
108
|
+
border-top-width: 0;
|
|
109
|
+
border-left-color: transparent;
|
|
110
|
+
border-right-color: transparent;
|
|
111
|
+
position: absolute;
|
|
112
|
+
top: -5px;
|
|
113
|
+
left: 27px;
|
|
114
|
+
content: " ";
|
|
115
|
+
height: 0;
|
|
116
|
+
width: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
div.footnote-view div.footnote-tooltip p {
|
|
120
|
+
margin-bottom: 0 !important;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.footnote-tooltip .footnote-container {
|
|
124
|
+
margin-top: 0 !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* Citation Related CSS */
|
|
128
|
+
#editor-diff-offline .citation,
|
|
129
|
+
#editor-diff-common .citation,
|
|
130
|
+
#editor-diff-online .citation {
|
|
131
|
+
background-color: lightgray;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#editor-diff-offline .offline-inserted .citation,
|
|
135
|
+
#editor-diff-online .online-inserted .citation {
|
|
136
|
+
padding-left: 5px;
|
|
137
|
+
background-color: lightgreen;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
#editor-diff-common .citation::before,
|
|
141
|
+
#editor-diff-offline .citation::before,
|
|
142
|
+
#editor-diff-online .citation::before {
|
|
143
|
+
content: "\f02d";
|
|
144
|
+
font-family: FontAwesome; /* stylelint-disable-line */
|
|
145
|
+
font-style: normal;
|
|
146
|
+
font-weight: normal;
|
|
147
|
+
text-decoration: inherit;
|
|
148
|
+
color: #000000;
|
|
149
|
+
font-size: 18px;
|
|
150
|
+
padding-left: 5px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
#editor-diff .online-deleted .citation,
|
|
154
|
+
#editor-diff .offline-deleted .citation {
|
|
155
|
+
padding-left: 5px;
|
|
156
|
+
background-color: lightcoral;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Help Related CSS */
|
|
160
|
+
|
|
161
|
+
.merge-img {
|
|
162
|
+
padding: 5px;
|
|
163
|
+
float: none;
|
|
164
|
+
display: block;
|
|
165
|
+
margin: 5px auto;
|
|
166
|
+
align-content: center;
|
|
167
|
+
border: 1px solid black;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* For making span elements look like anchor tags */
|
|
171
|
+
span[href] {
|
|
172
|
+
color: var(--cs-1-text);
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
outline: none;
|
|
175
|
+
text-decoration: underline;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* For link tooltip in merge window */
|
|
179
|
+
.link-drop-up-inner {
|
|
180
|
+
position: relative;
|
|
181
|
+
z-index: 1;
|
|
182
|
+
left: 10px;
|
|
183
|
+
padding: 10px;
|
|
184
|
+
background-color: var(--cs-dark-background);
|
|
185
|
+
color: var(--cs-dark-text);
|
|
186
|
+
font-family: Lato, sans-serif;
|
|
187
|
+
font-size: 13px;
|
|
188
|
+
font-weight: 400;
|
|
189
|
+
line-height: 18px;
|
|
190
|
+
letter-spacing: 0.13px;
|
|
191
|
+
cursor: auto;
|
|
192
|
+
border-radius: 5px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.link-drop-up-outer {
|
|
196
|
+
position: absolute;
|
|
197
|
+
}
|
package/css/review.css
ADDED
package/css/table.css
ADDED
package/css/tags.css
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* Tags */
|
|
2
|
+
|
|
3
|
+
.tag-input {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
min-width: 200px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.tag-input input {
|
|
9
|
+
border: 0;
|
|
10
|
+
background-color: white;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.tag-input input:focus {
|
|
14
|
+
background-color: white;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.tag-input .ProseMirror:focus {
|
|
18
|
+
outline-width: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.tags-inner br,
|
|
22
|
+
.contributors-inner br {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.tag {
|
|
27
|
+
margin-right: 5px;
|
|
28
|
+
margin-bottom: 5px;
|
|
29
|
+
padding: 0 5px;
|
|
30
|
+
border-radius: 3px;
|
|
31
|
+
line-height: 2em;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
color: var(--cs-6-text);
|
|
34
|
+
background: var(--cs-6-background);
|
|
35
|
+
border: 1px solid var(--cs-6-border);
|
|
36
|
+
}
|
package/css/tracking.css
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
span.deletion {
|
|
2
|
+
text-decoration: line-through;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.selected-insertion,
|
|
6
|
+
.selected-deletion,
|
|
7
|
+
.selected-format_change,
|
|
8
|
+
.selected-block_change {
|
|
9
|
+
background-color: var(--editor-active-track-background-color);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.tag.selected-insertion,
|
|
13
|
+
.contributor.selected-insertion,
|
|
14
|
+
.tag.selected-deletion,
|
|
15
|
+
.contributor.selected-deletion {
|
|
16
|
+
background-color: var(--editor-active-track-background-color);
|
|
17
|
+
color: var(--cs-white-text);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.margin-box.track > div {
|
|
21
|
+
padding: 10px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.margin-box .track-title {
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.margin-box .format-change-info {
|
|
29
|
+
margin-bottom: 9px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.margin-box .format-change-info b {
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-track] {
|
|
37
|
+
position: relative;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-track]::before {
|
|
41
|
+
content: "";
|
|
42
|
+
position: absolute;
|
|
43
|
+
border-left: 1px solid black;
|
|
44
|
+
left: -10px;
|
|
45
|
+
height: 22px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
li[data-track]::before {
|
|
49
|
+
content: inherit;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
li[data-track]::before,
|
|
53
|
+
li [data-track]::before {
|
|
54
|
+
left: -5px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.track-ctas {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.track.fw-active .track-ctas {
|
|
62
|
+
display: block;
|
|
63
|
+
}
|