summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/editor/captions/captions.css
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/editor/captions/captions.css')
-rw-r--r--animism-align/frontend/app/views/editor/captions/captions.css75
1 files changed, 75 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/editor/captions/captions.css b/animism-align/frontend/app/views/editor/captions/captions.css
new file mode 100644
index 0000000..23db204
--- /dev/null
+++ b/animism-align/frontend/app/views/editor/captions/captions.css
@@ -0,0 +1,75 @@
+/* caption entries */
+
+.caption-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;
+}
+.caption-entry:hover {
+ background: #333;
+}
+.caption-index {
+ width: 120px;
+ text-align: right;
+ margin: 0;
+ padding: 0 1rem 0 0;
+}
+.caption-text {
+ flex: 1;
+}
+.caption-entry.generated .caption-index,
+.caption-entry.generated .caption-text {
+ color: #888;
+ font-style: italic;
+}
+
+/* caption form */
+
+.caption-form .textarea span {
+ text-align: right;
+ padding-right: 1.25rem;
+}
+.caption-form .textarea textarea {
+ width: 670px;
+ height: 70px;
+}
+.caption-form .buttons {
+ display: flex;
+ align-items: center;
+ margin-bottom: 0.5rem;
+}
+.caption-form .buttons span {
+ display: block;
+ text-align: right;
+ padding-right: 1.25rem;
+ width: 128px;
+}
+.caption-form .buttons button {
+ margin-right: 0.5rem;
+}
+
+/* gallery captions */
+
+.gallery-captions {
+ margin-bottom: 1rem;
+}
+.gallery-captions.expanded .caption-entry {
+ background: #222;
+}
+.gallery-captions .button-spacer {
+ display: block;
+ width: 103px;
+}
+.gallery-captions.expanded button.expander {
+ margin-bottom: 1rem;
+}
+.gallery-captions button.expander {
+ font-size: 0.75rem;
+ padding: 0.5rem;
+} \ No newline at end of file