Implemented basic functions
This commit is contained in:
parent
89f483171a
commit
965e2daeb3
22 changed files with 711 additions and 58 deletions
44
static/less/datapoints.less
Normal file
44
static/less/datapoints.less
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
@import "theme.less";
|
||||
|
||||
#datapoints {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, min-content);
|
||||
grid-gap: 8px 16px;
|
||||
margin-top: 16px;
|
||||
|
||||
.header {
|
||||
font-weight: @bold;
|
||||
}
|
||||
|
||||
div {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.widgets {
|
||||
display: grid;
|
||||
grid-template-columns: min-content 1fr;
|
||||
gap: 8px 16px;
|
||||
|
||||
.label {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
input[type="text"], textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.datapoints {
|
||||
font: "Roboto Mono", monospace;
|
||||
display: grid;
|
||||
grid-template-columns: min-content 1fr;
|
||||
gap: 6px 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.action {
|
||||
display: grid;
|
||||
grid-template-columns: min-content min-content;
|
||||
grid-gap: 8px;
|
||||
}
|
||||
}
|
||||
|
|
@ -37,6 +37,7 @@
|
|||
margin-bottom: 32px;
|
||||
|
||||
div {
|
||||
font-weight: 500;
|
||||
font-size: 1.5em;
|
||||
color: @color1;
|
||||
}
|
||||
|
|
@ -61,7 +62,7 @@
|
|||
&>.name {
|
||||
background: @color1;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
font-weight: 500;
|
||||
padding: 4px 16px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
|
|
@ -71,7 +72,7 @@
|
|||
margin: 8px 16px;
|
||||
|
||||
&>.name {
|
||||
font-weight: bold;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.triggers {
|
||||
|
|
@ -93,7 +94,7 @@
|
|||
}
|
||||
|
||||
.label {
|
||||
color: @text2;
|
||||
color: @color4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,12 @@
|
|||
|
||||
@error: #fb4934;
|
||||
@color1: #fb4934;
|
||||
@color2: #fabd2f;
|
||||
@color3: #b8bb26;
|
||||
@color4: #3f9da1;
|
||||
@color5: #fe8019;
|
||||
|
||||
@bold: 500;
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
|
|
@ -33,6 +39,7 @@ body {
|
|||
body {
|
||||
background: @bg1;
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-weight: 300;
|
||||
color: @text1;
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
|
@ -51,6 +58,19 @@ h2 {
|
|||
font-size: 1.25em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: @color4;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
b {
|
||||
font-weight: @bold;
|
||||
}
|
||||
|
||||
.roboto-light {
|
||||
font-family: "Roboto", sans-serif;
|
||||
font-weight: 300;
|
||||
|
|
@ -63,7 +83,7 @@ h2 {
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
input[type="text"], textarea {
|
||||
input[type="text"], textarea, select {
|
||||
font-family: "Roboto Mono", monospace;
|
||||
background: @bg2;
|
||||
color: @text1;
|
||||
|
|
@ -79,4 +99,8 @@ button {
|
|||
border: 1px solid lighten(@bg2, 10%);
|
||||
font-size: 1em;
|
||||
height: 3em;
|
||||
|
||||
&:focus {
|
||||
background: @bg3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue