@fiduswriter/frontend 0.1.31 → 0.1.32
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/admin.css +23 -0
- package/css/colors.css +60 -0
- package/css/document_overview.css +15 -0
- package/css/document_template_admin.css +34 -0
- package/css/errorlist.css +14 -0
- package/css/feedback.css +136 -0
- package/css/figure.css +88 -0
- package/css/flatpage.css +44 -0
- package/css/fonts.css +398 -0
- package/css/forms.css +309 -0
- package/css/header_menu.css +114 -0
- package/css/inline_tools.css +84 -0
- package/css/prelogin.css +173 -0
- package/css/reset.css +175 -0
- package/css/show_profile.css +94 -0
- package/css/text.css +38 -0
- package/css/two_factor.css +247 -0
- package/css/user_template_manager.css +18 -0
- package/dist/css/admin.css +23 -0
- package/dist/css/bibliography/bibliography.css +180 -0
- package/dist/css/bibliography/colors.css +8 -0
- package/dist/css/bibliography/forms.css +102 -0
- package/dist/css/colors.css +60 -0
- package/dist/css/document/document.css +388 -0
- package/dist/css/document-template-editor/document_template_designer.css +198 -0
- package/dist/css/document_overview.css +15 -0
- package/dist/css/document_template_admin.css +34 -0
- package/dist/css/editor/access_rights_dialog.css +75 -0
- package/dist/css/editor/carets.css +17 -0
- package/dist/css/editor/chat.css +70 -0
- package/dist/css/editor/citation_dialog.css +71 -0
- package/dist/css/editor/colors.css +97 -0
- package/dist/css/editor/contributors.css +13 -0
- package/dist/css/editor/document.css +286 -0
- package/dist/css/editor/dot_menu.css +42 -0
- package/dist/css/editor/e2ee.css +331 -0
- package/dist/css/editor/editor.css +1484 -0
- package/dist/css/editor/footnotes.css +81 -0
- package/dist/css/editor/margin_boxes.css +514 -0
- package/dist/css/editor/merge.css +197 -0
- package/dist/css/editor/review.css +7 -0
- package/dist/css/editor/table.css +13 -0
- package/dist/css/editor/tags.css +36 -0
- package/dist/css/editor/tracking.css +63 -0
- package/dist/css/errorlist.css +14 -0
- package/dist/css/feedback.css +136 -0
- package/dist/css/figure.css +88 -0
- package/dist/css/flatpage.css +44 -0
- package/dist/css/fonts.css +398 -0
- package/dist/css/forms.css +309 -0
- package/dist/css/fwtoolkit/add_remove_dialog.css +18 -0
- package/dist/css/fwtoolkit/alerts.css +72 -0
- package/dist/css/fwtoolkit/buttons.css +373 -0
- package/dist/css/fwtoolkit/checkable_list.css +34 -0
- package/dist/css/fwtoolkit/colors.css +119 -0
- package/dist/css/fwtoolkit/common.css +196 -0
- package/dist/css/fwtoolkit/content_menu.css +105 -0
- package/dist/css/fwtoolkit/data_table.css +279 -0
- package/dist/css/fwtoolkit/dialog.css +214 -0
- package/dist/css/fwtoolkit/dialog_table.css +125 -0
- package/dist/css/fwtoolkit/drop_up.css +89 -0
- package/dist/css/fwtoolkit/faq_dialog.css +16 -0
- package/dist/css/fwtoolkit/file_selector.css +25 -0
- package/dist/css/fwtoolkit/forms.css +120 -0
- package/dist/css/fwtoolkit/fwtoolkit.css +2683 -0
- package/dist/css/fwtoolkit/inline_tools.css +84 -0
- package/dist/css/fwtoolkit/input_list.css +33 -0
- package/dist/css/fwtoolkit/loader.css +38 -0
- package/dist/css/fwtoolkit/overview_menu.css +194 -0
- package/dist/css/fwtoolkit/progress_task.css +140 -0
- package/dist/css/fwtoolkit/pulldown.css +118 -0
- package/dist/css/fwtoolkit/pulldown_menu.css +47 -0
- package/dist/css/fwtoolkit/two_pane_selector.css +51 -0
- package/dist/css/fwtoolkit/type_switch.css +81 -0
- package/dist/css/fwtoolkit/ui_tabs.css +65 -0
- package/dist/css/header_menu.css +114 -0
- package/dist/css/image-manager/dialog_usermedia.css +8 -0
- package/dist/css/inline_tools.css +84 -0
- package/dist/css/manifest.json +68 -0
- package/dist/css/prelogin.css +173 -0
- package/dist/css/reset.css +175 -0
- package/dist/css/show_profile.css +94 -0
- package/dist/css/text.css +38 -0
- package/dist/css/two_factor.css +247 -0
- package/dist/css/user_template_manager.css +18 -0
- package/dist/i18n/index.d.ts +49 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +136 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/static/fonts/document/Cardo-Bold.woff +0 -0
- package/dist/static/fonts/document/Cardo-Italic.woff +0 -0
- package/dist/static/fonts/document/Cardo-Regular.woff +0 -0
- package/dist/static/fonts/document/CrimsonText-Bold.woff +0 -0
- package/dist/static/fonts/document/CrimsonText-BoldItalic.woff +0 -0
- package/dist/static/fonts/document/CrimsonText-Italic.woff +0 -0
- package/dist/static/fonts/document/CrimsonText-Roman.woff +0 -0
- package/dist/static/fonts/document/Lobster-1.4.woff +0 -0
- package/dist/static/fonts/document/NoticiaText-Bold.woff +0 -0
- package/dist/static/fonts/document/NoticiaText-BoldItalic.woff +0 -0
- package/dist/static/fonts/document/NoticiaText-Italic.woff +0 -0
- package/dist/static/fonts/document/NoticiaText-Regular.woff +0 -0
- package/dist/static/fonts/document/OpenSans-Bold.woff +0 -0
- package/dist/static/fonts/document/OpenSans-Regular.woff +0 -0
- package/dist/static/fonts/document/SourceSansPro-Bold.woff +0 -0
- package/dist/static/fonts/lato/lato-300.woff2 +0 -0
- package/dist/static/fonts/lato/lato-400.woff2 +0 -0
- package/dist/static/fonts/lato/lato-700.woff2 +0 -0
- package/dist/static/fonts/lato/lato-900.woff2 +0 -0
- package/dist/static/fonts/lato/lato-ext-300.woff2 +0 -0
- package/dist/static/fonts/lato/lato-ext-400.woff2 +0 -0
- package/dist/static/fonts/lato/lato-ext-700.woff2 +0 -0
- package/dist/static/fonts/lato/lato-ext-900.woff2 +0 -0
- package/dist/static/fonts/lato/lato-ext-italic-400.woff2 +0 -0
- package/dist/static/fonts/lato/lato-italic-400.woff2 +0 -0
- package/dist/static/fonts/roboto/roboto-300.woff2 +0 -0
- package/dist/static/fonts/roboto/roboto-700.woff2 +0 -0
- package/dist/static/img/accept_change.avif +0 -0
- package/dist/static/img/default_avatar.avif +0 -0
- package/dist/static/img/error.avif +0 -0
- package/dist/static/img/favicon.avif +0 -0
- package/dist/static/img/fidus_face.avif +0 -0
- package/dist/static/img/free_star.avif +0 -0
- package/dist/static/img/icon_192.avif +0 -0
- package/dist/static/img/icon_512.avif +0 -0
- package/dist/static/ogg/chat_notification.ogg +0 -0
- package/dist/static/svg/icon.svg +211 -0
- package/package.json +74 -11
- package/scripts/aggregate-assets.js +260 -0
- package/scripts/compile-i18n.js +114 -0
- package/scripts/deploy-pages.sh +31 -0
- package/scripts/extract-fwtoolkit-i18n.js +230 -0
- package/scripts/extract-i18n-generic.js +278 -0
- package/scripts/split-translations.js +304 -0
- package/src/i18n/index.ts +165 -0
- package/static/fonts/lato/lato-300.woff2 +0 -0
- package/static/fonts/lato/lato-400.woff2 +0 -0
- package/static/fonts/lato/lato-700.woff2 +0 -0
- package/static/fonts/lato/lato-900.woff2 +0 -0
- package/static/fonts/lato/lato-ext-300.woff2 +0 -0
- package/static/fonts/lato/lato-ext-400.woff2 +0 -0
- package/static/fonts/lato/lato-ext-700.woff2 +0 -0
- package/static/fonts/lato/lato-ext-900.woff2 +0 -0
- package/static/fonts/lato/lato-ext-italic-400.woff2 +0 -0
- package/static/fonts/lato/lato-italic-400.woff2 +0 -0
- package/static/fonts/roboto/roboto-300.woff2 +0 -0
- package/static/fonts/roboto/roboto-700.woff2 +0 -0
- package/static/img/default_avatar.avif +0 -0
- package/static/img/error.avif +0 -0
- package/static/img/favicon.avif +0 -0
- package/static/img/fidus_face.avif +0 -0
- package/static/img/free_star.avif +0 -0
- package/static/img/icon_192.avif +0 -0
- package/static/img/icon_512.avif +0 -0
- package/static/svg/icon.svg +211 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
/* document.css — base styles for Fidus Writer HTML/EPUB exports */
|
|
2
|
+
|
|
3
|
+
/* ── Reset & base ──────────────────────────────────────────────────────────── */
|
|
4
|
+
|
|
5
|
+
body.doc {
|
|
6
|
+
font-family: Georgia, "Times New Roman", serif;
|
|
7
|
+
font-size: 1rem;
|
|
8
|
+
line-height: 1.7;
|
|
9
|
+
color: #1a1a1a;
|
|
10
|
+
background: #fff;
|
|
11
|
+
max-width: 52rem;
|
|
12
|
+
margin: 2rem auto;
|
|
13
|
+
padding: 0 1.5rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* ── Document-part containers ──────────────────────────────────────────────── */
|
|
17
|
+
|
|
18
|
+
.doc-part {
|
|
19
|
+
margin-bottom: 1.5rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.doc-title {
|
|
23
|
+
margin-bottom: 0.5rem;
|
|
24
|
+
font-size: 2rem;
|
|
25
|
+
font-weight: bold;
|
|
26
|
+
line-height: 1.2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* ── Headings ──────────────────────────────────────────────────────────────── */
|
|
30
|
+
|
|
31
|
+
h1, h2, h3, h4, h5, h6 {
|
|
32
|
+
font-family: Georgia, "Times New Roman", serif;
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
line-height: 1.25;
|
|
35
|
+
margin: 1.5em 0 0.5em;
|
|
36
|
+
color: #111;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h1 { font-size: 1.75rem; }
|
|
40
|
+
h2 { font-size: 1.5rem; }
|
|
41
|
+
h3 { font-size: 1.25rem; }
|
|
42
|
+
h4 { font-size: 1.1rem; }
|
|
43
|
+
h5 { font-size: 1rem; }
|
|
44
|
+
h6 { font-size: 0.9rem; }
|
|
45
|
+
|
|
46
|
+
/* ── Paragraphs ────────────────────────────────────────────────────────────── */
|
|
47
|
+
|
|
48
|
+
p {
|
|
49
|
+
margin: 0 0 0.9em;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* ── Inline marks ──────────────────────────────────────────────────────────── */
|
|
53
|
+
|
|
54
|
+
.underline {
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
sup, sub {
|
|
59
|
+
font-size: 0.75em;
|
|
60
|
+
line-height: 0;
|
|
61
|
+
position: relative;
|
|
62
|
+
vertical-align: baseline;
|
|
63
|
+
}
|
|
64
|
+
sup { top: -0.5em; }
|
|
65
|
+
sub { bottom: -0.25em; }
|
|
66
|
+
|
|
67
|
+
code {
|
|
68
|
+
font-family: "Courier New", Courier, monospace;
|
|
69
|
+
font-size: 0.88em;
|
|
70
|
+
background: #f4f4f4;
|
|
71
|
+
padding: 0.1em 0.3em;
|
|
72
|
+
border-radius: 3px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* ── Blockquote ────────────────────────────────────────────────────────────── */
|
|
76
|
+
|
|
77
|
+
blockquote {
|
|
78
|
+
margin: 1em 0 1em 2em;
|
|
79
|
+
padding-left: 1em;
|
|
80
|
+
border-left: 3px solid #ccc;
|
|
81
|
+
color: #444;
|
|
82
|
+
font-style: italic;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* ── Lists ─────────────────────────────────────────────────────────────────── */
|
|
86
|
+
|
|
87
|
+
ol, ul {
|
|
88
|
+
margin: 0.5em 0 1em 2em;
|
|
89
|
+
padding: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
li {
|
|
93
|
+
margin-bottom: 0.25em;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* ── Links ─────────────────────────────────────────────────────────────────── */
|
|
97
|
+
|
|
98
|
+
a {
|
|
99
|
+
color: #1a5fb4;
|
|
100
|
+
text-decoration: underline;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
a.reference {
|
|
104
|
+
color: inherit;
|
|
105
|
+
text-decoration: none;
|
|
106
|
+
border-bottom: 1px dotted #888;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.anchor {
|
|
110
|
+
/* Invisible inline anchor for cross-references. */
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* ── Equations ─────────────────────────────────────────────────────────────── */
|
|
114
|
+
|
|
115
|
+
span.equation {
|
|
116
|
+
display: inline-block;
|
|
117
|
+
vertical-align: middle;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
div.figure-equation {
|
|
121
|
+
text-align: center;
|
|
122
|
+
margin: 1em 0;
|
|
123
|
+
overflow-x: auto;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* ── Code blocks ───────────────────────────────────────────────────────────── */
|
|
127
|
+
|
|
128
|
+
pre {
|
|
129
|
+
font-family: "Courier New", Courier, monospace;
|
|
130
|
+
font-size: 0.88em;
|
|
131
|
+
background: #f4f4f4;
|
|
132
|
+
border: 1px solid #e0e0e0;
|
|
133
|
+
border-radius: 4px;
|
|
134
|
+
padding: 0.9em 1.1em;
|
|
135
|
+
overflow-x: auto;
|
|
136
|
+
margin: 1em 0;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
pre code {
|
|
140
|
+
background: none;
|
|
141
|
+
padding: 0;
|
|
142
|
+
border-radius: 0;
|
|
143
|
+
font-size: inherit;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
figure.code-block-figure {
|
|
147
|
+
margin: 1.5em 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
figure.code-block-figure figcaption {
|
|
151
|
+
font-size: 0.85em;
|
|
152
|
+
color: #555;
|
|
153
|
+
margin-bottom: 0.4em;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* ── Figures and images ────────────────────────────────────────────────────── */
|
|
157
|
+
|
|
158
|
+
figure {
|
|
159
|
+
margin: 1.5em 0;
|
|
160
|
+
display: block;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
figcaption {
|
|
164
|
+
font-size: 0.875em;
|
|
165
|
+
color: #555;
|
|
166
|
+
margin-top: 0.4em;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
figcaption label {
|
|
170
|
+
font-weight: bold;
|
|
171
|
+
margin-right: 0.4em;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
figure footer.copyright {
|
|
175
|
+
font-size: 0.75em;
|
|
176
|
+
color: #777;
|
|
177
|
+
margin-top: 0.3em;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
img {
|
|
181
|
+
max-width: 100%;
|
|
182
|
+
height: auto;
|
|
183
|
+
display: block;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Alignment */
|
|
187
|
+
.aligned-left { float: left; margin: 0 1.5em 1em 0; }
|
|
188
|
+
.aligned-right { float: right; margin: 0 0 1em 1.5em; }
|
|
189
|
+
.aligned-center {
|
|
190
|
+
float: none;
|
|
191
|
+
margin-left: auto;
|
|
192
|
+
margin-right: auto;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Width classes (percentage of container) */
|
|
196
|
+
.image-width-25 { width: 25%; }
|
|
197
|
+
.image-width-50 { width: 50%; }
|
|
198
|
+
.image-width-75 { width: 75%; }
|
|
199
|
+
.image-width-100 { width: 100%; }
|
|
200
|
+
|
|
201
|
+
/* Clear floats after doc-parts that contain floated images */
|
|
202
|
+
.doc-part::after {
|
|
203
|
+
content: "";
|
|
204
|
+
display: table;
|
|
205
|
+
clear: both;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* ── Tables ─────────────────────────────────────────────────────────────────── */
|
|
209
|
+
|
|
210
|
+
table {
|
|
211
|
+
border-collapse: collapse;
|
|
212
|
+
margin: 1.5em 0;
|
|
213
|
+
width: 100%;
|
|
214
|
+
font-size: 0.95em;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
caption {
|
|
218
|
+
caption-side: top;
|
|
219
|
+
text-align: left;
|
|
220
|
+
font-size: 0.875em;
|
|
221
|
+
color: #555;
|
|
222
|
+
margin-bottom: 0.5em;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
caption label {
|
|
226
|
+
font-weight: bold;
|
|
227
|
+
margin-right: 0.4em;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
th, td {
|
|
231
|
+
border: 1px solid #ccc;
|
|
232
|
+
padding: 0.45em 0.7em;
|
|
233
|
+
vertical-align: top;
|
|
234
|
+
text-align: left;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
th {
|
|
238
|
+
background: #f0f0f0;
|
|
239
|
+
font-weight: bold;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* Table width/alignment helpers */
|
|
243
|
+
.table-full { width: 100%; }
|
|
244
|
+
.table-center { margin-left: auto; margin-right: auto; }
|
|
245
|
+
.table-left { margin-right: auto; }
|
|
246
|
+
.table-right { margin-left: auto; }
|
|
247
|
+
|
|
248
|
+
/* ── Table of contents ─────────────────────────────────────────────────────── */
|
|
249
|
+
|
|
250
|
+
.table-of-contents h1 {
|
|
251
|
+
font-size: 1.2rem;
|
|
252
|
+
margin-bottom: 0.5em;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.table-of-contents h2,
|
|
256
|
+
.table-of-contents h3,
|
|
257
|
+
.table-of-contents h4,
|
|
258
|
+
.table-of-contents h5,
|
|
259
|
+
.table-of-contents h6 {
|
|
260
|
+
font-size: 1rem;
|
|
261
|
+
font-weight: normal;
|
|
262
|
+
margin: 0.2em 0 0.2em 1.5em;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.table-of-contents a {
|
|
266
|
+
text-decoration: none;
|
|
267
|
+
color: #1a5fb4;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/* ── Contributors ──────────────────────────────────────────────────────────── */
|
|
271
|
+
|
|
272
|
+
.doc-contributors {
|
|
273
|
+
font-size: 0.95rem;
|
|
274
|
+
margin-bottom: 1rem;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.doc-contributors .person,
|
|
278
|
+
.doc-contributors .group {
|
|
279
|
+
display: inline-block;
|
|
280
|
+
margin-right: 0.75em;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.doc-contributors .name {
|
|
284
|
+
font-weight: bold;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.doc-contributors .affiliation {
|
|
288
|
+
vertical-align: super;
|
|
289
|
+
font-size: 0.75em;
|
|
290
|
+
color: #1a5fb4;
|
|
291
|
+
text-decoration: none;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.doc-contributors .contributor-id {
|
|
295
|
+
font-size: 0.8em;
|
|
296
|
+
color: #555;
|
|
297
|
+
margin-left: 0.3em;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* ── Tags ───────────────────────────────────────────────────────────────────── */
|
|
301
|
+
|
|
302
|
+
.doc-tags {
|
|
303
|
+
margin-bottom: 1rem;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.tag {
|
|
307
|
+
display: inline-block;
|
|
308
|
+
background: #e8e8e8;
|
|
309
|
+
border-radius: 3px;
|
|
310
|
+
padding: 0.1em 0.5em;
|
|
311
|
+
margin: 0.2em 0.25em;
|
|
312
|
+
font-size: 0.85em;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* ── Back matter ────────────────────────────────────────────────────────────── */
|
|
316
|
+
|
|
317
|
+
#back {
|
|
318
|
+
margin-top: 3rem;
|
|
319
|
+
border-top: 1px solid #ccc;
|
|
320
|
+
padding-top: 1.5rem;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* Affiliations */
|
|
324
|
+
section.affiliations {
|
|
325
|
+
margin-bottom: 1.5rem;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
aside.affiliation {
|
|
329
|
+
display: flex;
|
|
330
|
+
gap: 0.4em;
|
|
331
|
+
font-size: 0.88em;
|
|
332
|
+
margin-bottom: 0.3em;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
aside.affiliation label {
|
|
336
|
+
font-weight: bold;
|
|
337
|
+
flex-shrink: 0;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/* Footnotes */
|
|
341
|
+
section.footnotes {
|
|
342
|
+
margin-top: 1.5rem;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
a.footnote {
|
|
346
|
+
vertical-align: super;
|
|
347
|
+
font-size: 0.75em;
|
|
348
|
+
line-height: 0;
|
|
349
|
+
text-decoration: none;
|
|
350
|
+
color: #1a5fb4;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
aside.footnote {
|
|
354
|
+
display: flex;
|
|
355
|
+
gap: 0.5em;
|
|
356
|
+
font-size: 0.875em;
|
|
357
|
+
margin-bottom: 0.6em;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
aside.footnote label {
|
|
361
|
+
font-weight: bold;
|
|
362
|
+
flex-shrink: 0;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
aside.footnote p {
|
|
366
|
+
margin: 0;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/* References / bibliography */
|
|
370
|
+
.references {
|
|
371
|
+
margin-top: 1.5rem;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.references p,
|
|
375
|
+
.csl-entry {
|
|
376
|
+
padding-left: 2em;
|
|
377
|
+
text-indent: -2em;
|
|
378
|
+
margin-bottom: 0.5em;
|
|
379
|
+
font-size: 0.95em;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/* ── Separator ──────────────────────────────────────────────────────────────── */
|
|
383
|
+
|
|
384
|
+
hr.doc-separator {
|
|
385
|
+
border: none;
|
|
386
|
+
border-top: 1px solid #ccc;
|
|
387
|
+
margin: 2rem 0;
|
|
388
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
table td {
|
|
2
|
+
vertical-align: top;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.label {
|
|
6
|
+
padding: 5px 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.from-container,
|
|
10
|
+
.to-column,
|
|
11
|
+
.trash {
|
|
12
|
+
border: 1px solid var(--cs-white-border);
|
|
13
|
+
background-color: var(--cs-white-background);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.to-container {
|
|
17
|
+
min-height: 500px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.to-column .smooth-dnd-draggable-wrapper {
|
|
21
|
+
overflow: visible !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.to-column {
|
|
25
|
+
width: 650px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.to-column .doc-part table td {
|
|
29
|
+
border: 1px solid var(--cs-white-border);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.from-container {
|
|
33
|
+
width: 150px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.trash {
|
|
37
|
+
background-color: var(--cs-dark-background);
|
|
38
|
+
width: 100px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.doc-part-block {
|
|
42
|
+
background-color: var(--part-neutral-background-color);
|
|
43
|
+
border-bottom: 3px dotted var(--part-neutral-border-color);
|
|
44
|
+
padding: 4px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.doc-part-block[data-type="heading_part"] {
|
|
48
|
+
background-color: var(--part-heading-background-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.doc-part-block[data-type="contributors_part"] {
|
|
52
|
+
background-color: var(--part-contributors-background-color);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.doc-part-block[data-type="richtext_part"] {
|
|
56
|
+
background-color: var(--part-richtext-background-color);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.doc-part[data-type="tags_part"] {
|
|
60
|
+
background-color: var(--part-tags-background-color);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.doc-part-block[data-type="table_part"] {
|
|
64
|
+
background-color: var(--part-table-background-color);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.doc-part-block[data-type="table_of_contents"] {
|
|
68
|
+
background-color: var(--part-toc-background-color);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.from-container .doc-part-block,
|
|
72
|
+
.trash .doc-part-block {
|
|
73
|
+
height: 50px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.from-container .attrs,
|
|
77
|
+
.from-container .object-tools,
|
|
78
|
+
.trash .attrs,
|
|
79
|
+
.trash .object-tools,
|
|
80
|
+
.from-container .doc-part-header .label,
|
|
81
|
+
.attrs.hidden {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.attrs label {
|
|
86
|
+
display: inline-block;
|
|
87
|
+
width: initial;
|
|
88
|
+
float: initial;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.doc-part-header {
|
|
92
|
+
cursor: move; /* fallback if grab cursor is unsupported */
|
|
93
|
+
cursor: grab;
|
|
94
|
+
height: 60px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.from-container .doc-part-header {
|
|
98
|
+
height: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.object-tools.right {
|
|
102
|
+
float: right;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ProseMirror {
|
|
106
|
+
background-color: var(--cs-white-background);
|
|
107
|
+
color: var(--cs-white-text);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ProseMirror-menubar {
|
|
111
|
+
background-color: inherit;
|
|
112
|
+
position: inherit;
|
|
113
|
+
min-height: 21px !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.doc-table th {
|
|
117
|
+
background-color: var(--cs-6-background);
|
|
118
|
+
color: var(--cs-6-text);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ProseMirror td.selectedCell {
|
|
122
|
+
background-color: var(--cs-2-background);
|
|
123
|
+
caret-color: transparent;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.error-element {
|
|
127
|
+
border: 3px solid var(--error-background-color);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
#template-editor .initial em,
|
|
131
|
+
#template-editor .instructions em {
|
|
132
|
+
font-style: italic;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
#template-editor .initial strong,
|
|
136
|
+
#template-editor .instructions strong {
|
|
137
|
+
font-weight: bold;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
#template-editor .initial code,
|
|
141
|
+
#template-editor .instructions code {
|
|
142
|
+
font-family: monospace;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
#template-editor .initial h1,
|
|
146
|
+
#template-editor .instructions h1 {
|
|
147
|
+
font-size: 28px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
#template-editor .initial h2,
|
|
151
|
+
#template-editor .instructions h2 {
|
|
152
|
+
font-size: 24px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
#template-editor .initial h3,
|
|
156
|
+
#template-editor .instructions h3 {
|
|
157
|
+
font-size: 20px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
#template-editor .initial h4,
|
|
161
|
+
#template-editor .instructions h4 {
|
|
162
|
+
font-size: 16px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
#template-editor .initial h5,
|
|
166
|
+
#template-editor .instructions h5 {
|
|
167
|
+
font-size: 14px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
#template-editor .initial h6,
|
|
171
|
+
#template-editor .instructions h6 {
|
|
172
|
+
font-size: 12px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
#template-editor .initial ul,
|
|
176
|
+
#template-editor .instructions ul {
|
|
177
|
+
list-style-type: disc;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
#template-editor .initial ol,
|
|
181
|
+
#template-editor .instructions ol {
|
|
182
|
+
list-style-type: decimal;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.object-tools span.link {
|
|
186
|
+
display: block;
|
|
187
|
+
cursor: pointer;
|
|
188
|
+
border-radius: 15px;
|
|
189
|
+
background-color: var(--cs-2-background);
|
|
190
|
+
color: var(--cs-2-text);
|
|
191
|
+
padding: 3px 12px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.id-types-value input[type="text"] {
|
|
195
|
+
background-color: var(--cs-white-background);
|
|
196
|
+
border: 1px solid var(--cs-white-border);
|
|
197
|
+
padding: 2px 6px;
|
|
198
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.fw-document-table td:first-child {
|
|
2
|
+
width: 40px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.fw-document-table td:last-child {
|
|
6
|
+
width: 30px;
|
|
7
|
+
text-align: center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.fw-document-table a.fw-data-table-title .doc-template-name {
|
|
11
|
+
display: block;
|
|
12
|
+
font-size: 0.8em;
|
|
13
|
+
color: var(--cs-light-text-secondary);
|
|
14
|
+
margin-top: 2px;
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* stylelint-disable csstools/value-no-unknown-custom-properties */
|
|
2
|
+
|
|
3
|
+
/* This file is used only on the admin screen and therefore contains original Django colors. */
|
|
4
|
+
|
|
5
|
+
form .aligned ul.object-tools.right {
|
|
6
|
+
margin-left: inherit;
|
|
7
|
+
height: 3em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.object-tools span.link {
|
|
11
|
+
float: left;
|
|
12
|
+
background: var(--object-tools-bg) !important;
|
|
13
|
+
color: var(--object-tools-fg) !important;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
font-size: 11px;
|
|
16
|
+
text-transform: uppercase;
|
|
17
|
+
letter-spacing: 0.5px;
|
|
18
|
+
border-radius: 15px;
|
|
19
|
+
padding: 3px 12px;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.object-tools span.link:focus,
|
|
24
|
+
.object-tools span.link:hover {
|
|
25
|
+
background-color: var(--object-tools-hover-bg);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.doc-part-block .object-tools {
|
|
29
|
+
margin-top: 0 !important;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
body {
|
|
33
|
+
overflow-y: auto !important;
|
|
34
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
#access-rights-dialog .fw-green-title {
|
|
2
|
+
margin-bottom: 25px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
#access-rights-dialog .edit-right {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* People tab: keep existing side-by-side layout */
|
|
10
|
+
#access-rights-dialog #people {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Share-link tab */
|
|
16
|
+
#access-rights-dialog #sharelink {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 8px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
#access-rights-dialog .share-token-row {
|
|
23
|
+
border: 1px solid #dddddd;
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
padding: 8px 10px;
|
|
26
|
+
margin-bottom: 6px;
|
|
27
|
+
background: #fafafa;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
#access-rights-dialog .share-token-meta {
|
|
31
|
+
margin-bottom: 5px;
|
|
32
|
+
font-size: 0.9em;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#access-rights-dialog .share-token-url-row {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 6px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
#access-rights-dialog .share-token-url-input {
|
|
42
|
+
flex: 1;
|
|
43
|
+
font-size: 0.82em;
|
|
44
|
+
padding: 3px 6px;
|
|
45
|
+
border: 1px solid #cccccc;
|
|
46
|
+
border-radius: 3px;
|
|
47
|
+
background: #ffffff;
|
|
48
|
+
color: #444444;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
#access-rights-dialog .fw-ar-loading,
|
|
55
|
+
#access-rights-dialog .fw-ar-error,
|
|
56
|
+
#access-rights-dialog .fw-ar-no-tokens {
|
|
57
|
+
color: #888888;
|
|
58
|
+
font-style: italic;
|
|
59
|
+
margin: 8px 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#access-rights-dialog .fw-ar-error {
|
|
63
|
+
color: #c0392b;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Allow overflow in create share token dialog so focus outlines aren't clipped */
|
|
67
|
+
#create-share-token-dialog.fw-dialog {
|
|
68
|
+
overflow: visible;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
#create-share-token-dialog .fw-button:focus,
|
|
72
|
+
#create-share-token-dialog .fw-button:active {
|
|
73
|
+
outline: 5px solid var(--cs-6-background-focus);
|
|
74
|
+
outline-offset: 2px;
|
|
75
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
div.caret {
|
|
2
|
+
display: inline;
|
|
3
|
+
border-style: solid;
|
|
4
|
+
border-width: 1px;
|
|
5
|
+
margin: 0 -1px;
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
div.caret-head {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: -2px;
|
|
12
|
+
left: -3px;
|
|
13
|
+
width: 2px;
|
|
14
|
+
height: 2px;
|
|
15
|
+
border-width: 2px;
|
|
16
|
+
border-style: solid;
|
|
17
|
+
}
|