smon/static/css/datapoints.css

157 lines
2.4 KiB
CSS
Raw Permalink Normal View History

2024-04-30 08:04:16 +02:00
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
*:focus {
outline: none;
}
[onClick] {
cursor: pointer;
}
html,
body {
margin: 0;
padding: 0;
}
body {
background: #282828;
font-family: "Roboto", sans-serif;
font-weight: 300;
color: #d5c4a1;
font-size: 11pt;
}
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1 {
font-size: 1.5em;
color: #fb4934;
font-weight: 500;
2024-04-30 08:04:16 +02:00
}
h2 {
font-size: 1.25em;
font-weight: 500;
2024-04-30 08:04:16 +02:00
}
a {
2024-05-01 10:02:33 +02:00
color: #fabd2f;
2024-04-30 08:04:16 +02:00
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
b {
font-weight: 500;
}
.roboto-light {
font-family: "Roboto", sans-serif;
font-weight: 300;
font-style: normal;
}
.roboto-medium {
font-family: "Roboto", sans-serif;
font-weight: 500;
font-style: normal;
}
input[type="text"],
textarea,
select {
font-family: "Roboto Mono", monospace;
background: #202020;
color: #d5c4a1;
padding: 4px 8px;
border: none;
font-size: 1em;
}
button {
background: #202020;
color: #d5c4a1;
padding: 8px 32px;
2024-05-01 10:02:33 +02:00
border: 1px solid #535353;
2024-04-30 08:04:16 +02:00
font-size: 1em;
height: 3em;
}
button:focus {
background: #333;
}
2024-05-01 20:01:43 +02:00
.line {
grid-column: 1 / -1;
border-bottom: 1px solid #4e4e4e;
}
span.date {
color: #d5c4a1;
font-weight: 500;
}
span.time {
font-size: 0.9em;
color: #d5c4a1;
}
span.seconds {
display: none;
}
label {
user-select: none;
}
2024-04-30 08:04:16 +02:00
#datapoints {
display: grid;
2024-05-02 08:59:55 +02:00
grid-template-columns: repeat(5, min-content);
2024-04-30 08:04:16 +02:00
grid-gap: 8px 16px;
margin-top: 16px;
}
2024-05-20 19:40:19 +02:00
#datapoints .group {
font-size: 1.1em;
font-weight: bold;
color: #fabd2f;
margin-top: 1.5em;
padding-bottom: 4px;
border-bottom: unset;
}
2024-04-30 08:04:16 +02:00
#datapoints .header {
font-weight: 500;
2024-05-20 19:40:19 +02:00
font-size: 0.85em;
color: #d5c4a1;
2024-04-30 08:04:16 +02:00
}
#datapoints div {
white-space: nowrap;
}
2024-05-05 20:16:28 +02:00
#datapoints .icons {
display: flex;
gap: 12px;
align-items: center;
}
#values {
display: grid;
grid-template-columns: repeat(2, min-content);
gap: 16px;
white-space: nowrap;
}
2024-04-30 08:04:16 +02:00
.widgets {
display: grid;
grid-template-columns: min-content 1fr;
gap: 8px 16px;
}
.widgets .label {
margin-top: 4px;
}
.widgets input[type="text"],
.widgets textarea {
width: 100%;
}
.widgets .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;
}
.widgets .action {
display: grid;
grid-template-columns: min-content min-content;
grid-gap: 8px;
}