summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/footnotes.css
blob: a6003de7e0a4fe202b2dc83a409ae9bccfc21704 (plain)
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
/* subscription form */

.footnotes-element {
  position: relative;
}
.nav-footnotes {
  flex-direction: column;
  position: absolute;
  bottom: 0;
  right: -1px;
  width: 15rem;
  max-height: 50vh;
  transform: translateY(100vh) translateZ(0);
  transition: opacity 0.01s, transform 0.2s;
  padding: 0.5rem 0.75rem 0 0.75rem;
  background: black;
  border-top: 1px solid white;
  border-right: 1px solid white;
  border-left: 1px solid white;
  color: white;
}
.checklist-open .nav-footnotes {
  top: 0rem;
  z-index: 21;
  transform: translateY(-100vh) translateZ(0);
  border-top: 0;
  border-bottom: 1px solid white;
  bottom: auto;
}
.footnotes-open .nav-footnotes {
  transform: translateY(0) translateZ(0);
  opacity: 1;
  z-index: 10;
}
.nav-footnotes-close {
  text-align: right;
  height: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  width: 100%;
}
.nav-footnotes-close svg {
  width: 0.75rem;
  height: 0.75rem;
}
.nav-footnotes-close svg line {
  stroke: white;
}
.nav-footnotes-scroll {
  min-height: 10rem;
  max-height: calc(50vh - 5rem);
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: 14px;
  line-height: 1.3;
  font-family: "Freight Text", serif;
  padding: 0.25rem 0;
}
.nav-footnotes-gradient {
  position: absolute;
  bottom: 3rem;
  left: 0;
  width: 100%;
  height: 2rem;
  background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,1.0));
}
.nav-footnotes .note-element {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.nav-footnotes .note-number {
  text-align: right;
  width: 1.5rem;
  padding-right: 0.5rem;
}
.nav-footnotes .note-body {
  flex: 1;
}
.nav-footnotes u {
  text-decoration: none;
  border-bottom: 1px dotted;
  cursor: pointer;
}
.nav-footnotes .nav-return {
  position: absolute;
  bottom: 0;
  left: 0;
}