smon/static/css/problems.css

156 lines
2.3 KiB
CSS
Raw Normal View History

2024-05-01 20:01:43 +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;
2024-05-25 15:00:01 +02:00
font-family: sans-serif;
2024-05-01 20:01:43 +02:00
font-weight: 300;
color: #d5c4a1;
font-size: 11pt;
}
h1,
h2 {
margin-bottom: 4px;
}
2024-05-28 07:37:22 +02:00
h1:first-child,
h2:first-child {
margin-top: 0px;
}
2024-05-01 20:01:43 +02:00
h1 {
font-size: 1.5em;
color: #fb4934;
2024-05-28 12:56:35 +02:00
font-weight: 800;
2024-05-01 20:01:43 +02:00
}
h2 {
font-size: 1.25em;
2024-05-28 07:37:22 +02:00
color: #b8bb26;
2024-05-28 12:56:35 +02:00
font-weight: 800;
2024-05-01 20:01:43 +02:00
}
a {
2024-05-28 07:37:22 +02:00
color: #3f9da1;
2024-05-01 20:01:43 +02:00
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
b {
2024-05-28 12:56:35 +02:00
font-weight: 800;
2024-05-01 20:01:43 +02:00
}
input[type="text"],
textarea,
select {
2024-05-25 15:00:01 +02:00
font-family: monospace;
2024-05-01 20:01:43 +02:00
background: #202020;
color: #d5c4a1;
padding: 4px 8px;
border: none;
font-size: 1em;
2024-05-25 15:00:01 +02:00
line-height: 1.5em;
2024-05-01 20:01:43 +02:00
}
button {
background: #202020;
color: #d5c4a1;
padding: 8px 32px;
border: 1px solid #535353;
font-size: 1em;
height: 3em;
}
button:focus {
background: #333;
}
.line {
grid-column: 1 / -1;
border-bottom: 1px solid #4e4e4e;
}
span.date {
color: #d5c4a1;
2024-05-28 12:56:35 +02:00
font-weight: 800;
2024-05-01 20:01:43 +02:00
}
span.time {
font-size: 0.9em;
color: #d5c4a1;
}
span.seconds {
display: none;
}
label {
user-select: none;
}
2024-05-25 15:00:01 +02:00
.description {
border: 1px solid #737373;
color: #3f9da1;
background: #202020;
padding: 4px 8px;
margin-top: 8px;
white-space: nowrap;
width: min-content;
border-radius: 8px;
}
2024-05-01 20:01:43 +02:00
#problems-list,
#acknowledged-list {
display: grid;
grid-template-columns: repeat(6, min-content);
2024-05-01 20:01:43 +02:00
grid-gap: 4px 16px;
margin-bottom: 32px;
}
#problems-list div,
#acknowledged-list div {
white-space: nowrap;
2024-05-28 07:23:27 +02:00
line-height: 24px;
2024-05-01 20:01:43 +02:00
}
#problems-list .header,
#acknowledged-list .header {
2024-05-28 12:56:35 +02:00
font-weight: 800;
2024-05-01 20:01:43 +02:00
}
#problems-list .trigger,
#acknowledged-list .trigger {
color: #fb4934;
2024-05-28 12:56:35 +02:00
font-weight: 800;
2024-05-01 20:01:43 +02:00
}
#problems-list .acknowledge img,
#acknowledged-list .acknowledge img {
height: 16px;
}
#acknowledged-list.hidden {
display: none;
}
2024-05-28 12:56:35 +02:00
#areas {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 16px;
}
#areas .area .section {
display: grid;
grid-template-columns: repeat(2, min-content);
grid-gap: 8px 12px;
}
#areas .area .section .name {
color: #f7edd7;
grid-column: 1 / -1;
font-weight: bold !important;
line-height: 24px;
}
#areas .area .section div {
white-space: nowrap;
}
.hidden {
display: none;
}