smon/static/less/datapoints.less

123 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2024-06-25 08:59:07 +02:00
@import "theme-@{THEME}.less";
2024-04-30 08:04:16 +02:00
#datapoints {
display: grid;
grid-template-columns: repeat(6, min-content);
2024-04-30 08:04:16 +02:00
grid-gap: 8px 16px;
margin-top: 16px;
2024-06-25 10:50:31 +02:00
background-color: @bg3;
2024-06-25 18:19:15 +02:00
padding: 16px 24px;
2024-06-25 10:50:31 +02:00
width: min-content;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
2024-04-30 08:04:16 +02:00
2024-05-20 19:40:19 +02:00
.group {
font-size: 1.10em;
font-weight: bold;
2024-05-28 07:37:22 +02:00
color: @color3;
2024-05-20 19:40:19 +02:00
margin-top: 1.5em;
padding-bottom: 4px;
2024-05-28 07:37:22 +02:00
}
2024-06-24 11:18:51 +02:00
2024-05-28 07:37:22 +02:00
h2 {
2024-05-20 19:40:19 +02:00
border-bottom: unset;
}
2024-04-30 08:04:16 +02:00
.header {
font-weight: @bold;
2024-05-20 19:40:19 +02:00
font-size: 0.85em;
2024-06-25 18:19:15 +02:00
color: @text3;
2024-04-30 08:04:16 +02:00
}
2024-06-30 11:27:49 +02:00
.hidden {
display: none !important;
}
2024-04-30 08:04:16 +02:00
div {
white-space: nowrap;
2024-06-24 11:18:51 +02:00
align-self: center;
2024-04-30 08:04:16 +02:00
}
2024-05-05 20:16:28 +02:00
.icons {
display: flex;
gap: 12px;
align-items: center;
}
2024-06-24 11:18:51 +02:00
img.info {
height: 20px;
}
2024-05-05 20:16:28 +02:00
}
#values {
display: grid;
grid-template-columns: repeat(2, min-content);
gap: 16px;
white-space: nowrap;
2024-06-27 17:32:47 +02:00
background-color: @bg3;
padding: 16px 24px;
width: min-content;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
margin-top: 32px;
2024-06-27 13:45:01 +02:00
.header {
2024-06-27 17:32:47 +02:00
color: @text2;
2024-06-27 13:45:01 +02:00
font-weight: bold;
}
2024-04-30 08:04:16 +02:00
}
.widgets {
display: grid;
grid-template-columns: min-content 1fr;
gap: 8px 16px;
.label {
margin-top: 4px;
2024-05-25 15:00:01 +02:00
white-space: nowrap;
2024-04-30 08:04:16 +02:00
}
input[type="text"], textarea {
width: 100%;
}
.datapoints {
display: grid;
grid-template-columns: min-content 1fr;
gap: 6px 8px;
2024-05-01 20:01:43 +02:00
font-family: "Roboto Mono", monospace;
2024-04-30 08:04:16 +02:00
margin-bottom: 8px;
}
.action {
display: grid;
grid-template-columns: min-content min-content;
grid-gap: 8px;
}
}
2024-06-26 11:58:54 +02:00
2024-06-27 17:32:47 +02:00
.value-selector {
display: grid;
grid-template-columns: repeat(2, min-content);
grid-gap: 4px 16px;
margin-top: 16px;
button {
width: 100px;
justify-self: end;
2024-06-29 20:50:57 +02:00
margin-top: 16px;
2024-06-27 17:32:47 +02:00
}
}
2024-06-26 11:58:54 +02:00
.graph {
2024-06-27 08:59:34 +02:00
width: 99%;
2024-06-27 09:14:02 +02:00
border: 1px solid #aaa;
2024-06-27 17:32:47 +02:00
margin-top: 16px;
2024-06-27 09:14:02 +02:00
#graph-values {
2024-06-30 12:39:19 +02:00
height: calc(100vh - 416px);
2024-06-27 09:14:02 +02:00
}
2024-06-26 11:58:54 +02:00
}