@cu-mkp/editioncrafter 1.1.0 → 1.2.0-beta.1

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.
Files changed (118) hide show
  1. package/dist/editioncrafter.js +20709 -18672
  2. package/dist/es/src/{action → EditionCrafter/action}/DocumentActions.js +8 -0
  3. package/dist/es/src/{action → EditionCrafter/action}/initialState/documentInitialState.js +7 -0
  4. package/dist/es/src/{component → EditionCrafter/component}/DiploMatic.js +17 -14
  5. package/dist/es/src/{component → EditionCrafter/component}/DocumentView.js +16 -6
  6. package/dist/es/src/EditionCrafter/component/Navigation.js +446 -0
  7. package/dist/es/src/{component → EditionCrafter/component}/RouteListener.js +3 -3
  8. package/dist/es/src/EditionCrafter/component/TagToolbar.jsx +57 -0
  9. package/dist/es/src/{component → EditionCrafter/component}/TranscriptionView.js +27 -7
  10. package/dist/es/src/EditionCrafter/context/TagFilter.jsx +61 -0
  11. package/dist/es/src/EditionCrafter/context/TagFilterContext.js +8 -0
  12. package/dist/es/src/EditionCrafter/icons/DocumentPagesIcon.jsx +18 -0
  13. package/dist/es/src/{model → EditionCrafter/model}/Folio.js +27 -1
  14. package/dist/es/src/{model → EditionCrafter/model}/folioLayout.js +6 -5
  15. package/dist/es/src/{saga → EditionCrafter/saga}/RouteListenerSaga.js +44 -3
  16. package/dist/es/src/{scss → EditionCrafter/scss}/_base.scss +11 -1
  17. package/dist/es/src/{scss → EditionCrafter/scss}/_diplomatic.scss +15 -24
  18. package/dist/es/src/EditionCrafter/scss/_navigation.scss +468 -0
  19. package/dist/es/src/{scss → EditionCrafter/scss}/_transcriptView.scss +50 -41
  20. package/dist/es/src/{scss → EditionCrafter/scss}/editioncrafter.scss +2 -1
  21. package/dist/es/src/RecordList/component/CollapsibleMenu.jsx +22 -0
  22. package/dist/es/src/RecordList/component/Loading.jsx +12 -0
  23. package/dist/es/src/RecordList/component/Pill.jsx +10 -0
  24. package/dist/es/src/RecordList/component/Record.jsx +82 -0
  25. package/dist/es/src/RecordList/component/RecordListView.jsx +109 -0
  26. package/dist/es/src/RecordList/component/Sidebar.jsx +83 -0
  27. package/dist/es/src/RecordList/component/SidebarTagList.jsx +38 -0
  28. package/dist/es/src/RecordList/context/FilterContext.jsx +8 -0
  29. package/dist/es/src/RecordList/index.jsx +92 -0
  30. package/dist/es/src/RecordList/lib/sql.js +9 -0
  31. package/dist/es/src/RecordList/styles/base.css +78 -0
  32. package/dist/es/src/RecordList/styles/record.css +84 -0
  33. package/dist/es/src/RecordList/styles/sidebar.css +39 -0
  34. package/dist/es/src/{index.js → index.jsx} +6 -3
  35. package/package.json +6 -3
  36. package/dist/es/src/component/Navigation.js +0 -402
  37. package/dist/es/src/hooks/useIsWidthUp.js +0 -9
  38. package/dist/es/src/lib/registerServiceWorker.js +0 -111
  39. package/dist/es/src/scss/_navigation.scss +0 -209
  40. /package/dist/es/src/{action → EditionCrafter/action}/DiplomaticActions.js +0 -0
  41. /package/dist/es/src/{action → EditionCrafter/action}/GlossaryActions.js +0 -0
  42. /package/dist/es/src/{action → EditionCrafter/action}/initialState/diplomaticInitialState.js +0 -0
  43. /package/dist/es/src/{action → EditionCrafter/action}/initialState/glossaryInitialState.js +0 -0
  44. /package/dist/es/src/{action → EditionCrafter/action}/rootReducer.js +0 -0
  45. /package/dist/es/src/{component → EditionCrafter/component}/AlphabetLinks.js +0 -0
  46. /package/dist/es/src/{component → EditionCrafter/component}/CustomizedTooltops.js +0 -0
  47. /package/dist/es/src/{component → EditionCrafter/component}/EditorComment.js +0 -0
  48. /package/dist/es/src/{component → EditionCrafter/component}/ErrorBoundary.js +0 -0
  49. /package/dist/es/src/{component → EditionCrafter/component}/FigureImage.js +0 -0
  50. /package/dist/es/src/{component → EditionCrafter/component}/GlossaryView.js +0 -0
  51. /package/dist/es/src/{component → EditionCrafter/component}/HelpPopper.js +0 -0
  52. /package/dist/es/src/{component → EditionCrafter/component}/ImageGridView.js +0 -0
  53. /package/dist/es/src/{component → EditionCrafter/component}/ImageView.js +0 -0
  54. /package/dist/es/src/{component → EditionCrafter/component}/ImageZoomControl.js +0 -0
  55. /package/dist/es/src/{component → EditionCrafter/component}/JumpToFolio.js +0 -0
  56. /package/dist/es/src/{component → EditionCrafter/component}/Pagination.js +0 -0
  57. /package/dist/es/src/{component → EditionCrafter/component}/Parser.js +0 -0
  58. /package/dist/es/src/{component → EditionCrafter/component}/RingSpinner.js +0 -0
  59. /package/dist/es/src/{component → EditionCrafter/component}/SeaDragonComponent.js +0 -0
  60. /package/dist/es/src/{component → EditionCrafter/component}/SinglePaneView.js +0 -0
  61. /package/dist/es/src/{component → EditionCrafter/component}/SplitPaneView.js +0 -0
  62. /package/dist/es/src/{component → EditionCrafter/component}/Watermark.js +0 -0
  63. /package/dist/es/src/{component → EditionCrafter/component}/XMLView.js +0 -0
  64. /package/dist/es/src/{icons → EditionCrafter/icons}/ByIcon.js +0 -0
  65. /package/dist/es/src/{icons → EditionCrafter/icons}/CcIcon.js +0 -0
  66. /package/dist/es/src/{icons → EditionCrafter/icons}/NcIcon.js +0 -0
  67. /package/dist/es/src/{icons → EditionCrafter/icons}/SaIcon.js +0 -0
  68. /package/dist/es/src/{icons → EditionCrafter/icons}/SideMenuIconLeft.js +0 -0
  69. /package/dist/es/src/{icons → EditionCrafter/icons}/SideMenuIconRight.js +0 -0
  70. /package/dist/es/src/{icons → EditionCrafter/icons}/howtouse-asterisk.png +0 -0
  71. /package/dist/es/src/{icons → EditionCrafter/icons}/howtouse-curly.png +0 -0
  72. /package/dist/es/src/{icons → EditionCrafter/icons}/howtouse-square.png +0 -0
  73. /package/dist/es/src/{icons → EditionCrafter/icons}/howtouse-ups.png +0 -0
  74. /package/dist/es/src/{img → EditionCrafter/img}/banner-about.png +0 -0
  75. /package/dist/es/src/{img → EditionCrafter/img}/banner-essays.jpg +0 -0
  76. /package/dist/es/src/{img → EditionCrafter/img}/banner-essays.png +0 -0
  77. /package/dist/es/src/{img → EditionCrafter/img}/banner-how-to.png +0 -0
  78. /package/dist/es/src/{img → EditionCrafter/img}/banner-resources.png +0 -0
  79. /package/dist/es/src/{img → EditionCrafter/img}/book-open-cropped.png +0 -0
  80. /package/dist/es/src/{img → EditionCrafter/img}/book-open.png +0 -0
  81. /package/dist/es/src/{img → EditionCrafter/img}/book-spine.png +0 -0
  82. /package/dist/es/src/{img → EditionCrafter/img}/bookcover-cropped.png +0 -0
  83. /package/dist/es/src/{img → EditionCrafter/img}/cropped-MKLizardFilled-32x32.jpg +0 -0
  84. /package/dist/es/src/{img → EditionCrafter/img}/editioncrafterlogo.png +0 -0
  85. /package/dist/es/src/{img → EditionCrafter/img}/folio48r-drawing.png +0 -0
  86. /package/dist/es/src/{img → EditionCrafter/img}/howtouse-asterisk.png +0 -0
  87. /package/dist/es/src/{img → EditionCrafter/img}/howtouse-beaker.png +0 -0
  88. /package/dist/es/src/{img → EditionCrafter/img}/howtouse-curly.png +0 -0
  89. /package/dist/es/src/{img → EditionCrafter/img}/howtouse-square.png +0 -0
  90. /package/dist/es/src/{img → EditionCrafter/img}/howtouse-ups.png +0 -0
  91. /package/dist/es/src/{img → EditionCrafter/img}/lizard-no-bg.png +0 -0
  92. /package/dist/es/src/{img → EditionCrafter/img}/logo_center_multi_line.png +0 -0
  93. /package/dist/es/src/{img → EditionCrafter/img}/logo_center_single_line.png +0 -0
  94. /package/dist/es/src/{img → EditionCrafter/img}/logo_columbia.png +0 -0
  95. /package/dist/es/src/{img → EditionCrafter/img}/mk-banner-logo.png +0 -0
  96. /package/dist/es/src/{img → EditionCrafter/img}/mk-homepage-logo.png +0 -0
  97. /package/dist/es/src/{img → EditionCrafter/img}/spinner.gif +0 -0
  98. /package/dist/es/src/{img → EditionCrafter/img}/text-bg.png +0 -0
  99. /package/dist/es/src/{img → EditionCrafter/img}/watermark.png +0 -0
  100. /package/dist/es/src/{lib → EditionCrafter/lib}/copyObject.js +0 -0
  101. /package/dist/es/src/{model → EditionCrafter/model}/DocumentHelper.js +0 -0
  102. /package/dist/es/src/{model → EditionCrafter/model}/ReduxStore.js +0 -0
  103. /package/dist/es/src/{saga → EditionCrafter/saga}/rootSaga.js +0 -0
  104. /package/dist/es/src/{scss → EditionCrafter/scss}/_CETEIcean.scss +0 -0
  105. /package/dist/es/src/{scss → EditionCrafter/scss}/_globalNavigation.scss +0 -0
  106. /package/dist/es/src/{scss → EditionCrafter/scss}/_glossary.scss +0 -0
  107. /package/dist/es/src/{scss → EditionCrafter/scss}/_imageGridView.scss +0 -0
  108. /package/dist/es/src/{scss → EditionCrafter/scss}/_imageView.scss +0 -0
  109. /package/dist/es/src/{scss → EditionCrafter/scss}/_imageZoomControl.scss +0 -0
  110. /package/dist/es/src/{scss → EditionCrafter/scss}/_jumpbox.scss +0 -0
  111. /package/dist/es/src/{scss → EditionCrafter/scss}/_pagination.scss +0 -0
  112. /package/dist/es/src/{scss → EditionCrafter/scss}/_ringSpinner.scss +0 -0
  113. /package/dist/es/src/{scss → EditionCrafter/scss}/_singlePaneView.scss +0 -0
  114. /package/dist/es/src/{scss → EditionCrafter/scss}/_spinner.scss +0 -0
  115. /package/dist/es/src/{scss → EditionCrafter/scss}/_splitPaneView.scss +0 -0
  116. /package/dist/es/src/{scss → EditionCrafter/scss}/_thumbnails.scss +0 -0
  117. /package/dist/es/src/{scss → EditionCrafter/scss}/_watermark.scss +0 -0
  118. /package/dist/es/src/{scss → EditionCrafter/scss}/_xmlView.scss +0 -0
