summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/annotation/annotation.form.css
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-10 17:33:21 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-10 17:33:21 +0100
commit7e6dfb31af78b9d5a1a4ccec6998b14beb8a1194 (patch)
treebe79b2a79524497fe7cacdeaf6205219edd46757 /animism-align/frontend/app/views/editor/annotation/annotation.form.css
parent8abd3ccd48c6d3b1c46f92a28e431385cca3e656 (diff)
refactor annotation forms out of the directory nest
Diffstat (limited to 'animism-align/frontend/app/views/editor/annotation/annotation.form.css')
-rw-r--r--animism-align/frontend/app/views/editor/annotation/annotation.form.css67
1 files changed, 67 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/editor/annotation/annotation.form.css b/animism-align/frontend/app/views/editor/annotation/annotation.form.css
new file mode 100644
index 0000000..fa663c7
--- /dev/null
+++ b/animism-align/frontend/app/views/editor/annotation/annotation.form.css
@@ -0,0 +1,67 @@
+/* Annotation form */
+
+.annotationForm {
+ width: 401px;
+ padding: 0.5rem;
+ position: absolute;
+ left: 0.25rem;
+ background: #448;
+ box-shadow: 0 0 2px #000, 0 0 4px #000;
+ z-index: 10;
+}
+.annotationForm textarea {
+ width: 100%;
+}
+.annotationForm .row {
+ justify-content: space-between;
+ align-items: center;
+}
+.annotationForm .row > div {
+ display: flex;
+ align-items: center;
+}
+.annotationForm .buttons {
+ margin-bottom: 0.5rem;
+}
+.annotationForm .ts {
+ color: #fff;
+}
+.annotationForm .select.media_id {
+ width: 100%;
+ margin-right: 0;
+}
+.annotationForm div.textarea {
+ margin-bottom: 0.5rem;
+}
+.annotationForm img {
+ max-width: 100%;
+ max-height: 6rem;
+}
+
+.annotationForm .options label span:first-child {
+ display: inline-block;
+ width: 6rem;
+}
+.annotationForm .options .description {
+ font-size: 0.75rem;
+ margin-top: 0.25rem;
+ margin-bottom: 0.5rem;
+}
+.annotationForm .color input[type="text"].number {
+ width: 8rem;
+}
+.annotationForm .color input[type="text"] {
+ width: 8rem;
+}
+.annotationForm .color input[type="color"] {
+ background: transparent;
+ border: 0;
+ height: 1.7rem;
+ padding: 0;
+ margin: 0 0.5rem 0 0;
+ width: 1.4rem;
+}
+.annotationForm .checkbox {
+ margin-top: 0.5rem;
+ margin-bottom: 0.5rem;
+} \ No newline at end of file