@fiduswriter/frontend 0.1.30 → 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/documents/importer/native/import.js +3 -3
- package/dist/documents/importer/native/import.js.map +1 -1
- 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/documents/importer/native/import.ts +3 -3
- 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,247 @@
|
|
|
1
|
+
/* Two-Factor Authentication Styles */
|
|
2
|
+
|
|
3
|
+
/* QR Code Container */
|
|
4
|
+
.two-factor-qr-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
margin: 20px 0;
|
|
9
|
+
padding: 20px;
|
|
10
|
+
background-color: #ffffff;
|
|
11
|
+
border: 1px solid #dddddd;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.two-factor-qr-container img {
|
|
16
|
+
max-width: 200px;
|
|
17
|
+
height: auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Secret Key Display */
|
|
21
|
+
.two-factor-secret {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
padding: 10px 15px;
|
|
24
|
+
background-color: #f5f5f5;
|
|
25
|
+
border: 1px solid #cccccc;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
font-family: "Courier New", Courier, monospace;
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
letter-spacing: 1px;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
transition: background-color 0.3s ease;
|
|
33
|
+
user-select: text;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.two-factor-secret:hover {
|
|
37
|
+
background-color: #e8e8e8;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Two-Factor Verification Section */
|
|
41
|
+
.two-factor-verify-section {
|
|
42
|
+
margin-top: 25px;
|
|
43
|
+
padding-top: 25px;
|
|
44
|
+
border-top: 1px solid #eeeeee;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.two-factor-verify-section p {
|
|
48
|
+
margin-bottom: 15px;
|
|
49
|
+
color: #666666;
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.two-factor-verify-section input[type="text"] {
|
|
54
|
+
width: 200px;
|
|
55
|
+
padding: 12px 15px;
|
|
56
|
+
font-size: 18px;
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
letter-spacing: 2px;
|
|
59
|
+
text-align: center;
|
|
60
|
+
border: 2px solid #dddddd;
|
|
61
|
+
border-radius: 6px;
|
|
62
|
+
margin-right: 10px;
|
|
63
|
+
transition: border-color 0.3s ease;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.two-factor-verify-section input[type="text"]:focus {
|
|
67
|
+
border-color: #4a90e2;
|
|
68
|
+
outline: none;
|
|
69
|
+
box-shadow: 0 0 0 3px rgb(74 144 226 / 10%);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.two-factor-verify-section button {
|
|
73
|
+
padding: 12px 25px;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
font-weight: bold;
|
|
76
|
+
text-transform: uppercase;
|
|
77
|
+
border: none;
|
|
78
|
+
border-radius: 6px;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
transition:
|
|
81
|
+
background-color 0.3s ease,
|
|
82
|
+
transform 0.1s ease;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.two-factor-verify-section button:active {
|
|
86
|
+
transform: scale(0.98);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Two-Factor Status Indicators */
|
|
90
|
+
#two-factor-status {
|
|
91
|
+
display: inline-block;
|
|
92
|
+
padding: 8px 15px;
|
|
93
|
+
border-radius: 20px;
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
font-weight: 600;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
#two-factor-enabled-status {
|
|
99
|
+
color: #28a745;
|
|
100
|
+
background-color: rgb(40 167 69 / 10%);
|
|
101
|
+
padding: 5px 12px;
|
|
102
|
+
border-radius: 15px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
#two-factor-enabled-status i {
|
|
106
|
+
margin-right: 5px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
#two-factor-disabled-status {
|
|
110
|
+
color: #dc3545;
|
|
111
|
+
background-color: rgb(220 53 69 / 10%);
|
|
112
|
+
padding: 5px 12px;
|
|
113
|
+
border-radius: 15px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
#two-factor-disabled-status i {
|
|
117
|
+
margin-right: 5px;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Two-Factor Action Buttons */
|
|
121
|
+
#setup-two-factor,
|
|
122
|
+
#disable-two-factor {
|
|
123
|
+
display: inline-block;
|
|
124
|
+
margin-left: 15px;
|
|
125
|
+
padding: 6px 12px;
|
|
126
|
+
font-size: 12px;
|
|
127
|
+
color: #4a90e2;
|
|
128
|
+
cursor: pointer;
|
|
129
|
+
transition: color 0.3s ease;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
#setup-two-factor i,
|
|
133
|
+
#disable-two-factor i {
|
|
134
|
+
margin-right: 5px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
#disable-two-factor {
|
|
138
|
+
color: #dc3545;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
#setup-two-factor:hover,
|
|
142
|
+
#disable-two-factor:hover {
|
|
143
|
+
color: #357abd;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
#disable-two-factor:hover {
|
|
147
|
+
color: #c82333;
|
|
148
|
+
} /* Two-Factor Dialog Styles */
|
|
149
|
+
.two-factor-dialog {
|
|
150
|
+
max-width: 500px;
|
|
151
|
+
padding: 30px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.two-factor-dialog h3 {
|
|
155
|
+
margin-top: 0;
|
|
156
|
+
margin-bottom: 20px;
|
|
157
|
+
color: #333333;
|
|
158
|
+
font-size: 24px;
|
|
159
|
+
text-align: center;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.two-factor-dialog p {
|
|
163
|
+
color: #666666;
|
|
164
|
+
line-height: 1.6;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.two-factor-dialog .fw-button {
|
|
168
|
+
margin-top: 15px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Attempts Warning */
|
|
172
|
+
.attempts-warning {
|
|
173
|
+
margin-top: 15px;
|
|
174
|
+
padding: 10px;
|
|
175
|
+
background-color: #fff3cd;
|
|
176
|
+
border: 1px solid #ffeaa7;
|
|
177
|
+
border-radius: 4px;
|
|
178
|
+
color: #856404;
|
|
179
|
+
font-size: 13px;
|
|
180
|
+
text-align: center;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/* Responsive Design */
|
|
184
|
+
@media (width <= 768px) {
|
|
185
|
+
.two-factor-qr-container img {
|
|
186
|
+
max-width: 150px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.two-factor-verify-section input[type="text"] {
|
|
190
|
+
width: 100%;
|
|
191
|
+
margin-bottom: 10px;
|
|
192
|
+
margin-right: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.two-factor-verify-section button {
|
|
196
|
+
width: 100%;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.two-factor-dialog {
|
|
200
|
+
padding: 20px;
|
|
201
|
+
margin: 10px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* Loading Spinner */
|
|
206
|
+
.two-factor-loading {
|
|
207
|
+
display: inline-block;
|
|
208
|
+
width: 20px;
|
|
209
|
+
height: 20px;
|
|
210
|
+
border: 3px solid rgb(255 255 255 / 30%);
|
|
211
|
+
border-top-color: #ffffff;
|
|
212
|
+
border-radius: 50%;
|
|
213
|
+
animation: spin 1s linear infinite;
|
|
214
|
+
margin-right: 10px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@keyframes spin {
|
|
218
|
+
to {
|
|
219
|
+
transform: rotate(360deg);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* Success/Error Messages */
|
|
224
|
+
.two-factor-success {
|
|
225
|
+
color: #28a745;
|
|
226
|
+
background-color: rgb(40 167 69 / 10%);
|
|
227
|
+
padding: 10px 15px;
|
|
228
|
+
border-radius: 4px;
|
|
229
|
+
margin-top: 15px;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.two-factor-error {
|
|
233
|
+
color: #dc3545;
|
|
234
|
+
background-color: rgb(220 53 69 / 10%);
|
|
235
|
+
padding: 10px 15px;
|
|
236
|
+
border-radius: 4px;
|
|
237
|
+
margin-top: 15px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/* Copy to Clipboard Hint */
|
|
241
|
+
.two-factor-secret::after {
|
|
242
|
+
content: " (click to copy)";
|
|
243
|
+
font-size: 11px;
|
|
244
|
+
font-weight: normal;
|
|
245
|
+
color: #999999;
|
|
246
|
+
margin-left: 5px;
|
|
247
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.bibliography-header-value input[type="text"],
|
|
2
|
+
.id-types-value input[type="text"] {
|
|
3
|
+
margin: 10px;
|
|
4
|
+
background-color: var(--cs-white-background);
|
|
5
|
+
border: 1px solid var(--cs-white-border);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.bibliography-header-value table.fw-small {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#template-editor table.title-id input[type="text"] {
|
|
13
|
+
margin-bottom: 4px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.fw-contents.template-editor-wrapper {
|
|
17
|
+
margin-bottom: 80px;
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* uses standard Django colors */
|
|
2
|
+
|
|
3
|
+
.fw-link-text {
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
color: #b73717;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.fw-link-text:hover {
|
|
9
|
+
color: #2c2723;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.fw-button {
|
|
13
|
+
background: #79aec8;
|
|
14
|
+
padding: 10px 15px;
|
|
15
|
+
border: none;
|
|
16
|
+
border-radius: 4px;
|
|
17
|
+
color: #ffffff;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
vertical-align: middle;
|
|
20
|
+
font-family: Roboto, "Lucida Grande", Verdana, Arial, sans-serif;
|
|
21
|
+
font-weight: normal;
|
|
22
|
+
font-size: 13px;
|
|
23
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
#bib-dialog .fw-tabs-panel {
|
|
2
|
+
min-height: 0;
|
|
3
|
+
height: calc(100vh - 278px);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
div.literal,
|
|
7
|
+
pre.long-literal {
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
font-size: 14px;
|
|
10
|
+
line-height: 1.33em;
|
|
11
|
+
box-shadow: none;
|
|
12
|
+
border-radius: 0;
|
|
13
|
+
padding: 11px 10px 0;
|
|
14
|
+
min-height: 38px;
|
|
15
|
+
color: var(--cs-light-text);
|
|
16
|
+
background-color: var(--input-background-color);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
pre.long-literal {
|
|
20
|
+
min-height: 112px;
|
|
21
|
+
height: auto;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
div.literal strong,
|
|
25
|
+
pre.long-literal strong {
|
|
26
|
+
font-weight: bold;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
div.literal em,
|
|
30
|
+
pre.long-literal em {
|
|
31
|
+
font-style: italic;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#bib-dialog .ProseMirror-focused div.literal,
|
|
35
|
+
#bib-dialog .ProseMirror-focused pre.long-literal {
|
|
36
|
+
background-color: var(--input-focus-background-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
#bib-dialog .fw-pulldown.fw-center {
|
|
40
|
+
left: 10px;
|
|
41
|
+
top: 40px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
#bib-dialog .date-form input {
|
|
45
|
+
width: 66px;
|
|
46
|
+
margin-right: 1px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#bib-dialog .date-form .separator {
|
|
50
|
+
display: inline-block;
|
|
51
|
+
width: 15px;
|
|
52
|
+
text-align: center;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
#bib-dialog td .dk-selected,
|
|
56
|
+
#bib-dialog td .dk-select-options {
|
|
57
|
+
width: 486px !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#bib-dialog th .dk-selected,
|
|
61
|
+
#bib-dialog th .dk-select-options {
|
|
62
|
+
width: 140px !important;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#bib-dialog sup {
|
|
66
|
+
vertical-align: super;
|
|
67
|
+
font-size: smaller;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#bib-dialog sub {
|
|
71
|
+
vertical-align: sub;
|
|
72
|
+
font-size: smaller;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
#bib-dialog .smallcaps {
|
|
76
|
+
font-variant: small-caps;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
#bib-dialog .nocase {
|
|
80
|
+
text-decoration: underline;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.checkable-label {
|
|
84
|
+
width: 462px;
|
|
85
|
+
height: 36px;
|
|
86
|
+
border: solid 1px var(--cs-white-border);
|
|
87
|
+
line-height: 36px;
|
|
88
|
+
background-color: var(--cs-white-background);
|
|
89
|
+
padding: 0 12px;
|
|
90
|
+
font-size: 13px;
|
|
91
|
+
margin-bottom: 10px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#source-type-selection {
|
|
95
|
+
position: relative;
|
|
96
|
+
display: block;
|
|
97
|
+
z-index: 2;
|
|
98
|
+
margin-bottom: 18px;
|
|
99
|
+
margin-right: 49px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
#source-type-selection .fw-pulldown > ul {
|
|
103
|
+
max-height: 230px;
|
|
104
|
+
overflow: scroll;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
#selected-source-type-title {
|
|
108
|
+
display: inline-block;
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
#source-type-selection .icon-down-dir {
|
|
114
|
+
position: absolute;
|
|
115
|
+
right: 10px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
#edit-categories {
|
|
119
|
+
width: 369px !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
#edit-categories input[type="text"] {
|
|
123
|
+
width: 310px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* api search */
|
|
127
|
+
|
|
128
|
+
#bibimport-api-search button.api-import {
|
|
129
|
+
float: left;
|
|
130
|
+
margin-right: 10px;
|
|
131
|
+
margin-bottom: 10px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#bibimport-api-search div.item {
|
|
135
|
+
margin-bottom: 10px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
#bibimport-api-search h3 {
|
|
139
|
+
font-weight: 700;
|
|
140
|
+
margin: 10px 0 10px 20px;
|
|
141
|
+
font-size: 1.1em;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
#bibimport-api-search .bibimport-search-result,
|
|
145
|
+
#bibimport-api-search div.item {
|
|
146
|
+
clear: left;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
Modal header
|
|
151
|
+
*/
|
|
152
|
+
.bib-dialog-header .fw-select-container {
|
|
153
|
+
display: inline-block;
|
|
154
|
+
vertical-align: middle;
|
|
155
|
+
margin: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.entry-key-input-container {
|
|
159
|
+
display: inline-block;
|
|
160
|
+
vertical-align: middle;
|
|
161
|
+
margin-left: 10px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
#entry-key {
|
|
165
|
+
width: 200px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.entry-key-warning {
|
|
169
|
+
color: var(--cs-1-text);
|
|
170
|
+
font-size: 0.85em;
|
|
171
|
+
margin-top: 2px;
|
|
172
|
+
min-height: 1em;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.fw-data-table-title .bib-entry-key {
|
|
176
|
+
display: block;
|
|
177
|
+
font-size: 0.8em;
|
|
178
|
+
color: var(--cs-light-text-secondary);
|
|
179
|
+
margin-top: 2px;
|
|
180
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Bibliography-manager-specific form overrides — load after
|
|
3
|
+
* fwtoolkit/css/forms.css and @fiduswriter/frontend/css/forms.css.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* -----------------------------------------------------------------
|
|
7
|
+
* Upload image input
|
|
8
|
+
* ----------------------------------------------------------------- */
|
|
9
|
+
#uploadimage input.entry-form,
|
|
10
|
+
#uploadimage input.fw-input {
|
|
11
|
+
width: 486px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* -----------------------------------------------------------------
|
|
15
|
+
* Bibliography entry field error state
|
|
16
|
+
* ----------------------------------------------------------------- */
|
|
17
|
+
.fw-entry-field.fw-fomt-error input[type="text"],
|
|
18
|
+
.fw-entry-field.fw-fomt-error input[type="number"] {
|
|
19
|
+
background-color: var(--input-error-background-color);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.fw-entry-field input[type="checkbox"] {
|
|
23
|
+
margin-top: 12px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.fw-entry-field .selection-list {
|
|
27
|
+
position: relative;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fw-entry-field .fw-type-switch-input-inner select {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fw-entry-field .fw-select-arrow {
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 14px;
|
|
37
|
+
right: 16px;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* -----------------------------------------------------------------
|
|
42
|
+
* Tokenfield — bibliography category / keyword input
|
|
43
|
+
* ----------------------------------------------------------------- */
|
|
44
|
+
.tokenfield {
|
|
45
|
+
width: 686px;
|
|
46
|
+
position: relative;
|
|
47
|
+
max-width: 80vw;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tokenfield::before,
|
|
51
|
+
.tokenfield::after {
|
|
52
|
+
content: " ";
|
|
53
|
+
display: table;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.tokenfield::after {
|
|
57
|
+
clear: both;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.tokenfield.tokenfield-mode-tokens {
|
|
61
|
+
display: block;
|
|
62
|
+
position: relative;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
line-height: 1.4286;
|
|
65
|
+
color: var(--tokenfield-color);
|
|
66
|
+
background-color: var(--cs-light-background-hover);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.tokenfield-set {
|
|
70
|
+
position: relative;
|
|
71
|
+
padding: 0 10px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tokenfield .tokenfield-set > ul {
|
|
75
|
+
margin: 0;
|
|
76
|
+
padding: 0;
|
|
77
|
+
list-style-type: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.tokenfield .tokenfield-set > ul > li {
|
|
81
|
+
display: inline-block;
|
|
82
|
+
margin: 8px 5px 0 0;
|
|
83
|
+
padding: 0 5px;
|
|
84
|
+
border-radius: 3px;
|
|
85
|
+
line-height: 1.5;
|
|
86
|
+
cursor: pointer;
|
|
87
|
+
color: var(--cs-6-text);
|
|
88
|
+
background: var(--cs-6-background);
|
|
89
|
+
border: 1px solid var(--cs-6-border);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.tokenfield .tokenfield-set > ul > li:last-child {
|
|
93
|
+
margin-bottom: 8px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.tokenfield .tokenfield-set > ul > li a {
|
|
97
|
+
color: var(--cs-6-text);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.tokenfield .tokenfield-input {
|
|
101
|
+
outline: none;
|
|
102
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SPA-wide custom properties — load after fwtoolkit/css/colors.css.
|
|
3
|
+
* Does NOT duplicate fwtoolkit's base custom properties; only adds
|
|
4
|
+
* variables used by the Fidus Writer application shell.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
/* -----------------------------------------------------------------
|
|
9
|
+
* High contrast mode
|
|
10
|
+
* ----------------------------------------------------------------- */
|
|
11
|
+
--highcontrast-overlay-color: 255 255 255 / 0.8;
|
|
12
|
+
--highcontrast-background-color: #ffffff;
|
|
13
|
+
--highcontrast-border-color: #e0e0e0;
|
|
14
|
+
|
|
15
|
+
/* -----------------------------------------------------------------
|
|
16
|
+
* Navigation (header menu)
|
|
17
|
+
* ----------------------------------------------------------------- */
|
|
18
|
+
--nagivation-link-text-color: #dde7e3;
|
|
19
|
+
--nagivation-link-active-text-color: #ffffff;
|
|
20
|
+
|
|
21
|
+
/* -----------------------------------------------------------------
|
|
22
|
+
* Tables
|
|
23
|
+
* ----------------------------------------------------------------- */
|
|
24
|
+
--table-row-background-color: #bfedc1;
|
|
25
|
+
|
|
26
|
+
/* -----------------------------------------------------------------
|
|
27
|
+
* Additional color schemes (not present in fwtoolkit)
|
|
28
|
+
* ----------------------------------------------------------------- */
|
|
29
|
+
|
|
30
|
+
/* light green text */
|
|
31
|
+
--cs-4-text: #4c6860;
|
|
32
|
+
|
|
33
|
+
/* white on light green — extended from fwtoolkit's partial cs-5 */
|
|
34
|
+
--cs-5-text: #ffffff;
|
|
35
|
+
--cs-5-border: #f2f2f2;
|
|
36
|
+
--cs-5-background-hover: #97cdbe;
|
|
37
|
+
|
|
38
|
+
/* -----------------------------------------------------------------
|
|
39
|
+
* Template manager
|
|
40
|
+
* ----------------------------------------------------------------- */
|
|
41
|
+
--part-neutral-background-color: #f0f8ff;
|
|
42
|
+
--part-neutral-border-color: #000000;
|
|
43
|
+
--part-heading-background-color: #84c4fe;
|
|
44
|
+
--part-contributors-background-color: #928efe;
|
|
45
|
+
--part-richtext-background-color: #ffc87b;
|
|
46
|
+
--part-tags-background-color: #ffdf7b;
|
|
47
|
+
--part-table-background-color: #bfedc1;
|
|
48
|
+
--part-toc-background-color: #985f99;
|
|
49
|
+
|
|
50
|
+
/* -----------------------------------------------------------------
|
|
51
|
+
* Feedback tab
|
|
52
|
+
* ----------------------------------------------------------------- */
|
|
53
|
+
--feedback-tab-background-color: #4da4f1;
|
|
54
|
+
--feedback-tab-background-hover-color: #e6d180;
|
|
55
|
+
--feedback-background-color: #ecdc9e;
|
|
56
|
+
--feedback-text-color: #d3421c;
|
|
57
|
+
--feedback-icon-color: #555555;
|
|
58
|
+
--feedback-icon-hover-color: #999999;
|
|
59
|
+
--feedback-icon-focus-color: #999999;
|
|
60
|
+
}
|