@@ -0,0 +1,468 @@
1
+ .editioncrafter {
2
+
3
+ .navigationComponent {
4
+ position: sticky;
5
+ display: none;
6
+ z-index: 2;
7
+ height: 48px;
8
+ padding: 8px 16px;
9
+ width: 100%;
10
+ white-space: nowrap;
11
+ -webkit-user-select: none;
12
+ -moz-user-select: none;
13
+ -ms-user-select: none;
14
+ user-select: none;
15
+ padding:4px;
16
+ background-color: white;
17
+ border-radius: max(0.3rem, 4.8px);
18
+ font-family: 'Inter', sans-serif;
19
+ font-size: 14px;
20
+ justify-content: space-between;
21
+ align-items: center;
22
+ align-self: stretch;
23
+ @include sm {
24
+ top: 80px;
25
+ }
26
+ @include md {
27
+ top: 0;
28
+ left: 0;
29
+ display: flex;
30
+ }
31
+ button{
32
+ cursor: pointer;
33
+ }
34
+ }
35
+
36
+ .navigationComponentNarrow {
37
+ display: flex;
38
+ width: auto;
39
+ z-index: 2;
40
+ height:48px;
41
+ width: 100%;
42
+ white-space: nowrap;
43
+ -webkit-user-select: none;
44
+ -moz-user-select: none;
45
+ -ms-user-select: none;
46
+ user-select: none;
47
+ padding:4px;
48
+ background-color: white;
49
+ font-size: 14px;
50
+ @include md {
51
+ display: none;
52
+ }
53
+ button{
54
+ cursor: pointer;
55
+ }
56
+ }
57
+
58
+ .dropdownV2 {
59
+ width:150px;
60
+ margin-right:10px;
61
+ }
62
+
63
+ .toolbar-side {
64
+ display: flex;
65
+ gap: 10px;
66
+ height: 48px;
67
+ align-items: center;
68
+ justify-content: center;
69
+ }
70
+
71
+ .nav-arrow {
72
+ height: 18px;
73
+ width: 18px;
74
+ }
75
+
76
+ .nav-arrow svg {
77
+ height: 100%;
78
+ width: 100%;
79
+ }
80
+
81
+
82
+ .imageViewComponent .navigationComponent {
83
+ background-color: #4A4A4A;
84
+ border-radius: max(0.3rem, 4.8px);
85
+ opacity: 0.8;
86
+ @include md {
87
+ background-color: rgba(0,0,0,1);
88
+ color: #ffffff;
89
+ border-radius: 0;
90
+ opacity: 1;
91
+ }
92
+
93
+ }
94
+
95
+ .imageViewComponent .navigationComponentNarrow{
96
+ background-color: rgba(0,0,0,1);
97
+ color: #ffffff;
98
+ border-radius: 0;
99
+ opacity: 1;
100
+ }
101
+
102
+ .transcriptionViewComponent .navigationComponent {
103
+ background-color: rgba(255,255,255,1);;
104
+ color: #000000;
105
+ }
106
+
107
+ #doc-type-help:after {
108
+ color: rgb(151, 142, 142);
109
+ }
110
+ #doc-type-help{
111
+ .dark{
112
+ .MuiSvgIcon-root.MuiSelect-icon{
113
+ color: white;
114
+ }
115
+ }
116
+ }
117
+
118
+ .breadcrumbs {
119
+ overflow-x:hidden;
120
+ display: hidden;
121
+ align-items: baseline;
122
+ width: 100%;
123
+ justify-content: space-between;
124
+ align-items: center;
125
+ gap: 10px;
126
+ @include md {
127
+ display: flex;
128
+ }
129
+ }
130
+
131
+ .breadcrumbs .vertical-separator {
132
+ height: 24px;
133
+ }
134
+
135
+ .breadcrumbsNarrow {
136
+ overflow-x:hidden;
137
+ display: flex;
138
+ align-items: baseline;
139
+ max-width: 70%;
140
+ @include md {
141
+ display: none;
142
+ }
143
+ }
144
+
145
+ .breadcrumbs .folio-path {
146
+ display: flex;
147
+ gap: 6px;
148
+ font-weight: 400;
149
+ }
150
+
151
+ .breadcrumbs .folio-path .document-title {
152
+ max-width: 80px;
153
+ white-space: nowrap;
154
+ overflow: hidden;
155
+ text-overflow: ellipsis;
156
+ }
157
+
158
+ .breadcrumbs .folioName, .breadcrumbsNarrow .folioName {
159
+ font-size: 14px;
160
+ font-weight: 700;
161
+ text-decoration-line: underline;
162
+ text-decoration-style: solid;
163
+ text-decoration-skip-ink: none;
164
+ text-decoration-thickness: auto;
165
+ text-underline-offset: auto;
166
+ text-underline-position: from-font;
167
+ }
168
+
169
+ .grid-view-button {
170
+ height: 18px;
171
+ width: 18px;
172
+ appearance: none;
173
+ border: none;
174
+ background: none;
175
+ }
176
+
177
+ .grid-view-button svg {
178
+ height: 18px;
179
+ width: 18px;
180
+ }
181
+
182
+ .imageViewComponent .grid-view-button {
183
+ color: white;
184
+ }
185
+
186
+ .toggle-button {
187
+ appearance: none;
188
+ border: none;
189
+ background: none;
190
+ color: #6F747C;
191
+ display: flex;
192
+ width: 32px;
193
+ height: 32px;
194
+ padding: 8px;
195
+ justify-content: center;
196
+ align-items: center;
197
+ gap: 10px;
198
+ border-radius: 5px;
199
+ }
200
+
201
+ .imageViewComponent .toggle-button {
202
+ background: none;
203
+ color: #ffffff;
204
+ }
205
+
206
+ .toggle-button.active {
207
+ background: #07529A;
208
+ color: #ffffff;
209
+ }
210
+
211
+ .tag-bar {
212
+ display: flex;
213
+ position: absolute;
214
+ background: #F3F4F7;
215
+ width: 100%;
216
+ z-index: 100;
217
+ }
218
+
219
+ .tag-bar-close {
220
+ appearance: none;
221
+ height: 48px;
222
+ width: 48px;
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+ border: none;
227
+ background: none;
228
+ border-radius: 50%;
229
+ }
230
+
231
+ .tag-bar-close:hover {
232
+ cursor: pointer;
233
+ background-color: rgb(221, 221, 221);
234
+ }
235
+
236
+ .tag-bar-close svg {
237
+ height: 24px;
238
+ width: 24px;
239
+ }
240
+
241
+ .tag-list {
242
+ width: calc(100% - 30px);
243
+ top: 46px;
244
+ display: flex;
245
+ flex-wrap: wrap;
246
+ align-items: center;
247
+ gap: 6px;
248
+ align-self: stretch;
249
+ padding: 8px 16px;
250
+ }
251
+
252
+ .tag-list button {
253
+ display: flex;
254
+ padding: 6px 10px;
255
+ justify-content: center;
256
+ align-items: center;
257
+ gap: 4px;
258
+ border-radius: 50px;
259
+ border: 1px solid rgba(10, 10, 10, 0.20);
260
+ background: #ffffff;
261
+ }
262
+
263
+ .tag-list button.active {
264
+ background-color: #07529A;
265
+ color: #ffffff;
266
+ }
267
+
268
+ .tag-list button:hover {
269
+ cursor: pointer;
270
+ }
271
+
272
+ .tag-list .tag-label {
273
+ display: flex;
274
+ align-items: center;
275
+ gap: 6px;
276
+ }
277
+
278
+ .imageViewComponent .tag-bar {
279
+ background: #242629;
280
+ top: 44px;
281
+ }
282
+
283
+ .imageViewComponent .tag-bar * {
284
+ color: #ffffff
285
+ }
286
+
287
+ .imageViewComponent .tag-bar .tag-list button {
288
+ background-color: #484B51;
289
+ }
290
+
291
+ .imageViewComponent .tag-bar .tag-list button.active {
292
+ background-color: #07529A;
293
+ color: #ffffff;
294
+ }
295
+
296
+ .imageViewComponent .tag-bar .tag-bar-close:hover {
297
+ background: rgb(137, 136, 136);
298
+ }
299
+
300
+ .book-mode-toggles {
301
+ cursor: pointer;
302
+ }
303
+
304
+ .lockmode-container {
305
+ display: flex;
306
+ align-items: center;
307
+ justify-content: space-between;
308
+ width: 100%;
309
+ }
310
+
311
+ .lockmode-container:hover {
312
+ cursor: pointer;
313
+ }
314
+
315
+ .lockmode-container .switch {
316
+ width: 42px;
317
+ position: relative;
318
+ background-color: #F3F4F7;
319
+ border-radius: 5px;
320
+ transition: all 0.2s ease-out;
321
+ display: flex;
322
+ padding: 1px;
323
+ align-items: center;
324
+ gap: 10px;
325
+ height: 22px;
326
+ }
327
+
328
+ .lockmode-container .switch:hover {
329
+ cursor: pointer;
330
+ }
331
+
332
+ .imageViewComponent .lockmode-container .switch {
333
+ background-color: #242629;
334
+ }
335
+
336
+ .lockmode-container .switch .slider {
337
+ position: absolute;
338
+ left: calc(50% - 22px/2 - 9px);
339
+ top: calc(50% - 22px/2 + 1px);
340
+ border-radius: 5px;
341
+ transition: all 0.2s ease-out;
342
+ background-color: #ffffff;
343
+ display: flex;
344
+ width: 20px;
345
+ height: 20px;
346
+ justify-content: center;
347
+ align-items: center;
348
+ gap: 10px;
349
+ flex-shrink: 0;
350
+ }
351
+
352
+ .lockmode-container .switch .slider svg {
353
+ height: 12px;
354
+ width: 12px;
355
+ }
356
+
357
+ .imageViewComponent .lockmode-container .slider {
358
+ background-color: #0A0A0A;
359
+ }
360
+
361
+ .lockmode-container input {
362
+ opacity: 0;
363
+ width: 0;
364
+ height: 0;
365
+ position: absolute;
366
+ }
367
+
368
+ .lockmode-container input:checked + .switch {
369
+ background-color: #07529A;
370
+ }
371
+
372
+ .lockmode-container input:checked + .switch .slider {
373
+ left: calc(50% - 22px/2 + 11px);
374
+ }
375
+
376
+ .book-mode-toggles button {
377
+ appearance: none;
378
+ background-color: #F3F4F7;
379
+ border: none;
380
+ height: 32px;
381
+ width: 32px;
382
+ color: #6F747C;
383
+ }
384
+
385
+ .book-mode-toggles button svg {
386
+ height: 100%;
387
+ width: 100%;
388
+ }
389
+
390
+ .book-mode-toggles .document-pages-icon {
391
+ stroke-width: 0;
392
+ fill: #6F747C;
393
+ }
394
+
395
+ .book-mode-toggles button.selected,
396
+ .imageViewComponent .book-mode-toggles button.selected {
397
+ background-color: #07529A;
398
+ color: #FFFFFF;
399
+ stroke: #FFFFFF;
400
+ }
401
+
402
+ .book-mode-toggles button.selected .document-pages-icon {
403
+ fill: #FFFFFF;
404
+ }
405
+
406
+ .book-mode-toggles button:nth-child(1) {
407
+ border-radius: 5px 0 0 5px;
408
+ }
409
+
410
+ .book-mode-toggles button:nth-child(2) {
411
+ border-radius: 0 5px 5px 0;
412
+ }
413
+
414
+ .imageViewComponent .book-mode-toggles button {
415
+ background-color: #242629;
416
+ color: #6F747C;
417
+ }
418
+
419
+ .closeX {
420
+ float: right;
421
+ padding: 3px;
422
+ font-style: bold;
423
+ &:hover {
424
+ cursor: pointer;
425
+ }
426
+ }
427
+
428
+ .helpContainer .MuiListItem-root {
429
+ display: flex;
430
+ gap: 10px;
431
+ }
432
+
433
+ .helpContainer {
434
+ padding:12px;
435
+ width:335px;
436
+ height: min(600px, calc(100vh - 40px));
437
+ position: relative;
438
+ top: 40px;
439
+ overflow-x: auto;
440
+
441
+ .readingGuide {
442
+
443
+ td {
444
+ padding: 8px;
445
+ }
446
+
447
+ h2 {
448
+ margin-top: 16px;
449
+ margin-bottom: 10px;
450
+ }
451
+ }
452
+ }
453
+
454
+
455
+ .searchHelpContainer {
456
+ padding: 10px 15px 10px 0;
457
+ width:335px;
458
+ }
459
+
460
+ .helpHeader{
461
+ text-align:center;
462
+ }
463
+
464
+ }
465
+
466
+
467
+
468
+
@@ -8,13 +8,13 @@
8
8
  @include md {
9
9
  padding: 5px 16px;
10
10
  }
