better console CSS
This commit is contained in:
@@ -82,17 +82,28 @@
|
||||
.kf-editor .kfArena bz-slidepane{
|
||||
font-size:14px;
|
||||
}
|
||||
.kf-editor .kfArena bz-slidepane div.inner-console{
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
display: grid;
|
||||
grid-template-rows: auto minmax(3em, 30%);
|
||||
}
|
||||
.kf-editor .kfArena bz-slidepane div.commandline{
|
||||
grid-template-columns: auto 3em;
|
||||
width: 98%;
|
||||
}
|
||||
.kf-editor .kfArena bz-slidepane textarea{
|
||||
border-radius: 0;
|
||||
background: #000A;
|
||||
margin: 0;
|
||||
padding: 0 1em 0 1em;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
width: 96%;
|
||||
border-top: 1px solid white;
|
||||
color: #0F0;
|
||||
resize: none;
|
||||
}
|
||||
.kf-editor button[data-trigger="execCommand"]{
|
||||
background-color:#6B5;
|
||||
border-radius: 10px;
|
||||
max-height: 3em;
|
||||
}
|
||||
</style>
|
||||
<div class="kf-editor cols-3">
|
||||
|
||||
@@ -64,10 +64,15 @@ class KeyframeView extends WindozDomContent {
|
||||
this.outputs.kfName.addEventListener('keyup', this.updateKfButtons.bind(this))
|
||||
this.currentlySelectedAid = null
|
||||
this.output('console',`
|
||||
<div class="results">
|
||||
JS 3D Console. for help, type "help"
|
||||
<div class="inner-console">
|
||||
<div class="results">
|
||||
JS 3D Console. for help, type "help"
|
||||
</div>
|
||||
<div class="cols-2 commandline">
|
||||
<textarea type="text" style=""></textarea>
|
||||
<button class="icon-play" data-trigger="execCommand"></button>
|
||||
</div>
|
||||
</div>
|
||||
<textarea type="text" style=""></textarea>
|
||||
`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user