story-content: Added remove story modal, added annotations

This commit is contained in:
2018-09-23 13:08:55 +02:00
parent df1295e7a6
commit 564192c76d
10 changed files with 171 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
<div class=("annotation annotation-level-"+(input.level||"info"))>
<include(input.renderBody)/>
</div>
+36
View File
@@ -0,0 +1,36 @@
div.annotation {
outline: 1px solid;
padding: 0.25em 1ch;
margin-bottom: 1em;
h2 {
font-size: 1em;
margin: 0;
text-align: center;
border-bottom: 0.25px dotted;
margin-bottom: 0.25em;
padding-bottom: 0.25em;
}
p {
margin-top: 0.5em;
}
p:first-of-type {
margin: 0;
}
}
div.annotation-level-info {
background-color: rgba(0, 31, 63, 0.5);
color: #08F;
}
div.annotation-level-warning {
background-color: rgba(63, 31, 0, 0.5);
color: #F80;
}
div.annotation-level-error {
background-color: rgba(63, 7, 0, 0.5);
color: #F10;
}