fix(core): update
This commit is contained in:
@@ -10,7 +10,7 @@ export class UplinternalMiniheading extends DeesElement {
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
font-family: Roboto Mono;
|
||||
font-family: Inter;
|
||||
}
|
||||
|
||||
h5 {
|
||||
|
@@ -4,6 +4,8 @@ import {
|
||||
html,
|
||||
customElement,
|
||||
TemplateResult,
|
||||
cssManager,
|
||||
css,
|
||||
} from '@designestate/dees-element';
|
||||
import * as domtools from '@designestate/dees-domtools';
|
||||
|
||||
@@ -25,15 +27,14 @@ export class UplStatuspageAssetsselector extends DeesElement {
|
||||
super();
|
||||
}
|
||||
|
||||
public render(): TemplateResult {
|
||||
return html`
|
||||
${domtools.elementBasic.styles}
|
||||
<style>
|
||||
:host {
|
||||
public static styles = [
|
||||
cssManager.defaultStyles,
|
||||
css`
|
||||
:host {
|
||||
padding: 0px 0px 15px 0px;
|
||||
display: block;
|
||||
background: #222222;
|
||||
font-family: Roboto Mono;
|
||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
||||
font-family: Inter;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -43,8 +44,15 @@ export class UplStatuspageAssetsselector extends DeesElement {
|
||||
text-align: center;
|
||||
height: 50px;
|
||||
border-radius: 3px;
|
||||
background: #404040;
|
||||
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||
}
|
||||
`,
|
||||
]
|
||||
|
||||
public render(): TemplateResult {
|
||||
return html`
|
||||
<style>
|
||||
|
||||
</style>
|
||||
<uplinternal-miniheading>Monitored Assets</uplinternal-miniheading>
|
||||
<div class="mainbox">
|
||||
|
@@ -34,7 +34,7 @@ export class UplStatuspageFooter extends DeesElement {
|
||||
:host {
|
||||
display: block;
|
||||
background: ${cssManager.bdTheme('#ffffff', '#000000')};
|
||||
font-family: Roboto Mono;
|
||||
font-family: Inter;
|
||||
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
||||
}
|
||||
|
||||
|
@@ -29,7 +29,7 @@ export class UplStatuspageHeader extends DeesElement {
|
||||
:host {
|
||||
display: block;
|
||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
||||
font-family: Roboto Mono;
|
||||
font-family: Inter;
|
||||
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ export class UplStatuspageHeader extends DeesElement {
|
||||
h1 {
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
font-weight: 600;
|
||||
font-size: 35px;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ export class UplStatuspageHeader extends DeesElement {
|
||||
margin: 0px;
|
||||
margin-top: 10px;
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
}
|
||||
`
|
||||
|
@@ -46,7 +46,7 @@ export class UplStatuspageIncidents extends DeesElement {
|
||||
:host {
|
||||
display: block;
|
||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
|
||||
font-family: Roboto Mono;
|
||||
font-family: Inter;
|
||||
color: ${cssManager.bdTheme('#333333', '#ffffff')};
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ export class UplStatuspageIncidents extends DeesElement {
|
||||
}
|
||||
|
||||
.noIncidentBox {
|
||||
background: #333;
|
||||
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||
padding: 10px;
|
||||
margin-bottom: 15px;
|
||||
border-radius: 3px;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { DeesElement, property, html, customElement, TemplateResult } from '@designestate/dees-element';
|
||||
import { DeesElement, property, html, customElement, TemplateResult, cssManager, css } from '@designestate/dees-element';
|
||||
import * as domtools from '@designestate/dees-domtools';
|
||||
|
||||
declare global {
|
||||
@@ -13,21 +13,18 @@ export class UplStatuspageStatusbar extends DeesElement {
|
||||
<upl-statuspage-statusbar></upl-statuspage-statusbar>
|
||||
`;
|
||||
|
||||
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
public render(): TemplateResult {
|
||||
return html`
|
||||
${domtools.elementBasic.styles}
|
||||
<style>
|
||||
:host {
|
||||
public static styles = [
|
||||
cssManager.defaultStyles,
|
||||
css`
|
||||
:host {
|
||||
padding: 20px 0px 15px 0px;
|
||||
display: block;
|
||||
background: #222222;
|
||||
font-family: Roboto Mono;
|
||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
|
||||
font-family: Inter;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -39,8 +36,12 @@ export class UplStatuspageStatusbar extends DeesElement {
|
||||
line-height: 50px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
`,
|
||||
]
|
||||
|
||||
|
||||
public render(): TemplateResult {
|
||||
return html`
|
||||
<style>
|
||||
</style>
|
||||
<div class="mainbox">
|
||||
Everything is working normally!
|
||||
|
@@ -32,8 +32,8 @@ export class UplStatuspageStatusdetails extends DeesElement {
|
||||
position: relative;
|
||||
padding: 0px 0px 15px 0px;
|
||||
display: block;
|
||||
background: #222222;
|
||||
font-family: Roboto Mono;
|
||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
|
||||
font-family: Inter;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export class UplStatuspageStatusdetails extends DeesElement {
|
||||
margin: auto;
|
||||
max-width: 900px;
|
||||
text-align: right;
|
||||
background: #404040;
|
||||
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||
line-height: 50px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
@@ -32,8 +32,8 @@ export class UplStatuspageStatusmonth extends DeesElement {
|
||||
position: relative;
|
||||
padding: 0px 0px 15px 0px;
|
||||
display: block;
|
||||
background: #222222;
|
||||
font-family: Roboto Mono;
|
||||
background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
|
||||
font-family: Inter;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ export class UplStatuspageStatusmonth extends DeesElement {
|
||||
}
|
||||
|
||||
.statusMonth {
|
||||
background: #404040;
|
||||
background: ${cssManager.bdTheme('#ffffff', '#333333')};;
|
||||
min-height: 20px;
|
||||
display: grid;
|
||||
padding: 10px;
|
||||
|
Reference in New Issue
Block a user