smon/static/css/default_light/datapoints.css

80 lines
1.4 KiB
CSS
Raw Normal View History

2024-06-25 08:59:07 +02:00
#datapoints {
display: grid;
grid-template-columns: repeat(6, min-content);
grid-gap: 8px 16px;
margin-top: 16px;
2024-06-25 10:50:31 +02:00
background-color: #2979b8;
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-06-25 08:59:07 +02:00
}
#datapoints .group {
font-size: 1.1em;
font-weight: bold;
color: #2c6e97;
margin-top: 1.5em;
padding-bottom: 4px;
}
#datapoints h2 {
border-bottom: unset;
}
#datapoints .header {
font-weight: 800;
font-size: 0.85em;
2024-06-25 18:19:15 +02:00
color: #7bb8eb;
2024-06-25 08:59:07 +02:00
}
#datapoints div {
white-space: nowrap;
align-self: center;
}
#datapoints .icons {
display: flex;
gap: 12px;
align-items: center;
}
#datapoints img.info {
height: 20px;
}
#values {
display: grid;
grid-template-columns: repeat(2, min-content);
gap: 16px;
white-space: nowrap;
}
2024-06-27 13:45:01 +02:00
#values .header {
font-weight: bold;
}
2024-06-25 08:59:07 +02:00
.widgets {
display: grid;
grid-template-columns: min-content 1fr;
gap: 8px 16px;
}
.widgets .label {
margin-top: 4px;
white-space: nowrap;
}
.widgets input[type="text"],
.widgets textarea {
width: 100%;
}
.widgets .datapoints {
display: grid;
grid-template-columns: min-content 1fr;
gap: 6px 8px;
font-family: "Roboto Mono", monospace;
margin-bottom: 8px;
}
.widgets .action {
display: grid;
grid-template-columns: min-content min-content;
grid-gap: 8px;
}
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;
}
.graph #graph-values {
2024-06-26 11:58:54 +02:00
height: 600px;
}