Skip to main content

priv/static/observer.css

.co-shell {
  color: #17202a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.co-header {
  align-items: flex-start;
  border-bottom: 1px solid #d9e0e7;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.co-header h1 {
  font-size: 24px;
  font-weight: 650;
  margin: 0 0 4px;
}

.co-header p {
  color: #5b6775;
  margin: 0;
}

.co-back {
  color: #2364aa;
  display: inline-block;
  margin-bottom: 8px;
  text-decoration: none;
}

.co-toolbar,
.co-actions,
.co-signal-form {
  align-items: stretch;
  display: flex;
  gap: 8px;
}

.co-toolbar {
  margin-bottom: 16px;
}

.co-toolbar input,
.co-toolbar select,
.co-signal-form input,
.co-signal-form textarea {
  border: 1px solid #bec8d2;
  border-radius: 6px;
  color: #17202a;
  font: inherit;
  padding: 8px 10px;
}

.co-toolbar input {
  min-width: 220px;
}

.co-table-wrap {
  overflow-x: auto;
}

.co-table {
  border-collapse: collapse;
  min-width: 860px;
  width: 100%;
}

.co-table th,
.co-table td {
  border-bottom: 1px solid #e6ebf0;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.co-table th {
  color: #5b6775;
  font-size: 13px;
  font-weight: 650;
}

.co-empty {
  color: #7a8694;
  padding: 24px;
  text-align: center;
}

.co-badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  padding: 5px 8px;
}

.co-badge-running {
  background: #e7f0ff;
  color: #16498b;
}

.co-badge-suspended {
  background: #fff4dc;
  color: #7a4d00;
}

.co-badge-completed {
  background: #e3f7e9;
  color: #146433;
}

.co-badge-failed,
.co-badge-cancelled,
.co-badge-lease_lost {
  background: #fde8e8;
  color: #8a1f1f;
}

.co-timestamp {
  color: #5b6775;
  white-space: nowrap;
}

.co-pagination {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.co-pagination button,
.co-actions button {
  background: #17202a;
  border: 1px solid #17202a;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 8px 12px;
}

.co-pagination button:disabled,
.co-actions button:disabled {
  background: #edf1f5;
  border-color: #d9e0e7;
  color: #7a8694;
  cursor: not-allowed;
}

.co-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

.co-grid div {
  border-bottom: 1px solid #e6ebf0;
  padding: 8px 0;
}

.co-grid span {
  color: #5b6775;
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 4px;
}

.co-actions {
  border-bottom: 1px solid #d9e0e7;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.co-signal-form {
  flex: 1;
}

.co-signal-form textarea {
  flex: 1;
  min-width: 280px;
}

.co-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.co-timeline li {
  border-bottom: 1px solid #e6ebf0;
  padding: 12px 0;
}

.co-timeline .co-event {
  border-left: 4px solid #bec8d2;
  padding-left: 12px;
}

.co-event-activity {
  border-left-color: #2364aa;
}

.co-event-signal {
  border-left-color: #6f42c1;
}

.co-event-timer {
  border-left-color: #7a4d00;
}

.co-event-compensation {
  border-left-color: #b42318;
}

.co-event-child {
  border-left-color: #0f766e;
}

.co-event-continued {
  border-left-color: #475569;
}

.co-event-patched {
  border-left-color: #9a3412;
}

.co-timeline header {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.co-payload {
  background: #f6f8fa;
  border: 1px solid #e6ebf0;
  border-radius: 6px;
  overflow: auto;
  padding: 10px;
}