@fiduswriter/frontend 0.1.31 → 0.1.33
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/locale/ar/messages.json +359 -0
- package/locale/bg/messages.json +359 -0
- package/locale/cs/messages.json +359 -0
- package/locale/da/messages.json +359 -0
- package/locale/de/messages.json +359 -0
- package/locale/en/messages.json +359 -0
- package/locale/en_US/messages.json +359 -0
- package/locale/es/messages.json +359 -0
- package/locale/fr/messages.json +359 -0
- package/locale/it/messages.json +359 -0
- package/locale/ja/messages.json +359 -0
- package/locale/ko/messages.json +359 -0
- package/locale/nb/messages.json +359 -0
- package/locale/nl/messages.json +359 -0
- package/locale/pl/messages.json +359 -0
- package/locale/pt_BR/messages.json +359 -0
- package/locale/pt_PT/messages.json +359 -0
- package/locale/ru/messages.json +359 -0
- package/locale/sv/messages.json +359 -0
- package/locale/tr/messages.json +359 -0
- package/locale/zh_Hans/messages.json +359 -0
- package/package.json +76 -12
- 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
package/css/fonts.css
ADDED
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* font awesome styles for special icons
|
|
5
|
+
*/
|
|
6
|
+
[class^="icon-"],
|
|
7
|
+
[class*=" icon-"] {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
10
|
+
font-weight: 900;
|
|
11
|
+
font-size: inherit;
|
|
12
|
+
text-rendering: auto;
|
|
13
|
+
-webkit-font-smoothing: antialiased;
|
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Used instead of .fa when only ::before is to be styled. */
|
|
18
|
+
.fa-before::before {
|
|
19
|
+
font-family: var(--fa-style-family, "Font Awesome 7 Free");
|
|
20
|
+
font-weight: var(--fa-style, 900);
|
|
21
|
+
content: var(--fa, "") / "";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@supports not (content: "" / "") {
|
|
25
|
+
.fa-before::before {
|
|
26
|
+
content: var(--fa, "");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* last list item is a plus, others are minuses */
|
|
31
|
+
.icon-addremove::before {
|
|
32
|
+
content: "\f056";
|
|
33
|
+
} /* '' */
|
|
34
|
+
.fw-list-input:last-child .fw-add-input::before {
|
|
35
|
+
content: "\f055";
|
|
36
|
+
} /* '' */
|
|
37
|
+
|
|
38
|
+
/* User rights */
|
|
39
|
+
.icon-access-write::before {
|
|
40
|
+
content: "\f303";
|
|
41
|
+
} /* '✎' */
|
|
42
|
+
.icon-access-write-tracked::before {
|
|
43
|
+
content: "\f303";
|
|
44
|
+
} /* '✎' */
|
|
45
|
+
.icon-access-read::before {
|
|
46
|
+
content: "\f06e";
|
|
47
|
+
} /* '' */
|
|
48
|
+
.icon-access-comment::before {
|
|
49
|
+
content: "\f075";
|
|
50
|
+
} /* '' */
|
|
51
|
+
|
|
52
|
+
/* Review related user rights */
|
|
53
|
+
.icon-access-read-without-comments::before {
|
|
54
|
+
content: "\f06e";
|
|
55
|
+
} /* '' */
|
|
56
|
+
.icon-access-review::before {
|
|
57
|
+
content: "\f075";
|
|
58
|
+
} /* '' */
|
|
59
|
+
.icon-access-review-tracked::before {
|
|
60
|
+
content: "\f303";
|
|
61
|
+
} /* '✎' */
|
|
62
|
+
|
|
63
|
+
.icon-access-read-without-comments::before,
|
|
64
|
+
.icon-access-review::before,
|
|
65
|
+
.icon-access-write-tracked::before {
|
|
66
|
+
background-color: var(--cs-dark-text);
|
|
67
|
+
color: var(--cs-dark-background);
|
|
68
|
+
padding: 2px;
|
|
69
|
+
border-radius: 4px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.fw-checkable.fw-checked::after,
|
|
73
|
+
tr.fw-checkable.fw-checked > td:last-child::after {
|
|
74
|
+
display: inline-block;
|
|
75
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
76
|
+
font-weight: 900;
|
|
77
|
+
font-size: inherit;
|
|
78
|
+
text-rendering: auto;
|
|
79
|
+
-webkit-font-smoothing: antialiased;
|
|
80
|
+
-moz-osx-font-smoothing: grayscale;
|
|
81
|
+
content: "\f00c";
|
|
82
|
+
position: absolute;
|
|
83
|
+
right: 12px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.editor-toolbar div.multi-buttons .multi-buttons-cover::after {
|
|
87
|
+
display: inline-block;
|
|
88
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
89
|
+
font-weight: 900;
|
|
90
|
+
font-size: inherit;
|
|
91
|
+
text-rendering: auto;
|
|
92
|
+
-webkit-font-smoothing: antialiased;
|
|
93
|
+
-moz-osx-font-smoothing: grayscale;
|
|
94
|
+
content: "\f107";
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* stylelint-disable selector-id-pattern */
|
|
98
|
+
#cite-source-table_filter label::after {
|
|
99
|
+
display: inline-block;
|
|
100
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
101
|
+
font-weight: 900;
|
|
102
|
+
font-size: inherit;
|
|
103
|
+
text-rendering: auto;
|
|
104
|
+
-webkit-font-smoothing: antialiased;
|
|
105
|
+
-moz-osx-font-smoothing: grayscale;
|
|
106
|
+
content: "\f002";
|
|
107
|
+
margin-left: -25px;
|
|
108
|
+
}
|
|
109
|
+
/* stylelint-enable selector-id-pattern */
|
|
110
|
+
|
|
111
|
+
.margin-box.fw-active::after {
|
|
112
|
+
display: block;
|
|
113
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
114
|
+
font-weight: 900;
|
|
115
|
+
font-size: inherit;
|
|
116
|
+
text-rendering: auto;
|
|
117
|
+
-webkit-font-smoothing: antialiased;
|
|
118
|
+
-moz-osx-font-smoothing: grayscale;
|
|
119
|
+
content: "\f0d9";
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.fw-nav-item.active-menu-wrapper::after {
|
|
123
|
+
display: block;
|
|
124
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
125
|
+
font-weight: 900;
|
|
126
|
+
font-size: inherit;
|
|
127
|
+
text-rendering: auto;
|
|
128
|
+
-webkit-font-smoothing: antialiased;
|
|
129
|
+
-moz-osx-font-smoothing: grayscale;
|
|
130
|
+
content: "\f0d7";
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.fw-icon-close::before,
|
|
134
|
+
.fw-icon-help::before {
|
|
135
|
+
display: inline-block;
|
|
136
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
137
|
+
font-weight: 900;
|
|
138
|
+
font-size: inherit;
|
|
139
|
+
text-rendering: auto;
|
|
140
|
+
-webkit-font-smoothing: antialiased;
|
|
141
|
+
-moz-osx-font-smoothing: grayscale;
|
|
142
|
+
content: "\f057";
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.fw-add-button::after {
|
|
146
|
+
display: inline-block;
|
|
147
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
148
|
+
font-weight: 900;
|
|
149
|
+
font-size: inherit;
|
|
150
|
+
text-rendering: auto;
|
|
151
|
+
-webkit-font-smoothing: antialiased;
|
|
152
|
+
-moz-osx-font-smoothing: grayscale;
|
|
153
|
+
content: "\f055";
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.datatable-pagination-list button,
|
|
157
|
+
table.fw-datatable-table th button {
|
|
158
|
+
color: inherit;
|
|
159
|
+
border: 0;
|
|
160
|
+
background-color: inherit;
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
text-align: inherit;
|
|
163
|
+
font-weight: inherit;
|
|
164
|
+
font-size: inherit;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
table.fw-datatable-table thead th button::after {
|
|
168
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
169
|
+
font-weight: 900;
|
|
170
|
+
font-size: 80%;
|
|
171
|
+
text-rendering: auto;
|
|
172
|
+
-webkit-font-smoothing: antialiased;
|
|
173
|
+
-moz-osx-font-smoothing: grayscale;
|
|
174
|
+
margin-left: 8px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
table.fw-datatable-table
|
|
178
|
+
thead
|
|
179
|
+
th[data-sortable]:not([data-sortable="false"])
|
|
180
|
+
button::after {
|
|
181
|
+
content: "\f0dc";
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
table.fw-datatable-table
|
|
185
|
+
thead
|
|
186
|
+
th[data-sortable]:not([data-sortable="false"]).asc
|
|
187
|
+
button::after {
|
|
188
|
+
content: "\f0de";
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
table.fw-datatable-table
|
|
192
|
+
thead
|
|
193
|
+
th[data-sortable]:not([data-sortable="false"]).desc
|
|
194
|
+
button::after {
|
|
195
|
+
content: "\f0dd";
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.fw-data-table-body tr.fw-checked td.checkable::after {
|
|
199
|
+
display: inline-block;
|
|
200
|
+
font-family: "Font Awesome 7 Free", monospace;
|
|
201
|
+
font-weight: 900;
|
|
202
|
+
font-size: inherit;
|
|
203
|
+
text-rendering: auto;
|
|
204
|
+
-webkit-font-smoothing: antialiased;
|
|
205
|
+
-moz-osx-font-smoothing: grayscale;
|
|
206
|
+
content: "\f00c";
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/*
|
|
210
|
+
* styles for Lato
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
/* latin-ext */
|
|
214
|
+
@font-face {
|
|
215
|
+
font-family: Lato;
|
|
216
|
+
font-style: italic;
|
|
217
|
+
font-weight: 400;
|
|
218
|
+
src:
|
|
219
|
+
local("Lato Italic"),
|
|
220
|
+
local("Lato-Italic"),
|
|
221
|
+
url("../static/fonts/lato/lato-ext-italic-400.woff2") format("woff2");
|
|
222
|
+
unicode-range:
|
|
223
|
+
U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
|
|
224
|
+
U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* latin */
|
|
228
|
+
@font-face {
|
|
229
|
+
font-family: Lato;
|
|
230
|
+
font-style: italic;
|
|
231
|
+
font-weight: 400;
|
|
232
|
+
src:
|
|
233
|
+
local("Lato Italic"),
|
|
234
|
+
local("Lato-Italic"),
|
|
235
|
+
url("../static/fonts/lato/lato-italic-400.woff2") format("woff2");
|
|
236
|
+
unicode-range:
|
|
237
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
238
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
239
|
+
U+FEFF, U+FFFD;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* latin-ext */
|
|
243
|
+
@font-face {
|
|
244
|
+
font-family: Lato;
|
|
245
|
+
font-style: normal;
|
|
246
|
+
font-weight: 300;
|
|
247
|
+
src:
|
|
248
|
+
local("Lato Light"),
|
|
249
|
+
local("Lato-Light"),
|
|
250
|
+
url("../static/fonts/lato/lato-ext-300.woff2") format("woff2");
|
|
251
|
+
unicode-range:
|
|
252
|
+
U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
|
|
253
|
+
U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* latin */
|
|
257
|
+
@font-face {
|
|
258
|
+
font-family: Lato;
|
|
259
|
+
font-style: normal;
|
|
260
|
+
font-weight: 300;
|
|
261
|
+
src:
|
|
262
|
+
local("Lato Light"),
|
|
263
|
+
local("Lato-Light"),
|
|
264
|
+
url("../static/fonts/lato/lato-300.woff2") format("woff2");
|
|
265
|
+
unicode-range:
|
|
266
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
267
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
268
|
+
U+FEFF, U+FFFD;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* latin-ext */
|
|
272
|
+
@font-face {
|
|
273
|
+
font-family: Lato;
|
|
274
|
+
font-style: normal;
|
|
275
|
+
font-weight: 400;
|
|
276
|
+
src:
|
|
277
|
+
local("Lato Regular"),
|
|
278
|
+
local("Lato-Regular"),
|
|
279
|
+
url("../static/fonts/lato/lato-ext-400.woff2") format("woff2");
|
|
280
|
+
unicode-range:
|
|
281
|
+
U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
|
|
282
|
+
U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/* latin */
|
|
286
|
+
@font-face {
|
|
287
|
+
font-family: Lato;
|
|
288
|
+
font-style: normal;
|
|
289
|
+
font-weight: 400;
|
|
290
|
+
src:
|
|
291
|
+
local("Lato Regular"),
|
|
292
|
+
local("Lato-Regular"),
|
|
293
|
+
url("../static/fonts/lato/lato-400.woff2") format("woff2");
|
|
294
|
+
unicode-range:
|
|
295
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
296
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
297
|
+
U+FEFF, U+FFFD;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* latin-ext */
|
|
301
|
+
@font-face {
|
|
302
|
+
font-family: Lato;
|
|
303
|
+
font-style: normal;
|
|
304
|
+
font-weight: 700;
|
|
305
|
+
src:
|
|
306
|
+
local("Lato Bold"),
|
|
307
|
+
local("Lato-Bold"),
|
|
308
|
+
url("../static/fonts/lato/lato-ext-700.woff2") format("woff2");
|
|
309
|
+
unicode-range:
|
|
310
|
+
U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
|
|
311
|
+
U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/* latin */
|
|
315
|
+
@font-face {
|
|
316
|
+
font-family: Lato;
|
|
317
|
+
font-style: normal;
|
|
318
|
+
font-weight: 700;
|
|
319
|
+
src:
|
|
320
|
+
local("Lato Bold"),
|
|
321
|
+
local("Lato-Bold"),
|
|
322
|
+
url("../static/fonts/lato/lato-700.woff2") format("woff2");
|
|
323
|
+
unicode-range:
|
|
324
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
325
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
326
|
+
U+FEFF, U+FFFD;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/* latin-ext */
|
|
330
|
+
@font-face {
|
|
331
|
+
font-family: Lato;
|
|
332
|
+
font-style: normal;
|
|
333
|
+
font-weight: 900;
|
|
334
|
+
src:
|
|
335
|
+
local("Lato Black"),
|
|
336
|
+
local("Lato-Black"),
|
|
337
|
+
url("../static/fonts/lato/lato-ext-900.woff2") format("woff2");
|
|
338
|
+
unicode-range:
|
|
339
|
+
U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF,
|
|
340
|
+
U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
/* latin */
|
|
344
|
+
@font-face {
|
|
345
|
+
font-family: Lato;
|
|
346
|
+
font-style: normal;
|
|
347
|
+
font-weight: 900;
|
|
348
|
+
src:
|
|
349
|
+
local("Lato Black"),
|
|
350
|
+
local("Lato-Black"),
|
|
351
|
+
url("../static/fonts/lato/lato-900.woff2") format("woff2");
|
|
352
|
+
unicode-range:
|
|
353
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
354
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
355
|
+
U+FEFF, U+FFFD;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@font-face {
|
|
359
|
+
font-family: Roboto;
|
|
360
|
+
font-style: normal;
|
|
361
|
+
font-weight: 300;
|
|
362
|
+
src:
|
|
363
|
+
local("Roboto Light"),
|
|
364
|
+
local("Roboto-Light"),
|
|
365
|
+
url("../static/fonts/roboto/roboto-300.woff2") format("woff2");
|
|
366
|
+
unicode-range:
|
|
367
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
368
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
369
|
+
U+FEFF, U+FFFD;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@font-face {
|
|
373
|
+
font-family: Roboto;
|
|
374
|
+
font-style: normal;
|
|
375
|
+
font-weight: 700;
|
|
376
|
+
src:
|
|
377
|
+
local("Roboto Bold"),
|
|
378
|
+
local("Roboto-Bold"),
|
|
379
|
+
url("../static/fonts/roboto/roboto-700.woff2") format("woff2");
|
|
380
|
+
unicode-range:
|
|
381
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
382
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
383
|
+
U+FEFF, U+FFFD;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
@font-face {
|
|
387
|
+
font-family: Roboto;
|
|
388
|
+
font-style: normal;
|
|
389
|
+
font-weight: 700;
|
|
390
|
+
src:
|
|
391
|
+
local("Roboto Bold"),
|
|
392
|
+
local("Roboto-Bold"),
|
|
393
|
+
url("../static/fonts/roboto/roboto-700.woff2") format("woff2");
|
|
394
|
+
unicode-range:
|
|
395
|
+
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
|
|
396
|
+
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
|
397
|
+
U+FEFF, U+FFFD;
|
|
398
|
+
}
|
package/css/forms.css
ADDED
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPA-wide form overrides — load after fwtoolkit/css/forms.css.
|
|
3
|
+
* Does NOT duplicate fwtoolkit's base form rules; only adds or overrides
|
|
4
|
+
* rules used by the Fidus Writer application shell.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* -----------------------------------------------------------------
|
|
8
|
+
* Override: remove fwtoolkit's default border-bottom on form inputs
|
|
9
|
+
* ----------------------------------------------------------------- */
|
|
10
|
+
input[type="text"]:not(.fw-inline),
|
|
11
|
+
input[type="password"]:not(.fw-inline),
|
|
12
|
+
input[type="search"]:not(.fw-inline),
|
|
13
|
+
input[type="email"]:not(.fw-inline),
|
|
14
|
+
input[type="number"]:not(.fw-inline),
|
|
15
|
+
textarea {
|
|
16
|
+
border-bottom: 0 none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* -----------------------------------------------------------------
|
|
20
|
+
* Category form — narrow inline input next to an add button
|
|
21
|
+
* ----------------------------------------------------------------- */
|
|
22
|
+
input[type="text"].category-form {
|
|
23
|
+
width: calc(100% - 38px);
|
|
24
|
+
display: inline-block;
|
|
25
|
+
vertical-align: middle;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* -----------------------------------------------------------------
|
|
29
|
+
* Focus states — extend fwtoolkit's with :focus-within support
|
|
30
|
+
* ----------------------------------------------------------------- */
|
|
31
|
+
input[type="text"]:focus,
|
|
32
|
+
input[type="number"]:focus,
|
|
33
|
+
input[type="password"]:focus,
|
|
34
|
+
input[type="search"]:focus,
|
|
35
|
+
input[type="email"]:focus,
|
|
36
|
+
div.fw-input:focus-within,
|
|
37
|
+
textarea:focus {
|
|
38
|
+
background-color: var(--input-focus-background-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* -----------------------------------------------------------------
|
|
42
|
+
* Select containers
|
|
43
|
+
* ----------------------------------------------------------------- */
|
|
44
|
+
.fw-select-container select {
|
|
45
|
+
display: inline-block;
|
|
46
|
+
width: calc(100% - 22px);
|
|
47
|
+
appearance: none;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.fw-select-container select option.fw-placeholder {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fw-select-container {
|
|
56
|
+
margin-bottom: 18px;
|
|
57
|
+
position: relative;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.fw-select-container .fw-select-arrow {
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 14px;
|
|
63
|
+
right: 16px;
|
|
64
|
+
pointer-events: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* -----------------------------------------------------------------
|
|
68
|
+
* Entry field widths (ProseMirror inputs, selects)
|
|
69
|
+
* ----------------------------------------------------------------- */
|
|
70
|
+
.fw-entry-field .ProseMirror,
|
|
71
|
+
.fw-entry-field input[type="text"],
|
|
72
|
+
.fw-entry-field input[type="number"] {
|
|
73
|
+
width: 686px;
|
|
74
|
+
max-width: 80vw;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.fw-entry-field select {
|
|
78
|
+
padding: 0 3px 0 13px;
|
|
79
|
+
border: 0 none;
|
|
80
|
+
color: var(--cs-light-text);
|
|
81
|
+
background-color: var(--input-background-color);
|
|
82
|
+
height: 38px;
|
|
83
|
+
width: 561px;
|
|
84
|
+
appearance: none;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
display: inline-block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.fw-entry-field select.fw-large {
|
|
90
|
+
width: 664px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* -----------------------------------------------------------------
|
|
94
|
+
* Form label
|
|
95
|
+
* ----------------------------------------------------------------- */
|
|
96
|
+
.form-label {
|
|
97
|
+
font-size: 11px;
|
|
98
|
+
font-weight: bold;
|
|
99
|
+
margin-bottom: 5px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* -----------------------------------------------------------------
|
|
103
|
+
* Name input fields (first name / last name pairs)
|
|
104
|
+
* ----------------------------------------------------------------- */
|
|
105
|
+
.fw-name-input {
|
|
106
|
+
width: 226px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.fw-name-input.fw-first {
|
|
110
|
+
margin-right: 23px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* -----------------------------------------------------------------
|
|
114
|
+
* Checkable table rows (app-specific positioning; base styles in
|
|
115
|
+
* fwtoolkit/css/checkable_list.css)
|
|
116
|
+
* ----------------------------------------------------------------- */
|
|
117
|
+
.fw-checkable-td,
|
|
118
|
+
.fw-checkable > td {
|
|
119
|
+
position: relative;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.fw-checkable-td.fw-checked::after,
|
|
123
|
+
tr.fw-checkable.fw-checked > td:last-child::after {
|
|
124
|
+
top: 17px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* -----------------------------------------------------------------
|
|
128
|
+
* Addable input list
|
|
129
|
+
* ----------------------------------------------------------------- */
|
|
130
|
+
.fw-add-input {
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
margin-left: 14px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.fw-add-input::before {
|
|
136
|
+
width: 0.7em;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.fw-list-input {
|
|
140
|
+
margin-top: 7px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.fw-list-input:first-child {
|
|
144
|
+
margin-top: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* -----------------------------------------------------------------
|
|
148
|
+
* Form error
|
|
149
|
+
* ----------------------------------------------------------------- */
|
|
150
|
+
.fw-fomt-error {
|
|
151
|
+
color: #ff0000;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* -----------------------------------------------------------------
|
|
155
|
+
* AJAX file uploader
|
|
156
|
+
* ----------------------------------------------------------------- */
|
|
157
|
+
.ajax-upload input[type="file"] {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.ajax-upload-label {
|
|
162
|
+
margin-left: 10px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* -----------------------------------------------------------------
|
|
166
|
+
* Checkbox inside a fw-button
|
|
167
|
+
* ----------------------------------------------------------------- */
|
|
168
|
+
.fw-button input[type="checkbox"] {
|
|
169
|
+
margin-right: 3px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* -----------------------------------------------------------------
|
|
173
|
+
* Radio buttons
|
|
174
|
+
* ----------------------------------------------------------------- */
|
|
175
|
+
.fw-radio input[type="radio"] {
|
|
176
|
+
display: inline-block;
|
|
177
|
+
width: 40px;
|
|
178
|
+
margin-bottom: 20px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* -----------------------------------------------------------------
|
|
182
|
+
* Type-switch field-part sizing overrides
|
|
183
|
+
* (Base type-switch styles are in fwtoolkit/css/type_switch.css)
|
|
184
|
+
* ----------------------------------------------------------------- */
|
|
185
|
+
.fw-type-switch-input-inner .field-part {
|
|
186
|
+
display: inline-block;
|
|
187
|
+
margin-right: 5px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fw-type-switch-input-inner .field-part:last-child {
|
|
191
|
+
margin-right: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.field-part-short .ProseMirror {
|
|
195
|
+
width: 64px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.fw-type-switch-input-inner .field-part-huge input,
|
|
199
|
+
.fw-type-switch-input-inner .field-part-huge .ProseMirror {
|
|
200
|
+
width: 250px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.fw-type-switch-input-inner .field-part-long input,
|
|
204
|
+
.fw-type-switch-input-inner .field-part-long .ProseMirror {
|
|
205
|
+
width: 130px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.fw-type-switch-input-inner .field-part-single {
|
|
209
|
+
width: 100% !important;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.fw-type-switch-input-inner .field-part-single .ProseMirror {
|
|
213
|
+
width: 100%;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* -----------------------------------------------------------------
|
|
217
|
+
* Dialog table header cell sizing
|
|
218
|
+
* ----------------------------------------------------------------- */
|
|
219
|
+
.fw-dialog-table th {
|
|
220
|
+
vertical-align: top;
|
|
221
|
+
padding: 0 6px 0 8px;
|
|
222
|
+
width: 164px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/* -----------------------------------------------------------------
|
|
226
|
+
* List input wrapper — add/remove buttons
|
|
227
|
+
* ----------------------------------------------------------------- */
|
|
228
|
+
.list-input-wrapper .add-remove-list {
|
|
229
|
+
display: inline-block;
|
|
230
|
+
cursor: pointer;
|
|
231
|
+
margin-left: 14px;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.list-input-wrapper .add-remove-list::before {
|
|
235
|
+
content: "\2796";
|
|
236
|
+
width: 0.7em;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.list-input-wrapper:last-child .add-remove-list::before {
|
|
240
|
+
content: "\2795";
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/* -----------------------------------------------------------------
|
|
244
|
+
* Responsive breakpoints
|
|
245
|
+
* ----------------------------------------------------------------- */
|
|
246
|
+
@media screen and (width <= 740px) {
|
|
247
|
+
.fw-entry-field .ProseMirror,
|
|
248
|
+
.fw-entry-field input[type="text"],
|
|
249
|
+
.fw-entry-field input[type="number"] {
|
|
250
|
+
max-width: 70vw;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.fw-type-switch-input-wrapper {
|
|
254
|
+
max-width: 70vw;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.tokenfield {
|
|
258
|
+
max-width: 70vw;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@media screen and (width <= 560px) {
|
|
263
|
+
.fw-entry-field .ProseMirror,
|
|
264
|
+
.fw-entry-field input[type="text"],
|
|
265
|
+
.fw-entry-field input[type="number"] {
|
|
266
|
+
max-width: 50vw;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.fw-type-switch-input-wrapper {
|
|
270
|
+
max-width: 50vw;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.tokenfield {
|
|
274
|
+
max-width: 50vw;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.fw-type-switch {
|
|
278
|
+
display: block;
|
|
279
|
+
margin-bottom: 5px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.fw-type-switch-input-inner {
|
|
283
|
+
width: auto;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
@media screen and (width <= 460px) {
|
|
288
|
+
.fw-entry-field .ProseMirror,
|
|
289
|
+
.fw-entry-field input[type="text"],
|
|
290
|
+
.fw-entry-field input[type="number"] {
|
|
291
|
+
max-width: 40vw;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.fw-type-switch-input-wrapper {
|
|
295
|
+
max-width: 40vw;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.tokenfield {
|
|
299
|
+
max-width: 40vw;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.fw-dialog-table th {
|
|
303
|
+
width: 140px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.fw-tabs-panel {
|
|
307
|
+
overflow-x: hidden;
|
|
308
|
+
}
|
|
309
|
+
}
|