fix(core): update

This commit is contained in:
Philipp Kunz 2024-01-22 19:40:08 +01:00
parent eebe898dcc
commit 2d3fd74333
2 changed files with 31 additions and 28 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-catalog',
version: '1.0.272',
version: '1.0.273',
description: 'website for lossless.com'
}

View File

@ -45,6 +45,16 @@ export class DeesSimpleAppDash extends DeesElement {
position: relative;
height: 100%;
}
.maincontainer {
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
overflow: hidden;
}
.appbar {
position: fixed;
top: 0;
@ -87,14 +97,6 @@ export class DeesSimpleAppDash extends DeesElement {
background: ${cssManager.bdTheme('#eeeeeb', '#000')};
}
.slotted {
top: 0px;
left: 0px;
position: absolute;
height: 100%;
width: 100%;
}
.controlbar {
color: #fff;
position: absolute;
@ -121,6 +123,7 @@ export class DeesSimpleAppDash extends DeesElement {
public render(): TemplateResult {
return html`
<div class="maincontainer">
<div class="appbar">
<div class="appName">${this.name}</div>
<div class="viewTabs"></div>
@ -129,10 +132,8 @@ export class DeesSimpleAppDash extends DeesElement {
</div>
</div>
<div class="appcontent">
<div class="slotted">
<slot></slot>
</div>
</div>
<div class="controlbar">
<div class="control">
<dees-icon .iconFA=${'networkWired'}></dees-icon>
@ -141,6 +142,7 @@ export class DeesSimpleAppDash extends DeesElement {
<dees-icon .iconFA=${'terminal'}></dees-icon>
</div>
</div>
</div>
`;
}
@ -150,17 +152,18 @@ export class DeesSimpleAppDash extends DeesElement {
}
public async launchTerminal() {
const appcontent = this.shadowRoot.querySelector('.appcontent');
const maincontainer = this.shadowRoot.querySelector('.maincontainer');
const terminal = new DeesTerminal();
maincontainer.appendChild(terminal);
terminal.style.position = 'absolute';
terminal.style.top = '0px';
terminal.style.zIndex = '1';
terminal.style.top = '32px';
terminal.style.left = '0px';
terminal.style.right = '0px';
terminal.style.bottom = '0px';
terminal.style.bottom = '24px';
terminal.style.opacity = '0';
terminal.style.transform = 'translateY(20px)';
terminal.style.transition = 'all 0.2s';
appcontent.appendChild(terminal);
await domtools.plugins.smartdelay.delayFor(0);
terminal.style.opacity = '1';
terminal.style.transform = 'translateY(0px)';