fix(core): update
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { LitElement, property, html, customElement, TemplateResult } from 'lit-element';
|
||||
import { DeesElement, property, html, customElement, TemplateResult } from '@designestate/dees-element';
|
||||
import * as domtools from '@designestate/dees-domtools';
|
||||
|
||||
@customElement('uptimelink-webwidget')
|
||||
export class UptimelinkWebwidget extends LitElement {
|
||||
export class UptimelinkWebwidget extends DeesElement {
|
||||
public static demo = () => html`
|
||||
<uptimelink-webwidget projectSlug="uptime.link"></uptimelink-webwidget>
|
||||
`;
|
||||
@ -34,9 +34,10 @@ export class UptimelinkWebwidget extends LitElement {
|
||||
width: 150px;
|
||||
border-radius: 20px;
|
||||
height: 30px;
|
||||
background: #222;
|
||||
background: ${this.goBright ? '#fff' : '#222' };
|
||||
box-shadow: ${this.goBright ? '0px 0px 5px rgba(0,0,0,0.1)' : ''};
|
||||
padding: 5px;
|
||||
color: #CCC;
|
||||
color: ${this.goBright ? '#333' : '#CCC' };
|
||||
cursor: pointer;
|
||||
}
|
||||
.statusindicator {
|
||||
|
Reference in New Issue
Block a user