rearanged a few things in index.html

This commit is contained in:
bluesaxman 2022-04-07 19:08:31 -06:00
parent c24e6029ce
commit 40b4ae07a6
2 changed files with 19 additions and 8 deletions

View File

@ -36,6 +36,7 @@ body {
} }
.bui_window_root { .bui_window_root {
display: inline-block;
position: relative; position: relative;
background: rgba(200,200,200,1); background: rgba(200,200,200,1);
color: black; color: black;
@ -44,8 +45,18 @@ body {
} }
.bui_window_titlebar { .bui_window_titlebar {
display: flex;
justify-content: space-between;
background: rgba(100,100,100,1); background: rgba(100,100,100,1);
padding: 5px; padding: 5px;
} }
.bui_window_title {
display: inline-block;
width: 100%;
text-align: center;
}
.bui_window_controls {
position: absolute;
right: 0;
top: 0;
}

View File

@ -31,7 +31,7 @@ blueui.js - Adds classes for several highly reusable ui objects such as buttons
</html> </html>
<script> <script>
document.body.innerHTML = ""; // javascript enabled clear screen document.body.innerHTML = ""; // javascript enabled clear screen
window.bdescription = new buiWindow("blue.js", 400, 600, true, false, true, true); window.bdescription = new buiWindow("blue.js", 400, 600, false, false, false, false);
window.bcore = new buiWindow("bluecore.js", 400, 600, true, false, true, true); window.bcore = new buiWindow("bluecore.js", 400, 600, true, false, true, true);
window.baudio = new buiWindow("blueaudio.js", 400, 600, true, false, true, true); window.baudio = new buiWindow("blueaudio.js", 400, 600, true, false, true, true);
window.bmath = new buiWindow("bluemath.js", 400, 600, true, false, true, true); window.bmath = new buiWindow("bluemath.js", 400, 600, true, false, true, true);
@ -62,9 +62,9 @@ blueui.js - Adds classes for several highly reusable ui objects such as buttons
window.baudio.content.appendChild(mySequence); window.baudio.content.appendChild(mySequence);
document.body.appendChild(window.bdescription.root); document.body.appendChild(window.bdescription.root);
document.body.appendChild(window.bcore.root); window.bdescription.content.appendChild(window.bcore.root);
document.body.appendChild(window.baudio.root); window.bdescription.content.appendChild(window.baudio.root);
document.body.appendChild(window.bmath.root); window.bdescription.content.appendChild(window.bmath.root);
document.body.appendChild(window.bpixle.root); window.bdescription.content.appendChild(window.bpixle.root);
document.body.appendChild(window.bui.root); window.bdescription.content.appendChild(window.bui.root);
</script> </script>