statuspage/ts_web/elements/upl-statuspage-statusbar.ts
2023-01-05 13:37:28 +01:00

51 lines
1.2 KiB
TypeScript

import { DeesElement, property, html, customElement, TemplateResult, cssManager, css } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
declare global {
interface HTMLElementTagNameMap {
'upl-statuspage-statusbar': UplStatuspageStatusbar;
}
}
@customElement('upl-statuspage-statusbar')
export class UplStatuspageStatusbar extends DeesElement {
public static demo = () => html`
<upl-statuspage-statusbar></upl-statuspage-statusbar>
`;
constructor() {
super();
}
public static styles = [
cssManager.defaultStyles,
css`
:host {
padding: 20px 0px 15px 0px;
display: block;
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
font-family: Inter;
color: #fff;
}
.mainbox {
margin: auto;
max-width: 900px;
text-align: center;
background: #19572E;
line-height: 50px;
border-radius: 3px;
}
`,
]
public render(): TemplateResult {
return html`
<style>
</style>
<div class="mainbox">
Everything is working normally!
</div>
`;
}
}