smon/static/less/datapoints.less
2024-07-06 08:36:49 +02:00

123 lines
1.7 KiB
Plaintext

@import "theme-@{THEME}.less";
#datapoints {
display: grid;
grid-template-columns: repeat(6, min-content);
grid-gap: 8px 16px;
margin-top: 16px;
background-color: @bg3;
padding: 16px 24px;
width: min-content;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
.group {
font-size: 1.10em;
font-weight: bold;
color: @color3;
margin-top: 1.5em;
padding-bottom: 4px;
}
h2 {
border-bottom: unset;
}
.header {
font-weight: @bold;
font-size: 0.85em;
color: @text3;
}
.hidden {
display: none !important;
}
div {
white-space: nowrap;
align-self: center;
}
.icons {
display: flex;
gap: 12px;
align-items: center;
}
img.info {
height: 20px;
}
}
#values {
display: grid;
grid-template-columns: repeat(2, min-content);
gap: 16px;
white-space: nowrap;
background-color: @bg3;
padding: 16px 24px;
width: min-content;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
margin-top: 32px;
.header {
color: @text2;
font-weight: bold;
}
}
.widgets {
display: grid;
grid-template-columns: min-content 1fr;
gap: 8px 16px;
.label {
margin-top: 4px;
white-space: nowrap;
}
input[type="text"], textarea {
width: 100%;
}
.datapoints {
display: grid;
grid-template-columns: min-content 1fr;
gap: 6px 8px;
font-family: "Roboto Mono", monospace;
margin-bottom: 8px;
}
.action {
display: grid;
grid-template-columns: min-content min-content;
grid-gap: 8px;
}
}
.value-selector {
display: grid;
grid-template-columns: repeat(2, min-content);
grid-gap: 4px 16px;
margin-top: 16px;
button {
width: 100px;
justify-self: end;
margin-top: 16px;
}
}
.graph {
width: 99%;
border: 1px solid #aaa;
margin-top: 16px;
#graph-values {
height: calc(100vh - 200px);
}
}