Add preliminairy working JavaScript to render polymorphic inlines

This commit is contained in:
Diederik van der Boor
2016-08-09 01:20:40 +02:00
parent 1f0ddd8436
commit 7330a4f099
7 changed files with 552 additions and 1 deletions
@@ -0,0 +1,27 @@
.add-row-choice {
position: relative;
}
.add-row-choice a:focus {
text-decoration: none;
}
.add-row .inline-type-choice {
position: absolute;
top: 2.2em;
left: 0.5em;
border: 1px solid #ccc;
border-radius: 4px;
padding: 2px;
background-color: #fff;
}
.add-row .inline-type-choice ul {
padding: 2px;
margin: 0;
}
.add-row .inline-type-choice li {
list-style: none inside none;
padding: 4px 8px;
}