-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
176 lines (151 loc) · 4.17 KB
/
index.html
File metadata and controls
176 lines (151 loc) · 4.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Fairscape Metadata</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
/>
<style>
.node circle {
fill: #ffab00;
stroke: #664d03;
stroke-width: 3px;
}
.node text {
font: 12px sans-serif;
fill: #333;
}
.node text {
font: 12px sans-serif;
fill: #333;
text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff,
1px -1px 0 #fff;
}
.link {
fill: none;
stroke: #888;
stroke-opacity: 0.6;
stroke-width: 1.5px;
}
.node--internal circle {
fill: #4caf50;
}
body {
background-color: #f8f9fa;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
h3 {
color: #007bff;
}
.container {
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
.accordion-button {
background-color: #007bff;
color: white;
}
.accordion-button:not(.collapsed) {
background-color: #0056b3;
color: white;
}
.table {
margin-top: 20px;
}
.table thead th {
background-color: #007bff;
color: white;
}
#mermaid-container {
display: block;
}
#json-ld-container {
display: none;
}
.json-wrapper {
position: relative;
padding: 20px;
margin-top: 20px;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.copy-btn {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
color: #007bff;
cursor: pointer;
}
.copy-btn:hover {
color: #0056b3;
}
.serialization-btn-group {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 10px;
}
.serialization-btn-group .btn-check {
width: 100px;
}
/* Accordion-specific styles */
.accordion-button {
width: 100%;
overflow: hidden; /* Prevent horizontal overflow */
white-space: nowrap; /* Prevent text wrapping */
text-overflow: ellipsis; /* Add ellipsis to overflowing text */
}
.accordion-item {
width: 100%;
overflow: hidden; /* Prevent horizontal overflow */
}
.accordion-body {
width: 100%;
padding: 1rem 1.25rem; /* Adjust padding as needed */
overflow-x: auto; /* Allow horizontal scrolling if necessary */
}
.table {
table-layout: fixed; /* Ensure table layout is fixed */
width: 100%; /* Ensure table takes the full width */
}
.table th,
.table td {
width: 50%; /* Adjust width as needed */
overflow: hidden;
white-space: nowrap; /* Prevent text wrapping */
text-overflow: ellipsis; /* Add ellipsis to overflowing text */
}
.table ul {
padding-left: 20px; /* Add padding to the left */
margin: 10px 0; /* Add margin to top and bottom */
}
.table ul li {
margin-bottom: 5px; /* Add space between list items */
list-style-type: disc; /* Ensure bullet points are discs */
}
.table ul li:last-child {
margin-bottom: 0; /* Remove margin from the last item */
}
</style>
</head>
<body>
<div id="root"></div>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>