dees-appui-catalog/ts_web/elements/lele-appui-base.ts
2023-09-07 01:22:55 +02:00

48 lines
1.1 KiB
TypeScript

import {
DeesElement,
type TemplateResult,
property,
customElement,
html,
css,
cssManager,
} from '@design.estate/dees-element';
@customElement('lele-appui-base')
export class DeapBase extends DeesElement {
public static demo = () => html`<lele-appui-base></lele-appui-base>`;
public static styles = [
cssManager.defaultStyles,
css`
:host {
position: absolute;
height: 100%;
width: 100%;
}
.maingrid {
position: absolute;
top: 40px;
height: calc(100% - 40px);
width: 100%;
display: grid;
grid-template-columns: 60px 240px auto 240px;
}
`,
];
// INSTANCE
public render(): TemplateResult {
return html`
<style></style>
<lele-appui-appbar></lele-appui-appbar>
<div class="maingrid">
<lele-appui-mainmenu></lele-appui-mainmenu>
<lele-appui-mainselector></lele-appui-mainselector>
<lele-appui-maincontent></lele-appui-maincontent>
<lele-appui-activitylog></lele-appui-activitylog>
</div>
`;
}
}