summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/footnotes.css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-10-20 19:55:35 +0200
committerJules Laplace <julescarbon@gmail.com>2020-10-20 19:55:35 +0200
commit7eebb16aee7a6b439773f58002e8c3bf1fa4315e (patch)
treef0731a90a6079aa8ff095a2b44a6ff4bbf6d7a6d /animism-align/frontend/app/views/viewer/sections/footnotes.css
parentd7c729c1cbd319398933466d43a2868d1ab4c218 (diff)
footnotes element, close box, navigate to timestamp when clicking go to text
Diffstat (limited to 'animism-align/frontend/app/views/viewer/sections/footnotes.css')
-rw-r--r--animism-align/frontend/app/views/viewer/sections/footnotes.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/sections/footnotes.css b/animism-align/frontend/app/views/viewer/sections/footnotes.css
index bf7a308..a6003de 100644
--- a/animism-align/frontend/app/views/viewer/sections/footnotes.css
+++ b/animism-align/frontend/app/views/viewer/sections/footnotes.css
@@ -4,6 +4,7 @@
position: relative;
}
.nav-footnotes {
+ flex-direction: column;
position: absolute;
bottom: 0;
right: -1px;
@@ -34,9 +35,19 @@
.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;
@@ -72,4 +83,9 @@
text-decoration: none;
border-bottom: 1px dotted;
cursor: pointer;
+}
+.nav-footnotes .nav-return {
+ position: absolute;
+ bottom: 0;
+ left: 0;
} \ No newline at end of file