11
-
11
+
12
12
  -webkit-user-select: text;
13
13
  -moz-user-select: text;
14
14
  -ms-user-select: text;
15
15
  user-select: text;
16
16
  //margin-bottom:92px;
17
-
17
+
18
18
  figure {
19
19
  display: inline-flex;
20
20
  flex-direction: column;
@@ -22,151 +22,151 @@
22
22
  align-items: center;
23
23
  gap: 6px;
24
24
  }
25
-
25
+
26
26
  .block[data-layout='right-middle'] {
27
27
  max-width: 250px;
28
28
  }
29
-
29
+
30
30
  .block[data-layout='right-top'] {
31
31
  max-width: 250px;
32
32
  }
33
-
33
+
34
34
  .block[data-layout='right-bottom'] {
35
35
  max-width: 250px;
36
36
  }
37
-
37
+
38
38
  // TODO refactor to appropriate TEI element
39
39
  // .ups {
40
40
  // background: lightgray;
41
41
  // font-size: 14px;
42
42
  // }
43
-
43
+
44
44
  .x-small-inline-figure {
45
45
  margin: 5px;
46
46
  border: 1px solid gray;
47
47
  width: 30px;
48
48
  }
49
-
49
+
50
50
  .small-inline-figure {
51
51
  margin: 5px;
52
52
  border: 1px solid gray;
53
53
  width: 60px;
54
54
  }
