-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
436 lines (343 loc) · 10.7 KB
/
index.html
File metadata and controls
436 lines (343 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bibliographic Framework Initiative Technical Site - Bibframe.org</title>
<meta name="description" content="">
<meta property="og:title" content="bibframe.org">
<meta property="og:url" content="bibframe.org">
<meta property="og:image" content="">
<meta property="og:image:alt" content="">
<link rel="icon" href="/favicon.ico" sizes="any">
<style>
/* Light mode - ensure white background */
.has-background-white-ter {
background-color: #f5f5f5 !important;
}
@media (prefers-color-scheme: dark) {
.has-background-white-ter {
background-color: #23262e !important;
border-bottom: 1px solid #333333;
}
nav.logo-hero-container {
background-color: #23262e !important;
}
.logo-hero-container p.title {
color: #f0f0f0 !important;
}
.logo-hero-container p.subtitle {
color: #c0c0c0 !important;
}
.logo img {
filter: brightness(0.9) contrast(0.85);
opacity: 0.8;
}
}
.logo-hero-container{
margin-top: 2em;
padding-top: 1em;
padding-bottom: 1em;
}
.logo-hero{
display:flex;
}
.logo{
flex-shrink:1;
}
.logo img{
width: 180px;
height: auto;
}
.title{
flex:1;
}
main{
padding-top: 2em;
}
h3{
margin-bottom: 0.5em !important;
}
h3 span {
vertical-align: super;
font-size: 0.6em;
color: #dc143c;
margin-left: 0.3em;
font-weight: bold;
}
.small-new {
vertical-align: super;
font-size: 0.8em;
color: #dc143c;
margin-left: 0.3em;
font-weight: bold;
}
/* Fix columns width to stay within container */
#search-results.columns {
margin-left: 0;
margin-right: 0;
}
#search-results .column:first-child {
border-right: 1px solid #e0e0e0;
padding-right: 1.5rem;
}
#search-results .column:last-child {
padding-left: 1.5rem;
}
.title-result:hover, .contributor-box:hover {
background-color: #f5f5f5 !important;
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
transition: all 0.2s ease;
}
.contributor-box {
transition: all 0.2s ease;
cursor: pointer;
}
.slide-transition {
animation: slideInOut 0.4s ease-in-out;
}
@keyframes slideInOut {
0% {
transform: translateX(0);
opacity: 1;
}
50% {
transform: translateX(20px);
opacity: 0;
}
100% {
transform: translateX(0);
opacity: 1;
}
}
.working-message {
padding: 2rem;
text-align: center;
color: #3273dc;
font-size: 1.2rem;
font-style: italic;
}
/* Non-text work cards with different background */
.non-text-work {
background-color: #fef8f0 !important;
}
/* Contributor image fade-in animation */
.contributor-image img {
transition: opacity 0.4s ease-in-out;
}
.contributor-image img.loaded {
opacity: 1 !important;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Progress bar styles */
.progress-container {
padding: 1rem;
background: #f5f5f5;
border-radius: 8px;
margin-bottom: 1rem;
}
.progress {
height: 8px;
background-color: #e0e0e0;
border-radius: 4px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, #3273dc 0%, #2366d1 100%);
border-radius: 4px;
transition: width 0.3s ease;
}
.progress-text {
font-size: 0.875rem;
color: #666;
text-align: center;
}
@media (prefers-color-scheme: dark) {
#search-results .column:first-child {
border-right-color: #5a5a5a;
}
.title-result:hover, .contributor-box:hover {
background-color: #4a4a4a !important;
}
.working-message {
color: #7db8f1;
}
.progress-container {
background: #2a2a2a;
}
.progress {
background-color: #3a3a3a;
}
.progress-text {
color: #aaa;
}
/* Brighten cards in dark mode */
.box {
background-color: #3a3a3a !important;
border: 1px solid #525252 !important;
}
/* Brighten text in dark mode */
.has-text-weight-semibold {
color: #e8e8e8 !important;
}
.has-text-grey {
color: #d5d5d5 !important;
}
.has-text-grey-light {
color: #9a9a9a !important;
}
.is-size-6.has-text-dark {
color: #d0d0d0 !important;
}
.has-text-primary {
color: #6fa8dc !important;
}
/* Keep contributions count greenish */
.is-size-7.has-text-primary.has-text-weight-semibold {
color: #48c78e !important;
}
/* Brighten contributor cards */
.contributor-box {
background-color: #3a3a3a !important;
border-color: #525252 !important;
}
.contributor-box .has-text-weight-semibold {
color: #e8e8e8 !important;
}
/* Fix Wikidata text in contributor cards */
.wikidata-info .has-text-dark {
color: #b0b0b0 !important;
}
/* Input field in dark mode */
.input {
background-color: #3a3a3a !important;
border-color: #525252 !important;
color: #e8e8e8 !important;
}
.input::placeholder {
color: #9a9a9a !important;
}
/* Non-text work cards in dark mode */
.non-text-work {
background-color: #2e3038 !important;
}
}
/* Shimmer loading animation */
.shimmer-container {
padding: 1rem;
}
.shimmer {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-radius: 4px;
}
.shimmer-title {
height: 32px;
width: 60%;
margin-bottom: 1.5rem;
}
.shimmer-line {
height: 14px;
margin-bottom: 0.75rem;
}
.shimmer-line.short {
width: 40%;
}
.shimmer-line.medium {
width: 70%;
}
.shimmer-line.long {
width: 90%;
}
.shimmer-button {
height: 36px;
width: 150px;
margin-right: 0.75rem;
display: inline-block;
}
.shimmer-box {
height: 200px;
margin-bottom: 1rem;
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
@media (prefers-color-scheme: dark) {
.shimmer {
background: linear-gradient(90deg, #3a3a3a 25%, #4a4a4a 50%, #3a3a3a 75%);
}
}
</style>
</head>
<body>
<nav class="has-background-white-ter logo-hero-container">
<div class="container">
<section class="hero">
<div class="logo-hero">
<div class="logo"><img src="/bibframe.jpg"/></div>
<div class="title">
<div class="hero-body">
<p class="title">Bibframe.org</p>
<p class="subtitle">Demonstration of Bibframe Tools</p>
</div>
</div>
</div>
</section>
</div>
</nav>
<main class="container" style="margin-bottom: 6rem;">
<h3 class="title is-3">Edit a Bibframe Resource<span>NEW!</span></h3>
<p style="padding-bottom: 1em;">Edit a monograph Bibframe resource from id.loc.gov. Enter a Title or Author name below:</p>
<div class="field has-addons">
<div class="control is-expanded">
<input class="input" type="text" name="search" id="search" placeholder="Search for a title or author...">
</div>
<div class="control">
</div>
</div>
<h3 class="title is-3" style="margin-top: 2em;">Marva Editor</h3>
<div class="content">
<p>Marva is a Bibframe editor in development by the Library of Congress. This is a demonstration site for viewing the editor functionality. There are two versions online you can experiment with:</p>
<ul>
<li><p><a class="has-text-weight-semibold" href="/marva/">Marva Quartz Version</a> -- This is a newer version of Marva that is under development (mid 2024). <a href="https://github.com/lcnetdev/marva-quartz">[source code]</a></p></li>
<li><p><a class="has-text-weight-semibold" href="https://bibframe.org/docs/view/documentation-marva-manual/index.md">Marva Manual</a><span class="small-new">NEW!</span> -- Regularly updated documentation for Marva.</p></li>
<li><p><a class="has-text-weight-semibold" href="/classic/">Marva Classic Version</a> -- This is an older version developed in 2020-2022. <a href="https://github.com/lcnetdev/marva-frontend">[source code]</a> </p></li>
</ul>
</div>
<h3 class="title is-3">Tools & Resources</h3>
<div class="content">
<ul>
<li><p><a class="has-text-weight-semibold" href="/dancer/">Profile Editor - DCTap-Dancer</a><span class="small-new">NEW!</span> -- A tabular DCTap profile editor that generates CSV/TSV and JSON profiles that works with Marva. <a href="https://github.com/lcnetdev/dctap-dancer">[source code]</a></p></li>
<li><p><a class="has-text-weight-semibold" href="https://github.com/lcnetdev/marc2bibframe2">marc2bibframe</a> -- XSLT-based conversion from MARC XML to Bibframe 2.</p></li>
<li><p><a class="has-text-weight-semibold" href="https://github.com/lcnetdev/bibframe2marc">bibframe2marc</a> -- XSLT 1.0 conversion from RDF/XML Bibframe 2 to MARC XML.</p></li>
<li><p><a class="has-text-weight-semibold" href="https://id.loc.gov/ontologies/bibframe.html">Ontology</a> -- The Bibframe ontology with examples. <a href="https://github.com/lcnetdev/bibframe-ontology">[source code]</a></p></li>
<li><p><a class="has-text-weight-semibold" href="/dctap/">BIG DCTAP Profiles</a> -- Bibframe Interoperability Group (BIG): Dublin Core Tabular Application Profiles.</p></li>
</ul>
</div>
<h3 class="title is-3">Scriptshifter</h3>
<div class="content">
<p>An automated tool developed by Library of Congress that can convert over ninety non-latin scripts into latin script following the LC/ALA guidelines.</p>
<ul>
<li><p><a class="has-text-weight-semibold" href="/scriptshifter/">Online Tool</a> -- A web interface using the library/tool. <a href="https://github.com/lcnetdev/scriptshifter">[source code & more info]</a></p></li>
</ul>
</div>
</main>
<script type="module" src="/main.js"></script>
</body>
</html>