summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/footnotes/footnotes.css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-11 23:23:51 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-11 23:23:51 +0100
commit6ca28e5fe2547d115fd54ac980a9466869deaade (patch)
tree7de3066bc22fd1783f2f7d89c87c4e8186326f12 /animism-align/frontend/app/views/editor/footnotes/footnotes.css
parent151ca26315c84ec484e2fec5b9dfb92e5703aa1f (diff)
footnote editor working
Diffstat (limited to 'animism-align/frontend/app/views/editor/footnotes/footnotes.css')
-rw-r--r--animism-align/frontend/app/views/editor/footnotes/footnotes.css37
1 files changed, 33 insertions, 4 deletions
diff --git a/animism-align/frontend/app/views/editor/footnotes/footnotes.css b/animism-align/frontend/app/views/editor/footnotes/footnotes.css
index e7eb790..f13a835 100644
--- a/animism-align/frontend/app/views/editor/footnotes/footnotes.css
+++ b/animism-align/frontend/app/views/editor/footnotes/footnotes.css
@@ -1,16 +1,45 @@
-.footnote-form {
+.footnote-entry {
display: flex;
justify-content: flex-start;
align-items: flex-start;
+ background: #111;
+ padding: 0.5rem;
+ margin-bottom: 0.5rem;
+ max-width: 800px;
+ cursor: pointer;
+ transition: background 0.1s;
}
+.footnote-entry:hover {
+ background: #333;
+}
+
+
.footnote-index {
- width: 80px;
+ width: 120px;
text-align: right;
margin: 0;
padding: 0 1rem 0 0;
}
.footnote-text {
- padding: 0 0 0.5rem 0;
flex: 1;
- max-width: 500px;
}
+
+.footnote-form .textarea span {
+ text-align: right;
+ padding-right: 1.25rem;
+}
+.footnote-form .textarea textarea {
+ width: 670px;
+ height: 70px;
+}
+.footnote-form .buttons {
+ display: flex;
+ margin-bottom: 0.5rem;
+}
+.footnote-form .buttons span {
+ display: block;
+ width: 128px;
+}
+.footnote-form .buttons button {
+ margin-right: 0.5rem;
+} \ No newline at end of file