55
-
55
+
56
56
  .medium-inline-figure {
57
57
  margin: 5px;
58
58
  border: 1px solid gray;
59
59
  width: 200px;
60
60
  }
61
-
61
+
62
62
  .large-inline-figure {
63
63
  margin: 5px;
64
64
  border: 1px solid gray;
65
65
  width: 350px;
66
66
  }
67
-
68
-
67
+
68
+
69
69
  .surface {
70
70
  grid-area: transcription;
71
71
  margin: 0;
72
72
  padding: 0;
73
73
  list-style: none;
74
74
  }
75
-
75
+
76
76
  .grid-mode {
77
77
  display: grid;
78
78
  grid-auto-rows: minmax(min-content, 0fr);
79
79
  grid-gap: 2px;
80
80
  }
81
-
81
+
82
82
  .surface > .small-font {
83
83
  font-size: 11pt;
84
84
  }
85
-
85
+
86
86
  .surface > div {
87
87
  padding: 10px;
88
88
  }
89
-
89
+
90
90
  .surface > #z0 {
91
91
  grid-area: z0;
92
92
  }
93
-
93
+
94
94
  .surface > #z1 {
95
95
  grid-area: z1;
96
96
  }
97
-
97
+
98
98
  .surface > #z2 {
99
99
  grid-area: z2;
