Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
830eab2b18 | |||
89bd6259df | |||
d8ee065e25 | |||
058384e0a0 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uptimelink/webwidget",
|
"name": "@uptimelink/webwidget",
|
||||||
"version": "1.0.62",
|
"version": "1.0.64",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uptimelink/webwidget",
|
"name": "@uptimelink/webwidget",
|
||||||
"version": "1.0.62",
|
"version": "1.0.64",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "the webwidget for public use of uptimelink",
|
"description": "the webwidget for public use of uptimelink",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
|
@ -27,12 +27,14 @@ export class UptimelinkWebwidget extends DeesElement {
|
|||||||
${domtools.elementBasic.styles}
|
${domtools.elementBasic.styles}
|
||||||
<style>
|
<style>
|
||||||
:host {
|
:host {
|
||||||
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
|
height: 30px;
|
||||||
|
z-index:10;
|
||||||
}
|
}
|
||||||
.mainbox {
|
.mainbox {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
font-family: Roboto;
|
font-family: Roboto;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -57,7 +59,7 @@ export class UptimelinkWebwidget extends DeesElement {
|
|||||||
|
|
||||||
.mainbox.focused {
|
.mainbox.focused {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 128px;
|
height: 118px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.statusindicator {
|
.statusindicator {
|
||||||
@ -92,7 +94,7 @@ export class UptimelinkWebwidget extends DeesElement {
|
|||||||
background: ${this.goBright ? 'rgba(0,0,0,0.07)' : 'rgba(255,255,255,0.07)'};
|
background: ${this.goBright ? 'rgba(0,0,0,0.07)' : 'rgba(255,255,255,0.07)'};
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
width: 190px;
|
width: 190px;
|
||||||
height: 40px;
|
height: 30px;
|
||||||
display: grid;
|
display: grid;
|
||||||
padding: 3px 3px;
|
padding: 3px 3px;
|
||||||
grid-template-columns: repeat(30, 4px);
|
grid-template-columns: repeat(30, 4px);
|
||||||
@ -111,7 +113,7 @@ export class UptimelinkWebwidget extends DeesElement {
|
|||||||
.viewStatuspage {
|
.viewStatuspage {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 190px;
|
width: 190px;
|
||||||
top: 90px;
|
top: 80px;
|
||||||
left: calc(50% - 95px);
|
left: calc(50% - 95px);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: ${this.goBright ? 'rgba(0,0,0,0.07)' : 'rgba(255,255,255,0.07)'};
|
background: ${this.goBright ? 'rgba(0,0,0,0.07)' : 'rgba(255,255,255,0.07)'};
|
||||||
|
Reference in New Issue
Block a user