-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresult-header.html
52 lines (52 loc) · 1.17 KB
/
result-header.html
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
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="result-explorer.js" defer></script>
<style>
html {height: 100%;}
body {
height: 100%;
margin: 0;
display: grid;
grid-template-columns: 35rem auto;
grid-template-rows: auto auto;
grid-template-areas: "TOC results" "pictures results";
}
div#TOC {
grid-area: TOC;
padding-left: 2rem;
padding-bottom: 2rem;
}
div#annotations {
grid-area: pictures;
padding-left: 2rem;
padding-bottom: 4rem;
}
div#results {
grid-area: results;
}
img {
max-width: 474px;
}
.filters {
line-height: 1.5;
overflow-wrap: break-word;
}
.filters:first-child {
padding-left: 0;
}
.filters span {
cursor: pointer;
padding-top: 0.25em;
padding-bottom: 0.25em;
padding-left: 0.5em;
padding-right: 0.5em;
color: darkgray;
background-color: ghostwhite;
}
.filters span:hover {
opacity: 0.5;
}
.filters span.selected {
color: black;
background-color: aliceblue;
}
</style>