100
100
  }
101
-
101
+
102
102
  .surface > #z3 {
103
103
  grid-area: z3;
104
104
  }
105
-
105
+
106
106
  .surface > #z4 {
107
107
  grid-area: z4;
108
108
  }
109
-
109
+
110
110
  .surface > #z5 {
111
111
  grid-area: z5;
112
112
  }
113
-
113
+
114
114
  .surface > #z6 {
115
115
  grid-area: z6;
116
116
  }
117
-
117
+
118
118
  .surface > #z7 {
119
119
  grid-area: z7;
120
120
  }
121
-
121
+
122
122
  .surface > #z8 {
123
123
  grid-area: z8;
124
124
  }
125
-
125
+
126
126
  .surface > #z9 {
127
127
  grid-area: z9;
128
128
  }
129
-
129
+
130
130
  .surface > #z10 {
131
131
  grid-area: z10;
132
132
  }
133
-
133
+
134
134
  .surface > #z11 {
135
135
  grid-area: z11;
136
136
  }
137
-
137
+
138
138
  .surface > #z12 {
139
139
  grid-area: z12;
140
140
  }
141
-
141
+
142
142
  .surface > #z13 {
143
143
  grid-area: z13;
144
144
  }
145
-
145
+
146
146
  .surface > #z14 {
147
147
  grid-area: z14;
148
148
  }
149
-
149
+
150
150
  .surface > #z15 {
151
151
  grid-area: z15;
152
152
  }
153
-
153
+
154
154
  .surface > #z16 {
155
155
  grid-area: z16;
156
156
  }
157
-
157
+
158
158
  .surface > #z17 {
159
159
  grid-area: z17;
160
160
  }
161
-
161
+
162
162
  .surface > #z18 {
163
163
  grid-area: z18;
164
164
  }
165
-
165
+
166
166
  .surface > #z19 {
167
167
  grid-area: z19;
168
168
  }
169
-
169
+
170
170
  .surface > #z20 {
171
171
  grid-area: z20;
172
172
  }
@@ -175,26 +175,35 @@
175
175
  }
176
176
  }
177
177
  }
178
-
178
+
179
179
  tei-line {
180
180
  display: block;
181
181
  }
182
-
182
+
183
183
  tei-add {
184
184
  color: blue;
185
185
  vertical-align: super;
186
186
  font-size: 10pt;
187
187
  }
188
-
188
+
189
+ tei-seg.active {
190
+ background: #d4e9ff;
191
+ }
192
+
193
+ div.active {
194
+ background: #f1f3f5;
195
+ border-radius: 5px;
196
+ }
197
+
189
198
  .selected-zone {
190
199
  background: #EAF1FD;
191
200
  border-radius: 5px;
192
201
  }
193
-
202
+
194
203
  .editor-comment-content {
195
204
  word-wrap:break-word;
196
205
  }
197
-
206
+
198
207
  .inline-image {
199
208
  max-width: 90%;
200
209
  max-height: 360px;
@@ -5,8 +5,9 @@
5
5
 
6
6
  /* Google fonts */
7
7
  // Link to these fonts: https://fonts.google.com/share?selection.family=Lato:wght@400;700%7CMartel%7CMartel%20Sans:wght@200%7CTaviraj:wght@300
8
- @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Martel+Sans:wght@200&family=Martel:wght@400;700&family=Taviraj:wght@300;500&display=swap');
8
+ @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Martel+Sans:wght@200&family=Martel:wght@400;700&family=Taviraj:wght@300;500&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
9
9
  @import url('https://fonts.googleapis.com/icon?family=Material+Icons');
10
+
10
11
  /*
11
12
  FontAwesome icon font http://fontawesome.io/
12
13
  FIXME: This is still used by the ImageView control panel, the rest of the app uses FA5 react npm module